1 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4 be an inline implementation regardless of library is built within.
5 (open_not_cancel_2): Likewise.
6 (__read_nocancel): Likewise.
7 (__write_nocancel): Likewise.
8 (openat_not_cancel): Likewise.
9 (openat_not_cancel_3): Likewise.
10 (openat64_not_cancel): Likewise.
11 (openat64_not_cancel_3): Likewise.
12 (__close_nocancel): Likewise.
13 (pause_not_cancel): Likewise.
14 (nanosleep_not_cancel): Likewise.
15 (sigsuspend_not_cancel): Likewise.
17 2015-06-04 Torvald Riegel <triegel@redhat.com>
20 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22 (__pthread_rwlock_rdlock_slow): Likewise.
23 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28 * nptl/tst-rwlock16.c: New file.
29 * nptl/Makefile (tests): Add new test.
31 2015-06-04 Torvald Riegel <triegel@redhat.com>
34 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35 missing wake-up of readers.
36 * nptl/tst-rwlock15.c: New file.
37 * nptl/Makefile (tests): Add new test.
39 2015-06-03 Roland McGrath <roland@hack.frob.com>
41 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
42 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
43 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
44 and __nacl_supply_interface_rtld.
45 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
46 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
47 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
48 Add __nacl_supply_interface_rtld.
49 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
51 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
53 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
55 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
58 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
60 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
61 __signbit* with standard C99 macros.
62 * math/e_exp10l.c: Likewise.
63 * math/e_exp2l.c: Likewise.
64 * math/e_scalb.c: Likewise.
65 * math/e_scalbf.c: Likewise.
66 * math/e_scalbl.c: Likewise.
67 * math/s_ldexp.c: Likewise.
68 * math/s_ldexpf.c: Likewise.
69 * math/s_ldexpl.c: Likewise.
70 * math/w_atan2.c: Likewise.
71 * math/w_atan2f.c: Likewise.
72 * math/w_atan2l.c: Likewise.
73 * math/w_cosh.c: Likewise.
74 * math/w_coshf.c: Likewise.
75 * math/w_coshl.c: Likewise.
76 * math/w_exp10.c: Likewise.
77 * math/w_exp10f.c: Likewise.
78 * math/w_exp10l.c: Likewise.
79 * math/w_exp2.c: Likewise.
80 * math/w_exp2f.c: Likewise.
81 * math/w_exp2l.c: Likewise.
82 * math/w_fmod.c: Likewise.
83 * math/w_fmodf.c: Likewise.
84 * math/w_fmodl.c: Likewise.
85 * math/w_hypot.c: Likewise.
86 * math/w_hypotf.c: Likewise.
87 * math/w_hypotl.c: Likewise.
88 * math/w_jnl.c: Likewise.
89 * math/w_lgamma.c: Likewise.
90 * math/w_lgamma_r.c: Likewise.
91 * math/w_lgammaf.c: Likewise.
92 * math/w_lgammaf_r.c: Likewise.
93 * math/w_lgammal.c: Likewise.
94 * math/w_lgammal_r.c: Likewise.
95 * math/w_pow.c: Likewise.
96 * math/w_powf.c: Likewise.
97 * math/w_powl.c: Likewise.
98 * math/w_remainder.c: Likewise.
99 * math/w_remainderf.c: Likewise.
100 * math/w_remainderl.c: Likewise.
101 * math/w_scalb.c: Likewise.
102 * math/w_scalbf.c: Likewise.
103 * math/w_scalbl.c: Likewise.
104 * math/w_scalbln.c: Likewise.
105 * math/w_scalblnf.c: Likewise.
106 * math/w_scalblnl.c: Likewise.
107 * math/w_sinh.c: Likewise.
108 * math/w_sinhf.c: Likewise.
109 * math/w_sinhl.c: Likewise.
110 * math/w_tgamma.c: Likewise.
111 * math/w_tgammaf.c: Likewise.
112 * math/w_tgammal.c: Likewise.
113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
114 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
115 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
119 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
120 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
121 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
124 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
125 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
130 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
131 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
134 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
137 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
139 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
142 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
143 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
144 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
145 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
146 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
147 * stdio-common/printf_fp.c: Likewise.
148 * stdio-common/printf_fphex.c: Likewise.
149 * stdio-common/printf_size.c: Likewise.
151 2015-06-03 Joseph Myers <joseph@codesourcery.com>
154 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
156 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
158 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
159 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
160 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
161 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
162 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
163 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
164 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
165 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
166 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
167 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
170 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
171 weak alias of __wmemchr. Use libc_hidden_weak.
172 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
173 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
176 2015-06-02 Roland McGrath <roland@hack.frob.com>
179 * elf/tst-tlsalign-extern.c: New file.
180 * elf/tst-tlsalign-extern-static.c: New file.
181 * elf/tst-tlsalign-vars.c: New file.
182 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
183 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
184 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
185 ($(objpfx)tst-tlsalign-extern-static): Likewise.
186 (test-xfail-tst-tlsalign-extern-static): New variable.
188 2015-06-02 Joseph Myers <joseph@codesourcery.com>
190 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
191 Use variable name _sc_err instead of err.
192 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
194 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
195 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
196 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
197 (INLINE_SYSCALL): Likewise.
199 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
200 * include/string.h (__strnlen): Use libc_hidden_proto.
201 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
202 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
203 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
205 (libc_hidden_def): Undefine and redefine.
206 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
207 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
209 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
211 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
214 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
215 weak alias of __towlower. Use libc_hidden_weak.
216 (towupper): Rename to __towupper and define as weak alias of
217 __towupper. Use libc_hidden_weak.
218 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
219 (__towupper): Likewise.
220 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
221 __towlower instead of towlower.
223 2015-06-02 Roland McGrath <roland@hack.frob.com>
225 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
226 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
228 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
230 * sysdeps/aarch64/libm-test-ulps: Update.
232 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
234 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
236 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
238 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
239 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
240 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
241 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
242 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
244 2015-06-01 Martin Sebor <msebor@redhat.com>
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
248 (__setcontext): Use extended four-operand version of mtsf whenever
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
251 (__novec_swapcontext): Likewise.
253 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
255 * benchtests/scripts/compare_bench.py: New file.
256 * benchtests/scripts/import_bench.py (mean): New function.
257 (split_list): Likewise.
258 (do_for_all_timings): Likewise.
259 (compress_timings): Likewise.
261 * benchtests/scripts/import_bench.py: New file.
262 * benchtests/scripts/validate_benchout.py: Import import_bench
263 instead of jsonschema.
264 (validate_bench): Remove function.
265 (main): Use import_bench.
267 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
269 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
270 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
272 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
276 2015-05-28 Roland McGrath <roland@hack.frob.com>
278 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
279 set THREAD_SELF->tid to a magic value and futex-wake it.
280 Pass its address to the thread_exit system call.
281 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
283 * sysdeps/nacl/lowlevellock.h: New file.
284 * sysdeps/nacl/lll_timedwait_tid.c: New file.
286 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
287 Add TIMEOUT to current time, don't subtract it.
289 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
292 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
293 ($(objpfx)tst-audit2.out): Also depend on
294 $(objpfx)tst-auditmod9b.so.
295 * elf/tst-audit2.c: Include <dlfcn.h>.
296 (calloc_called): New.
297 (calloc): Allow to be called more than once.
298 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
300 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
302 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
303 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
305 2015-05-27 Marko Myllynen <myllynen@redhat.com>
307 * stdlib/monetary.h: Fix comment.
309 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
311 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
312 Avoid using variables in #defines that might cause shadowing.
313 (INTERNAL_VSYSCALL_CALL): Likewise.
315 2015-05-26 Roland McGrath <roland@hack.frob.com>
317 * sysdeps/nacl/lll_timedlock_wait.c: New file.
319 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
320 * nptl/lll_timedlock_wait.c: ... to this new file.
321 * nptl/Makefile (libpthread-routines): Add it.
322 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
323 * nptl/lll_timedwait_tid.c: ... to this new file.
324 * nptl/Makefile (libpthread-routines): Add it.
325 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
326 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
327 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
328 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
329 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
330 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
331 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
332 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
333 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
334 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
336 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
338 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
339 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
340 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
342 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
344 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
346 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
347 * sysdeps/unix/sysv/linux/tile/sysdep.h
348 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
349 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
350 using vDSO syscall macro.
352 2015-05-26 Andriy Rysin <arysin@gmail.com>
355 * uk_UA: Fix sorting order for Ukrainian locale
357 2015-05-26 Marko Myllynen <myllynen@redhat.com>
359 * stdlib/monetary.h: Fix comment.
361 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
364 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
365 st_mtim and st_ctim members.
366 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
367 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
368 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
369 (struct stat64): Likewise.
370 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
371 (struct stat64): Likewise.
372 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
373 (struct stat64): Likewise.
375 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
377 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
378 Define and include sysdep-vdso.h.
379 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
381 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
383 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
384 Define with VDSO_SYMBOL and use PTR_MANGLE.
385 (__vdso_clock_gettime): Likewise.
386 (__vdso_clock_getres): Likewise.
387 (_libc_vdso_platform_setup): Likewise.
388 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
390 (_libc_vdso_platform_setup): Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
393 (__vdso_clock_gettime): Likewise.
394 (__vdso_clock_getres): Likewise.
395 (__vdso_get_tbfreq): Likewise.
396 (__vdso_getcpu): Likewise.
397 (__vdso_time): Likewise.
398 (__vdso_sigtramp_rt64): Likewise.
399 (__vdso_signtramp32): Likewise.
400 (__vdso_sigtramp_rt32): Likewise.
401 (_libc_vdso_platform_setup): Likewise.
402 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
404 (__vdso_clock_gettime): Likewise.
405 (__vdso_clock_getres): Likewise.
406 (_libc_vdso_platform_setup): Likewise.
407 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
409 (__vdso_clock_gettime): Likewise.
410 (_libc_vdso_platform_setup): Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
413 (__vdso_getcpu): Likewise.
414 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
415 Use VDSO_SYMBOL macro to define.
416 (__vdso_clock_gettime): Likewise.
417 (__vdso_clock_getres): Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
420 (__vdso_clock_gettime): Likewise.
421 (__vdso_clock_getres): Likewise.
422 (__vdso_get_tbfreq): Likewise.
423 (__vdso_getcpu): Likewise.
424 (__vdso_time): Likewise.
425 (__vdso_sigtramp_rt64): Likewise.
426 (__vdso_signtramp32): Likewise.
427 (__vdso_sigtramp_rt32): Likewise.
428 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
430 (__vdso_clock_gettime): Likewise.
431 (__vdso_clock_getres): Likewise.
432 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
434 (__vdso_clock_gettime): Likewise.
435 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
437 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
439 (INTERNAL_VSYSCALL): Likewise.
440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
442 (INTERNAL_VSYSCALL): Likewise.
443 (INTERNAL_VSYSCALL_NCS): Likewise.
444 (INTERNAL_VSYSCALL_CALL): New macro.
445 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
448 (INTERNAL_VSYSCALL): Likewise.
449 (INTERNAL_VSYSCALL_NCS): Likewise.
450 (INTERNAL_VSYSCALL_CALL): New macro.
451 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
453 (INLINE_VSYSCALL): Remove macro.
454 (INTERNAL_VSYSCALL): Remove macro.
455 (INTERNAL_VSYSCALL_NCS): Remove macro.
456 (INTERNAL_VSYSCALL_CALL): New macro.
457 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
458 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
459 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
460 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
461 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
463 (INLINE_VSYSCALL): Remove macro.
464 (INTERNAL_VSYSCALL): Likewise.
465 (INTERNAL_VSYSCALL_NCS): Likewise.
466 (INTERNAL_VSYSCALL_CALL): New macro.
467 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
468 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
469 PTR_DEMANGLE on vDSO pointer.
470 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
471 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
473 (INTERNAL_SYSCALL): Likewise.
474 (INTERNAL_VSYSCALL_NCS): Remove macro.
475 (INTERNAL_VSYSCALL_CALL): New macro.
476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
478 (INTERNAL_VSYSCALL): Likewise.
479 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
480 sysdep-vdso.h instead of libc-vdso.h.
481 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
483 (INLINE_VSYSCALL): Likewise.
484 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
485 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
487 (INLINE_VSYSCALL): Likewise.
488 (INTERNAL_VSYSCALL): Likewise.
489 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
490 * sysdeps/unix/sysv/linux/timespec_get.c
491 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
492 (timespec_get): Use ANSI prototype.
493 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
494 and definition for Linux.
496 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
498 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
499 * include/libc-symbols.h: libmvec_hidden_* macro series added.
501 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
504 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
505 for missing DT_PLTRELSZ.
507 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
509 Remove obsolete aliases that broke 'locale -a'
511 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
512 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
513 breaking some applications that use 'locale -a' output.
514 Change the encoding of this file from Latin-1 to ASCII to avoid
515 other potential problems with people grepping this file.
517 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
519 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
520 -fasynchronous-unwind-tables.
521 (CFLAGS-sendto.c): Likewise.
522 (CFLAGS-sendmsg.c): Likewise.
523 (CFLAGS-connect.c): Likewise.
524 (CFLAGS-recvmsg.c): Likewise.
525 (CFLAGS-recvfrom.c): Likewise.
526 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
527 (SOCKETCALL): New macro: non-cancellable socketcall.
528 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
529 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
530 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
531 * sysdeps/unix/sysv/linux/accept.c: New file.
532 * sysdeps/unix/sysv/linux/bind.c: Likewise.
533 * sysdeps/unix/sysv/linux/connect.c: Likewise.
534 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
535 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
536 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
537 * sysdeps/unix/sysv/linux/listen.c: Likewise.
538 * sysdeps/unix/sysv/linux/recv.c: Likewise.
539 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
540 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
541 * sysdeps/unix/sysv/linux/send.c: Likewise.
542 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
543 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
544 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
545 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
546 * sysdeps/unix/sysv/linux/socket.c: Likewise.
547 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
548 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
550 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
551 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
552 instead of __internal_xxx function.
553 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
555 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
556 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
557 instead of __internal_xxx function.
558 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
560 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
561 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
562 instead of __internal_xxx function.
563 * sysdeps/unix/sysv/linux/accept.S: Remove file.
564 * sysdeps/unix/sysv/linux/bind.S: Likewise.
565 * sysdeps/unix/sysv/linux/connect.S: Likewise.
566 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
567 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
568 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
569 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
570 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
571 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
572 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
573 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
574 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
575 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
576 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
578 * sysdeps/unix/sysv/linux/listen.S: Likewise.
579 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
580 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
581 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
582 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
585 * sysdeps/unix/sysv/linux/recv.S: Likewise.
586 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
587 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
588 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
589 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
590 * sysdeps/unix/sysv/linux/send.S: Likewise.
591 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
592 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
593 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
594 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
595 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
596 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
597 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
598 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
599 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
600 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
601 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
602 socketcall is implemented in GLIBC.
604 2015-05-22 Joseph Myers <joseph@codesourcery.com>
606 * soft-fp/fmadf4.c: Include <libc-internal.h>.
607 (__fma): Ignore uninitialized warnings around packing.
608 * soft-fp/fmasf4.c: Include <libc-internal.h>.
609 (__fmaf): Ignore uninitialized warnings around packing.
610 * soft-fp/fmatf4.c: Include <libc-internal.h>.
611 (__fmal): Ignore uninitialized warnings around packing.
613 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
614 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
615 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
616 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
618 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
619 switch statement into default case.
620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
622 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
623 a conditional in forcing "inexact".
624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
627 2015-05-22 Roland McGrath <roland@hack.frob.com>
629 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
630 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
631 for each INTERNAL_SYSCALL use.
633 2015-05-22 Joseph Myers <joseph@codesourcery.com>
636 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
637 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
641 * string/basename.c (basename): Rename to __basename and define as
642 weak alias of __basename. Use libc_hidden_weak.
643 * include/string.h (__basename): Declare. Use libc_hidden_proto.
644 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
645 __basename instead of basename.
646 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
648 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
650 2015-05-18 Florian Weimer <fweimer@redhat.com>
652 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
653 (_IO_JUMPS_FILE_plus): New.
654 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
655 _IO_CAST_FIELD_ACCESS.
656 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
657 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
658 * libio/freopen.c (freopen): Likewise.
659 * libio/freopen64.c (freopen64): Likewise.
660 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
661 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
662 * libio/iofwide.c (_IO_fwide): Likewise.
663 * libio/memstream.c (open_memstream): Likewise.
664 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
665 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
666 * libio/oldiopopen.c (_IO_old_popen): Likewise.
668 2015-05-21 Joseph Myers <joseph@codesourcery.com>
670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
671 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
673 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
674 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
676 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
677 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
680 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
683 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
684 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
686 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
687 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
688 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
690 2015-05-21 Florian Weimer <fweimer@redhat.com>
692 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
693 Adjust jump table label generation macros.
695 2015-05-21 Florian Weimer <fweimer@redhat.com>
697 * stdio-common/vfprintf.c (vfprintf): Move local variables
698 args_malloced, specs, specs_malloced, and the code after
699 do_positional to the printf_positional function.
700 (printf_positional): New function.
702 2015-05-21 Florian Weimer <fweimer@redhat.com>
704 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
706 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
707 STEP4_TABLE, process_arg): Move macro definitions
708 out of the vfprintf function. (Cosmetic change only.)
710 2015-05-21 Carlos O'Donell <carlos@redhat.com>
712 * benchtests/Makefile (stdio-common-bench): Define.
713 (benchset): Add stdio-common-bench.
714 * sprintf-inputs: New file.
715 * sprintf-source.c: New file.
717 2015-05-21 Andreas Schwab <schwab@suse.de>
721 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
722 of struct __res_state.
723 * resolv/res_send.c (__libc_res_nsend): Likewise.
724 (get_nsaddr): New function.
725 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
728 2015-05-20 Joseph Myers <joseph@codesourcery.com>
730 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
731 -D_POSIX_C_SOURCE=199506L.
733 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
735 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
736 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
737 Do not mention otherwise.
738 [POSIX] (_XOPEN_VERSION): Do not expect.
739 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
740 [POSIX] (_POSIX2_C_BIND): Likewise.
741 [POSIX] (_POSIX2_VERSION): Likewise.
742 [POSIX] (_XOPEN_XPG2): Likewise.
743 [POSIX] (_XOPEN_XPG3): Likewise.
744 [POSIX] (_XOPEN_XPG4): Likewise.
745 [POSIX] (_XOPEN_UNIX): Likewise.
746 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
747 [POSIX] (_POSIX_BARRIERS): Likewise.
748 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
749 [POSIX] (_POSIX_CPUTIME): Likewise.
750 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
751 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
752 [POSIX] (_POSIX_SHELL): Likewise.
753 [POSIX] (_POSIX_SPAWN): Likewise.
754 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
755 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
756 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
757 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
758 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
759 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
760 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
761 [POSIX] (_XBS5_LP64_OFF64): Likewise.
762 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
763 [POSIX] (_POSIX_TIMEOUTS): Likewise.
764 [POSIX] (_POSIX2_PBS): Likewise.
765 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
766 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
767 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
768 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
769 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
770 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
771 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
772 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
773 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
774 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
775 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
776 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
777 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
778 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
779 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
780 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
781 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
782 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
783 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
784 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
785 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
786 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
787 [POSIX] (_SC_2_C_BIND): Likewise.
788 [POSIX] (_SC_2_C_VERSION): Likewise.
789 [POSIX] (_SC_2_PBS): Likewise.
790 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
791 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
792 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
793 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
794 [POSIX] (_SC_2_PBS_TRACK): Likewise.
795 [POSIX] (_SC_ATEXIT_MAX): Likewise.
796 [POSIX] (_SC_BARRIERS): Likewise.
797 [POSIX] (_SC_BASE): Likewise.
798 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
799 [POSIX] (_SC_DEVICE_IO): Likewise.
800 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
801 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
802 [POSIX] (_SC_FD_MGMT): Likewise.
803 [POSIX] (_SC_FIFO): Likewise.
804 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
805 [POSIX] (_SC_FILE_LOCKING): Likewise.
806 [POSIX] (_SC_FILE_SYSTEM): Likewise.
807 [POSIX] (_SC_IOV_MAX): Likewise.
808 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
809 [POSIX] (_SC_NETWORKING): Likewise.
810 [POSIX] (_SC_PAGE_SIZE): Likewise.
811 [POSIX] (_SC_PASS_MAX): Likewise.
812 [POSIX] (_SC_PIPE): Likewise.
813 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
814 [POSIX] (_SC_REGEXP): Likewise.
815 [POSIX] (_SC_SHELL): Likewise.
816 [POSIX] (_SC_SIGNALS): Likewise.
817 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
818 [POSIX] (_SC_SPIN_LOCKS): Likewise.
819 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
820 [POSIX] (_SC_USER_GROUPS): Likewise.
821 [POSIX] (_SC_USER_GROUPS_R): Likewise.
822 [POSIX] (_SC_STREAMS): Likewise.
823 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
824 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
825 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
826 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
827 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
828 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
829 [POSIX] (_PC_FILESIZEBITS): Likewise.
830 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
831 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
832 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
833 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
834 [POSIX] (uid_t): Likewise.
835 [POSIX] (gid_t): Likewise.
836 [POSIX] (off_t): Likewise.
837 [POSIX] (pid_t): Likewise.
838 [POSIX] (cuserid): Allow.
839 (_SC_2_CHAR_TERM): Require constant.
840 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
841 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
844 2015-05-20 Roland McGrath <roland@hack.frob.com>
846 * sysdeps/nacl/pthread-pids.h: New file.
847 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
848 (create_thread): Use __nacl_get_tid to initialize PD->tid.
850 * nptl/pthread-pids.h: New file.
851 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
852 * nptl/nptl-init.c: Include <pthread-pids.h>.
853 (__pthread_initialize_minimal_internal):
854 Call __pthread_initialize_pids instead of set_tid_address syscall.
856 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
857 * sysdeps/posix/usleep.c: ... here.
859 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
861 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
862 call_pselect6 object.
863 [$(subdir) = io]: Remove call_sync_file_range object.
864 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
865 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
866 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
867 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
869 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
871 * math/s_cproj.c: Add include "math_private.h".
872 * math/s_cprojf.c: Likewise.
873 * math/s_cprojl.c: Likewise.
875 2015-05-19 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
879 high mantissa bit when testing whether P is a NaN.
880 * math/libm-test.inc (remainder_test_data): Add more tests.
881 (remquo_test_data): Likewise.
884 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
885 below -32, return the argument, with underflow if subnormal.
886 * math/auto-libm-test-in: Add more tests of atanh.
887 * math/auto-libm-test-out: Regenerated.
889 2015-05-19 Roland McGrath <roland@hack.frob.com>
892 * nptl/tst-sem15.c: New file.
893 * nptl/Makefile (tests): Add it.
894 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
895 s/<</>>/ to fix typo in EOVERFLOW check.
896 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
898 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * manual/strings.texi (envz_remove): Fix typo in safety
903 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
904 Steve Ellcey <sellcey@imgtec.com>
906 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
907 in order to avoid strict alias warnings.
908 (iruserok_af): Ditto for ra.
910 2015-05-19 James Lemke <jwlemke@codesourcery.com>
914 (magicbyte): Convert to a function and avoid returning 0x01.
915 (mem2mem_check): Avoid using a length byte equal to the magic byte.
916 (mem2chunk_check): Fix unsigned comparisons to zero.
917 Hoist defs of sz and magic.
919 2015-05-19 Richard Henderson <rth@redhat.com>
921 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
923 * sysdeps/alpha/fpu/libm-test-ulps: Update.
925 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
928 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
929 * malloc/arena.c (arena_lock): Check if arena is corrupt.
930 (reused_arena): Find a non-corrupt arena.
931 (heap_trim): Pass arena to unlink.
932 * malloc/hooks.c (malloc_check_get_size): Pass arena to
934 (top_check): Likewise.
935 (free_check): Likewise.
936 (realloc_check): Likewise.
937 * malloc/malloc.c (malloc_printerr): Add arena argument.
939 (munmap_chunk): Adjust.
940 (ARENA_CORRUPTION_BIT): New macro.
941 (arena_is_corrupt): Likewise.
942 (set_arena_corrupt): Likewise.
943 (sysmalloc): Use mmap if there are no usable arenas.
944 (_int_malloc): Likewise.
945 (__libc_malloc): Don't fail if arena_get returns NULL.
946 (_mid_memalign): Likewise.
947 (__libc_calloc): Likewise.
948 (__libc_realloc): Adjust for additional argument to
950 (_int_free): Likewise.
951 (malloc_consolidate): Likewise.
952 (_int_realloc): Likewise.
953 (_int_memalign): Don't touch corrupt arenas.
954 * malloc/tst-malloc-backtrace.c: New test case.
956 * Makefile (summarize-tests): Fix return value on success.
958 * manual/string.texi (Envz Functions): Add envz_remove.
960 2015-05-18 Roland McGrath <roland@hack.frob.com>
962 * sysdeps/posix/opendir.c: Include <stdbool.h>.
963 (invalid_name): New function, broken out of ...
964 (__opendirat): ... here. Call it.
965 (need_isdir_precheck): New function, broken out of ...
966 (__opendirat): ... here. Call it.
967 Use __fxstatat64, not __xstatat64.
968 (opendir_oflags): New function, broken out of ...
969 (__opendirat): ... here. Call it.
970 (opendir_tail): New function, broken out of ...
971 (__opendirat): ... here. Call it.
972 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
973 opendir_tail, rather than punting to __opendirat.
974 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
976 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
978 * .gitignore: Ignore generated *.pyc.
980 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
982 * include/stdio.h: Define __need_wint_t.
983 * test-skeleton.c: Avoid `for' loop initial declaration.
984 * nptl/tst-initializers1.c: Use test-skeleton.c.
986 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
989 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
991 2015-05-15 Joseph Myers <joseph@codesourcery.com>
994 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
995 (__ieee754_atanh): Force underflow exception for results with
996 small absolute value.
997 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
998 (__ieee754_atanhf): Force underflow exception for results with
999 small absolute value.
1000 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1001 (__ieee754_atanh): Force underflow exception for results with
1002 small absolute value.
1003 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1004 (__ieee754_atanhf): Force underflow exception for results with
1005 small absolute value.
1006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1007 (__ieee754_atanhl): Force underflow exception for results with
1008 small absolute value.
1009 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1010 (__ieee754_atanhl): Force underflow exception for results with
1011 small absolute value.
1012 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1013 (__ieee754_atanhl): Force underflow exception for results with
1014 small absolute value.
1015 * math/auto-libm-test-in: Do not allow missing underflow
1016 exceptions from atanh.
1017 * math/auto-libm-test-out: Regenerated.
1020 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1021 2**-28 as threshold for returning x or +/- 1/x.
1022 * math/auto-libm-test-in: Add more tests of tan.
1023 * math/auto-libm-test-out: Regenerated.
1026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1027 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1028 * math/auto-libm-test-in: Add another test of lgamma.
1029 * math/auto-libm-test-out: Regenerated.
1031 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1033 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1034 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1035 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1036 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1037 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1038 (ADD2A): Use fabs. (SUB2A): Use fabs.
1039 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1042 (log1): Use fabs. (my_log2): Use fabs.
1043 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1044 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1046 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1048 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1049 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1050 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1051 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1052 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1053 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1055 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1058 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1059 as threshold for returning 1 - x.
1060 * math/auto-libm-test-in: Add more tests of erfc.
1061 * math/auto-libm-test-out: Regenerated.
1063 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1066 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1067 threshold for large arguments.
1068 * math/auto-libm-test-in: Add another test of atan.
1069 * math/auto-libm-test-out: Regenerated.
1072 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1073 (__log1p): Force underflow exception for results with small
1075 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1076 (__log1pf): Force underflow exception for results with small
1078 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1079 (__log1p): Force underflow exception for results with small
1081 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1082 (__log1pf): Force underflow exception for results with small
1084 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1085 (__log1pl): Force underflow exception for results with small
1087 * math/auto-libm-test-in: Do not allow missing underflow
1088 exceptions from log1p.
1089 * math/auto-libm-test-out: Regenerated.
1091 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1092 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1095 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1097 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1099 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1100 (libmvec): New variable.
1101 * configure.ac: Added option for mathvec build.
1102 * configure: Regenerated.
1103 * mathvec/Depend: New file.
1104 * mathvec/Makefile: New file.
1105 * shlib-versions: Added libmvec.
1106 * math/Makefile: Added rule for libm.so installation.
1108 * bits/math-vector.h: New file.
1109 * bits/libm-simd-decl-stubs.h: New header.
1110 * math/Makefile (headers): Added new header
1111 libm-simd-decl-stubs.h.
1112 * math/math.h (__MATHCALL_VEC): New macro.
1114 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1115 for conditions in testing functions.
1116 * math/Makefile: Added call of libm-have-vector-test.sh.
1117 * math/libm-test.inc (HAVE_VECTOR): New macros.
1119 * math/libm-test.inc: START refactored.
1120 * math/test-double.c (TEST_MATHVEC): Add define.
1121 * math/test-float.c: Likewise.
1122 * math/test-idouble.c: Likewise.
1123 * math/test-ifloat.c: Likewise.
1124 * math/test-ildoubl.c: Likewise.
1125 * math/test-ldouble.c: Likewise.
1126 * sysdeps/generic/math-tests-arch.h
1127 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1130 * math/test-double.c (FUNC_TEST): New macro.
1131 * math/test-float.c: Likewise.
1132 * math/test-idouble.c: Likewise.
1133 * math/test-ifloat.c: Likewise.
1134 * math/test-ildoubl.c: Likewise.
1135 * math/test-ldouble.c: Likewise.
1136 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1138 2015-05-13 Roland McGrath <roland@hack.frob.com>
1140 * sysdeps/nacl/fdopendir.c: New file.
1142 * dirent/scandir-tail.c: New file.
1143 * dirent/scandir64-tail.c: New file.
1144 * dirent/Makefile (routines): Add them.
1145 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1146 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1147 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1148 [!SCANDIR] (SCANDIR_TAIL): New macro.
1149 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1150 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1151 (SCANDIRAT): Macro removed.
1152 (SCANDIR_TAIL): New macro.
1153 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1154 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1155 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1156 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1157 (READDIR): Macro removed.
1158 (SCANDIR_TAIL): New macro.
1159 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1160 (SCANDIR_TAIL): New macro.
1162 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1163 * dirent/scandir-cancel.c: ... to this new file.
1164 * dirent/Makefile (routines): Add it.
1165 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1166 * sysdeps/unix/sysv/linux/i386/scandir64.c
1167 (SKIP_SCANDIR_CANCEL): Macro removed.
1168 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1170 * dirent/tst-scandir.c: New file.
1171 * dirent/tst-scandir64.c: New file.
1172 * dirent/Makefile (tests): Add them.
1174 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1177 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1179 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1181 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1184 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1186 * benchtests/bench-strcoll.c: New benchmark.
1187 * benchtests/Makefile: Generate locales and run benchmark.
1188 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1189 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1190 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1191 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1192 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1193 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1194 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1195 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1196 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1197 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1198 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1199 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1200 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1201 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1202 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1203 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1204 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1205 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1206 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1207 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1208 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1209 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1210 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1211 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1213 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1215 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1216 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1218 2015-05-12 Roland McGrath <roland@hack.frob.com>
1220 * posix/uname-values.h: New file.
1221 * posix/uname.c: Include that instead of <config-name.h>.
1222 * sysdeps/nacl/uname-values.h: New file.
1223 * sysdeps/arm/nacl/uname-values.h: New file.
1225 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1227 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1228 splitting into fields.
1230 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1232 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1233 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1234 * locale/localeinfo.h: Add enum collation_encoding_type.
1235 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1236 * programs/ld-collate.c (collate_output): Add encoding type info.
1237 * string/strcoll_l.c (STRDIFF): New function.
1238 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1239 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1241 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1244 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1245 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1246 <fpu_control.h> instead of <math/fpu_control.c>.
1247 * sysdeps/mips/mips32/fpu/Makefile: New file.
1249 2015-05-11 Andreas Schwab <schwab@suse.de>
1252 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1254 (_nss_compat_endgrent): Call nss_endgrent.
1255 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1257 (_nss_compat_endpwent): Call nss_endpwent.
1258 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1259 needent, call nss_setspent only if non-zero.
1260 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1261 (internal_endspent): Don't call nss_endspent.
1262 (_nss_compat_endspent): Call nss_endspent.
1263 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1264 Remove. All uses removed.
1265 (internal_setent): Remove parameter stayopen, add parameter
1266 stream. Use it instead of global variable.
1267 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1268 (internal_endent, internal_getent): Add parameter stream. Use it
1269 instead of global variable.
1270 (CONCAT(_nss_files_end,ENTNAME))
1271 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1272 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1273 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1275 (internal_setent, internal_endent): Add parameter stream. Use it
1276 instead of global variable.
1277 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1279 (get_next_alias): Add parameter stream.
1280 (_nss_files_getaliasent_r): Pass global stream.
1281 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1282 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1283 (_nss_files_gethostbyname4_r): Pass local stream to
1284 internal_setent, internal_getent and internal_endent. Remove
1287 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1289 * tst-strfmon1.c (tests): Update expected currency symbol.
1291 2015-05-08 Roland McGrath <roland@hack.frob.com>
1293 * sysdeps/nacl/gethostname.c: New file.
1295 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1297 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1299 * math/auto-libm-test-out: Regenerated.
1300 * sysdeps/i386/fpu/libm-test-ulps: Update.
1301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1306 * stdlib/tst-setcontext3.c: New file.
1307 * stdlib/tst-setcontext3.sh: New file.
1308 * stdlib/Makefile (tests): Add tst-setcontext3.
1309 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1310 to verify test program created output file.
1311 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1312 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1313 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1314 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1316 2015-05-06 Roland McGrath <roland@hack.frob.com>
1319 * elf/tst-tlsalign.c: New file.
1320 * elf/tst-tlsalign-static.c: New file.
1321 * elf/tst-tlsalign-lib.c: New file.
1322 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1323 (tests-static): Add tst-tlsalign-static.
1324 (modules-names): Add tst-tlsalign-lib.
1325 (test-xfail-tst-tlsalign): New variable.
1326 (test-xfail-tst-tlsalign-static): New variable.
1328 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1329 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1331 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1333 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1334 csqrt, erfc, sin and sincos.
1335 * math/auto-libm-test-out: Regenerated.
1336 * sysdeps/i386/fpu/libm-test-ulps: Update.
1337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1339 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1341 * sysdeps/aarch64/libm-test-ulps: Update.
1343 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1345 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1346 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1347 * math/auto-libm-test-out: Regenerated.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1354 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1355 (wcsncpy): Likewise.
1357 2015-05-05 Florian Weimer <fweimer@redhat.com>
1359 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1360 Assume __ASSUME_FALLOCATE is always true.
1361 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1362 (__posix_fallocate64_l64): Likweise.
1363 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1364 (posix_fallocate): Likewise.
1365 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1366 (__posix_fallocate64_l64): Likewise.
1367 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1368 [!__ASSUME_FALLOCATE]: Add comment.
1370 2015-05-05 Florian Weimer <fweimer@redhat.com>
1372 * sysdeps/unix/sysv/linux/i386/Makefile
1373 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1374 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1375 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1376 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1377 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1378 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1379 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1381 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1383 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1384 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1386 * math/auto-libm-test-out: Regenerated.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1390 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1392 * math/auto-libm-test-in: Add more tests of tgamma.
1393 * math/auto-libm-test-out: Regenerated.
1394 * sysdeps/i386/fpu/libm-test-ulps: Update.
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1397 * math/auto-libm-test-in: Add more tests of tanh.
1398 * math/auto-libm-test-out: Regenerated.
1399 * sysdeps/i386/fpu/libm-test-ulps: Update.
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1402 * math/auto-libm-test-in: Add more tests of tan.
1403 * math/auto-libm-test-out: Regenerated.
1404 * sysdeps/i386/fpu/libm-test-ulps: Update.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1408 * math/auto-libm-test-out: Regenerated.
1409 * sysdeps/i386/fpu/libm-test-ulps: Update.
1410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1412 * math/auto-libm-test-in: Add another test of pow.
1413 * math/auto-libm-test-out: Regenerated.
1414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1416 * math/auto-libm-test-in: Add more tests of lgamma.
1417 * math/auto-libm-test-out: Regenerated.
1418 * sysdeps/i386/fpu/libm-test-ulps: Update.
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1421 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1423 * math/auto-libm-test-out: Regenerated.
1424 * sysdeps/i386/fpu/libm-test-ulps: Update.
1425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1427 2015-05-01 Mark Wielaard <mjw@redhat.com>
1429 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1430 Elf64_Chdr structs and ELFCOMPRESS constants.
1432 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1434 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1436 * math/auto-libm-test-out: Regenerated.
1437 * sysdeps/i386/fpu/libm-test-ulps: Update.
1438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440 * math/auto-libm-test-in: Add more tests of erf and erfc.
1441 * math/auto-libm-test-out: Regenerated.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1447 * config.h.in (HAVE_AARCH64_BE): Add.
1449 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1451 * math/auto-libm-test-in: Add more tests of csqrt.
1452 * math/auto-libm-test-out: Regenerated.
1453 * sysdeps/i386/fpu/libm-test-ulps: Update.
1454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1456 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1457 * math/auto-libm-test-out: Regenerated.
1458 * sysdeps/i386/fpu/libm-test-ulps: Update.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1461 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1463 2015-04-29 Roland McGrath <roland@hack.frob.com>
1465 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1466 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1468 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1469 (euidaccess, eaccess): Define as weak aliases.
1471 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1472 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1473 but __suseconds_t is often 'long int' so some sources assume that
1474 type is being used (e.g. they use %ld to print tv_usec).
1476 2015-04-29 Florian Weimer <fweimer@redhat.com>
1479 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1481 * nss/tst-nss-getpwent.c: New file.
1482 * nss/Makefile (tests): Add new test.
1484 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1487 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1488 exponents less than 48 as cases where high part of mantissa needs
1489 examining to determine whether argument is integral.
1490 * math/libm-test.inc (round_test_data): Add more tests.
1492 2015-04-28 Mark Wielaard <mjw@redhat.com>
1494 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1496 2015-04-27 David S. Miller <davem@davemloft.net>
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1502 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1505 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1507 2015-04-27 Florian Weimer <fweimer@redhat.com>
1510 * time/tzset.c (parse_tzname): Return error on memory allocation
1512 * test-skeleton.c (struct temp_name_list): Change type of name
1513 member to non-const.
1514 (add_temp_file): Create a copy of the file name.
1515 (delete_temp_files): Deallocate memory.
1516 (create_temp_file): Add comment.
1518 2015-04-24 Florian Weimer <fweimer@redhat.com>
1520 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1521 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1523 2015-04-24 Roland McGrath <roland@hack.frob.com>
1525 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1526 * sysdeps/arm/configure: Regenerated.
1528 2015-04-24 Florian Weimer <fweimer@redhat.com>
1531 * time/tzfile.c (__tzfile_read): Check for large values of
1532 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1533 * time/tzset.c (__tzstring_len): New function, based on the old
1534 __tzstring function.
1535 (__tzstring): Call __tzstring_len.
1536 (parse_tzname): New helper function extracted from
1537 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1539 (parse_offset): New helper function extracted from
1540 __tzset_parse_tz. Replace switch with fallthrough with
1541 initialization before sscanf.
1542 (parse_rule): Likewise.
1543 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1544 new-style function definition.
1545 * timezone/Makefile (tests): Add tst-tzset.
1546 (tst-tzset.out): Dependencies on time zone files.
1547 (tst-tzset-ENV): Set TZDIR.
1548 (testdata/XT%): Copy crafted time zone files.
1549 * timezone/README: Mention crafted time zone files.
1550 * timezone/testdata/XT1, timezone/testdata/XT2,
1551 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1553 * timezone/tst-tzset.c: New test.
1555 2015-04-24 Florian Weimer <fweimer@redhat.com>
1557 * Makeconfig (+gccwarn): Remove -Winline.
1559 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1561 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1563 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1565 * NEWS: Mention sysconf() cache information support for s390.
1566 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1568 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1570 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1572 (__nearbyint): Likewise.
1573 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1574 (copysignl): Likewise.
1576 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1579 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1580 based on padding. (CVE-2015-1781)
1582 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1584 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1586 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1587 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1588 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1589 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1590 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1591 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1597 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1598 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1599 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1600 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1601 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1602 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1603 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1604 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1605 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1606 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1607 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1608 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1610 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1612 * stdlib/setenv.c (__add_to_environ):
1613 Dump core quickly if setenv (..., NULL, ...) is called.
1614 This time, do it the right way, and pacify GCC with a pragma.
1616 2015-04-17 Roland McGrath <roland@hack.frob.com>
1618 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1619 IMAP->l_prev cannot be null, and #if out the code for the contrary
1620 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1621 believe that NS (&_dl_ns[NSID]) could point outside the array.
1623 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1624 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1625 before using NSID as an index.
1627 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1630 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1631 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1632 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1634 2015-04-17 Roland McGrath <roland@hack.frob.com>
1636 Add preliminary port to Google Native Client on ARM.
1637 * abi-tags (.*-.*-nacl.*): New entry.
1638 * sysdeps/arm/nacl: New directory.
1639 * sysdeps/nacl: New directory.
1641 2015-04-16 David S. Miller <davem@davemloft.net>
1643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1644 lowlevellock-futex.h
1646 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1648 * sysdeps/tile/configure.ac: New file.
1649 * sysdeps/tile/configure: Regenerated.
1651 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1653 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1654 conditionals for weak_alias and libc_hidden_weak.
1655 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1656 libc_hidden_weak and weak_alias.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1658 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1659 and weak_alias for static one.
1661 2015-04-15 David S. Miller <davem@davemloft.net>
1663 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1665 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1668 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1669 Use signed comparision instead of substraction to avoid
1671 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1672 Take the sign of ret.
1673 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1674 Do not expect precise return values. Only the sign matters.
1675 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1676 * wcsmbs/test-wcsncmp.c: New File.
1677 * string/test-strncmp.c: Add wcsncmp support.
1679 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1682 * math/w_log1p.c: New file.
1683 * math/w_log1pf.c: Likewise.
1684 * math/w_log1pl.c: Likewise.
1685 * math/Makefile (libm-calls): Add w_log1p.
1686 * math/s_log1pl.c (log1pl): Remove weak_alias.
1687 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1688 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1689 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1690 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1691 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1692 [NO_LONG_DOUBLE] (log1pl): Likewise.
1693 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1695 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1696 (log1p): Remove long_double_symbol.
1697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1698 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1699 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1700 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1701 remove weak_alias for corresponding log1p function.
1702 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1703 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1704 * sysdeps/ia64/fpu/w_log1p.c: New file.
1705 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1706 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1707 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1709 2015-04-10 Joseph Myers <joseph@codesourcery.com>
1712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1713 decimal exponent by 1.
1714 * stdlib/tst-strtod-round-data: Add more tests.
1715 * stdlib/tst-strtod-round.c (tests): Regenerated.
1717 2015-04-09 Joseph Myers <joseph@codesourcery.com>
1719 * math/auto-libm-test-in: Add more tests of clog and clog10.
1720 * math/auto-libm-test-out: Regenerated.
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1724 2015-04-09 Roland McGrath <roland@hack.frob.com>
1726 * Makeconfig (module-cppflags): Exclude all .v.i files.
1727 (skip-module-cppflags): Variable removed.
1729 * configure.ac (libc_config_ok): Initialize before reading
1730 preconfigure scripts, not after.
1731 * configure: Regenerated.
1733 * test-skeleton.c (TIMEOUT): Move #define to top level.
1734 (main): Grok environment variable TEST_DIRECT. If set, print
1735 test expectation details into that file and then behave as if
1738 2015-04-09 Florian Weimer <fweimer@redhat.com>
1740 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1743 2015-04-08 David S. Miller <davem@davemloft.net>
1745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1747 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1749 * math/auto-libm-test-in: Add more tests of atanh.
1750 * math/auto-libm-test-out: Regenerated.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754 * math/auto-libm-test-in: Add more tests of atan.
1755 * math/auto-libm-test-out: Regenerated.
1756 * sysdeps/i386/fpu/libm-test-ulps: Update.
1757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1759 2015-04-08 Florian Weimer <fweimer@redhat.com>
1761 * elf/pldd.c (main): Rewrite to use struct
1762 scratch_buffer instead of extend_alloca.
1763 * elf/pldd-xx.c (find_maps): Likewise.
1764 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1766 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1767 scratch_buffer instead of extend_alloca.
1768 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1769 grp/compat-initgroups.c.
1770 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1771 Rewrite to use struct scratch_buffer instead of extend_alloca.
1772 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1773 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1775 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1777 * math/auto-libm-test-in: Add more tests of cbrt.
1778 * math/auto-libm-test-out: Regenerated.
1779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1781 * math/auto-libm-test-in: Add more tests of cabs.
1782 * math/auto-libm-test-out: Regenerated.
1783 * sysdeps/i386/fpu/libm-test-ulps: Update.
1784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1789 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1791 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1793 * math/auto-libm-test-out: Regenerated.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1798 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1799 (atan): Set FE_TONEAREST mode for internal computations.
1800 * math/auto-libm-test-in: Add more tests of atan.
1801 * math/auto-libm-test-out: Regenerated.
1803 2015-04-07 James Cowgill <james410@cowgill.org.uk>
1806 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1808 2015-04-07 Florian Weimer <fweimer@redhat.com>
1810 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1812 2015-04-07 Florian Weimer <fweimer@redhat.com>
1814 * include/scratch_buffer.h: New file.
1815 * malloc/scratch_buffer_grow.c: Likewise.
1816 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1817 * malloc/scratch_buffer_set_array_size.c: Likewise.
1818 * malloc/tst-scratch_buffer.c: Likewise.
1819 * malloc/Makefile (routines): Add scratch_buffer_grow.
1820 (tests): Add test case.
1821 * malloc/Versions (GLIBC_PRIVATE): Export
1822 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1823 __libc_scratch_buffer_set_array_size.
1825 2015-04-06 Richard Henderson <rth@redhat.com>
1827 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1828 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1830 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1831 unsigned int before printing.
1833 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1836 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1837 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1839 2015-04-02 Florian Weimer <fweimer@redhat.com>
1841 * include/libc-internal.h (libc_max_align_t): Define.
1843 2015-04-02 Andreas Schwab <schwab@suse.de>
1846 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1848 2015-04-02 Mel Gorman <mgorman@suse.de>
1851 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1852 as well as the main arena.
1854 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1857 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1858 sharing L2 cache to 2 for Silvermont/Knights Landing.
1860 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1863 * config.make.in (have-protected-data): New.
1864 * configure.ac: Check linker support for protected data symbol.
1865 * configure: Regenerated.
1866 * elf/Makefile (modules-names): Add tst-protected1moda and
1867 tst-protected1modb if $(have-protected-data) is yes.
1868 (tests): Add tst-protected1a and tst-protected1b if
1869 $(have-protected-data) is yes.
1870 ($(objpfx)tst-protected1a): New.
1871 ($(objpfx)tst-protected1b): Likewise.
1872 (tst-protected1modb.so-no-z-defs): Likewise.
1873 * elf/tst-protected1a.c: New file.
1874 * elf/tst-protected1b.c: Likewise.
1875 * elf/tst-protected1mod.h: Likewise.
1876 * elf/tst-protected1moda.c: Likewise.
1877 * elf/tst-protected1modb.c: Likewise.
1879 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1882 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1883 indicates it is called from do_lookup_x on relocation against
1884 protected data, skip the data definion in the executable from
1886 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1887 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1888 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1889 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1890 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1892 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1893 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1894 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1895 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1896 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1897 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1899 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1901 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1902 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1904 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1906 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1908 * sysdeps/x86_64/nptl/tls.h: Ditto.
1910 2015-03-27 Roland McGrath <roland@hack.frob.com>
1912 * dlfcn/tststatic.c (main): Converted to ...
1913 (do_test): ... this.
1914 (TEST_FUNCTION): New macro.
1915 Include test-skeleton.c.
1917 2015-03-26 Alan Modra <amodra@gmail.com>
1919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1920 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1921 zero for undefined weak.
1922 (elf_machine_plt_conflict): Similarly.
1924 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1926 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1928 * math/auto-libm-test-out: Regenerated.
1929 * sysdeps/i386/fpu/libm-test-ulps: Update.
1930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1932 * math/auto-libm-test-in: Add another test of asin.
1933 * math/auto-libm-test-out: Regenerated.
1934 * sysdeps/i386/fpu/libm-test-ulps: Update.
1935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1939 (LLL_EBX_REG): Likewise.
1940 (LLL_ENTER_KERNEL): Likewise.
1942 * math/auto-libm-test-in: Add more tests of asin.
1943 * math/auto-libm-test-out: Regenerated.
1944 * sysdeps/i386/fpu/libm-test-ulps: Update.
1945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1948 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1949 libc_do_syscall_args): New structure.
1950 (INTERNAL_SYSCALL_MAIN_0): New macro.
1951 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1952 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1953 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1954 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1955 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1956 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1957 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1958 Replace conditional definitions by conditional definitions of ....
1959 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1960 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1961 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1962 (libpthread-sysdep_routines): Add libc-do-syscall.
1963 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1964 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1965 to __NR_futex not 240.
1967 2015-03-25 Alan Modra <amodra@gmail.com>
1969 * NEWS: Advertise TLS optimization.
1970 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1971 (DT_PPC_NUM): Increment.
1972 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1973 (CHECK_STATIC_TLS): Use here.
1974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1977 * sysdeps/powerpc/dl-tls.c: New file.
1978 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1979 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1980 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1981 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1986 2015-03-25 Alan Modra <amodra@gmail.com>
1988 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1989 for overlapping .opd entries" to "support...".
1990 * sysdeps/powerpc/powerpc64/configure: Regenerate
1992 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1994 * math/auto-libm-test-in: Add more tests of acos.
1995 * math/auto-libm-test-out: Regenerated.
1996 * sysdeps/i386/fpu/libm-test-ulps: Update.
1997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1999 * math/auto-libm-test-in: Add more tests of expm1.
2000 * math/auto-libm-test-out: Regenerated.
2001 * sysdeps/i386/fpu/libm-test-ulps: Update.
2002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2006 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2007 * math/auto-libm-test-out: Regenerated.
2008 * sysdeps/i386/fpu/libm-test-ulps: Update.
2009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014 * math/auto-libm-test-in: Add more tests of log2.
2015 * math/auto-libm-test-out: Regenerated.
2016 * sysdeps/i386/fpu/libm-test-ulps: Update.
2017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2019 2015-03-23 Roland McGrath <roland@hack.frob.com>
2021 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2022 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2023 _IO_IS_APPENDING bit in READ_WRITE instead.
2025 2015-03-23 Florian Weimer <fweimer@redhat.com>
2027 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2028 (__determine_cpumask_size): Replace extend_alloca with a
2029 variable-length array. Do not treat res == 0 as an error.
2031 2015-03-23 Florian Weimer <fweimer@redhat.com>
2034 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2035 and integer overflow.
2036 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2037 (main): Add integer overflow tests.
2038 * manual/pattern.texi (Calling Wordexp): Document additional use
2041 2015-03-23 Alan Modra <amodra@gmail.com>
2043 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2044 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2045 and false branch of conditional.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2049 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2051 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2053 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2054 unused declaration of _hurd_intr_rpc_msg_in_trap.
2055 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2056 defined instead of whether it is non-zero.
2057 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2058 input constraint instead of both input and output constraint. Use ecx
2059 clobber instead of %ecx.
2060 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2061 mutex_unlock): Use a statement expression instead of an expression list.
2062 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2063 type to vm_size_t instead of vm_address_t.
2064 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2065 defined instead of whether it is non-zero.
2066 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2067 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2068 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2069 comparisons with mapaddr.
2070 * nscd/nscd-client.h: Include <time.h>.
2071 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2072 9th parameter to __vm_region instead of int.
2073 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2074 * scripts/check-local-headers.sh (exclude): Add device/,
2075 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2078 2015-03-19 Roland McGrath <roland@hack.frob.com>
2080 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2081 to account for alignment padding.
2082 * sysdeps/arm/memmove.S: Likewise.
2084 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2086 * sysdeps/unix/sysv/linux/generic/README: New file.
2088 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2091 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2092 (futex_abstimed_wait)
2093 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2094 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2095 of lll_futex_timed_wait.
2097 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2100 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2102 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2109 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2110 entries with Static TLS too. Skip entries past the end of the
2111 allocated DTV, from Alan Modra.
2112 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2113 Static TLS DTV entry set up from...
2114 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2115 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2116 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2117 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2119 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2120 that the slot we find is associated with the given map before
2121 using its generation count.
2122 * nptl_db/db_info.c: Include ldsodefs.h.
2123 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2124 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2125 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2126 (link_map::l_tls_offset): New struct field.
2127 (dtv_t::counter): Likewise.
2128 (rtld_global): New struct.
2129 (_rtld_global): New rtld variable.
2130 (dl_tls_dtv_slotinfo_list): New rtld global field.
2131 (dtv_slotinfo_list): New struct.
2132 (dtv_slotinfo): Likewise.
2133 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2134 (td_lookup): Rename to...
2135 (td_mod_lookup): ... this. Use new mod parameter instead of
2137 * nptl_db/td_thr_tlsbase.c: Include link.h.
2138 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2139 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2140 addresses even if the DTV is out of date or missing them.
2141 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2142 index zero-length arrays.
2143 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2144 (td_lookup): Make it a macro implemented in terms of...
2145 (td_mod_lookup): ... this declaration.
2146 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2147 (DB_MAIN_VARIABLE): Likewise.
2149 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2152 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2154 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2156 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2158 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2161 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2162 (atomic_add, atomic_increment_and_test)
2163 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2165 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2167 * stdlib/setenv.c (__add_to_environ):
2168 Dump core quickly if setenv (..., NULL, ...) is called.
2170 2015-03-13 Roland McGrath <roland@hack.frob.com>
2172 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2173 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2174 all the necessary asm magic in one place.
2175 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2178 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2181 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2182 traced file mtime. Use consistent log message.
2183 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2184 (register_traced_file): Call install_watches. Always set mtime.
2185 (invalidate_cache): Iterate over all trace files. Call install_watches.
2186 (inotify_check_files): Don't inline. Handle watching parent
2187 directories and configuration file movement in and out.
2188 (handle_inotify_events): New function.
2189 (main_loop_poll): Call handle_inotify_events.
2190 (main_loop_epoll): Likewise.
2191 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2192 (struct traced_file): Use array of inotify fds. Add parent directory,
2194 (struct database_dyn): Remove unused file_mtime.
2195 (init_traced_file): New inline function.
2196 (define_traced_file): New macro.
2197 * nss/nss_db/db-init.c: Use define_traced_file.
2198 (_nss_db_init): Use init_traced_file.
2199 * nss/nss_files/files-init.c: Use define_traced_file.
2200 (_nss_files_init): Use init_traced_file.
2202 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2204 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2205 [_LIBC]: Do not include <stdlib.h>.
2206 [!_LIBC] (abort): Remove declaration.
2207 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2208 _FP_STATIC_ASSERT instead of conditionally calling abort.
2209 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2210 (_FP_EXTEND_CNAN): Likewise.
2211 (FP_TRUNC): Likewise.
2212 (__FP_CLZ): Likewise.
2213 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2215 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2217 * manual/string.texi (XPG basename): Fix prototype.
2219 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2222 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2223 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2224 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2225 (__setcontext): Likewise.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2227 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2228 Call rt_sigprocmask syscall one time to set new signal mask
2229 and retrieve the current signal mask instead of two calls.
2230 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2231 (__swapcontext): Likewise.
2232 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2233 * stdlib/tst-setcontext2.c: New file.
2235 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2239 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2242 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2245 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2248 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2250 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2252 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2253 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2255 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2256 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2257 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2258 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2259 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2260 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2262 * nptl_db/td_symbol_list.c (td_lookup): Remove
2263 HAVE_ASM_GLOBAL_DOT_NAME code.
2264 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2265 HAVE_ASM_GLOBAL_DOT_NAME check.
2266 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2267 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2268 (DOT_LABEL): Remove define.
2269 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2270 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2271 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2272 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2273 (__TLS_GET_ADDR): Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2275 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2277 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2280 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2281 (_FPU_SETCW): Initialize cw from fpsr before storing.
2282 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2283 (fesetexceptflag): Rewrite using fpu_control.h.
2284 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2286 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2289 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2291 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2293 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2295 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2296 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2298 (_FP_FMA): Likewise.
2299 (_FP_DIV): Likewise.
2301 2015-03-10 Roland McGrath <roland@hack.frob.com>
2303 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2304 with 0 in that case.
2305 * Makefile (summarize-tests): New canned sequence, factored out of
2306 commands for targets tests and xtests. Display summary lines that
2307 don't start with PASS: or XFAIL: rather than ones that do start with
2308 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2309 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2310 do start with ERROR: or FAIL:.
2311 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2312 (except for [$(build-shared) = yes]).
2313 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2314 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2315 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2316 * nptl/Makefile: Revert 2015-03-04 changes.
2317 [$(CXX) empty] (tests-unsupported): New variable.
2318 * debug/Makefile: Likewise.
2320 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2321 gnulib file. Replace __attribute with __attribute__ throughout.
2323 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2325 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2327 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2330 * math/auto-libm-test-in: Add another test of pow.
2331 * math/auto-libm-test-out: Regenerated.
2333 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2336 $(config-cflags-nofma).
2338 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2340 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2341 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2342 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2343 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2344 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2345 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2346 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2347 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2348 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2349 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2350 Add comment on closing #endif.
2352 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2354 * posix/wordexp.c (CHAR_IN_SET): New macro.
2355 (parse_param): Use it.
2357 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2359 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2361 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2364 * posix/wordexp.c (parse_param): Fix buffer overflow.
2365 * posix/wordexp-test.c (test_case): Add test case.
2367 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2370 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2371 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2373 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2376 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2377 (do_bz18043): Delete.
2379 (testit): Refactor to have words at the edge of unreadable page.
2381 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2384 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2385 Cleanup read-only streams as well.
2386 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2388 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2390 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2393 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2395 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2397 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2398 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2399 * soft-fp/op-common.h (_FP_DECL): Likewise.
2401 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2403 * elf/ifuncdep2.c (global): Replace
2404 __attribute__((visibility("protected"))) with
2405 asm (".protected global").
2406 * elf/ifuncmod1.c (global): Likewise.
2407 * elf/ifuncmod5.c (global): Likewise.
2409 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2411 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2412 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2414 2015-03-06 Roland McGrath <roland@hack.frob.com>
2416 * manual/install.texi (Configuring and compiling):
2417 Document test-wrapper-env-only.
2418 * INSTALL: Regenerated.
2420 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2423 * posix/wordexp.c (parse_param): Fix buffer overflow.
2424 * posix/wordexp-test.c (do_bz18043): Add test case.
2426 2015-03-06 Vincent Bernat <vincent@bernat.im>
2428 * time/tst-strptime2.c (do_test): Ensure failing tests are
2430 * time/tst-strptime3.c (do_test): Likewise.
2432 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2434 Fix aio_error thread-safety.
2435 * sysdeps/pthread/aio_error.c: New file
2436 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2439 2015-03-06 Florian Weimer <fweimer@redhat.com>
2441 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2442 (group_number, vfprintf): Use it.
2443 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2444 (JUMP, REF): Use it.
2445 (WORK_BUFFER_SIZE): New enum constant.
2446 (process_arg, vfprintf): Use it.
2448 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2450 * manual/errno.texi (Error Messages): Complete example function
2451 by adding missing #define.
2452 (program_invocation_name): Add statement indicating GNU
2453 extension and reference which header file declares the variable.
2454 (program_invocation_short_name): Likewise.
2456 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2458 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2461 2015-03-05 Roland McGrath <roland@hack.frob.com>
2463 * Makeconfig (test-wrapper-env-only): New variable.
2464 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2465 then use that with $(test-wrapper-env-only) rather than using
2466 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2468 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2471 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2472 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2473 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2474 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2475 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2476 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2477 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2478 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2480 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2485 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2489 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2494 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2495 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2497 2015-03-04 Roland McGrath <roland@hack.frob.com>
2499 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2500 (ETH_ALEN): New macro.
2501 (struct ether_addr): Use it for length of ether_addr_octet.
2503 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2504 (setdb): Don't call __nss_configure_lookup for "rpc".
2505 (do_test): Don't call test_rpc.
2506 (output_rpcent, test_rpc): Functions moved ...
2507 * sunrpc/test-rpcent.c: ... to this new file.
2508 * sunrpc/Makefile (tests): Add it.
2510 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2512 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2513 * nptl/tst-signal6.c: Likewise.
2514 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2515 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2517 * configure.ac (libc_cv_cxx_link_ok): New check.
2518 Reset CXX to empty if it fails to link.
2519 * configure: Regenerated.
2520 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2521 bug-atexit3-lib only if $(CXX) is nonempty.
2522 * nptl/Makefile (tests): Likewise for tst-cancel24.
2523 (tests, tests-static): Likewise for tst-cancel24-static.
2524 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2525 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2526 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2527 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2529 2015-03-04 Andreas Schwab <schwab@suse.de>
2532 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2533 for non-GCC compilers.
2534 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2537 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2540 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2541 integer before bitwise and assembly operations.
2542 (feclearexcept): Likewise.
2543 * math/test-fenvinline.c: New file.
2544 * math/Makefile: Add test-fenvinline test.
2546 2015-03-03 Alan Modra <amodra@gmail.com>
2549 * scripts/localplt.awk: Strip off symbol version.
2550 * NEWS: Mention bug fix.
2552 2015-03-02 Roland McGrath <roland@hack.frob.com>
2554 * sysdeps/pthread/timer_routines.c
2555 (timer_free_list, thread_free_list, thread_active_list): Make static.
2557 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2560 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2561 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2564 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2566 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2567 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2570 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2573 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2574 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2576 2015-03-02 Andreas Schwab <schwab@suse.de>
2578 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2581 2015-03-02 Florian Weimer <fweimer@redhat.com>
2583 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2584 Return error status.
2586 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2589 * locale/findlocale.c (_nl_find_locale): Introduce const
2590 version of loc_name and drop unsafe type casts.
2592 2015-02-27 Roland McGrath <roland@hack.frob.com>
2594 * dlfcn/tststatic2.c (main): Converted to ...
2595 (do_test): ... this.
2596 (TEST_FUNCTION): New macro.
2597 Include test-skeleton.c.
2599 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2602 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2603 (tests-pie): Add vismain.
2604 (CFLAGS-vismain.c): New.
2605 * elf/vismain.c: Add comments for PIE requirement.
2607 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2612 0x1p-56L as threshold for just returning the argument.
2613 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2614 0x1p-32L as threshold for just returning the argument.
2615 * math/auto-libm-test-in: Add more tests of atanh.
2616 * math/auto-libm-test-out: Regenerated.
2617 * sysdeps/i386/fpu/libm-test-ulps: Update.
2618 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2620 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2622 * string/bcopy.c (bcopy): Call memmove for performance.
2624 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2626 * string/bzero.c (__bzero): Call memset for performance.
2628 2015-02-27 John David Anglin <dave.anglin@bell.net>
2631 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2634 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2636 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2638 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2640 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2641 (__kernel_standard): Use CSTR macro when setting exc.name.
2642 * sysdeps/ieee754/Makefile [$(subdir) = math]
2643 (CFLAGS-k_standard.c): Remove variable.
2645 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2646 setting p and q from "else if" to "else".
2648 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2650 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2652 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2654 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2656 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2661 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2662 return pi/2 for arguments below 0x1p-113L.
2663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2664 return pi/2 for arguments below 0x1p-106L.
2665 * math/auto-libm-test-in: Add more tests of acos.
2666 * math/auto-libm-test-out: Regenerated.
2669 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2671 (__ieee754_asin): Force underflow exception for results with small
2673 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2675 (__ieee754_asinf): Force underflow exception for results with
2676 small absolute value.
2677 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2678 (__ieee754_asin): Force underflow exception for results with small
2680 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2681 (__ieee754_asinf): Force underflow exception for results with
2682 small absolute value.
2683 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2684 (__ieee754_asinl): Force underflow exception for results with
2685 small absolute value.
2686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2687 (__ieee754_asinl): Force underflow exception for results with
2688 small absolute value.
2689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2690 (__ieee754_asinl): Force underflow exception for results with
2691 small absolute value.
2692 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2694 * math/auto-libm-test-in: Do not mark underflow exceptions as
2695 possibly missing for bug 16351.
2696 * math/auto-libm-test-out: Regenerated.
2699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2700 of power of 2 down when low part has opposite sign.
2701 * math/libm-test.inc (logb_test_data): Add more tests.
2703 2015-02-26 Andreas Schwab <schwab@suse.de>
2706 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2707 over collating symbol inside a bracket expression. Minor cleanup.
2708 * posix/tst-fnmatch3.c (do_test): Add test case.
2710 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2713 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2714 Adjust exponent of power of 2 down when low part has opposite
2716 * math/libm-test.inc (ilogb_test_data): Add more tests.
2718 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
2721 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2722 the previous change.
2725 * locale/findlocale.c (_nl_find_locale): Retry archive search
2726 after alias expansion.
2728 2015-02-25 Roland McGrath <roland@hack.frob.com>
2730 * iconv/tst-iconv3.c (main): Converted to ...
2731 (do_test): ... this.
2732 (TEST_FUNCTION): New macro.
2733 Include test-skeleton.c.
2735 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2736 (convert): Make function static.
2737 (test_unalign): Likewise. Add const to argument pointee types.
2738 (main): Replace with static function do_test.
2739 Print "Succeeded." only if RET is zero.
2740 (TEST_FUNCTION): New macro.
2741 Include test-skeleton.c.
2743 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2744 returns a null pointer.
2746 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2749 to __memcpy_ppc only for static builds.
2751 2015-02-25 Joseph Myers <joseph@codesourcery.com>
2754 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2755 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2756 * math/auto-libm-test-in: Add more tests of asinh.
2757 * math/auto-libm-test-out: Regenerated.
2758 * sysdeps/i386/fpu/libm-test-ulps: Update.
2759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2764 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2765 and ip6_mtuinfo definitions here.
2766 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2767 in this define too. Update comment.
2769 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
2771 * elf/sprof.c (load_shobj): Tweak error message to match others.
2773 2015-02-24 Kevin Easton <kevin@guarana.org>
2775 [BZ #16145] (partial fix)
2776 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2777 to reduce lock contention.
2779 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2781 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2782 (struct timex): Update time comment.
2783 (ADJ_SETOFFSET): Define.
2785 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2789 2**56 not 2**28 as threshold for log (2x) formula.
2790 * math/auto-libm-test-in: Add more tests of acosh.
2791 * math/auto-libm-test-out: Regenerated.
2792 * sysdeps/i386/fpu/libm-test-ulps: Update.
2793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2795 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2797 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2798 parenthesis around the buf assignment.
2799 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2801 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2804 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2805 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2806 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2807 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2808 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2809 * math/libm-test.inc (scalb_test_data): Add more tests.
2811 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2814 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2815 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2817 2015-02-24 Eric Rannaud <e@nanocritical.com>
2820 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2821 * io/bits/fcntl2.h (open): Use it.
2823 * io/open.c (__libc_open): Likewise.
2824 * io/open64.c (__libc_open64): Likewise.
2825 * io/open64_2.c (__open64_2): Likewise.
2826 * io/open_2.c (__open_2): Likewise.
2827 * io/openat.c (__openat): Likewise.
2828 * io/openat64.c (__openat64): Likewise.
2829 * io/openat64_2.c (__openat64_2): Likewise.
2830 * io/openat_2.c (__openat_2): Likewise.
2831 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2832 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2833 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2834 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2835 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2836 (__open_nocancel): Likewise.
2837 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2838 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2839 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2841 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2844 * resolv/gethnamaddr.c (getanswer): Skip logging if
2845 RES_USE_DNSSEC is set.
2846 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2848 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2850 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2852 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
2854 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2855 201304L, for Unicode 7.
2857 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2860 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2861 shared library. Add gmon-start.os otherwise.
2862 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2863 $(objpfx)gmon-start.os if builing shared library.
2864 ($(objpfx)g$(static-start-installed-name)): Likewise.
2866 2015-02-23 Andreas Schwab <schwab@suse.de>
2868 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2870 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2873 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2874 (enlarge_userbuf): Likewise.
2876 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2878 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2879 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2880 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2881 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2883 2015-02-20 Joseph Myers <joseph@codesourcery.com>
2885 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2886 expression inside statement expression.
2888 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2891 <sysdeps/nptl/lowlevellock.h> and remove macros and
2892 functions that are now defined there.
2893 (SYS_futex): Remove.
2894 (lll_compare_and_swap): Remove.
2895 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2897 2015-02-19 Joseph Myers <joseph@codesourcery.com>
2900 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2901 instead of scandirat.
2902 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2903 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2904 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2906 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2907 (__scandirat): Declare. Use libc_hidden_proto.
2908 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2910 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2912 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2915 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2917 (__ieee754_atan2): For results with small absolute value, force
2918 underflow exception and remove excess range and precision from
2920 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2922 (__ieee754_atan2f): For results with small absolute value, force
2923 underflow exception and remove excess range and precision from
2925 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2927 (__atan): For results with small absolute value, force underflow
2928 exception and remove excess range and precision from return value.
2929 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2931 (__atanf): For results with small absolute value, force underflow
2932 exception and remove excess range and precision from return value.
2933 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2935 (__ieee754_atan2): Force underflow exception for results with
2936 small absolute value.
2937 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2939 (atan): Force underflow exception for results with small absolute
2941 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2942 (__atanf): Force underflow exception for results with small
2944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2946 (__atanl): Force underflow exception for results with small
2948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2949 (__atanl): Force underflow exception for results with small
2951 * sysdeps/x86/fpu/bits/mathinline.h
2952 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2953 (__ieee754_atan2): Only define inline for long double.
2954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2955 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2956 * math/auto-libm-test-in: Do not mark underflow exceptions as
2957 possibly missing for bug 15319. Add more tests of atan2.
2958 * math/auto-libm-test-out: Regenerated.
2959 * math/libm-test.inc (casin_test_data): Do not mark underflow
2960 exceptions as possibly missing for bug 15319.
2961 (casinh_test_data): Likewise.
2962 * sysdeps/i386/fpu/libm-test-ulps: Update.
2964 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
2966 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2967 * sysdeps/mips/bits/endian.h: Fix comments.
2969 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2972 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2973 (hdestroy_r): Likewise.
2974 (hsearch_r): Likewise.
2975 (__hcreate_r): Declare and use libc_hidden_proto.
2976 (__hdestroy_r): Likewise.
2977 (__hsearch_r): Likewise.
2978 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2979 (hcreate): Call __hcreate_r instead of hcreate_r.
2980 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2981 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2982 as weak alias of __hcreate_r.
2983 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2985 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2987 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2989 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2990 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2991 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2992 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2994 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2996 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2997 arena_lock into a single arena_get.
2999 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3001 * dl-reloc.c: Inlucde libc-internal.h.
3002 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3003 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3004 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3005 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3006 (grow_heap): Likewise.
3007 * malloc/malloc.c: Include libc-internal.h.
3008 (do_check_malloc): Call powerof2.
3009 (sysmalloc): Use pagesize. Call ALIGN_UP.
3010 (systrim): Use pagesize.
3011 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3012 (__libc_valloc): Use pagesize.
3013 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3015 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3018 * include/sys/resource.h (__getrlimit64): Declare. Use
3020 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3021 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3022 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3024 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3026 [!getrlimit64] (getrlimit64): Define as weak alias of
3027 __getrlimit64. Use libc_hidden_weak.
3028 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3029 using __getrlimit64 not __new_getrlimit64.
3030 (__GI_getrlimit64): Likewise.
3031 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3033 (__GI_getrlimit64): Likewise.
3034 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3036 (getrlimit): Add __getrlimit64 alias.
3037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3039 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3041 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3042 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3044 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3046 * libio/fileops.c: Add missing sys/mman.h
3047 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3049 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3051 * manual/math.texi (Errors in Math Functions): Clarify goals
3052 regarding inexact and underflow exceptions.
3054 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3056 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3057 * sysdeps/mips/memset.S: Ditto.
3059 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3061 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3063 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3065 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3066 (__v1longjmp): Remove versioned symbol.
3067 (__v1siglongjmp): Remove alias and versioned symbol.
3068 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3069 (__v2siglongjmp): Likewise.
3071 2015-02-16 Torvald Riegel <triegel@redhat.com>
3073 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3075 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3077 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3079 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3082 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3083 zero result does not depend on the sign resulting from
3085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3087 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3088 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3089 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3090 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3091 * math/libm-test.inc (remquo_test_data): Add more tests.
3093 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3095 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3096 Problem reported by J William Piggott.
3098 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3101 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3102 products 4 * y and 2 * y where those would overflow.
3103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3105 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3106 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3108 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3109 * math/libm-test.inc (remquo_test_data): Add more tests.
3111 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3113 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3114 [defined _COMPILING_NEWLIB].
3115 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3116 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3118 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3119 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3121 2015-02-16 Torvald Riegel <triegel@redhat.com>
3123 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3126 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3129 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3130 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3131 HOST_STACK_END_ADDR): Likewise.
3133 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3135 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3136 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3137 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3139 2015-02-13 Roland McGrath <roland@hack.frob.com>
3141 * sysdeps/generic/c++-types.data: New file.
3142 * sysdeps/generic/ld.abilist: New file.
3143 * sysdeps/generic/libBrokenLocale.abilist: New file.
3144 * sysdeps/generic/libanl.abilist: New file.
3145 * sysdeps/generic/libc.abilist: New file.
3146 * sysdeps/generic/libcrypt.abilist: New file.
3147 * sysdeps/generic/libdl.abilist: New file.
3148 * sysdeps/generic/libm.abilist: New file.
3149 * sysdeps/generic/libpthread.abilist: New file.
3150 * sysdeps/generic/libresolv.abilist: New file.
3151 * sysdeps/generic/librt.abilist: New file.
3153 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3157 Compute absolute value of x as modified by fmod, not original
3159 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3160 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3161 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3162 RUN_TEST_ffI_f1_mod8.
3163 (remquo_test_data): Add more tests.
3165 2015-02-13 Roland McGrath <roland@hack.frob.com>
3167 * sysdeps/init_array/pt-crti.S: New file.
3169 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3173 __builtin_fmaf instead of relying on contraction of a * b + c.
3175 2015-02-12 J William Piggott <elseifthen@gmx.com>
3178 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3181 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3184 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3185 __builtin_fma instead of relying on contraction of a * b + c.
3187 2015-02-12 Roland McGrath <roland@hack.frob.com>
3189 * Makeconfig (ASFLAGS): Add -Werror=undef.
3190 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3191 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3192 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3194 * Makeconfig (after-link): New variable.
3195 (+link-pie, +link-pie-tests): Use it.
3196 (+link-static, +link-static-tests): Likewise.
3197 (+link, +link-tests): Likewise.
3198 * Makerules (build-module, build-module-asneeded): Likewise.
3199 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3201 * elf/Makefile ($(objpfx)ld.so): Likewise.
3203 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3206 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3207 both struct timeval and struct timespec.
3209 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3212 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3214 (__ieee754_exp2l): Do not multiply small fractional parts by
3216 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3219 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3220 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3221 * math/auto-libm-test-in: Add more tests of exp2.
3222 * math/auto-libm-test-out: Regenerated.
3224 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3226 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3229 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3234 2015-02-12 Andreas Schwab <schwab@suse.de>
3237 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3238 Filter out elision flags from value returned in kind.
3239 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3240 * nptl/tst-pthread-mutexattr.c: New file.
3242 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3244 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3245 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3246 into gnu-gnu, and update comment to refer to abi-tags.
3248 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3252 (__sincos): Set errno to EDOM for infinite argument.
3253 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3254 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3255 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3256 (__sincosl): Set errno to EDOM for infinite argument.
3257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3258 (__sincosl): Set errno to EDOM for infinite argument.
3259 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3260 (__sincosl): Set errno to EDOM for infinite argument.
3261 * math/libm-test.inc (sincos_test_data): Test errno setting.
3263 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3265 * string/strxfrm_l.c: Remove #define STRCMP.
3266 * string/strcoll_l.c: Remove #define STRLEN.
3267 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3268 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3270 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3272 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3273 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3274 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3275 * sysdeps/mips/mips64/Makefile: ... here.
3276 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3277 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3278 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3279 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3280 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3281 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3282 * sysdeps/mips/mips64/n64/Implies: Likewise.
3284 2015-02-10 Roland McGrath <roland@hack.frob.com>
3286 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3287 <sys/time.h>, <string.h>, and <errno.h>.
3288 (dest_offset, dest_address, value, zero): Remove unused variables.
3289 (ldouble): Remove typedef.
3290 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3291 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3293 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3294 (check): Function removed.
3296 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3297 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3298 Don't call set_sigaction_FP and remove_sigaction_FP here.
3299 (ldouble_test): Just use 'long double' as macro argument, no need for
3300 the 'ldouble' typedef.
3301 (do_test): Set up SIGFPE handler at start, using plain signal rather
3302 than sigaction. Fix code style.
3304 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3307 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3310 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3312 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3313 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3315 * sysdeps/powerpc/configure.ac: Remove file.
3316 * sysdeps/powerpc/configure: Likewise.
3318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3319 [sysdep_routines]: Remove wordcopy-power6 object.
3320 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3321 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3322 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3323 (__memmove_ppc32): Likewise.
3324 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3326 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3327 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3328 Remove preprocessor.
3330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3331 [sysdep_routines]: Remove wide chars objects.
3332 [wcsmbs]: New rule for wide char objects.
3334 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3335 Remove wordcopy-power6 obejct.
3336 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3337 Use local call for wordcopy and memcpy symbols.
3338 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3340 implementation for loader.
3341 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3343 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3344 Remove wordcopy-power7 object.
3345 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3346 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3347 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3348 (_wordcopy_fwd_dest_aligned): Likewise.
3349 (_wordcopy_bwd_aligned): Likewise.
3350 (_wordcopy_bwd_dest_aligned): Likewise.
3352 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3353 Rewrite to call __memmove_ppc instead of include default
3356 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3357 Remove wide chars objects.
3358 [wcsmbs]: New rule for wide char objects.
3360 2015-02-09 Andreas Schwab <schwab@suse.de>
3363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3364 in terms of __O_DIRECTORY.
3366 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3368 * time/getdate.c: Include <stdbool.h>.
3369 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3371 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3374 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3376 Add ersatz _Static_assert on older C hosts
3377 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3378 pre-C11 C platform that is not known to support _Static_assert.
3380 2015-02-07 Richard Braun <rbraun@sceen.net>
3382 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3384 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3386 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3388 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3389 priority against unexistent AIO_PRIO_DELTA_MAX.
3390 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3392 * misc/fchflags.c (fchflags): Likewise.
3393 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3394 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3395 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3396 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3397 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3399 [__USE_MISC] (chflags, fchflags): Declare functions.
3400 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3401 EINVAL when nfds is greater than FD_SETSIZE.
3402 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3403 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3405 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3406 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3407 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3409 * hurd/hurd/signal.h (_hurd_self_sigstate,
3410 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3411 Explicit casts from void *.
3412 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3413 * abi-tags: Rename gnu-gnu os into gnu.
3416 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3417 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3418 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3419 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3420 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3421 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3424 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3425 duplicates ADDR->sun_path with sockaddr LEN limitation.
3426 * sysdeps/mach/hurd/connect.c: Include <string.h>
3427 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3428 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3429 * sysdeps/mach/hurd/sendto.c: Likewise.
3430 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3431 implementing it by hand.
3433 2015-02-06 Roland McGrath <roland@hack.frob.com>
3435 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3436 Use sfi_breg on ldr.
3437 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3440 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3442 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3443 Test SIGSETXID only if it's defined.
3445 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3447 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3448 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3450 * nptl/tst-align2.c: Moved ...
3451 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3452 * nptl/Makefile (tests): Remove tst-align2.
3453 * sysdeps/unix/sysv/linux/Makefile
3454 [$(subdir) = nptl] (tests): Add tst-align-clone.
3455 * nptl/tst-getpid1.c: Moved ...
3456 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3457 * nptl/tst-getpid2.c: Moved ...
3458 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3459 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3460 * sysdeps/unix/sysv/linux/Makefile
3461 [$(subdir) = nptl] (tests): ... here.
3462 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3463 * sysdeps/unix/sysv/linux/Makefile
3464 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3466 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3467 Drop trailing \n from perror argument. Use return rather than exit.
3469 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3471 * nptl/tst-cancel21.c (do_test): Likewise.
3472 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3473 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3474 [!SA_SIGINFO]: Make it a stub test.
3476 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3477 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3479 * posix/tst-getlogin.c: Move to ...
3480 * login/tst-getlogin.c: ... here.
3481 * posix/Makefile (tests): Move tst-getlogin to ...
3482 * login/Makefile (tests): ... here.
3484 * libio/tst-atime.c (do_test): Move local variables SV and E
3485 inside [ST_NOATIME] conditional.
3487 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3489 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3491 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3492 (wait_code): New function replaces macro.
3493 Call nanosleep rather than syscall.
3495 * nptl/pt-system.c: Rewritten. Put everything under
3496 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3497 Use IFUNC to redirect when possible.
3499 * nptl/pt-longjmp.c: Rewritten. Put everything under
3500 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3501 Use IFUNC to redirect when possible.
3503 * nptl/pt-fork.c: Rewritten. Put everything under
3504 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3505 Use IFUNC to redirect when possible.
3506 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3508 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3509 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3510 unconditionally nowadays. This included the only reference to
3511 __vdso_clock_gettime that appears outside libc proper.
3512 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3513 Remove version set (containing only __vdso_clock_gettime).
3514 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3515 Add attribute_hidden.
3516 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3517 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3518 libc_hidden_data_def.
3519 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3522 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3523 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3524 setrpcent, and getrpcport to ...
3525 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3526 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3527 getrpcbynumber_r, and getrpcent_r to ...
3528 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3529 * inet/getrpcbyname.c: Moved ...
3530 * sunrpc/getrpcbyname.c: ... here.
3531 * inet/getrpcbyname_r.c: Moved ...
3532 * sunrpc/getrpcbyname_r.c: ... here.
3533 * inet/getrpcbynumber.c: Moved ...
3534 * sunrpc/getrpcbynumber.c: ... here.
3535 * inet/getrpcbynumber_r.c: Moved ...
3536 * sunrpc/getrpcbynumber_r.c: ... here.
3537 * inet/getrpcent.c: Moved ...
3538 * sunrpc/getrpcent.c: ... here.
3539 * inet/getrpcent_r.c: Moved ...
3540 * sunrpc/getrpcent_r.c: ... here.
3541 * inet/Makefile (routines): Move those to ...
3542 * sunrpc/Makefile (routines): ... here.
3543 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3544 the $(subdirs) list.
3545 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3546 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3547 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3548 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3550 * elf/Makefile (routines): Include $(all-dl-routines), not just
3552 (rtld-routines): Likewise. Use = rather than :=.
3553 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3554 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3555 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3556 * sysdeps/arm/Makefile: Likewise.
3557 * sysdeps/i386/Makefile: Likewise.
3558 * sysdeps/x86_64/Makefile: Likewise.
3559 * sysdeps/hppa/Makefile [$(subdir) = elf]
3560 (sysdep_routines, sysdep-rtld-routines): Don't add
3561 $(sysdep-dl-routines) to these.
3562 * sysdeps/ia64/Makefile: Likewise.
3563 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3564 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3565 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3566 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3567 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3568 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3569 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3570 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3571 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3572 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3573 these; sysdep-dl-routines alone is enough.
3575 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3578 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3579 where multiplication results in zero and third argument is finite
3581 * math/auto-libm-test-in: Add more tests of fma.
3582 * math/auto-libm-test-out: Regenerated.
3584 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3585 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3586 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3587 (_FP_CMP_EQ): Likewise.
3588 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3590 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3591 extra argument CHECK_NAN. Redefine as wrapper around
3594 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3596 * version.h (RELEASE): Set to "stable".
3597 (VERSION): Set to "2.21"
3598 * include/features.h (__GLIBC_MINOR__): Set to 21.
3600 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3602 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3603 Paul Eggert <eggert@cs.ucla.edu>
3606 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3607 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3608 size in bytes. Store needed elements in wpmax. Use needed size
3609 in bytes for extend_alloca.
3611 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3613 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3614 binutls 2.25, and texinfo 5.2.
3615 * INSTALL: Regenerate.
3616 * sysdeps/nios2/configure: Regenerate.
3617 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3618 * manual/contrib.texi: Update.
3642 * po/pt_BR.po: Update.
3651 * po/zh_CN.po: Update.
3652 * po/zh_TW.po: Update.
3654 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3655 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3656 * sysdeps/hppa/dl-irel.h: Remove #warning.
3657 * sysdeps/hppa/entry.h: Provide prototype for
3658 __canonicalize_funcptr_for_compare and cast argument.
3659 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3660 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3661 * sysdeps/hppa/sotruss-lib.c: New file.
3662 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3663 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3664 (atomic_compare_and_exchange_bool_acq): Likewise.
3665 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3666 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3668 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3669 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3670 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3672 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3674 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3675 called function in non-PIC case.
3677 2015-01-31 David S. Miller <davem@davemloft.net>
3679 * sysdeps/sparc/sparc32/bits/atomic.h
3680 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3681 unlock not after it.
3682 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3683 volatile register usage warnings from the compiler.
3685 * sysdeps/sparc/nptl/sem_init.c: Delete.
3686 * sysdeps/sparc/nptl/sem_post.c: Delete.
3687 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3688 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3689 * sysdeps/sparc/sparc32/sem_init.c: New file.
3690 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3691 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3692 padding explicitly initialized.
3693 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3694 padding for in-semaphore spinlock.
3695 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3696 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3697 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3698 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3699 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3700 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3701 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3702 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3704 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3705 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3707 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3711 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3712 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3714 (index_AVX_Fast_Unaligned_Load): Likewise.
3715 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3716 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3717 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3718 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3719 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3720 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3721 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3722 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3723 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3725 2015-01-29 Andreas Schwab <schwab@suse.de>
3727 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3729 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3732 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3734 2015-01-28 Martin Sebor <msebor@redhat.com>
3736 * math/README.libm-test: Clarify. Add "How to read the test output."
3738 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3740 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3743 2015-01-28 Joseph Myers <joseph@codesourcery.com>
3745 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3746 (__HAVE_64B_ATOMICS): Define to 0.
3748 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3751 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3752 value to set as new flag.
3755 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3756 and use _ARCH_PPCSQ instead.
3757 (__ieee754_sqrt): Likewise.
3758 (__ieee754_sqrtf): Likewise.
3759 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3760 _ARCH_PPCSQ is defined.
3761 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3763 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3764 _ARCH_PPCSQ is defined.
3765 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3767 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3769 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3771 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3772 bug (GCC BZ #64739).
3774 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3776 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3777 Mark _retval as used.
3778 (lll_futex_wake_unlock): Likewise.
3779 (lll_futex_timed_wait_requeue_pi): Likewise.
3781 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3782 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3785 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3788 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3789 (__bswap_64): Mark as __always_inline.
3791 2015-01-25 Bram <bug_rh@spam.wizbit.be>
3794 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3795 when none of the search directories exist.
3797 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3800 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3801 power8 in .machine directive.
3804 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3805 set dependency from opd value.
3807 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3810 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3813 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3816 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3818 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3820 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3821 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3822 Replace 1UL with (uint64_t) 1.
3823 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3826 2015-01-23 Roland McGrath <roland@hack.frob.com>
3828 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3829 (if_freenameindex): Likewise.
3831 * resource/getrlimit64.c: Add missing libc_hidden_def.
3833 2015-01-22 Joseph Myers <joseph@codesourcery.com>
3835 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3837 (_FP_FMA): Likewise.
3838 (_FP_TO_INT_ROUND): Likewise.
3839 (_FP_FROM_INT): Likewise.
3841 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3845 Make code racy and cancel safe.
3847 2015-01-21 Carlos O'Donell <carlos@redhat.com>
3849 * sysdeps/arm/unwind-resume.h: Fix copyright year.
3850 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3853 * pwd/tst-getpw.c: Rewrite.
3856 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3857 (modules-names): Add moddummy1 and moddummy2.
3858 ($(objpfx)tst-rec-dlopen): Define.
3859 * dlfcn/moddummy1.c: New file.
3860 * dlfcn/moddummy2.c: New file.
3861 * dlfcn/tst-rec-dlopen.c: New file.
3862 * elf/dl-cache.c (_dl_load_cache_lookup):
3863 Return char*. Copy result with alloca/strcpy/strdup.
3864 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3865 returns char*. Free cached. If not saving realname
3867 * elf/dl-open.c (dl_open_worker): Do not assert that
3868 _r_debug->r_state is RT_CONSISTENT.
3869 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3872 2015-01-21 Torvald Riegel <triegel@redhat.com>
3873 Carlos O'Donell <carlos@redhat.com>
3876 * nptl/sem_waitcommon.c: New file.
3877 * nptl/sem_wait.c: Include sem_waitcommon.c.
3878 (__sem_wait_cleanup, do_futex_wait): Remove.
3879 (__new_sem_wait): Adapt.
3880 (__new_sem_trywait): New function.
3881 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3882 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3883 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3884 (sem_timedwait): Adapt.
3885 * nptl/sem_post.c (__new_sem_post): Adapt.
3886 (futex_wake): New function.
3887 (__old_sem_post): Add release MO fence.
3888 * nptl/sem_open.c (sem_open): Adapt.
3889 * nptl/sem_init.c (__new_sem_init): Adapt.
3890 (futex_private_if_supported): New function.
3891 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3892 (__old_sem_getvalue): Add using previous code.
3893 * sysdeps/nptl/internaltypes.h: Adapt.
3894 * nptl/tst-sem13.c (do_test): Adapt.
3895 * nptl/tst-sem11.c (main): Adapt.
3896 * nptl/sem_trywait.c: Remove.
3897 * nptl/DESIGN-sem.txt: Remove.
3898 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3899 (gen-as-const-headers): Remove structsem.sym.
3900 * nptl/structsem.sym: Remove.
3901 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3902 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3903 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3904 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3905 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3906 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3907 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3908 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3909 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3910 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3911 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3912 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3913 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3914 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3915 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3916 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3917 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3918 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3919 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3920 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3921 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3922 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3924 2015-01-20 Carlos O'Donell <carlos@redhat.com>
3926 * INSTALL: Regenerated.
3928 * po/libc.pot: Regenerated.
3930 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3931 Sandra Loosemore <sandra@codesourcery.com>
3932 Andrew Jenner <andrew@codesourcery.com>
3933 Joseph Myers <joseph@codesourcery.com>
3934 Nathan Sidwell <nathan@codesourcery.com>
3936 * NEWS: Mention new Nios II port.
3937 * sysdeps/nios2/Implies: New file.
3938 * sysdeps/nios2/Makefile: New file.
3939 * sysdeps/nios2/Subdirs: New file.
3940 * sysdeps/nios2/Versions: New file.
3941 * sysdeps/nios2/__longjmp.S: New file.
3942 * sysdeps/nios2/abort-instr.h: New file.
3943 * sysdeps/nios2/backtrace.c: New file.
3944 * sysdeps/nios2/bits/endian.h: New file.
3945 * sysdeps/nios2/bits/fenv.h: New file.
3946 * sysdeps/nios2/bits/link.h: New file.
3947 * sysdeps/nios2/bits/setjmp.h: New file.
3948 * sysdeps/nios2/bsd-_setjmp.S: New file.
3949 * sysdeps/nios2/bsd-setjmp.S: New file.
3950 * sysdeps/nios2/configure: New generated file.
3951 * sysdeps/nios2/configure.ac: New file.
3952 * sysdeps/nios2/crti.S: New file.
3953 * sysdeps/nios2/crtn.S: New file.
3954 * sysdeps/nios2/dl-init.c: New file.
3955 * sysdeps/nios2/dl-machine.h: New file.
3956 * sysdeps/nios2/dl-sysdep.h: New file.
3957 * sysdeps/nios2/dl-tls.h: New file.
3958 * sysdeps/nios2/dl-trampoline.S: New file.
3959 * sysdeps/nios2/gccframe.h: New file.
3960 * sysdeps/nios2/gmp-mparam.h: New file.
3961 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3962 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3963 * sysdeps/nios2/ldsodefs.h: New file.
3964 * sysdeps/nios2/libc-tls.c: New file.
3965 * sysdeps/nios2/libm-test-ulps: New file.
3966 * sysdeps/nios2/machine-gmon.h: New file.
3967 * sysdeps/nios2/math-tests.h: New file.
3968 * sysdeps/nios2/math_private.h: New file.
3969 * sysdeps/nios2/memusage.h: New file.
3970 * sysdeps/nios2/nptl/Makefile: New file.
3971 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3972 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3973 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3974 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3975 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3976 * sysdeps/nios2/nptl/tls.h: New file.
3977 * sysdeps/nios2/preconfigure: New file.
3978 * sysdeps/nios2/s_fma.c: New file.
3979 * sysdeps/nios2/s_fmaf.c: New file.
3980 * sysdeps/nios2/setjmp.S: New file.
3981 * sysdeps/nios2/sfp-machine.h: New file.
3982 * sysdeps/nios2/sotruss-lib.c: New file.
3983 * sysdeps/nios2/stackguard-macros.h: New file.
3984 * sysdeps/nios2/stackinfo.h: New file.
3985 * sysdeps/nios2/start.S: New file.
3986 * sysdeps/nios2/sysdep.h: New file.
3987 * sysdeps/nios2/tls-macros.h: New file.
3988 * sysdeps/nios2/tst-audit.h: New file.
3989 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3990 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3991 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3992 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3993 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3994 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3995 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3996 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3997 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3998 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3999 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4000 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4001 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4002 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4003 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4004 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4005 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4006 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4007 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4008 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4009 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4010 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4011 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4012 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4013 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4014 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4015 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4016 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4017 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4018 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4019 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4020 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4021 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4022 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4023 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4024 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4025 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4026 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4027 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4028 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4029 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4030 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4031 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4032 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4034 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4037 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4038 (getutent): Use weak_alias in non SHARED case
4039 and default_symbol_version in SHARED case.
4040 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4041 (getutent_r, pututline): Likewise.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4043 (getutid): Likewise.
4044 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4045 (getutid_r): Likewise.
4046 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4047 (getutline): Likewise.
4048 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4049 (getutline_r): Likewise.
4050 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4051 (updwtmp): Likewise.
4053 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4056 * sysdeps/s390/s390-32/memcmp.S
4057 (memcmp_g5): Rename to __memcmp_g5.
4058 * sysdeps/s390/s390-32/memcpy.S
4059 (memcpy_g5): Rename to __memcpy_g5.
4060 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4061 (memcpy_mvcle) Rename to __memcpy_mvcle.
4062 * sysdeps/s390/s390-32/memset.S
4063 (memset_g5): Rename to __memset_g5.
4064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4065 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4066 and use prefixed functions.
4067 * sysdeps/s390/s390-32/multiarch/memcmp.S
4068 (memcmp_z196): Rename to __memcmp_z196.
4069 (memcmp_z10): Rename to __memcmp_z10.
4070 (memcmp): Set alias to __memcmp_g5.
4071 (bcmp): Set alias to __memcmp_g5.
4072 * sysdeps/s390/s390-32/multiarch/memcpy.S
4073 (memcpy_z196): Rename to __memcpy_z196.
4074 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4075 (memcpy_z10): Rename to __memcpy_z10.
4076 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4077 (memcpy): Set alias to __memcpy_g5.
4078 * sysdeps/s390/s390-32/multiarch/memset.S
4079 (memset_z196): Rename to __memset_z196.
4080 Jump to __memset_mvcle instead of memset_mvcle.
4081 (memset_z10): Rename to __memset_z10.
4082 Jump to __memset_mvcle instead of memset_mvcle.
4083 (memset_mvcle) Rename to __memset_mvcle.
4084 (memset): Set alias to __memset_g5.
4085 * sysdeps/s390/s390-64/memcmp.S
4086 (memcmp_z900): Rename to __memcmp_z900.
4087 * sysdeps/s390/s390-64/memcpy.S
4088 (memcpy_z900): Rename to __memcpy_z900.
4089 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4090 (memcpy_mvcle) Rename to __memcpy_mvcle.
4091 * sysdeps/s390/s390-64/memset.S
4092 (memset_z900): Rename to __memset_z900.
4093 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4094 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4095 and use prefixed functions.
4096 * sysdeps/s390/s390-64/multiarch/memcmp.S
4097 (memcmp_z196): Rename to __memcmp_z196.
4098 (memcmp_z10): Rename to __memcmp_z10.
4099 (memcmp): Set alias to __memcmp_z900.
4100 (bcmp): Set alias to __memcmp_z900.
4101 * sysdeps/s390/s390-64/multiarch/memcpy.S
4102 (memcpy_z196): Rename to __memcpy_z196.
4103 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4104 (memcpy_z10): Rename to __memcpy_z10.
4105 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4106 (memcpy): Set alias to __memcpy_z900.
4107 * sysdeps/s390/s390-64/multiarch/memset.S
4108 (memset_z196): Rename to __memset_z196.
4109 Jump to __memset_mvcle instead of memset_mvcle.
4110 (memset_z10): Rename to __memset_z10.
4111 Jump to __memset_mvcle instead of memset_mvcle.
4112 (memset_mvcle) Rename to __memset_mvcle.
4113 (memset): Set alias to __memset_z900.
4115 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4118 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4119 __fesetenv instead of fesetenv.
4121 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4123 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4126 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4128 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4132 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4133 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4134 strncmp-power8 object.
4135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4136 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4137 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4140 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4141 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4144 trailing byte check.
4146 2015-01-13 David S. Miller <davem@davemloft.net>
4148 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4150 2015-01-13 Roland McGrath <roland@hack.frob.com>
4152 * login/logout.c (logout): Use memset rather than bzero.
4153 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4154 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4155 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4156 (_gethtbyaddr): Likewise.
4157 * locale/programs/simple-hash.c (bcopy): Macro removed.
4159 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4161 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4162 Add strcmp-power8 object.
4163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4164 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4165 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4166 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4167 __strcmp_power8 implementation.
4168 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4172 Add strncpy-power8 and stpncpy-power8 objects.
4173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4174 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4176 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4177 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4178 __stpncpy_power8 implementation.
4179 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4180 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4181 __strncpy_power8 implementation.
4182 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4183 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4186 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4187 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4188 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4191 strncat-power8 object.
4192 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4193 __strcat_power8 implementation.
4194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4195 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4196 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4197 optimized strcat for power8.
4199 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4200 strcpy-power8 and stpcpy-power8 objects.
4201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4202 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4205 multiarch stpcpy implementation for POWER8.
4206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4207 multiarch strcpy implementation for POWER8.
4208 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4209 __strcpy_power8 function.
4210 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4212 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4216 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4219 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4220 weights and rules. Use do_xfrm_cached if data fits in cache,
4221 do_xfrm otherwise. Moved former main loop to...
4222 * (do_xfrm_cached): New function.
4223 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4224 find_idx, find_position and stack_push.
4225 * (find_idx): New function.
4226 * (find_position): Likewise.
4227 * localedata/sort-test.sh: Added test run for do_xfrm.
4228 * localedata/xfrm-test.c (main): Added command line option
4229 -nocache to run the test with strings that are too large for
4232 2015-01-13 Torvald Riegel <triegel@redhat.com>
4234 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4235 variable to lll_futex_wake call, not the value itself.
4237 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4241 twom64. Adjust value to 0x1p-64L.
4242 (__scalblnl): Only return standard underflowing result for K <=
4243 -64 not K <= -63; adjust exponent for underflowing result by 64
4245 * math/libm-test.inc (scalbn_test_data): Add more tests.
4246 (scalbln_test_data): Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4251 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4253 * math/libm-test.inc (scalbn_test_data): Add more tests.
4254 (scalbln_test_data): Likewise.
4256 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4257 Stefani Seibold <stefani@seibold.net>
4259 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4260 (sysdep_routines): Add dl-vdso here, ...
4261 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4262 (sysdep_routines): ... not here.
4263 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4264 fallback when vDSO is not presented.
4265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4266 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4267 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4268 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4269 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4271 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4273 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4275 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4276 fallback configurable symbol when vDSO is not available.
4277 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4278 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4279 be able to redefine fallback symbol when vDSO is not available.
4280 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4281 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4283 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4285 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4286 (TLS_INIT_TP): Add tm_capable initialization.
4287 (TLS_DEFINE_INIT_TP): Likewise.
4288 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4290 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4291 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4293 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4294 transactoion is lock elision is built and TCB tm_capable is set.
4295 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4297 (INTERNAL_SYSCALL_NCS): Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4299 (INTERNAL_SYSCALL_NCS): Likewise.
4300 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4302 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4304 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4305 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4306 and remove it for 32 bits case.
4307 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4310 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4311 Disable lock elision with rdlocks if elision is not available.
4313 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4314 (sysdep_routines): Add lock elision objects.
4315 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4316 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4317 [pthread_mutex_t] (__elision): Add field.
4318 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4319 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4320 elision definitions for powerpc.
4321 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4322 implementation of lock elision for powerpc.
4323 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4324 implementation of timed lock elision for powerpc.
4325 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4326 implementation of trylock with lock elision for powerpc.
4327 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4328 implementaion of unlock for lock elision for powerpc.
4329 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4330 automatic enable lock elision for mutexes.
4331 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4332 transaction execution definitions for powerpc.
4333 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4335 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4336 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4341 2015-01-09 Roland McGrath <roland@hack.frob.com>
4343 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4344 for #include of <shm-directory.h>.
4346 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4349 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4351 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4354 * NEWS: Mention bug fix.
4355 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4356 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4357 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4359 2015-01-09 Torvald Riegel <triegel@redhat.com>
4361 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4363 2015-01-09 Torvald Riegel <triegel@redhat.com>
4365 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4367 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4369 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4370 pointer and cast to uintptr_t.
4372 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4374 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4376 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4378 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4380 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4383 2015-01-08 Roland McGrath <roland@hack.frob.com>
4385 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4386 <nptl/pthreadP.h> instead.
4387 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4389 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4391 [__SIGRTMIN] (init): Function removed.
4392 [__SIGRTMIN] (initialized): Variable removed.
4393 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4394 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4395 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4396 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4397 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4398 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4399 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4400 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4401 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4402 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4403 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4404 * sysdeps/nptl/allocrtsig.c: New file.
4405 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4406 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4407 * sysdeps/generic/testrtsig.h: File removed.
4409 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4410 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4412 * nptl/nptl-init.c (pthread_functions): Conditionalize
4413 .ptr__nptl_setxid initialization on [SIGSETXID].
4415 * sysdeps/nptl/sys/procfs.h: New file.
4416 * nptl_db/Makefile (headers): Add it.
4417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4419 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4420 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4421 * nptl/pthread_attr_setaffinity.c: Include it.
4422 * nptl/pthread_setattr_default_np.c: Likewise.
4423 * nptl/check-cpuset.h: New file.
4425 2015-01-08 Richard Henderson <rth@redhat.com>
4427 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4428 (CFLAGS-tst-execstack-prog.c): Likewise.
4429 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4431 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4432 Sandra Loosemore <sandra@codesourcery.com>
4433 Andrew Jenner <andrew@codesourcery.com>
4434 Joseph Myers <joseph@codesourcery.com>
4435 Nathan Sidwell <nathan@codesourcery.com>
4437 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4438 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4439 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4440 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4441 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4442 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4443 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4444 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4445 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4446 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4447 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4448 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4449 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4450 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4451 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4452 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4453 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4455 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4457 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4458 timespec struct member in syscall macro.
4459 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4460 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4461 first timeval struct member in syscall macro.
4462 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4464 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4467 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4468 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4469 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4470 __feupdateenv and define as weak alias of __feupdateenv. Use
4472 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4474 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4475 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4476 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4477 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4479 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4480 __feupdateenv and define as weak alias of __feupdateenv. Use
4482 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4484 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4485 __feupdateenv and define as weak alias of __feupdateenv. Use
4487 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4489 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4490 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4491 (__feupdateenv): Likewise.
4492 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4493 __feupdateenv and define as weak alias of __feupdateenv. Use
4495 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4496 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4498 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4500 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4502 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4503 __feupdateenv instead of feupdateenv.
4504 (default_libc_feupdateenv_test): Likewise.
4505 (libc_feresetround_ctx): Likewise.
4507 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4512 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4514 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4515 COLL_SYM in a couple of places to avoid uninitialized variable
4516 wanings on tilegx gcc 4.8.2.
4518 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4520 * sysdeps/aarch64/strcpy.S: New file.
4521 * sysdeps/aarch64/stpcpy.S: New file.
4524 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4526 * sysdeps/aarch64/strrchr.S: New file.
4529 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4532 * stdlib/setenv.c: Fix memory leak when setting large,
4535 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4538 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4539 and tabs from buffer before parsing fstab entry.
4540 * misc/tst-mntent.c (main): Add test for mount entry with
4541 trailing spaces and tabs.
4543 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4546 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4547 * math/fesetround.c (fesetround): Rename to __fesetround and
4548 define as weak alias of __fesetround. Use libm_hidden_weak.
4549 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4550 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4551 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4552 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4553 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4554 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4555 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4556 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4557 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4558 __fesetround_inline.
4559 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4560 __fesetround_inline instead of __fesetround.
4561 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4562 __fesetround and define as weak alias of __fesetround. Use
4563 libm_hidden_weak. Call __fesetround_inline instead of
4565 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4566 __fesetround and define as weak alias of __fesetround. Use
4568 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4570 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4572 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4573 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4574 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4575 __fesetround and define as weak alias of __fesetround. Use
4577 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4578 __fesetround instead of fesetround.
4579 (default_libc_feholdexcept_setround): Likewise.
4580 (libc_feholdsetround_ctx): Likewise.
4581 (libc_feholdsetround_noex_ctx): Likewise.
4584 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4585 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4586 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4587 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4588 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4589 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4590 define as weak alias of __fesetenv. Use libm_hidden_weak.
4591 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4592 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4593 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4594 define as weak alias of __fesetenv. Use libm_hidden_weak.
4595 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4596 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4597 define as weak alias of __fesetenv. Use libm_hidden_weak.
4598 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4600 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4601 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4603 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4604 define as weak alias of __fesetenv. Use libm_hidden_weak.
4605 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4606 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4607 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4608 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4609 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4610 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4611 __fesetenv instead of fesetenv.
4612 (libc_feresetround_noex_ctx): Likewise.
4613 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4614 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4615 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4616 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4617 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4618 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4619 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4620 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4621 (__feupdateenv): Likewise.
4622 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4623 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4624 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4625 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4627 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4630 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4631 addresses have been freed.
4633 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4635 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4638 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
4640 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4641 Clean up check_pf allocation pattern. addresses
4643 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4645 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4646 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4647 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4648 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4649 * nptl/pthread_join.c (pthread_join): Likewise.
4650 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4651 * sysdeps/posix/waitid.c (__waitid): Likewise.
4652 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4653 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4654 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4655 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4658 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4659 (__libc_pread64): Likewise.
4660 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4661 (__libc_pwrite): Likewise.
4662 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4663 (__libc_pwrite64): Likewsie.
4664 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4665 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4666 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4667 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4668 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4669 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4670 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4674 (__libc_pread64): Likewise.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4678 (__libc_pwrite64): Likewise.
4679 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4680 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4681 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4682 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4683 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4684 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4685 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4686 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4687 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4688 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4689 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4690 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4691 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4692 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4693 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4697 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4699 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4700 (CFLAGS-test-double.c): Likewise.
4701 (CFLAGS-test-ldouble.c): Likewise.
4702 (CPPFLAGS-test-ifloat.c): Likewise.
4703 (CPPFLAGS-test-idouble.c): Likewise.
4704 (CPPFLAGS-test-ildoubl.c): Likewise.
4705 (CFLAGS-test-test-fenv.c): Remove variable.
4706 (CFLAGS-test-misc.c): Likewise.
4708 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4711 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4712 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4713 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4714 CLOCKS_PER_SEC == 1000000.
4715 * time/clocktest.c (main): Replace %ld with %jd and cast to
4718 2015-01-05 Roland McGrath <roland@hack.frob.com>
4720 * sysdeps/generic/unwind-resume.h: New file.
4721 * sysdeps/gnu/unwind-resume.c: Include it.
4722 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4723 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4725 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4726 global rather than static.
4727 (_Unwind_Resume): Update user.
4728 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4729 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4730 rather than static. Add __attribute__ ((cold)).
4731 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4732 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4733 * sysdeps/arm/arm-unwind-resume.S: New file.
4734 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4735 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4736 * sysdeps/arm/Makefile [$(subdir) = csu]
4737 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4738 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4739 Add rt-arm-unwind-resume.
4741 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4742 Add pt-arm-unwind-resume.
4743 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4744 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4746 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4749 * include/fenv.h (__feholdexcept): Declare. Use
4751 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4752 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4753 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4754 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4755 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4756 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4757 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4758 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4759 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4760 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4761 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4762 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4763 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4764 (feholdexcept): Likewise.
4765 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4766 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4767 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4768 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4769 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4770 __feholdexcept instead of feholdexcept.
4771 (default_libc_feholdexcept_setround): Likewise.
4773 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4775 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4776 to avoid using stl/str to align destination.
4778 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4780 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4782 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4785 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4786 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4787 Define as weak alias not strong alias.
4789 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4791 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4792 bltzal with addiupc.
4793 (RTLD_START): Ditto.
4795 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4797 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4798 for __vdso_* functions in declarations.
4799 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4801 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4802 INTERNAL_VSYSCALL): Use struct return types to check for error.
4804 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4805 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4806 function with cast from llround().
4807 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4808 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4811 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4814 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4815 Define as weak alias not strong alias.
4818 * ctype/ctype-c99.c: New file. isblank implementation moved from
4820 * ctype/ctype-extn.c: ... here.
4821 (__isblank_l): Move to ...
4822 * ctype/ctype-c99_l.c: ... here. New file.
4823 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4824 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4826 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4827 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4828 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4829 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4830 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4833 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4834 (posix_fadvise64): Define as weak alias not strong alias.
4835 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4836 (posix_fallocate64): Likewise.
4837 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4839 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4840 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4841 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4842 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4843 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4845 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
4848 * NEWS: Mention bug fix.
4849 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4850 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4851 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4852 (HOST_STACK_END_ADDR): Likewise.
4854 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4857 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4858 * math/fegetround.c (fegetround): Rename to __fegetround and
4859 define as weak alias of __fegetround. Use libm_hidden_weak.
4860 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4861 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4862 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4863 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4864 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4865 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4866 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4867 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4868 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4869 Undefine after rather than before function definition; use
4870 parentheses around function name in definition.
4871 (__fegetround): Also undefine macro after function definition.
4872 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4873 __fegetround and define as weak alias of __fegetround. Use
4874 libm_hidden_weak. Do not undefine as macro.
4875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4877 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4878 __fegetround and define as weak alias of __fegetround. Use
4880 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4881 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4882 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4883 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4884 __fegetround and define as weak alias of __fegetround. Use
4886 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4887 __fegetround instead of fegetround.
4890 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4891 Condition macro definition on [__USE_MISC].
4894 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4895 (struct sigaction): Change type of sa_flags field to int.
4898 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4899 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4902 * nptl/version.c (banner): Use single year in copyright notice.
4904 * NEWS: Update copyright dates.
4905 * catgets/gencat.c (print_version): Likewise.
4906 * csu/version.c (banner): Likewise.
4907 * debug/catchsegv.sh: Likewise.
4908 * debug/pcprofiledump.c (print_version): Likewise.
4909 * debug/xtrace.sh (do_version): Likewise.
4910 * elf/ldconfig.c (print_version): Likewise.
4911 * elf/ldd.bash.in: Likewise.
4912 * elf/pldd.c (print_version): Likewise.
4913 * elf/sotruss.sh: Likewise.
4914 * elf/sprof.c (print_version): Likewise.
4915 * iconv/iconv_prog.c (print_version): Likewise.
4916 * iconv/iconvconfig.c (print_version): Likewise.
4917 * locale/programs/locale.c (print_version): Likewise.
4918 * locale/programs/localedef.c (print_version): Likewise.
4919 * login/programs/pt_chown.c (print_version): Likewise.
4920 * malloc/memusage.sh (do_version): Likewise.
4921 * malloc/memusagestat.c (print_version): Likewise.
4922 * malloc/mtrace.pl: Likewise.
4923 * manual/libc.texinfo: Likewise.
4924 * nptl/version.c (banner): Likewise.
4925 * nscd/nscd.c (print_version): Likewise.
4926 * nss/getent.c (print_version): Likewise.
4927 * nss/makedb.c (print_version): Likewise.
4928 * posix/getconf.c (main): Likewise.
4929 * scripts/test-installation.pl: Likewise.
4930 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4932 2015-01-02 Will Newton <will.newton@linaro.org>
4934 * sysdeps/arm/armv7/configure: Removed.
4935 * sysdeps/arm/armv7/configure.ac: Likewise.
4937 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4939 * All files with FSF copyright notices: Update copyright dates
4940 using scripts/update-copyrights.
4941 * intl/plural.c: Regenerated.
4942 * locale/programs/charmap-kw.h: Likewise.
4943 * locale/programs/locfile-kw.h: Likewise.
4945 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4947 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4949 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4952 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4953 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4954 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4955 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4956 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4957 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4958 define as weak alias of __fegetenv. Use libm_hidden_weak.
4959 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4960 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4961 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4962 define as weak alias of __fegetenv. Use libm_hidden_weak.
4963 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4964 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4965 define as weak alias of __fegetenv. Use libm_hidden_weak.
4966 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4968 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4969 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4971 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4972 define as weak alias of __fegetenv. Use libm_hidden_weak.
4973 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4974 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4975 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4976 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4977 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4978 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4979 __fegetenv instead of fegetenv.
4980 (libc_feholdsetround_noex_ctx): Likewise.
4982 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4984 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4985 (Elf_MIPS_ABIFlags_v0): New structure.
4986 (EF_MIPS_FP64): Define.
4987 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4988 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4989 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4990 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4991 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4992 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4993 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4994 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4995 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4996 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4997 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4998 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4999 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5000 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5001 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5002 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5003 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5004 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5005 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5006 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5007 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5008 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5010 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5012 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5013 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5014 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5015 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5016 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5017 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5018 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5019 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5020 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5021 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5022 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5023 record the current FP ABI extension.
5024 (mips-mode-switch): Define to show if kernel headers support mode
5026 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5027 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5028 supported SYSV ABI version to 3.
5029 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5032 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5033 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5037 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5039 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5042 __fegetround and redefine to call __fegetround. Remove condition
5043 on [!__NO_MATH_INLINES].
5044 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5046 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5047 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5049 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5050 instead of <fenv_libc.h>.
5051 (__llrintl): Call fegetround instead of __fegetround.
5052 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5053 instead of <fenv_libc.h>.
5054 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5055 (__lrintl): Call fegetround instead of __fegetround.
5056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5057 instead of <fenv_libc.h>.
5058 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5059 (__rintl): Call fegetround instead of __fegetround.
5061 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5063 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5066 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5069 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5070 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5071 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5073 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5075 * sysdeps/i386/tls-macros.h: Include <features.h>.
5076 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5080 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5081 define for GCC >= 5.0.
5083 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5085 * math/test-fenv.c (test_single_exception, set_single_exc,
5086 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5087 feexcp_mask_test, feenable_test, fe_single_test): Add
5088 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5089 case where they are not used.
5090 * math/libm-test.inc: Likewise.
5091 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5092 unused in the absence of FP rounding/exception support.
5093 * stdio-common/tst-printf-round.c: Likewise.
5094 * stdlib/tst-strtod-round.c: Likewise.
5095 * stdlib/tst-strtod-underflow.c: Likewise.
5097 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5100 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5101 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5102 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5103 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5105 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5106 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5107 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5109 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5110 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5112 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5114 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5115 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5116 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5118 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5120 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5121 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5122 (__feraiseexcept): Likewise.
5123 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5124 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5126 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5127 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5129 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5130 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5131 Use libm_hidden_def.
5132 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5134 (feraiseexcept): Define as weak not strong alias. Use
5136 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5137 New inline function. Factored out of ...
5138 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5139 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5140 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5142 * math/w_acos.c (__acos): Likewise.
5143 * math/w_asin.c (__asin): Likewise.
5144 * math/w_ilogb.c (__ilogb): Likewise.
5145 * math/w_j0.c (y0): Likewise.
5146 * math/w_j1.c (y1): Likewise.
5147 * math/w_jn.c (yn): Likewise.
5148 * math/w_log.c (__log): Likewise.
5149 * math/w_log10.c (__log10): Likewise.
5150 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5151 * sysdeps/aarch64/fpu/math_private.h
5152 (libc_feupdateenv_test_aarch64): Likewise.
5153 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5154 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5155 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5156 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5157 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5158 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5159 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5160 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5161 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5162 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5164 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5167 * io/test-utime.c (main): Replace %ld with %jd and cast to
5169 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5170 * nptl/tst-mutex5.c: Include <stdint.h>.
5171 (do_test): Replace %ld with %jd and cast to intmax_t.
5172 * posix/tst-regex.c (run_test): Likewise.
5173 (run_test_backwards): Likewise.
5174 * rt/tst-clock.c: Include <stdint.h>.
5175 (clock_test): Replace %ld with %jd and cast to intmax_t.
5176 * rt/tst-cpuclock1.c: Include <stdint.h>.
5177 (do_test): Replace %lu with %ju and cast to uintmax_t.
5178 * rt/tst-cpuclock2.c: Include <stdint.h>.
5179 (do_test): Replace %lu with %ju and cast to uintmax_t.
5180 * rt/tst-mqueue1.c: Include <stdint.h>.
5181 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5182 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5184 * rt/tst-mqueue4.c (do_test): Likewise.
5185 * rt/tst-timer4.c: Include <stdint.h>.
5186 (check_ts): Replace %ld with %jd and cast to intmax_t.
5187 (do_test): Likewise.
5188 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5189 and cast to intmax_t.
5190 * sysdeps/pthread/tst-timer.c (main): Likewise.
5191 * time/clocktest.c (main): Likewise.
5192 * time/tst-posixtz.c (do_test): Likewise.
5193 * timezone/tst-timezone.c (main): Likewise.
5195 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5196 H.J. Lu <hongjiu.lu@intel.com>
5198 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5199 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5200 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5201 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5202 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5203 version if bit_Fast_Unaligned_Load is set.
5204 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5205 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5206 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5207 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5208 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5209 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5211 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5212 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5213 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5215 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5216 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5217 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5218 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5220 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5222 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5223 instead of #if to avoid a Wundef warning.
5224 * stdlib/tst-limits.c (do_test): Likewise.
5226 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5227 parallel other exception macros.
5228 (fegetenv): Convert from macro to extern inline so that it applies
5229 retroactively to inline functions already seen by the compiler.
5230 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5232 * posix/Makefile (before-compile): Use $(objpfx) for
5233 posix-conf-vars-def.h.
5235 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5237 * posix/getconf.c (main): Use size_t for type of I.
5238 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5241 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5242 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5243 * posix/posix-envs.def: Likewise.
5244 * sysdeps/posix/sysconf.c: Likewise.
5245 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5246 (specs): Remove array.
5247 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5250 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5251 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5252 (__sysconf): Use CONF_IS_* macros.
5254 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5255 ($(objpfx)posix-conf-vars-def.h): New target.
5256 * posix/posix-conf-vars.list: New file.
5257 * posix/posix-conf-vars.h: New file.
5258 * posix/confstr.c: Include posix-conf-vars.h.
5259 (confstr): Use CONF_IS_* macros.
5260 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5262 * scripts/gen-posix-conf-vars.awk: New file.
5264 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5266 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5267 fegetround): Add no-op macros to avoid linknamespace issues.
5269 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5270 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5272 * sysdeps/unix/sysv/linux/tile/sysdep.h
5273 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5274 assembly-specific section to avoid a redefinition warning.
5276 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5277 long before casting to pointer to avoid a cast warning.
5279 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5281 * sysdeps/tile/tilegx/Implies: New file.
5283 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5285 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5287 2014-12-23 Florian Weimer <fweimer@redhat.com>
5289 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5291 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5293 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5295 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5296 <kernel-features.h>.
5297 (__utimes) [__NR_utimes]: Make code unconditional.
5298 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5300 (__ASSUME_UTIMES): Do not undefine.
5301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5302 (__ASSUME_UTIMES): Likewise.
5303 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5304 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5305 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5306 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5308 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5310 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5312 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5315 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5316 alias to weak alias for j0l, y0l.
5317 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5318 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5321 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5324 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5326 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5327 to zero if not already defined.
5329 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5333 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5334 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5335 (char *) casts added.
5336 * sysdeps/ieee754/k_standardf.c: New file.
5337 * sysdeps/ieee754/k_standardl.c: Likewise.
5338 * math/Makefile (libm-support): Remove k_standard.
5339 (libm-calls): Add k_standard.
5341 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5343 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5344 Optimize to avoid an unnecessary FPCR read.
5346 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5348 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5349 Optimize to reduce FPCR/FPSR accesses.
5351 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5353 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5354 Call libc_fetestexcept_aarch64.
5356 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5358 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5359 Call libc_fesetround_aarch64.
5361 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5364 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5365 (__bind): Do not define as weak alias.
5366 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5368 (__getsockname): Do not define as weak alias.
5370 2014-12-22 Will Newton <will.newton@linaro.org>
5372 * manual/install.texi: Document that we require bison 2.7
5374 * INSTALL: Regenerate.
5375 * configure.ac: Use AC_CHECK_PROG_VER instead of
5376 AC_PATH_PROG when checking for bison and check for
5377 version 2.7 or above.
5378 * configure: Regenerate.
5380 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5383 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5384 * sysdeps/tile/ffsll.c (ffsll): To here.
5386 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5388 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5390 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5392 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5394 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5395 hidden ___tls_get_addr.
5396 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5397 hidden __tls_get_addr.
5398 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5399 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5402 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5404 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5407 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5409 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5410 from "call _dl_init@PLT".
5411 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5413 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5415 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5418 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5420 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5422 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5425 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5428 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5430 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5432 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5433 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5434 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5435 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5436 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5438 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5440 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5441 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5442 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5443 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5444 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5446 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5448 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5450 * string/strncat.c (STRNCAT): Simplify implementation.
5452 2014-12-19 David S. Miller <davem@davemloft.net>
5454 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5455 access the quad as both a long double and as a series of 4 words.
5457 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5458 link_map->l_info array access.
5460 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5462 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5464 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5465 * math/atest-exp2.c (TIMEOUT): Likewise.
5466 * math/atest-sincos.c (TIMEOUT): Likewise.
5468 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5470 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5471 -Wno-error with -fno-builtin-lround.
5473 2014-12-19 Torvald Riegel <triegel@redhat.com>
5475 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5476 Contains futex constants and functions moved over from ...
5477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5478 <lowlevellock-futex.h>.
5479 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5480 (lll_timedwait_tid): Add comments and parentheses around macro
5483 2014-12-19 Torvald Riegel <triegel@redhat.com>
5485 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5486 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5487 (__lll_private_flag): Remove.
5488 (lll_futex_wait): Likewise.
5489 (lll_futex_timed_wait): Likewise.
5490 (lll_futex_wake): Likewise.
5491 (lll_futex_requeue): Likewise.
5492 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5493 (__lll_timedwait_tid): Spell out argument names.
5494 (lll_timedwait_tid): Add comments and parentheses around macro
5496 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5497 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5499 2014-12-19 Torvald Riegel <triegel@redhat.com>
5501 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5502 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5503 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5504 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5505 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5506 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5507 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5508 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5509 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5510 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5511 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5512 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5513 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5514 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5515 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5516 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5517 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5518 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5519 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5521 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5523 * sysdeps/x86_64/x32/Makefile: New file.
5525 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5527 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5528 1L with (mp_limb_t) 1.
5530 2014-12-17 Roland McGrath <roland@hack.frob.com>
5532 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5533 * nptl/libc_pthread_init.c: ... here.
5534 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5535 * nptl/register-atfork.c: ... here.
5537 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5538 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5539 Use assert_perror to check its return value.
5540 (__gai_create_helper_thread): Likewise.
5542 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5544 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5546 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5549 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5551 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5553 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5555 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5557 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5558 (profil_counter): Likewise.
5559 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5560 (profil_counter): Likewise.
5561 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5563 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5565 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5566 (profil_counter): Likewise.
5567 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5569 [!__profil_counter] (profil_counter): Define as weak alias of
5571 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5572 (profil_counter): Rename to __profil_counter.
5573 [!__profil_counter] (profil_counter): Define as weak alias of
5575 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5576 (profil_counter): Rename to __profil_counter.
5577 [!__profil_counter] (profil_counter): Define as weak alias of
5579 * sysdeps/posix/profil.c: Update comment referring to
5581 (__profil): Use __profil_counter instead of profil_counter.
5582 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5583 __profil_counter. Use __profil_counter_ushort and
5584 __profil_counter_uint in definitions.
5585 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5586 instead of profil_counter_uint and profil_counter_ushort.
5589 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5590 define as weak alias of __inet_makeaddr.
5591 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5592 as weak alias of __inet_addr.
5593 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5594 as weak alias of __inet_pton. Use libc_hidden_weak.
5595 * include/arpa/inet.h (__inet_pton): Declare. Use
5597 (inet_makeaddr): Don't use libc_hidden_proto.
5598 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5599 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5600 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5601 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5603 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5604 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5606 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
5608 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5610 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5612 * stdio-common/bug-vfprintf-nargs.c (do_test):
5613 Cast value to intptr_t to avoid format warning
5614 for usage with PRIdPTR printing macro.
5616 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5618 * libio/tst-widetext.c (do_test):
5619 Use format type %td instead of %Zd for ptrdiff_t
5620 in order to avoid format warning.
5622 2014-12-17 Andreas Schwab <schwab@suse.de>
5624 * nscd/mem.c (gc): Add size_t cast to match printf format.
5626 2014-12-16 Roland McGrath <roland@hack.frob.com>
5628 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5629 (init): Apply PTR_MANGLE to pointers before storing them.
5630 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5633 2014-12-16 Joseph Myers <joseph@codesourcery.com>
5636 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5637 define as weak alias of __memrchr.
5638 (__memrchr): Do not define as strong alias of memrchr.
5639 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5641 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5642 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5643 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5646 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5647 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5648 (if_indextoname): Rename to __if_indextoname and define as weak
5649 alias of __if_indextoname. Use libc_hidden_weak.
5650 (if_freenameindex): Rename to __if_freenameindex and define as
5651 weak alias of __if_freenameindex.
5652 (if_nameindex): Rename to __if_nameindex and define as weak alias
5654 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5655 __if_nametoindex and define as weak alias of __if_nametoindex.
5656 Use libc_hidden_weak.
5657 (if_freenameindex): Rename to __if_freenameindex and define as
5658 weak alias of __if_freenameindex.
5659 (if_nameindex): Rename to __if_nameindex and define as weak alias
5661 (if_indextoname): Rename to __if_indextoname and define as weak
5662 alias of __if_indextoname. Use libc_hidden_weak.
5663 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5664 __if_nametoindex and define as weak alias of __if_nametoindex.
5665 Use libc_hidden_weak.
5666 (if_freenameindex): Rename to __if_freenameindex and define as
5667 weak alias of __if_freenameindex. Use libc_hidden_weak.
5668 (if_nameindex_netlink): Use __if_freenameindex instead of
5670 (if_nameindex): Rename to __if_nameindex and define as weak alias
5671 of __if_nameindex. Use libc_hidden_weak.
5672 (if_indextoname): Rename to __if_indextoname and define as weak
5673 alias of __if_indextoname. Use libc_hidden_weak.
5674 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5676 [!_ISOMAC] (__if_freenameindex): Likewise.
5677 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5679 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5681 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5682 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5683 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5684 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5685 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5686 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5687 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5689 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5691 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5694 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5697 subscript above bounds'
5699 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5702 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
5704 * libio/tst-fopenloc.c: Use test-skeleton.c.
5706 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5707 (entry): Rename to ITEM.
5708 (do_test, comp): Adjust.
5710 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5712 2014-12-16 Torvald Riegel <triegel@redhat.com>
5714 * string/tester.c: Include <libc-internal.h>.
5715 (test_memset): Ignore -Wmemset-transposed-args.
5717 2014-12-16 Torvald Riegel <triegel@redhat.com>
5719 * misc/tst-mntent2.c (do_test): Fix warning.
5721 2014-12-16 Torvald Riegel <triegel@redhat.com>
5723 * elf/tst-unique4lib.cc(a): Mark as used.
5725 2014-12-16 Florian Weimer <fweimer@redhat.com>
5728 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5731 2014-12-16 Allan McRae <allan@archlinux.org>
5733 * stdio-common/Makefile (tests): Re-add bug26.
5735 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
5738 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5741 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5743 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5744 (__lll_lock_wait): Likewise.
5745 (__lll_timedlock_wait): Likewise.
5746 (__lll_timedwait_tid): Likewise.
5747 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5748 (__lll_robust_timedlock_wait): Likewise.
5749 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5750 (lll_cond_trylock): Likewise.
5751 (__lll_lock): Likewise.
5752 (__lll_robust_lock): Likewise.
5753 (__lll_cond_lock): Likewise.
5754 (lll_robust_cond_lock): Likewise.
5755 (__lll_timedlock): Likewise.
5756 (__lll_robust_timedlock): Likewise.
5757 (__lll_unlock): Likewise.
5758 (__lll_robust_unlock): Likewise.
5759 (lll_wait_tid): Likewise.
5760 (lll_timedwait_tid): Likewise.
5762 2014-12-15 Torvald Riegel <triegel@redhat.com>
5764 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5766 2014-12-15 Torvald Riegel <triegel@redhat.com>
5768 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5770 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5772 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5773 * stdio-common/tst-sprintf.c: Likewise.
5775 2014-12-15 Torvald Riegel <triegel@redhat.com>
5777 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5779 2014-12-15 Jeff Law <law@redhat.com>
5782 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5783 on the heap. (CVE-2012-3406)
5784 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5785 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5786 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5788 2014-12-15 Will Newton <will.newton@linaro.org>
5790 * manual/install.texi: Bump required version of texinfo
5792 * INSTALL: Regenerated.
5793 * configure.ac: Check for makeinfo version 4.7 and above.
5794 * configure: Regenerated.
5796 2014-12-12 Roland McGrath <roland@hack.frob.com>
5798 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5799 PREFIX, string constant to insert between directory and name.
5800 * sysdeps/posix/shm_open.c: Update caller.
5801 * sysdeps/posix/shm_unlink.c: Likewise.
5802 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5803 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5804 (SEM_SHM_PREFIX): New macro.
5805 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5806 [$(have-thread-library) = no].
5807 * nptl/Makefile (libpthread-routines): Add shm-directory.
5808 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5809 * sysdeps/nptl/shm-directory.h: New file.
5810 * sysdeps/posix/shm-directory.c
5811 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5812 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5813 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5815 (__where_is_shmfs): Function removed.
5816 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5818 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5820 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5822 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5823 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5824 unconditional for use inside libpthread.
5825 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5827 2014-12-12 Roland McGrath <roland@hack.frob.com>
5829 * nptl/pthread_getaffinity.c: New file.
5830 * nptl/pthread_setaffinity.c: New file.
5831 * nptl/pthread_getname.c: New file.
5832 * nptl/pthread_setname.c: New file.
5834 * nptl/pthread_create.c (START_THREAD_DEFN)
5835 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5837 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5838 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5840 * resolv/res_send.c (send_vc): Disable warning resplen may
5841 be used uninitialized.
5843 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5846 (ATTR_NULL): New define checks ATTR against NULL.
5847 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5848 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5850 2014-12-11 James Lemke <jwlemke@codesourcery.com>
5854 (mem2mem_check): Revert my previous change.
5855 (malloc_check_get_size): Revert my previous change.
5856 (mem2chunk_check): Revert my previous change.
5858 2014-12-11 Roland McGrath <roland@hack.frob.com>
5860 * sysdeps/posix/shm-directory.c: New file.
5861 * sysdeps/posix/shm-directory.h: New file.
5862 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5863 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5864 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5865 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5866 Transmute EPERM to EACCES.
5867 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5869 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5870 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5872 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5874 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5875 pointer and cast to uintptr_t.
5876 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5877 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5878 Add cast to avoid warning.
5879 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5881 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5883 * nptl/semaphore.h: Move to ...
5884 * sysdeps/pthread/semaphore.h: ... here.
5885 * Makefile (installed-headers): Change nptl/semaphore.h to
5886 sysdeps/pthread/semaphore.h.
5888 2014-12-11 Roland McGrath <roland@hack.frob.com>
5890 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5891 generated error format strings.
5893 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5894 -Wformat-extra-args warnings for scanf formats.
5895 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5896 test of zero-length format (duh).
5897 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5898 corner-case scanf format test.
5899 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5900 generated fprintf format string.
5901 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5902 corner-case sprintf format tests.
5903 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5904 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5905 -Wformat-extra-args warnings throughout.
5906 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5907 (CFLAGS-scanf4.c): Likewise.
5908 (CFLAGS-scanf7.c): Likewise.
5909 (CFLAGS-tst-sprintf.c): Likewise.
5910 (CFLAGS-tst-printf.c): Likewise.
5911 (CFLAGS-tst-printfsz.c): Likewise.
5913 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5915 * include/cpio.h: New file.
5916 * include/fmtmsg.h: Likewise.
5918 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5919 corresponding format argument to size_t.
5920 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5922 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5923 corresponding format argument to size_t.
5924 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5926 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5927 corresponding format argument to size_t.
5928 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5929 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5930 (CFLAGS-tst-mbswcs2.c): Likewise.
5931 (CFLAGS-tst-mbswcs3.c): Likewise.
5932 (CFLAGS-tst-mbswcs4.c): Likewise.
5933 (CFLAGS-tst-mbswcs5.c): Likewise.
5934 (CFLAGS-tst-trans.c): Likewise
5936 2014-12-11 Roland McGrath <roland@hack.frob.com>
5938 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5939 rather than assuming they won't contain any '%'s.
5941 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5943 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5944 inhibit_loop_to_libcall to avoid recursive calls.
5945 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5946 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5948 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5950 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5953 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5955 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5956 integer value instead of boolean.
5958 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5960 * malloc/malloc.c: Fix powerof2 check.
5962 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5964 * locale/programs/locfile.h (maybe_swap_uint32):
5965 Remove inline and add unused attribute.
5967 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5969 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5970 Truncating assembler expression to a .long expression.
5972 2014-12-11 Andreas Schwab <schwab@suse.de>
5974 * elf/rtld.c (struct map_args): Constify str member.
5975 (do_preload): Constify fname argument.
5977 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5980 constants definition.
5982 2014-12-11 Andreas Schwab <schwab@suse.de>
5985 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5986 FORCE_ELISION instead of DO_ELISION.
5987 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5989 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5992 * iconvdata/gconv-modules: Remove duplicate entry.
5994 2014-12-11 Will Newton <will.newton@linaro.org>
5996 Merge gettext 0.19.3 into intl/.
5998 This involves a number of cosmetic changes to comments
5999 and ANSI function definitions and prototypes throughout
6000 all the files. The gettext copyright header is used but
6001 with the date ranges taken from the glibc copy.
6003 * NEWS: Add gettext merge to 2.21.
6004 * intl/bindtextdom.c: Switch to gettext copyright.
6005 Use ANSI definitions and prototypes.
6006 Use gl_* locking primitives rather than __libc_* ones.
6007 Use __builtin_expect rather than __glibc_likely/unlikely.
6008 * intl/dcgettext.c: Switch to gettext copyright.
6009 Use ANSI definitions and prototypes.
6010 * intl/dcigettext.c: Switch to gettext copyright.
6011 Use ANSI definitions and prototypes.
6012 (INTDIV0_RAISES_SIGFPE): New define.
6013 Use gl_* locking primitives rather than __libc_* ones.
6014 Include eval-plural.h instead of plural-eval.c.
6015 Use __builtin_expect rather than __glibc_likely/unlikely.
6016 * intl/dcngettext.c: Switch to gettext copyright.
6017 Use ANSI definitions and prototypes.
6018 * intl/dgettext.c: Likewise.
6019 * intl/dngettext.c: Likewise.
6020 * intl/plural-eval.c: Renamed to...
6021 * intl/eval-plural.h: ...this.
6022 * intl/explodename.c: Switch to gettext copyright.
6023 Use ANSI definitions and prototypes.
6024 (_nl_explode_name): Use strchr instead of __rawmemchr.
6025 * intl/finddomain.c: Switch to gettext copyright.
6026 Use ANSI definitions and prototypes.
6027 Use gl_* locking primitives rather than __libc_* ones.
6028 (_nl_find_domain): Use malloc rather than alloca for
6029 allocation of temporary locale name.
6030 * intl/gettext.c: Switch to gettext copyright.
6031 Use ANSI definitions and prototypes.
6032 * intl/gettextP.h: Switch to gettext copyright.
6033 Use ANSI definitions and prototypes.
6034 Use gl_* locking primitives rather than __libc_* ones.
6035 * intl/gmo.h: Switch to gettext copyright.
6036 (struct sysdep_string): Move struct segment_pair outside of
6038 * intl/hash-string.c: Use ANSI definitions and prototypes.
6039 * intl/hash-string.h: Switch to gettext copyright.
6040 Use ANSI definitions and prototypes.
6041 * intl/l10nflist.c: Switch to gettext copyright.
6042 Use ANSI definitions and prototypes.
6043 (_nl_normalize_codeset): Avoid integer overflow.
6044 * intl/loadinfo.h: Switch to gettext copyright.
6045 Use ANSI definitions and prototypes.
6046 (LIBINTL_DLL_EXPORTED): New define.
6047 (PATH_SEPARATOR): New define.
6048 * intl/loadmsgcat.c: Switch to gettext copyright.
6049 * intl/localealias.c: Switch to gettext copyright.
6050 Use ANSI definitions and prototypes.
6051 (_nl_expand_alias): Use PATH_SEPARATOR.
6052 * intl/ngettext.c: Switch to gettext copyright.
6053 Use ANSI definitions and prototypes.
6054 * intl/plural-exp.c: Likewise.
6055 * intl/plural-exp.h: Switch to gettext copyright.
6056 Use ANSI definitions and prototypes.
6057 (struct expression): Move definition of enum operator outside
6058 of struct definition.
6059 * intl/plural.c: Regenerate.
6060 * intl/plural.y: Switch to gettext copyright.
6061 Use ANSI definitions and prototypes.
6063 * intl/textdomain.c: Switch to gettext copyright.
6064 Use ANSI definitions and prototypes.
6065 Use gl_* locking primitives rather than __libc_* ones.
6067 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6069 * debug/warning-nop.c: Add used atrribute.
6071 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6075 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6076 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6077 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6079 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6084 Undefine after defining function. Define as weak alias of
6085 __wcschr. Use libc_hidden_weak.
6086 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6087 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6088 (libc_hidden_def): Also define __GI___wcschr alias.
6089 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6090 __wcschr and define as weak alias of __wcschr.
6091 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6093 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6094 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6095 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6096 libc_hidden_weak. Do not use libc_hidden_def.
6097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6098 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6099 __GI___wcschr alias.
6100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6101 [IS_IN (libc)] (wcschr): Define as macro expanding to
6103 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6104 [IS_IN (libc)] (__wcschr_power6): Likewise.
6105 [IS_IN (libc)] (__wcschr_power7): Likewise.
6106 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6108 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6110 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6111 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6112 __wcschr and define as weak alias of __wcschr. Use
6113 libc_hidden_builtin_def.
6114 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6115 as weak alias of __wcschr. Use libc_hidden_weak.
6116 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6118 * time/era.c (_nl_init_era_entries): Likewise.
6119 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6121 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6122 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6124 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6126 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6127 format for long int variable.
6129 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6132 * manual/search.texi: (Array Sort Function): Remove claim how to make
6135 2014-12-10 Andreas Schwab <schwab@suse.de>
6138 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6139 user-controlled locks.
6141 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6143 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6146 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6148 * configure.ac (--disable-werror): New configure option.
6149 (enable_werror): New AC_SUBST.
6150 * configure: Regenerated.
6151 * config.make.in (enable-werror): New variable.
6152 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6154 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6155 * manual/install.texi (Configuring and compiling): Document
6157 * INSTALL: Regenerated.
6158 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6159 (CFLAGS-tst-chk2.c): Likewise.
6160 (CFLAGS-tst-chk3.c): Likewise.
6161 (CFLAGS-tst-chk4.cc): Likewise.
6162 (CFLAGS-tst-chk5.cc): Likewise.
6163 (CFLAGS-tst-chk6.cc): Likewise.
6164 (CFLAGS-tst-lfschk1.c): Likewise.
6165 (CFLAGS-tst-lfschk2.c): Likewise.
6166 (CFLAGS-tst-lfschk3.c): Likewise.
6167 (CFLAGS-tst-lfschk4.cc): Likewise.
6168 (CFLAGS-tst-lfschk5.cc): Likewise.
6169 (CFLAGS-tst-lfschk6.cc): Likewise.
6171 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6172 (main): Disable -Wdeprecated-declarations around calls to
6173 register_printf_function.
6175 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6176 (do_test): Disable -Wdiv-by-zero around some calls to
6177 fwrite_unlocked and fread_unlocked.
6179 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6180 (DIAG_POP_NEEDS_COMMENT): Likewise.
6181 (_DIAG_STR1): Likewise.
6182 (_DIAG_STR): Likewise.
6183 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6184 * stdio-common/bug21.c: Include <libc-internal.h>.
6185 (do_test): Disable -Wformat around call to sscanf.
6186 * stdio-common/scanf14.c: Include <libc-internal.h>.
6187 (main): Disable -Wformat around some calls to scanf functions.
6189 2014-12-09 Torvald Riegel <triegel@redhat.com>
6191 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6193 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6196 stack variable alignment.
6198 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6201 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6202 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6203 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6204 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6205 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6206 __getrlimit instead of getrlimit.
6207 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6208 __gettimeofday instead of gettimeofday.
6209 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6211 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6213 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6214 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6216 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6217 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6219 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6222 for wide-character tests.
6224 2014-12-04 Roland McGrath <roland@hack.frob.com>
6226 * io/openat64.c: #include <libc-internal.h>
6227 (__openat64): Prototypify. Use ignore_value on MODE.
6228 * io/openat.c: Likewise.
6229 * misc/reboot.c: #include <libc-internal.h>
6230 (reboot): Prototypify. Use ignore_value on HOWTO.
6231 * misc/ptrace.c: #include <libc-internal.h>
6232 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6234 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6236 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6237 XPG4, UNIX98 and XOPEN2K.
6238 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6240 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6242 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6244 * libio/fileops.c: Use ISO C style for function definitions.
6245 * libio/iofopen.c: Likewise.
6246 * libio/wfileops.c: Likewise.
6249 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6251 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6252 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6253 (fgets_func): Function pointer to fgets and fgetws.
6254 (do_ftell_test): Add test to verify ftell value after read
6256 (do_test): Set fgets_func.
6258 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6259 O_TRUNC flag for w and w+ modes.
6260 (do_rewind_test): Likewise.
6261 (do_ftell_test): Likewise.
6262 (do_write_test): Likewise.
6265 * libio/fileops.c (do_ftell): Seek only when there are
6267 * libio/wfileops.c (do_ftell_wide): Likewise.
6268 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6270 (do_one_test): Call it.
6272 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6274 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6275 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6276 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6278 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6279 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6280 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6282 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6284 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6286 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6289 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6290 as weak alias of __getifaddrs. Use libc_hidden_weak.
6291 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6292 __freeifaddrs. Use libc_hidden_weak.
6293 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6294 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6295 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6296 __freeifaddrs. Use libc_hidden_weak.
6297 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6298 __getifaddrs and define as weak alias of __getifaddrs. Use
6300 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6301 __freeifaddrs. Use libc_hidden_weak.
6302 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6304 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6305 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6307 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6310 * sysdeps/mips/start.S (__start): Use indirect jump to call
6313 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6315 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6317 * nptl/tst-mutex1.c: Include <stdbool.h>.
6318 [!ATTR] (ATTR_NULL): New macro.
6319 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6320 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6321 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6323 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6327 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6328 Change conditional to [__USE_MISC].
6331 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6333 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6335 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6337 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6339 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6340 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6341 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6342 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6343 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6344 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6345 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6346 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6347 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6349 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6351 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6354 Remove strpbrk objects.
6355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6356 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6357 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6358 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6359 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6360 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6363 Remove strcspn objects.
6364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6365 (__libc_ifunc_impl_list): Remove strcspn implementation.
6366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6367 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6368 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6369 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6371 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6372 Remove strspn objetcs.
6373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6374 (__libc_ifunc_impl_list): Remove strspn implementation.
6375 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6376 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6377 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6378 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6380 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6384 (mem2mem_check): Add a terminator to the chain of checking blocks.
6385 (malloc_check_get_size): Use it here.
6386 (mem2chunk_check): Ditto.
6388 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6390 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6391 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6393 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6395 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6397 * nptl/nptl-init.c: Include libc-internal.h.
6398 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6400 * elf/ldconfig.c (search_dir): Expand comment.
6402 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6404 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6406 (linknamespace-symlist-stdlibs-tests): Likewise.
6407 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6408 instead of $(objpfx)symlist-stdlibs.
6409 (linknamespace-libs-isoc): New variable.
6410 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6411 (linknamespace-libs-ISO): New variable.
6412 (linknamespace-libs-ISO99): Likewise.
6413 (linknamespace-libs-ISO11): Likewise.
6414 (linknamespace-libs-XPG3): Likewise.
6415 (linknamespace-libs-XPG4): Likewise.
6416 (linknamespace-libs-POSIX): Likewise.
6417 (linknamespace-libs-UNIX98): Likewise.
6418 (linknamespace-libs-XOPEN2K): Likewise.
6419 (linknamespace-libs-POSIX2008): Likewise.
6420 (linknamespace-libs-XOPEN2K8): Likewise.
6421 ($(objpfx)symlist-stdlibs): Replace by
6422 $(linknamespace-symlist-stdlibs-tests). Use
6423 $(linknamespace-libs-$*) as set of libraries.
6424 ($(linknamespace-header-tests)): Update dependencies. Use
6425 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6426 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6427 * conform/linknamespace.pl: Remove comment about considering
6428 definitions of symbols from irrelevant libraries.
6430 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6433 * elf/dl-tls.c: Include <atomic.h>.
6434 (oom): Remove #ifdef SHARED/#endif.
6435 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6436 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6437 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6439 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6440 * nptl/Makefile (tests): Add tst-stack4.
6441 (modules-names): Add tst-stack4mod.
6442 ($(objpfx)tst-stack4): New.
6443 (tst-stack4mod.sos): Likewise.
6444 ($(objpfx)tst-stack4.out): Likewise.
6445 ($(tst-stack4mod.sos)): Likewise.
6447 * nptl/tst-stack4.c: New file.
6448 * nptl/tst-stack4mod.c: Likewise.
6450 2014-11-27 J. Brown <jb999@gmx.de>
6452 * sysdeps/x86/bits/string.h: Add recent CPUs.
6454 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6456 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6459 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6462 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6465 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6467 * nscd/connections.c: Include libc-internal.h because of macro
6470 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6472 * string/bits/string3.h (__warn_memset_zero_len): Don't
6473 declare for gcc newer than 5.0.
6474 (memset): Don't test for zero-length __LEN for gcc newer than
6477 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6479 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6480 size_t for %zu format.
6482 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6483 difference, not %ju.
6485 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6487 * include/libc-internal.h (ignore_value): New macro.
6488 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6491 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6494 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6495 pthread_cleanup_push to void *.
6497 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6502 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6503 instead of 1L << 52.
6505 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6506 * libio/bug-rewind2.c (do_test): Likewise.
6508 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6509 * debug/test-strcpy_chk-ifunc.c: Likewise.
6510 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6511 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6512 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6513 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6514 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6515 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6516 * Rules [$(multi-arch) = no] (tests): Do not filter out
6518 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6519 * debug/Makefile (tests-ifunc): Remove variable.
6520 (tests): Do not add $(tests-ifunc).
6521 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6522 (tests): Do not add $(tests-ifunc).
6523 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6524 [TEST_IFUNC]: Remove conditionals.
6525 * string/test-string.h (TEST_IFUNC): Remove macro.
6526 [TEST_IFUNC]: Remove conditionals.
6528 * string/test-strchr.c [!WIDE] (L): New macro.
6529 [WIDE] (L): Likewise.
6530 (check1): Use CHAR instead of char. Use L on string and character
6533 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6535 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6537 * sysdeps/powerpc/bits/atomic.h
6538 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6539 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6540 (atomic_exchange_and_add_acq): Likewise.
6541 (atomic_exchange_and_add_rel): Likewise.
6542 * sysdeps/powerpc/powerpc32/bits/atomic.h
6543 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6544 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6545 * sysdeps/powerpc/powerpc64/bits/atomic.h
6546 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6547 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6549 2014-11-26 Torvald Riegel <triegel@redhat.com>
6551 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6552 Change synchronization of __sched_fifo_min_prio and
6553 __sched_fifo_max_prio.
6554 * nptl/pthread_mutexattr_getprioceiling.c
6555 (pthread_mutexattr_getprioceiling): Likewise.
6556 * nptl/pthread_mutexattr_setprioceiling.c
6557 (pthread_mutexattr_setprioceiling): Likewise.
6558 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6559 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6562 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6564 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6567 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6569 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6570 third argument const.
6572 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6574 fnmatch: work around GCC compiler warning bug with uninit var
6575 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6576 This works around a bug with x86-64 GCC 4.9.2 and earlier
6577 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6578 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6579 used uninitialized in this function [-Wmaybe-uninitialized]".
6581 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6583 * posix/bug-regex31.c (main): Return RES not 0.
6585 2014-11-25 Anton Blanchard <anton@samba.org>
6587 * sysdeps/powerpc/bits/atomic.h
6588 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6590 2014-11-24 Sterling Augustine <saugustine@google.com>
6592 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6594 2014-11-24 Ryan Cumming <etaoins@gmail.com>
6597 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6599 2014-11-24 Joseph Myers <joseph@codesourcery.com>
6602 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6603 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6605 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6606 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6608 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6610 * string/strncpy.c (strncpy): Improve performance by using memset.
6612 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6614 * string/strcpy.c (strcpy):
6615 Improve performance by using strlen and memcpy.
6617 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
6619 * string/strcoll_l.c (get_next_seq): __always_inline.
6620 * string/strcoll_l.c (do_compare): __always_inline.
6622 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6624 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6626 * include/mqueue.h: Likewise.
6627 * include/stdlib.h: Likewise.
6629 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6630 (get_null_defines): Adjust.
6631 * sunrpc/Makefile: Adjust comment.
6632 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6633 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6634 (CFLAGS-interp.c): Likewise.
6635 (CFLAGS-ldconfig.c): Likewise.
6636 (CPPFLAGS-.os): Likewise.
6637 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6638 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6639 * extra-modules.mk (extra-modules.mk): Likewise.
6640 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6641 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6642 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6643 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6644 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6645 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6646 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6647 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6648 * iconvdata/Makefile (CPPFLAGS): Likewise.
6649 (cpp-srcs-left): Add libof for all iconvdata routines.
6650 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6651 * include/assert.h: Likewise.
6652 * include/ctype.h: Likewise.
6653 * include/errno.h: Likewise.
6654 * include/libc-symbols.h: Likewise.
6655 * include/math.h: Likewise.
6656 * include/netdb.h: Likewise.
6657 * include/resolv.h: Likewise.
6658 * include/stdio.h: Likewise.
6659 * include/stdlib.h: Likewise.
6660 * include/string.h: Likewise.
6661 * include/sys/stat.h: Likewise.
6662 * include/wctype.h: Likewise.
6663 * intl/l10nflist.c: Likewise.
6664 * libidn/idn-stub.c: Likewise.
6665 * libio/libioP.h: Likewise.
6666 * nptl/libc_multiple_threads.c: Likewise.
6667 * nptl/pthreadP.h: Likewise.
6668 * posix/regex_internal.h: Likewise.
6669 * resolv/res_hconf.c: Likewise.
6670 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6671 * sysdeps/arm/memmove.S: Likewise.
6672 * sysdeps/arm/sysdep.h: Likewise.
6673 * sysdeps/generic/_itoa.h: Likewise.
6674 * sysdeps/generic/symbol-hacks.h: Likewise.
6675 * sysdeps/gnu/errlist.awk: Likewise.
6676 * sysdeps/gnu/errlist.c: Likewise.
6677 * sysdeps/i386/i586/memcpy.S: Likewise.
6678 * sysdeps/i386/i586/memset.S: Likewise.
6679 * sysdeps/i386/i686/memcpy.S: Likewise.
6680 * sysdeps/i386/i686/memmove.S: Likewise.
6681 * sysdeps/i386/i686/mempcpy.S: Likewise.
6682 * sysdeps/i386/i686/memset.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6685 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6686 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6687 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6689 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6690 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6691 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6693 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6694 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6695 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6696 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6697 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6698 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6699 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6700 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6701 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6702 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6703 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6705 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6706 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6707 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6708 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6709 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6710 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6711 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6712 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6713 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6716 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6717 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6719 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6720 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6721 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6722 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6723 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6724 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6725 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6726 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6727 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6728 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6729 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6730 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6731 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6733 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6734 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6735 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6736 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6737 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6738 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6739 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6740 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6741 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6742 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6743 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6745 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6746 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6747 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6748 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6749 * sysdeps/posix/closedir.c: Likewise.
6750 * sysdeps/posix/opendir.c: Likewise.
6751 * sysdeps/posix/readdir.c: Likewise.
6752 * sysdeps/posix/rewinddir.c: Likewise.
6753 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6754 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6755 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6756 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6757 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6759 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6768 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6770 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6789 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6790 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6791 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6792 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6793 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6794 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6795 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6797 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6798 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6799 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6800 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6801 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6802 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6803 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6804 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6805 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6807 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6810 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6811 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6812 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6814 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6815 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6816 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6817 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6818 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6819 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6820 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6821 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6822 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6823 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6824 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6825 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6827 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6828 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6829 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6830 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6831 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6832 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6833 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6834 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6835 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6837 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6839 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6840 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6841 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6842 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6843 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6844 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6845 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6846 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6849 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6851 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6852 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6854 * sysdeps/unix/alpha/sysdep.S: Likewise.
6855 * sysdeps/unix/alpha/sysdep.h: Likewise.
6856 * sysdeps/unix/make-syscalls.sh: Likewise.
6857 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6859 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6860 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6861 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6862 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6863 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6864 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6865 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6866 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6867 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6870 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6871 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6872 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6873 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6874 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6875 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6876 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6877 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6878 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6879 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6880 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6881 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6882 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6886 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6887 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6891 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6893 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6896 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6897 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6900 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6907 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6908 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6909 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6910 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6911 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6912 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6915 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6916 * sysdeps/x86_64/memcpy.S: Likewise.
6917 * sysdeps/x86_64/memmove.c: Likewise.
6918 * sysdeps/x86_64/memset.S: Likewise.
6919 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6921 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6922 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6923 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6924 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6926 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6927 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6928 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6929 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6930 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6931 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6932 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6933 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6934 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6935 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6936 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6937 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6938 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6939 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6940 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6942 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6943 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6944 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6945 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6946 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6947 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6948 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6949 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6950 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6951 * sysdeps/x86_64/strcmp.S: Likewise.
6953 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6955 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6956 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6957 * elf/rtld-Rules: Likewise.
6958 * elf/setup-vdso.h: Likewise.
6959 * include/assert.h: Likewise.
6960 * include/bits/stdlib-float.h: Likewise.
6961 * include/errno.h: Likewise.
6962 * include/sys/stat.h: Likewise.
6963 * include/unistd.h: Likewise.
6964 * sysdeps/aarch64/setjmp.S: Likewise.
6965 * sysdeps/alpha/setjmp.S: Likewise.
6966 * sysdeps/arm/__longjmp.S: Likewise.
6967 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6968 * sysdeps/arm/setjmp.S: Likewise.
6969 * sysdeps/arm/sysdep.h: Likewise.
6970 * sysdeps/generic/_itoa.h: Likewise.
6971 * sysdeps/generic/dl-sysdep.h: Likewise.
6972 * sysdeps/generic/ldsodefs.h: Likewise.
6973 * sysdeps/i386/dl-tls.h: Likewise.
6974 * sysdeps/i386/setjmp.S: Likewise.
6975 * sysdeps/m68k/setjmp.c: Likewise.
6976 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6977 * sysdeps/mach/hurd/opendir.c: Likewise.
6978 * sysdeps/posix/getcwd.c: Likewise.
6979 * sysdeps/posix/opendir.c: Likewise.
6980 * sysdeps/posix/profil.c: Likewise.
6981 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6985 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6986 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6987 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6988 * sysdeps/s390/dl-tls.h: Likewise.
6989 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6990 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6991 * sysdeps/sh/sh3/setjmp.S: Likewise.
6992 * sysdeps/sh/sh4/setjmp.S: Likewise.
6993 * sysdeps/unix/alpha/sysdep.h: Likewise.
6994 * sysdeps/unix/arm/sysdep.S: Likewise.
6995 * sysdeps/unix/i386/sysdep.S: Likewise.
6996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6997 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6998 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6999 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7000 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7001 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7002 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7003 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7004 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7005 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7006 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7007 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7008 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7011 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7015 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7019 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7020 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7021 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7023 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7024 * sysdeps/x86_64/setjmp.S: Likewise.
7026 * include/math.h: Use IS_IN instead of IS_IN_libm.
7027 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7039 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7047 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7048 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7049 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7050 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7051 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7052 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7054 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7055 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7056 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7057 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7058 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7059 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7073 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7074 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7075 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7081 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7082 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7083 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7086 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7087 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7088 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7089 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7090 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7091 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7092 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7093 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7094 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7096 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7098 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7099 * nptl/pthreadP.h: Likewise.
7100 * nptl_db/structs.def: Likewise.
7101 * sysdeps/arm/sysdep.h: Likewise.
7102 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7103 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7104 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7105 * sysdeps/unix/alpha/sysdep.h: Likewise.
7106 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7107 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7108 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7109 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7110 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7111 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7113 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7114 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7115 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7116 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7117 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7118 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7119 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7124 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7127 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7128 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7129 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7130 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7131 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7133 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7134 * nptl/pthreadP.h: Likewise.
7135 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7136 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7137 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7138 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7139 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7140 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7141 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7142 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7143 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7144 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7145 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7146 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7153 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7156 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7157 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7158 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7160 * dlfcn/dladdr.c: Use IS_IN.
7161 * dlfcn/dladdr1.c: Likewise.
7162 * dlfcn/dlclose.c: Likewise.
7163 * dlfcn/dlerror.c: Likewise.
7164 * dlfcn/dlinfo.c: Likewise.
7165 * dlfcn/dlmopen.c: Likewise.
7166 * dlfcn/dlopen.c: Likewise.
7167 * dlfcn/dlsym.c: Likewise.
7168 * dlfcn/dlvsym.c: Likewise.
7170 * include/ifaddrs.h: Use IS_IN.
7171 * inet/check_pf.c: Likewise.
7172 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7173 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7175 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7177 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7178 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7180 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7181 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7184 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7186 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7187 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7188 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7189 * include/libc-symbols.h (IS_IN_LIB): New macro.
7190 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7191 * include/netdb.h: Likewise.
7192 * include/stap-probe.h: Remove all uses of IN_LIB.
7194 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7195 instead of IN_MODULE.
7196 * include/libc-symbols.h (IN_MODULE): Define using
7198 (PASTE_NAME, PASTE_NAME1): New macros.
7199 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7201 (STAP_PROBE_ASM): Likewise.
7203 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7205 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7206 __mach_init in dlopened libc.
7208 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7210 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7211 * sysdeps/arm/preconfigure: Regenerate.
7213 2014-11-21 Roland McGrath <roland@hack.frob.com>
7215 * nptl/pthread_create.c (__pthread_create_2_1): Set
7216 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7217 when copying values from IATTR into PD.
7219 2014-11-21 Will Newton <will.newton@linaro.org>
7220 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7222 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7223 Refactor inline-asm. Also add comment.
7225 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7226 ElfW macro instead of hardcoded Elf64 types.
7227 (la_aarch64_gnu_pltenter): Likewise.
7228 * sysdeps/aarch64/dl-machine.h
7229 (elf_machine_runtime_setup): Use ElfW(Addr).
7231 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7232 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7233 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7234 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7235 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7236 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7237 (R_AARCH64_TLS_DTPMOD): This.
7238 (R_AARCH64_TLS_DTPREL64): Rename to ...
7239 (R_AARCH64_TLS_DTPREL): This.
7240 (R_AARCH64_TLS_TPREL64): Rename to ...
7241 (R_AARCH64_TLS_TPREL): This.
7242 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7243 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7244 R_AARCH64_TLS_TPREL64.
7245 (elf_machine_rela): Likewise.
7247 2014-11-21 Torvald Riegel <triegel@redhat.com>
7249 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7250 by setting it to 0. 64b atomics are not supported currently.
7252 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7255 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7256 search domain names.
7258 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7262 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7264 * posix/tst-getaddrinfo5.c: New.
7265 * posix/Makefile (tests): Add it.
7267 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7271 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7272 after parsing line but before break_if_match.
7273 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7274 if there is a protocol mismatch.
7276 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7278 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7279 because the potential race is on the user-supplied stream.
7281 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7283 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7284 string literal if not passed a buffer.
7285 * manual/job.texi (ctermid): Update reasoning, note deviation
7286 from posix, suggest mtasurace when not passed a buffer, for
7287 future non-preliminary safety notes.
7289 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7291 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7292 of not passing it a buffer.
7293 Reported by Peng Haitao.
7295 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7297 * manual/Makefile ($(objpfx)stamp-summary): Require
7298 check-safety.sh to pass.
7299 * manual/check-safety.sh: Wish for verification that every
7300 @deftypefn and @deftypefun is followed by a @safety remark.
7302 2014-11-20 Roland McGrath <roland@hack.frob.com>
7304 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7306 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7307 PTHREAD_CANCEL_ASYNCHRONOUS.
7308 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7311 * nptl/default-sched.h: New file.
7312 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7313 * nptl/pthread_create.c: Include it.
7314 (__pthread_create_2_1): Use collect_default_sched instead of making
7315 Linux syscalls here directly.
7317 2014-11-20 Torvald Riegel <triegel@redhat.com>
7319 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7320 __pthread_once): Use C11 atomics.
7322 2014-11-20 Torvald Riegel <triegel@redhat.com>
7324 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7326 2014-11-20 Torvald Riegel <triegel@redhat.com>
7328 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7329 atomic_thread_fence_acquire, atomic_thread_fence_release,
7330 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7331 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7332 atomic_compare_exchange_weak_relaxed,
7333 atomic_compare_exchange_weak_acquire,
7334 atomic_compare_exchange_weak_release,
7335 atomic_exchange_acquire, atomic_exchange_release,
7336 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7337 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7338 atomic_fetch_and_acquire,
7339 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7341 2014-11-20 Torvald Riegel <triegel@redhat.com>
7343 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7344 USE_ATOMIC_COMPILER_BUILTINS): Define.
7345 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7346 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7347 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7348 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7349 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7350 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7351 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7352 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7353 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7354 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7355 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7356 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7357 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7358 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7359 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7360 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7361 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7362 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7363 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7364 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7365 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7366 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7367 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7368 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7369 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7370 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7371 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7372 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7373 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7374 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7375 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7376 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7377 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7378 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7379 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7380 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7382 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7383 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7384 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7386 2014-11-19 Roland McGrath <roland@hack.frob.com>
7388 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7389 the sched_priority value here. It was already checked when the user
7390 called pthread_attr_setschedparam.
7392 * nptl/tst-bad-schedattr.c: New file.
7393 * nptl/Makefile (tests): Add it.
7395 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7396 Florian Weimer <fweimer@redhat.com>
7397 Joseph Myers <joseph@codesourcery.com>
7398 Adam Conrad <adconrad@0c3.net>
7399 Andreas Schwab <schwab@suse.de>
7400 Brooks <bmoses@google.com>
7403 * wordexp-test.c (__dso_handle): Add prototype.
7404 (__register_atfork): Likewise.
7405 (__app_register_atfork): New function.
7406 (registered_forks): New global.
7407 (register_fork): New function.
7408 (test_case): Add 3 new tests for WRDE_CMDSUB.
7409 (main): Call __app_register_atfork.
7410 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7411 fork count is non-zero fail the test.
7412 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7414 (parse_dollars): Remove check for WRDE_NOCMD.
7415 (parse_dquote): Likewise.
7417 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7419 * Makeconfig (built-modules): List non-library modules to be
7421 (module-cppflags): Include libc-modules.h for
7422 everything except shlib-versions.v.i.
7424 (before-compile): Add libc-modules.h.
7425 ($(common-objpfx)libc-modules.h,
7426 $(common-objpfx)libc-modules.stmp): New targets.
7427 (common-generated): Add libc-modules.h and libc-modules.stmp.
7428 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7429 * include/libc-symbols.h: Don't include libc-modules.h.
7430 * include/libc-modules.h: Remove file.
7431 * scripts/gen-libc-modules.awk: New script to generate
7433 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7434 Depend on libc-modules.stmp.
7436 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7438 * Makeconfig (in-module): Get value of libof set for the
7440 (CPPFLAGS): Use $(in-module).
7441 * Makerules: Don't suffix routine names for nonlib.
7442 * include/libc-modules.h: New file.
7443 * include/libc-symbols.h: Include libc-modules.h
7444 (IS_IN): New macro to replace IS_IN_* macros.
7445 * elf/Makefile: Set libof-* for each routine.
7446 * elf/rtld-Rules: Likewise.
7447 * extra-modules.mk: Likewise.
7448 * iconv/Makefile: Likewise.
7449 * iconvdata/Makefile: Likewise.
7450 * locale/Makefile: Likewise.
7451 * malloc/Makefile: Likewise.
7452 * nss/Makefile: Likewise.
7453 * sysdeps/gnu/Makefile: Likewise.
7454 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7455 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7456 * sysdeps/s390/s390-64/Makefile: Likewise.
7457 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7458 CPPFLAGS for nscd instead of nonlib.
7460 2014-11-18 Roland McGrath <roland@hack.frob.com>
7462 * nptl/createthread.c: New file.
7464 * nptl/createthread.c: Moved ...
7465 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7467 * nptl/createthread.c: Add proper top-line comment.
7468 (do_clone): Folded into ...
7469 (create_thread): ... here. Take new arguments STOPPED_START and
7470 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7471 increment __nptl_threads, do event-reporting logic, do
7472 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7473 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7474 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7475 just send SIGCANCEL.
7476 * nptl/pthread_create.c: Forward-declare create_thread before
7477 including createthread.c.
7478 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7479 declaration, and new macro START_THREAD_SELF to replace argument.
7480 Remove return statement.
7481 (report_thread_creation): New function.
7482 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7483 synchronization logic, and __nptl_nthreads increment here, around
7484 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7485 PD->parent_cancelhandling here, before create_thread. When
7486 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7487 __deallocate_stack, and ENOMEM translation here.
7489 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7493 (mptwo): Rename to __mptwo.
7494 (__inv): Use __mptwo instead of mptwo.
7495 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7496 (mptwo): Rename to __mptwo.
7497 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7498 of mpone and __mptwo instead of mptwo.
7499 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7502 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7503 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7504 of mpone and __mptwo instead of mptwo.
7505 (__mpranred): Use __mpone instead of mpone.
7506 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7508 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7509 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7510 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7511 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7512 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7513 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7514 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7515 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7516 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7517 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7518 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7519 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7520 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7521 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7522 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7523 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7524 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7525 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7526 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7528 2014-11-18 Tom de Vries <tom@codesoucery.com>
7530 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7531 replace BSD Handler xref with BSD Signal Handling.
7533 2014-11-17 Richard Henderson <rth@redhat.com>
7535 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7536 (_FP_PACK_RAW_2): Remove.
7537 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7538 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7539 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7540 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7541 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7542 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7543 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7544 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7545 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7546 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7547 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7548 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7549 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7550 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7551 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7552 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7554 2014-11-14 Roland McGrath <roland@hack.frob.com>
7556 * signal/signal.h [__USE_MISC]
7557 (struct sigvec): Remove type.
7558 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7559 (sigvec): Remove declaration.
7560 * sysdeps/posix/sigvec.c: Moved ...
7561 * signal/sigvec.c: ... here, replacing old file.
7562 (struct sigvec): New type, copied from old signal.h definition.
7563 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7564 (__sigvec): Convert definition to prototype.
7565 (sigvec): Replace weak_alias with compat_symbol.
7566 * signal/Versions (libc: GLIBC_2.21): New version set.
7567 * include/signal.h: Remove __sigvec declaration.
7568 * sysdeps/unix/bsd/sigvec.c: Remove file.
7569 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7570 * manual/signal.texi (BSD Handler): Remove subsection.
7571 Move siginterrupt up to ...
7572 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7573 (Blocking in BSD): Fold subsection into its parent.
7574 * NEWS: Mention sigvec removal.
7576 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7579 (DLA_FMS): Make definition conditional only on [__FMA4__].
7580 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7583 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7584 Make definition conditional only on [PROF].
7585 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7587 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7588 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7590 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7592 * include/signal.h (__sigpause): Move declaration above call to
7594 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7596 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7597 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7599 2014-11-14 David S. Miller <davem@davemloft.net>
7601 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7602 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7604 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7606 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7607 * configure: Regenerated.
7608 * manual/install.texi (Tools for Compilation): Document a
7609 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7610 compiler verified to work.
7611 * INSTALL: Regenerated.
7613 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7614 redeclare with asm name.
7615 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7616 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7617 including <string.h>.
7618 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7619 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7620 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7621 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7622 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7624 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7626 2014-11-13 Joseph Myers <joseph@codesourcery.com>
7628 * stdlib/strtol.c (__strtol): Use prototype definition.
7631 * stdlib/strtol.c (SYM__): New macro.
7633 (__strtol): Likewise.
7634 (strtol): Rename to __strtol and define as weak alias of
7635 __strtol. Use libc_hidden_weak.
7637 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7639 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7640 Use numbered labels in inline assembly.
7642 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7644 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7645 Add setjmp LIBC_PROBE.
7646 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7648 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7649 Add longjmp, longjmp_target LIBC_PROBE.
7650 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7653 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7656 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7657 to get rid of unused variable warning.
7659 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7661 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7662 Check for unwind_backtrace == NULL only in SHARED case.
7663 (__backchain_backtrace): Compile only in SHARED case.
7664 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7666 (__backchain_backtrace): Declare as static.
7668 2014-11-12 Roland McGrath <roland@hack.frob.com>
7670 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7671 (__libc_multiple_threads_ptr): Variable moved ...
7672 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7674 2014-11-12 Joseph Myers <joseph@codesourcery.com>
7676 * conform/GlibcConform.pm: New file.
7677 * conform/conformtest.pl: Use GlibcConform module.
7678 * conform/linknamespace.pl: New file.
7679 * conform/list-header-symbols.pl: Likewise.
7680 * conform/Makefile (linknamespace-symlists-base): New variable.
7681 (linknamespace-symlists-tests): Likewise.
7682 (linknamespace-header-base): Likewise.
7683 (linknamespace-header-tests): Likewise.
7684 (tests-special): Add new tests.
7685 ($(linknamespace-symlists-tests)): New rule.
7686 (linknamespace-libs): New variable.
7687 ($(objpfx)symlist-stdlibs): New rule.
7688 ($(linknamespace-header-tests)): Likewise.
7689 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7690 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7691 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7692 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7693 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7694 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7695 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7696 (test-xfail-ISO/math.h/linknamespace): Likewise.
7697 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7698 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7699 (test-xfail-ISO/time.h/linknamespace): Likewise.
7700 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7701 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7702 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7703 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7704 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7705 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7706 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7707 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7708 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7709 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7710 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7711 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7712 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7713 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7714 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7715 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7716 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7717 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7718 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7719 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7720 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7721 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7722 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7723 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7724 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7725 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7726 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7727 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7728 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7729 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7730 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7731 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7732 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7733 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7734 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7735 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7736 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7737 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7738 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7739 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7740 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7741 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7742 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7743 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7744 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7745 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7746 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7747 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7748 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7749 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7750 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7751 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7752 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7753 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7754 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7755 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7756 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7757 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7758 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7759 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7760 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7761 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7762 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7763 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7764 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7765 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7766 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7767 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7768 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7769 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7770 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7771 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7772 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7773 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7774 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7775 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7776 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7777 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7778 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7779 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7780 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7781 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7782 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7783 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7784 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7785 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7786 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7787 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7788 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7789 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7790 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7791 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7792 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7793 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7794 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7795 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7796 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7797 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7798 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7799 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7800 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7801 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7802 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7803 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7804 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7805 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7806 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7807 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7808 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7809 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7810 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7811 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7812 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7813 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7814 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7815 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7816 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7817 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7818 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7819 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7820 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7821 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7822 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7823 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7824 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7825 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7826 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7827 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7828 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7829 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7830 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7831 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7832 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7833 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7834 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7835 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7836 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7837 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7838 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7839 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7840 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7841 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7842 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7843 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7844 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7845 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7846 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7847 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7848 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7849 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7852 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7856 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7857 (memmem): Rename to __memmem and define as weak alias of
7858 __memmem. Use libc_hidden_weak.
7859 (__memmem): Use libc_hidden_def.
7860 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7861 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7865 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7866 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7867 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7868 and define as weak alias of __fgets_unlocked. Use
7870 (__fgets_unlocked): Use libc_hidden_def.
7871 * include/stdio.h (__fgets_unlocked): Declare. Use
7873 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7874 __fgets_unlocked instead of fgets_unlocked.
7875 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7876 (GET_NPROCS_CONF_PARSER): Likewise.
7877 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7878 (GET_NPROCS_CONF_PARSER): Likewise.
7881 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7882 weak alias of __wmemset. Use libc_hidden_weak.
7883 (__wmemset): Use libc_hidden_def.
7884 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7885 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7889 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7890 with asm name __mempcpy.
7891 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7894 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7895 and define as weak alias of __rawmemchr.
7896 (__rawmemchr): Do not define as strong alias of rawmemchr.
7899 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7901 (qsort): Call __qsort_r instead of qsort_r.
7902 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7903 (__qsort_r): Declare. Call libc_hidden_proto.
7904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7906 * nscd/gai.c (__qsort_r): Define to qsort_r.
7907 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7908 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7909 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7912 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7913 define as weak alias of __malloc_info.
7916 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7917 as weak alias of __rewinddir. Don't use libc_hidden_def.
7918 (__rewinddir): Use libc_hidden_def.
7919 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7920 as weak alias of __rewinddir. Don't use libc_hidden_def.
7921 (__rewinddir): Use libc_hidden_def.
7922 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7923 weak alias of __rewinddir. Don't use libc_hidden_def.
7924 (__rewinddir): Use libc_hidden_def.
7925 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7926 (__rewinddir): Use libc_hidden_proto.
7927 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7929 (__getcwd): Use __rewinddir instead of rewinddir.
7932 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7933 alias of __fileno. Use libc_hidden_weak.
7934 (__fileno): Use libc_hidden_def.
7935 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7936 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7938 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7940 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7941 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7943 (fread_unlocked): Don't use libc_hidden_ver.
7944 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7945 and define as weak alias of __fread_unlocked. Don't use
7947 (__fread_unlocked): Use libc_hidden_def.
7948 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7949 (ftello): Don't use libc_hidden_proto.
7950 (__ftello): Declare. Use libc_hidden_proto.
7951 (fread_unlocked): Don't use libc_hidden_proto.
7952 (__fread_unlocked): Declare. Use libc_hidden_proto.
7953 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7954 and __ftello instead of fileno, fread_unlocked and ftello.
7956 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7958 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7962 (_dl_start_user): Likewise.
7963 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7965 2014-11-12 Carlos O'Donell <carlos@redhat.com>
7966 Siddhesh Poyarekar <siddhesh@redhat.com>
7968 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7969 Move argv and envp down instead of moving argc up.
7970 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7972 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
7975 * test-skeleton.c (main): Return successful if one of
7976 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7977 * string/tst-strcoll-overflow.c: Define expected status.
7979 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7982 * locale/iso-639.def: Define Bhili and Tulu language codes.
7984 2014-11-11 Alan Hayward <alan.hayward@arm.com>
7986 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7988 2014-11-10 Renlin Li <Renlin.Li@arm.com>
7991 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7993 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7995 * configure.ac: Updated check of minimal required version to
7997 * manual/install.texi (Tools for Compilation): Updated version
7999 * configure: Regenerated.
8000 * INSTALL: Likewise.
8002 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8004 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8007 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8009 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8010 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8011 (__waitpid): Don't define as alias. Use libc_hidden_def not
8013 (waitpid): Define as alias of __waitpid.
8014 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8016 (__waitpid): Don't define as alias. Use libc_hidden_def not
8018 (waitpid): Define as alias of __waitpid.
8019 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8020 __libc_waitpid alias.
8021 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8024 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8025 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8026 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8028 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8030 (__waitpid): Don't define as alias. Use libc_hidden_def not
8032 (waitpid): Define as alias of __waitpid.
8034 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8036 * manual/llio.texi: Add comment that write safety has been
8039 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8040 (localplt-build-dso): Add elf/ld.so.
8041 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8042 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8045 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8050 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8051 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8052 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8053 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8054 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8055 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8056 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8057 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8058 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8062 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8065 * include/libc-symbols.h (INTUSE): Remove macro.
8067 (INTVARDEF): Likewise.
8068 (_INTVARDEF): Likewise.
8069 (INTDEF2): Likewise.
8070 (INTVARDEF2): Likewise.
8071 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8072 rtld_hidden_def instead of INTVARDEF.
8073 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8074 (_dl_starting_up_internal): Remove declaration.
8075 (_dl_starting_up): Use rtld_hidden_proto.
8076 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8078 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8079 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8081 * elf/dl-writev.h (_dl_writev): Likewise.
8082 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8083 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8084 _dl_starting_up_internal.
8086 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8088 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8091 2014-11-05 Will Newton <will.newton@linaro.org>
8093 * benchtests/Makefile: (bench-malloc): Add malloc thread
8094 scalability benchmark.
8095 * benchtests/bench-malloc-threads.c: New file.
8097 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8099 * sysdeps/aarch64/strchrnul.S: New file.
8101 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8103 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8105 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8107 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8111 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8113 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8116 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8118 * catgets/test-gencat.c: Use test-skeleton.c.
8119 * catgets/tst-catgets.c: Likewise.
8120 * csu/tst-empty.c: Likewise.
8121 * elf/tst-audit2.c: Likewise.
8122 * elf/tst-global1.c: Likewise.
8123 * elf/tst-pathopt.c: Likewise.
8124 * elf/tst-piemod1.c: Likewise.
8125 * elf/tst-tls10.c: Likewise.
8126 * elf/tst-tls11.c: Likewise.
8127 * elf/tst-tls12.c: Likewise.
8128 * gnulib/tst-gcc.c: Likewise.
8129 * iconvdata/tst-e2big.c: Likewise.
8130 * iconvdata/tst-loading.c: Likewise.
8131 * iconv/tst-iconv1.c: Likewise.
8132 * iconv/tst-iconv2.c: Likewise.
8133 * inet/test-inet6_opt.c: Likewise.
8134 * inet/tst-gethnm.c: Likewise.
8135 * inet/tst-network.c: Likewise.
8136 * inet/tst-ntoa.c: Likewise.
8137 * intl/tst-codeset.c: Likewise.
8138 * intl/tst-gettext2.c: Likewise.
8139 * intl/tst-gettext3.c: Likewise.
8140 * intl/tst-ngettext.c: Likewise.
8141 * intl/tst-translit.c: Likewise.
8142 * io/test-stat.c: Likewise.
8143 * libio/test-fmemopen.c: Likewise.
8144 * libio/tst-freopen.c: Likewise.
8145 * libio/tst-sscanf.c: Likewise.
8146 * libio/tst-ungetwc1.c: Likewise.
8147 * libio/tst-ungetwc2.c: Likewise.
8148 * libio/tst-widetext.c: Likewise.
8149 * localedata/tst-ctype.c: Likewise.
8150 * localedata/tst-digits.c: Likewise.
8151 * localedata/tst-leaks.c: Likewise.
8152 * localedata/tst-mbswcs1.c: Likewise.
8153 * localedata/tst-mbswcs2.c: Likewise.
8154 * localedata/tst-mbswcs3.c: Likewise.
8155 * localedata/tst-mbswcs4.c: Likewise.
8156 * localedata/tst-mbswcs5.c: Likewise.
8157 * localedata/tst-setlocale.c: Likewise.
8158 * localedata/tst-trans.c: Likewise.
8159 * localedata/tst-wctype.c: Likewise.
8160 * localedata/tst-xlocale1.c: Likewise.
8161 * login/tst-grantpt.c: Likewise.
8162 * malloc/tst-calloc.c: Likewise.
8163 * malloc/tst-malloc.c: Likewise.
8164 * malloc/tst-mallocstate.c: Likewise.
8165 * malloc/tst-mcheck.c: Likewise.
8166 * malloc/tst-mtrace.c: Likewise.
8167 * malloc/tst-obstack.c: Likewise.
8168 * math/atest-exp2.c: Likewise.
8169 * math/atest-exp.c: Likewise.
8170 * math/atest-sincos.c: Likewise.
8171 * math/test-matherr.c: Likewise.
8172 * math/test-misc.c: Likewise.
8173 * math/test-powl.c: Likewise.
8174 * math/tst-definitions.c: Likewise.
8175 * misc/tst-dirname.c: Likewise.
8176 * misc/tst-efgcvt.c: Likewise.
8177 * misc/tst-fdset.c: Likewise.
8178 * misc/tst-hsearch.c: Likewise.
8179 * misc/tst-mntent2.c: Likewise.
8180 * nptl/tst-sem7.c: Likewise.
8181 * nptl/tst-sem8.c: Likewise.
8182 * nptl/tst-sem9.c: Likewise.
8183 * nss/test-netdb.c: Likewise.
8184 * posix/tst-fnmatch.c: Likewise.
8185 * posix/tst-getlogin.c: Likewise.
8186 * posix/tst-gnuglob.c: Likewise.
8187 * posix/tst-mmap.c: Likewise.
8188 * pwd/tst-getpw.c: Likewise.
8189 * resolv/tst-inet_ntop.c: Likewise.
8190 * rt/tst-timer.c: Likewise.
8191 * stdio-common/test-fseek.c: Likewise.
8192 * stdio-common/test-popen.c: Likewise.
8193 * stdio-common/test-vfprintf.c: Likewise.
8194 * stdio-common/tst-cookie.c: Likewise.
8195 * stdio-common/tst-fileno.c: Likewise.
8196 * stdio-common/tst-gets.c: Likewise.
8197 * stdio-common/tst-obprintf.c: Likewise.
8198 * stdio-common/tst-perror.c: Likewise.
8199 * stdio-common/tst-sprintf2.c: Likewise.
8200 * stdio-common/tst-sprintf3.c: Likewise.
8201 * stdio-common/tst-sprintf.c: Likewise.
8202 * stdio-common/tst-swprintf.c: Likewise.
8203 * stdio-common/tst-tmpnam.c: Likewise.
8204 * stdio-common/tst-unbputc.c: Likewise.
8205 * stdio-common/tst-wc-printf.c: Likewise.
8206 * stdlib/tst-environ.c: Likewise.
8207 * stdlib/tst-fmtmsg.c: Likewise.
8208 * stdlib/tst-limits.c: Likewise.
8209 * stdlib/tst-rand48-2.c: Likewise.
8210 * stdlib/tst-rand48.c: Likewise.
8211 * stdlib/tst-random2.c: Likewise.
8212 * stdlib/tst-random.c: Likewise.
8213 * stdlib/tst-strtol.c: Likewise.
8214 * stdlib/tst-strtoll.c: Likewise.
8215 * stdlib/tst-tls-atexit.c: Likewise.
8216 * stdlib/tst-xpg-basename.c: Likewise.
8217 * string/test-ffs.c: Likewise.
8218 * string/tst-bswap.c: Likewise.
8219 * string/tst-inlcall.c: Likewise.
8220 * string/tst-strtok.c: Likewise.
8221 * string/tst-strxfrm.c: Likewise.
8222 * sysdeps/x86_64/tst-audit10.c: Likewise.
8223 * sysdeps/x86_64/tst-audit3.c: Likewise.
8224 * sysdeps/x86_64/tst-audit4.c: Likewise.
8225 * sysdeps/x86_64/tst-audit5.c: Likewise.
8226 * time/tst-ftime_l.c: Likewise.
8227 * time/tst-getdate.c: Likewise.
8228 * time/tst-mktime3.c: Likewise.
8229 * time/tst-mktime.c: Likewise.
8230 * time/tst-posixtz.c: Likewise.
8231 * time/tst-strptime2.c: Likewise.
8232 * time/tst-strptime3.c: Likewise.
8233 * wcsmbs/tst-btowc.c: Likewise.
8234 * wcsmbs/tst-mbrtowc.c: Likewise.
8235 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8236 * wcsmbs/tst-wchar-h.c: Likewise.
8237 * wcsmbs/tst-wcpncpy.c: Likewise.
8238 * wcsmbs/tst-wcrtomb.c: Likewise.
8239 * wcsmbs/tst-wcsnlen.c: Likewise.
8240 * wcsmbs/tst-wcstof.c: Likewise.
8242 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8245 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8247 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8249 (_dl_mcount): Use rtld_hidden_proto.
8250 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8252 * elf/rtld.c (_rtld_global_ro): Likewise.
8255 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8256 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8257 of _dl_init_internal.
8258 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8259 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8260 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8261 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8262 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8263 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8264 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8265 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8266 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8267 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8268 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8269 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8270 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8271 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8272 * sysdeps/tile/dl-start.S (_start): Likewise.
8273 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8274 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8277 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8278 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8279 (rtld_progname): Make macro definition unconditional.
8280 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8282 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8283 (dl_main): Likewise.
8284 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8285 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8286 instead of _dl_argv_internal.
8287 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8288 __GI__dl_argv instead of INTUSE(_dl_argv).
8289 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8290 __GI__dl_argv instead of _dl_argv_internal.
8292 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8293 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8295 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8296 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8298 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8299 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8301 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8302 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8304 2014-11-04 Andreas Schwab <schwab@suse.de>
8306 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8308 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8310 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8311 mtvsrd instruction in binary form.
8313 2014-11-03 Andreas Schwab <schwab@suse.de>
8316 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8317 for less than MB_LEN_MAX use a local buffer of that size.
8318 * libio/tst-fputws.c: New file.
8319 * libio/Makefile (tests): Add tst-fputws.
8321 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8323 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8324 the size of the fpu_fr.fpu_dregs[] array.
8326 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8328 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8329 (__nanosleep): Do not define as alias.
8330 (nanosleep): Define as alias of __nanosleep.
8331 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8332 __libc_nanosleep name.
8334 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8336 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8337 install.texi in comment.
8339 2014-10-31 Torvald Riegel <triegel@redhat.com>
8341 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8342 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8343 ... add here and use lwsync or sync ...
8344 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8345 ... and add here using lwsync.
8347 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8349 * elf/dl-machine-reject-phdr.h: New file.
8350 * elf/dl-load.c: #include that.
8351 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8352 if that returned true.
8354 2014-10-31 Roland McGrath <roland@hack.frob.com>
8357 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8358 gen-as-const-headers chunk. Add a big scare comment after the last
8359 safe place to touch before-compile.
8361 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8363 * manual/install.texi (Tools for Compilation): Update autoconf
8364 version requirements.
8365 * INSTALL: Regenerated.
8367 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8368 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8369 (__libc_pselect): Likewise.
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8377 2014-10-31 Torvald Riegel <triegel@redhat.com>
8379 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8380 correct barrier instruction.
8381 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8383 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8386 2014-10-30 Roland McGrath <roland@hack.frob.com>
8388 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8389 after defining inlines. Instead, just use parens to defeat macro
8390 expansion of __isctype in its declaration.
8392 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8394 * include/sys/uio.h (__libc_readv): Remove declaration.
8395 (__libc_writev): Likewise.
8396 * misc/readv.c (__libc_readv): Rename to __readv.
8397 (__readv): Do not define as alias.
8398 (readv): Define as alias of __readv.
8399 * misc/writev.c (__libc_writev): Rename to __writev.
8400 (__writev): Do not define as alias.
8401 (writev): Define as alias of __writev.
8402 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8403 (__readv): Do not define as alias.
8404 (readv): Define unconditionally as alias of __readv.
8405 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8406 (__writev): Do not define as alias.
8407 (writev): Define unconditionally as alias of __writev.
8408 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8410 (writev): Do not define __libc_writev name.
8412 2014-10-30 Roland McGrath <roland@hack.frob.com>
8414 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8415 (convert_charseq): New function, broken out of ...
8416 (use_from_charmap): ... here. Call it.
8417 (use_to_charmap): Use convert_charseq and free instead of duplicating
8418 its code with a variable-length stack struct.
8420 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8422 * include/fcntl.h (__libc_creat): Remove declaration.
8423 * io/creat.c (__libc_creat): Rename to creat.
8424 (creat): Do not define as alias.
8425 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8426 of creat instead of __libc_creat.
8427 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8429 (creat): Do not define as alias.
8430 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8432 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8437 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8439 * manual/llio.texi: Add comments discussing why write() may be
8440 considered MT-unsafe on Linux.
8442 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8444 * dl-load.c (local_strdup): Remove.
8445 (expand_dynamic_string_token): Use __strdup.
8446 (decompose_rpath): Likewise.
8447 (_dl_map_object): Likewise.
8449 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8452 * sysdeps/generic/unwind-dw2-fde.c
8453 (__register_frame_info_bases_internal): Do not declare.
8454 (__register_frame_info_table_bases_internal): Likewise.
8455 (__deregister_frame_info_bases_internal): Likewise.
8456 (__register_frame_info_bases): Declare and use hidden_proto before
8457 definition. Use hidden_def instead of INTDEF.
8458 (__register_frame_info_table_bases): Likewise.
8459 (__deregister_frame_info_bases): Likewise.
8460 (__register_frame_info): Do not use INTUSE.
8461 (__register_frame): Likewise.
8462 (__register_frame_info_table): Likewise.
8463 (__register_frame_table): Likewise.
8464 (__deregister_frame_info): Likewise.
8465 (__deregister_frame): Likewise.
8467 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8470 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8472 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8474 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8477 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8480 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8481 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8482 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8483 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8484 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8485 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8486 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8487 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8488 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8489 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8490 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8491 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8492 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8494 (setfsuid): Likewise.
8495 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8496 (setfsuid): Likewise.
8497 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8498 (setfsuid): Likewise.
8499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8501 (setfsuid): Likewise.
8502 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8503 (setfsuid): Likewise.
8504 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8506 (setfsuid): Likewise.
8508 2014-10-27 Andreas Schwab <schwab@suse.de>
8511 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8512 check for Slow_SSE4_2 feature bit.
8513 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8514 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8515 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8516 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8518 2014-10-24 Roland McGrath <roland@hack.frob.com>
8520 * configure.ac: Validate compiler version with a empirical test of
8521 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8523 * configure: Regenerated.
8525 * inet/htons.c (htons): Prototypify.
8526 * inet/htonl.c (htonl): Likewise.
8528 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8530 * string/strncat.c (strncat): Improve performance by using strlen.
8532 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8534 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8536 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8538 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8539 Call libc_fetestexcept_aarch64.
8541 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8543 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8544 Call libc_feholdexcept_aarch64.
8546 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8548 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8549 Call get_rounding_mode.
8551 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8553 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8556 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8558 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8561 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8564 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8565 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8566 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8567 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8568 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8569 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8570 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8571 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8572 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8573 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8574 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8575 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8577 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8578 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8579 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8580 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8581 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8582 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8583 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8584 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8585 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8586 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8587 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8588 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8590 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8592 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8593 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8594 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8595 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8596 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8597 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8598 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8599 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8600 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8604 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8606 (geteuid): Likewise.
8609 (getresgid): Likewise.
8610 (getresuid): Likewise.
8611 (getgroups): Likewise.
8612 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8613 (geteuid): Likewise.
8616 (getresgid): Likewise.
8617 (getresuid): Likewise.
8618 (getgroups): Likewise.
8619 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8620 (geteuid): Likewise.
8623 (getresgid): Likewise.
8624 (getresuid): Likewise.
8625 (getgroups): Likewise.
8626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8628 (geteuid): Likewise.
8631 (getresgid): Likewise.
8632 (getresuid): Likewise.
8633 (getgroups): Likewise.
8634 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8635 (geteuid): Likewise.
8638 (getresgid): Likewise.
8639 (getresuid): Likewise.
8640 (getgroups): Likewise.
8641 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8643 (geteuid): Likewise.
8646 (getgroups): Likewise.
8649 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8650 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8651 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8652 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8655 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8656 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8657 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8658 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8663 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8670 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8678 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8680 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8683 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8685 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8688 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8690 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8691 Remove unused include.
8693 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8695 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8696 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8697 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8698 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8700 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8701 Helge Deller <deller@gmx.de>
8704 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8705 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8706 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8708 2014-10-23 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8712 Remove macro definition.
8713 (__ashrdi3_v_glibc20): Likewise.
8714 (__lshrdi3_v_glibc20): Likewise.
8715 (__cmpdi2_v_glibc20): Likewise.
8716 (__ucmpdi2_v_glibc20): Likewise.
8717 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8718 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8719 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8720 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8721 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8722 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8724 2014-10-22 Roland McGrath <roland@hack.frob.com>
8726 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8727 old GNU extension [0] syntax.
8728 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8729 alloca rather than an array member with variable length.
8730 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8731 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8732 (parse_opt): ... here. Likewise use alloca there.
8733 Validate the -i argument before checking for rootness.
8734 (send_shutdown): New function, broken out of ...
8735 (parse_opt): ... here.
8737 2014-10-22 Roland McGrath <roland@hack.frob.com>
8739 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8740 macro to get at the _rt_local_ro field.
8741 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8742 ([PIC] case) or _dl_hwcap ([!PIC] case).
8743 * sysdeps/arm/setjmp.S: Likewise.
8745 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8746 * sysdeps/arm/configure.ac: New check to define it.
8747 * sysdeps/arm/configure: Regenerated.
8748 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8749 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8750 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8751 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8752 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8753 Use move/movt pair instead of a load.
8754 (LDST_GLOBAL): Macro removed.
8755 (LDR_GLOBAL): New macro replaces it.
8756 (LDR_HIDDEN): New macro.
8757 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8758 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8760 * setjmp/tst-setjmp-static.c: New file.
8761 * setjmp/Makefile (tests): Add it.
8762 (tests-static): New variable.
8764 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8767 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8769 2014-10-21 Joseph Myers <joseph@codesourcery.com>
8772 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8774 2014-10-21 Roland McGrath <roland@hack.frob.com>
8776 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8778 2014-10-20 Roland McGrath <roland@hack.frob.com>
8780 * io/fts.c (dirent_not_directory): New function.
8781 (fts_build): Call it.
8783 2014-10-20 Roland McGrath <roland@hack.frob.com>
8785 * nptl/version.c (__nptl_main): Use normal __write rather than
8787 (banner): Update copyright years.
8789 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8791 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8792 * nptl/pthread_cond_timedwait.c: Likewise.
8793 * nptl/pthread_mutex_timedlock.c: Likewise.
8794 * nptl/sem_timedwait.c: Likewise.
8796 * sysdeps/nptl/bits/libc-lock.h
8797 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8798 (__libc_lock_init_recursive): Return void, not 0.
8799 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8800 (__libc_rwlock_init): Likewise.
8801 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8803 2014-10-20 Torvald Riegel <triegel@redhat.com>
8806 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8807 (__pthread_once_slow): ... here.
8808 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8809 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8811 2014-10-20 Torvald Riegel <triegel@redhat.com>
8814 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8815 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8816 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8817 * nptl/pthread_once.c (__pthread_once): Likewise.
8820 2014-10-20 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8825 (writev): Use __libc_writev as strong name.
8826 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8827 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8829 2014-10-17 Roland McGrath <roland@hack.frob.com>
8831 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8833 * sysdeps/i386/nptl/tls.h
8834 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8835 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8837 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8838 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8839 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8840 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8841 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8842 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8844 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8845 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8847 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8849 (__pthread_mutex_init): ... here. Call it.
8850 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8851 Conditionalize PI cases on [__NR_futex].
8852 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8853 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8854 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8856 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8857 conditional on [SIGSETXID].
8858 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8859 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8860 is defined. Likewise for SIGSETXID.
8861 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8862 Conditionalize definitions on [SIGSETXID].
8863 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8864 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8865 unblocking on [SIGCANCEL].
8867 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8868 [__NR_set_robust_list].
8870 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8872 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8873 (do_compare): Likewise.
8875 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
8878 * string/strcoll_l.c: Don't include stdio.h.
8879 (coll_seq): Remove members idxarr and rulearr.
8880 (get_next_seq_cached): Remove function.
8881 (get_next_seq): Likewise.
8882 (get_next_seq_nocache): Rename to get_next_seq.
8883 (do_compare): Remove function.
8884 (do_compare_nocache): Rename to do_compare.
8885 (STRCOLL): Remove weight and rules cache.
8887 2014-10-16 Roland McGrath <roland@hack.frob.com>
8889 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8890 * sysdeps/arm/sfp-machine.h: ... to here.
8891 * sysdeps/arm/Implies: Remove arm/soft-fp.
8893 2014-10-14 Joseph Myers <joseph@codesourcery.com>
8895 * conform/data/sys/utsname.h-data (*_t): Allow.
8896 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8897 [POSIX] (WEXITED): Do not expect constant.
8898 [POSIX] (WSTOPPED): Likewise.
8899 [POSIX] (WNOHANG): Likewise.
8900 [POSIX] (WNOWAIT): Likewise.
8901 [POSIX] (siginfo_t): Do not expect type or elements.
8902 [POSIX] (pid_t): Do not expect type.
8903 [POSIX] (signal.h): Do not allow header.
8904 [POSIX] (sys/resource.h): Likewise.
8905 [POSIX] (si_*): Do not allow pattern.
8906 [POSIX] (W*): Likewise.
8907 [POSIX] (P_*): Likewise.
8908 [POSIX] (BUS_*): Likewise.
8909 [POSIX] (CLD_*): Likewise.
8910 [POSIX] (FPE_*): Likewise.
8911 [POSIX] (ILL_*): Likewise.
8912 [POSIX] (POLL_*): Likewise.
8913 [POSIX] (SEGV_*): Likewise.
8914 [POSIX] (SI_*): Likewise.
8915 [POSIX] (TRAP_*): Likewise.
8916 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8919 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8923 infinite loop when __recvmsg returns 0.
8925 2014-10-10 Joseph Myers <joseph@codesourcery.com>
8927 * CANCEL-FCT-WAIVE: Remove file.
8928 * CANCEL-FILE-WAIVE: Likewise.
8931 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8932 instead of INTVARDEF.
8933 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8934 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8935 rtld_hidden_data_def instead of INTVARDEF.
8936 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8937 * elf/dl-deps.c (expand_dst): Likewise.
8938 * elf/dl-load.c (_dl_dst_count): Likewise.
8939 (_dl_dst_substitute): Likewise.
8940 (decompose_rpath): Likewise.
8941 (_dl_init_paths): Likewise.
8942 (open_path): Likewise.
8943 (_dl_map_object): Likewise.
8944 * elf/rtld.c (dl_main): Likewise.
8945 (process_dl_audit): Likewise.
8946 (process_envvars): Likewise.
8947 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8949 (__libc_enable_secure): Use rtld_hidden_proto.
8951 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8954 (add_path): New function broken out of _dl_rtld_di_serinfo.
8955 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8957 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8959 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8960 parentheses around macro arguments.
8961 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8963 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8964 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8965 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8966 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8967 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8969 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8971 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8972 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8973 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8974 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8975 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8976 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8977 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8982 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8983 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8984 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8985 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8986 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8987 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8988 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8989 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8990 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8991 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8992 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8993 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8994 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8995 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8996 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8998 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8999 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9000 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9001 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9002 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9003 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9004 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9005 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9006 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9007 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9008 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9009 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9010 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9012 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9013 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9014 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9015 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9016 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9017 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9019 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9020 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9021 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9022 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9023 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9024 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9025 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9026 (_FP_FRAC_SRS_1): Likewise.
9027 (_FP_FRAC_CLZ_1): Likewise.
9028 (_FP_MUL_MEAT_1_imm): Likewise.
9029 (_FP_MUL_MEAT_1_wide): Likewise.
9030 (_FP_MUL_MEAT_1_hard): Likewise.
9031 (_FP_SQRT_MEAT_1): Likewise.
9032 (_FP_FRAC_ASSEMBLE_1): Likewise.
9033 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9034 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9035 (__FP_CLZ_2): Likewise.
9036 (_FP_MUL_MEAT_2_wide): Likewise.
9037 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9038 (_FP_MUL_MEAT_2_gmp): Likewise.
9039 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9040 (_FP_SQRT_MEAT_2): Likewise.
9041 (_FP_FRAC_ASSEMBLE_2): Likewise.
9042 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9043 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9044 (_FP_FRAC_CLZ_4): Likewise.
9045 (_FP_MUL_MEAT_4_wide): Likewise.
9046 (_FP_MUL_MEAT_4_gmp): Likewise.
9047 (_FP_SQRT_MEAT_4): Likewise.
9048 (_FP_FRAC_ASSEMBLE_4): Likewise.
9049 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9050 * soft-fp/op-common.h (_FP_CMP): Likewise.
9051 (_FP_CMP_EQ): Likewise.
9052 (_FP_CMP_UNORD): Likewise.
9053 (_FP_TO_INT): Likewise.
9054 (_FP_FROM_INT): Likewise.
9055 [!__FP_CLZ] (__FP_CLZ): Likewise.
9056 (_FP_DIV_HELP_imm): Likewise.
9057 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9059 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9060 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9061 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9062 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9063 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9064 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9065 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9066 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9067 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9068 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9069 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9070 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9071 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9072 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9073 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9074 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9075 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9076 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9077 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9078 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9079 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9080 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9081 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9082 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9083 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9084 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9085 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9086 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9087 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9088 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9089 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9090 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9091 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9092 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9093 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9094 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9095 (FP_UNPACK_RAW_SP): Likewise.
9096 (FP_PACK_RAW_S): Likewise.
9097 (FP_PACK_RAW_SP): Likewise.
9098 (FP_UNPACK_S): Likewise.
9099 (FP_UNPACK_SP): Likewise.
9100 (FP_UNPACK_SEMIRAW_S): Likewise.
9101 (FP_UNPACK_SEMIRAW_SP): Likewise.
9102 (FP_PACK_S): Likewise.
9103 (FP_PACK_SP): Likewise.
9104 (FP_PACK_SEMIRAW_S): Likewise.
9105 (FP_PACK_SEMIRAW_SP): Likewise.
9106 (_FP_SQRT_MEAT_S): Likewise.
9107 (FP_CMP_S): Likewise.
9108 (FP_CMP_EQ_S): Likewise.
9109 (FP_CMP_UNORD_S): Likewise.
9110 (FP_TO_INT_S): Likewise.
9111 (FP_FROM_INT_S): Likewise.
9113 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9115 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9116 (FP_EX_INVALID_IMZ): Likewise.
9117 (FP_EX_INVALID_IMZ_FMA): Likewise.
9118 (FP_EX_INVALID_ISI): Likewise.
9119 (FP_EX_INVALID_ZDZ): Likewise.
9120 (FP_EX_INVALID_IDI): Likewise.
9121 (FP_EX_INVALID_SQRT): Likewise.
9122 (FP_EX_INVALID_CVI): Likewise.
9123 (FP_EX_INVALID_VC): Likewise.
9124 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9125 "invalid" exceptions.
9126 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9127 (_FP_ADD_INTERNAL): Likewise.
9128 (_FP_MUL): Likewise.
9129 (_FP_FMA): Likewise.
9130 (_FP_DIV): Likewise.
9131 (_FP_CMP_CHECK_NAN): Likewise.
9132 (_FP_SQRT): Likewise.
9133 (_FP_TO_INT): Likewise.
9134 (FP_EXTEND): Likewise.
9136 2014-10-09 Allan McRae <allan@archlinux.org>
9138 * po/fr.po: Update French translation from translation project.
9140 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9143 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9145 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9146 (__cxa_atexit): Use libc_hidden_proto.
9147 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9150 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9152 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9153 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9154 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9155 [!_ISOMAC] (__iswctype_internal): Likewise.
9156 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9157 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9159 (fcntl): Remove __fcntl_internal alias.
9160 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9161 __connect_internal alias.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9165 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9166 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9168 (_FP_CHECK_FLUSH_ZERO): New macro.
9169 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9170 (_FP_CMP): Likewise.
9171 (_FP_CMP_EQ): Likewise.
9172 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9174 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9175 (FP_TRUNC): Likewise.
9177 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9178 treated as invalid conversion, not as normal exponent.
9180 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9181 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9182 (_FP_CMP_EQ): Likewise.
9183 (_FP_CMP_UNORD): Likewise.
9184 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9185 (FP_CMP_EQ_D): Likewise.
9186 (FP_CMP_UNORD_D): Likewise.
9187 * soft-fp/extended.h (FP_CMP_E): Likewise.
9188 (FP_CMP_EQ_E): Likewise.
9189 (FP_CMP_UNORD_E): Likewise.
9190 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9191 (FP_CMP_EQ_Q): Likewise.
9192 (FP_CMP_UNORD_Q): Likewise.
9193 * soft-fp/single.h (FP_CMP_S): Likewise.
9194 (FP_CMP_EQ_S): Likewise.
9195 (FP_CMP_UNORD_S): Likewise.
9196 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9197 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9198 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9199 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9200 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9201 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9202 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9203 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9204 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9205 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9206 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9207 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9208 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9210 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9212 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9213 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9215 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9217 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9218 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9219 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9220 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9222 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9224 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9225 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9227 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9229 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9230 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9231 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9232 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9235 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9236 a subnormal result, set the underflow exception if trapping on
9237 underflow is enabled.
9238 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9239 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9240 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9242 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9243 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9244 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9245 * soft-fp/extendxftf2.c (__extendxftf2): Use
9246 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9248 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9249 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9250 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9251 FP_HANDLE_EXCEPTIONS.
9252 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9253 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9254 FP_HANDLE_EXCEPTIONS.
9255 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9256 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9257 FP_HANDLE_EXCEPTIONS.
9258 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9259 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9260 FP_HANDLE_EXCEPTIONS.
9262 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9266 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9268 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9269 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9271 (__adjtimex): Define using libc_hidden_ver.
9272 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9274 (ntp_gettime): Call __adjtimex directly.
9275 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9277 (ntp_gettimex): Call __adjtimex directly.
9278 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9279 __adjtimex_internal alias.
9281 2014-10-08 Roland McGrath <roland@hack.frob.com>
9284 * nscd/nscd.c (more_help): Rewrite list of tables collection
9285 using xstrdup and asprintf.
9287 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9289 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9290 Roland McGrath <roland@hack.frob.com>
9292 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9293 (do_lookup_unique): ... local function 'enter' here; update callers.
9295 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9297 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9298 compat_symbol calls on [SHARED].
9299 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9300 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9302 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9303 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9304 (oldsetrlimit): Remove.
9305 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9307 (lchown): New syscall entry.
9308 (oldsetrlimit): Remove.
9309 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9311 (oldsetrlimit): Remove.
9312 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9315 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9316 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9317 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9318 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9319 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9320 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9322 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9327 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9329 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9330 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9331 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9332 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9333 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9335 (__old_sem_post): Likewise.
9337 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9339 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9340 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9341 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9342 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9343 Use INLINE_VSYSCALL macro.
9344 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9345 __vdso_clock_gettime.
9346 * sysdeps/unix/sysv/linux/tile/init-first.c
9347 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9348 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9349 __vdso_clock_gettime.
9351 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9352 to set up frame more cleanly.
9354 * sysdeps/tile/memcmp.c: New file.
9356 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9358 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9359 * sysdeps/tile/tilegx/strcasestr.c: New file.
9360 * sysdeps/tile/tilegx/strnlen.c: New file.
9361 * sysdeps/tile/tilegx/strstr.c: New file.
9363 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9365 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9367 * nptl/tst-setuid3.c: Write errors to stdout.
9369 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9372 (preload): New functions broken out of _dl_map_object_deps.
9373 (_dl_map_object_deps): Remove a nested function. Update call sites.
9375 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9379 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9381 2014-10-01 Steve Ellcey <sellcey@mips.com>
9383 * sysdeps/mips/strcmp.S: New.
9385 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9388 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9390 (mkdirat): Likewise.
9391 (readlinkat): Likewise.
9392 (renameat): Likewise.
9393 (symlinkat): Likewise.
9394 (unlinkat): Likewise.
9395 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9396 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9397 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9398 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9399 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9400 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9401 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9403 2014-09-30 Will Newton <will.newton@linaro.org>
9405 * math/math.h: Define long double math functions if
9406 _LIBC_TEST is defined.
9407 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9409 * localedata/Makefile: Move assignment to tests-special
9410 into an ifdef testing run-built-tests.
9411 * timezone/Makefile: Likewise.
9413 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9415 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9416 with $(BASH) not $(SHELL).
9418 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9419 Matthew LeGendre <legendre1@llnl.gov>
9422 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9425 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9427 * stdio-common/printf_fp.c
9428 (hack_digit): New function, broken out of ...
9429 (__printf_fp): ... local function here. Update call sites.
9430 hack_digit now takes an additional parameter that is a pointer
9431 to a struct of the referenced locals. Those locals moved inside
9432 the struct and references updated.
9434 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9436 * aclocal.m4: Require autoconf 2.69.
9437 * configure: Regenerated.
9438 * sysdeps/aarch64/configure: Likewise.
9439 * sysdeps/alpha/configure: Likewise.
9440 * sysdeps/arm/armv7/configure: Likewise.
9441 * sysdeps/arm/configure: Likewise.
9442 * sysdeps/ia64/configure: Likewise.
9443 * sysdeps/mach/configure: Likewise.
9444 * sysdeps/mips/configure: Likewise.
9445 * sysdeps/s390/configure: Likewise.
9446 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9449 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9451 * sysdeps/ia64/configure.ac: Likewise.
9453 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9456 specify symbol version for ld.so. Do not include entry for
9458 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9460 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9463 * Makeconfig [$(build-shared) = yes]
9464 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9466 [$(build-shared) = yes && $(soversions.mk-done) = t]
9467 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9468 [$(build-shared) = yes && $(soversions.mk-done) = t]
9469 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9471 [$(build-shared) = yes && $(soversions.mk-done) = t]
9472 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9474 [$(build-shared) = yes && $(soversions.mk-done) = t]
9475 (common-generated): Don't append gnu/lib-names.h and
9476 gnu/lib-names.stmp here.
9477 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9478 (lib-names-h-abi): New variable.
9479 [$(build-shared) = yes && $(soversions.mk-done) = t]
9480 (lib-names-stmp-abi): Likewise.
9481 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9482 abi-variants] (before-compile): Append
9483 $(common-objpfx)$(lib-names-h-abi).
9484 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9485 abi-variants] (common-generated): Append gnu/lib-names.h.
9486 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9487 abi-variants] (install-others-nosubdir): Depend on
9488 $(inst_includedir)/$(lib-names-h-abi).
9489 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9490 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9491 [$(build-shared) = yes && $(soversions.mk-done) = t]
9492 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9493 [$(build-shared) = yes && $(soversions.mk-done) = t]
9494 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9495 [$(build-shared) = yes && $(soversions.mk-done) = t]
9496 (common-generated): Append $(lib-names-h-abi) and
9497 $(lib-names-stmp-abi).
9498 * scripts/lib-names.awk: Do not handle multi being set.
9499 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9501 (abi-lp64_be-ld-soname): Likewise.
9502 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9504 (abi-hard-ld-soname): Likewise.
9505 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9506 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9508 (abi-o32_hard-ld-soname): Likewise.
9509 (abi-o32_soft_2008-ld-soname): Likewise.
9510 (abi-o32_hard_2008-ld-soname): Likewise.
9511 (abi-n32_soft-ld-soname): Likewise.
9512 (abi-n32_hard-ld-soname): Likewise.
9513 (abi-n32_soft_2008-ld-soname): Likewise.
9514 (abi-n32_hard_2008-ld-soname): Likewise.
9515 (abi-n64_soft-ld-soname): Likewise.
9516 (abi-n64_hard-ld-soname): Likewise.
9517 (abi-n64_soft_2008-ld-soname): Likewise.
9518 (abi-n64_hard_2008-ld-soname): Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9521 (abi-64-v2-ld-soname): Likewise.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9524 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9526 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9528 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9530 (abi-64-ld-soname): Likewise.
9531 (abi-x32-ld-soname): Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9534 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9536 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9539 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9540 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9541 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9543 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9544 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9545 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9546 syscall entry for GLIBC_2.2 symbol version.
9547 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9550 (setrlimit): Likewise.
9551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9554 2014-09-23 Will Newton <will.newton@linaro.org>
9556 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9557 _LINUX_ARM_SYSDEP_H include guard too.
9558 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9561 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9563 * sysdeps/unix/sysv/linux/eventfd.c:
9564 Make first argument unsigned.
9565 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9566 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9568 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9570 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9571 * socket/sys/socket.h: Likewise
9572 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9574 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9576 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9578 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9580 * time/tst-ftime.c: New test.
9581 * time/Makefile (tests): Add tst-ftime.
9583 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9585 * soft-fp/extended.h: Fix comment formatting.
9586 * soft-fp/op-1.h: Likewise.
9587 * soft-fp/op-2.h: Likewise.
9588 * soft-fp/op-4.h: Likewise.
9589 * soft-fp/op-8.h: Likewise.
9590 * soft-fp/op-common.h: Likewise.
9591 * soft-fp/soft-fp.h: Likewise.
9593 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9595 2014-09-16 Joseph Myers <joseph@codesourcery.com>
9598 * Makeconfig (soversions-default-setname): Remove variable.
9599 ($(common-objpfx)soversions.i): Don't pass default_setname to
9601 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9602 oldest_abi to abi-versions.awk.
9603 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9604 * config.make.in (oldest-abi): Remove variable.
9605 * configure.ac (--enable-oldest-abi): Remove configure option.
9606 * configure: Regenerated.
9607 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9609 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9610 * scripts/soversions.awk: Do not handle default_setname variable.
9611 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9613 * sysdeps/mach/hurd/configure: Regenerated.
9614 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9616 * sysdeps/unix/sysv/linux/configure: Regenerated.
9618 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9620 * elf/Makefile (CFLAGS-interp.c): Remove.
9621 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9623 * elf/interp.c: Include generated runtime-linker.h
9625 * Makerules (lib%.so): Don't include $(+interp) in
9627 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9628 * dlfcn/eval.c: Remove file.
9630 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9634 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9638 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9640 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9641 Jakub Jelinek <jakub@redhat.com>
9644 * libio/stdio.h: Check definition of __fortify_function
9645 instead of __extern_always_inline to include bits/stdio2.h.
9646 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9647 check if __extern_always_inline is defined.
9648 [__USE_MISC || __USE_XOPEN]: Likewise.
9649 [__USE_ISOC99] Likewise.
9650 * misc/sys/cdefs.h (__fortify_function): Define only if
9651 __extern_always_inline is defined.
9652 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9653 __extern_always_inline and __extern_inline only for g++-4.3
9654 and newer or a compatible gcc.
9656 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9659 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9660 last change to handle zero prefix length.
9662 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9664 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9667 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9670 2014-09-13 Allan McRae <allan@archlinux.org>
9672 * po/ru.po: Update Russian translation from translation project.
9674 2014-09-12 Roland McGrath <roland@hack.frob.com>
9676 * locale/programs/locale.c (show_locale_vars): Inline local function
9677 into its sole call site. Clean up some style nits.
9678 (print_item): New function, broken out of ...
9679 (show_info): ... local function here. Clean up style nits.
9681 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9683 (set_class_defaults): ... local function set_default here.
9684 Define set_default as a macro locally to pass constant parameters.
9685 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9686 rather than a shared local.
9688 * stdlib/rpmatch.c (try): New function, broken out of ...
9689 (rpmatch): ... local function here. Also, prototypify definition.
9691 2014-09-12 Joseph Myers <joseph@codesourcery.com>
9693 * scripts/soversions.awk: Do not handle configuration names.
9694 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9695 vendor and os variables to soversions.awk.
9696 * configure.ac: Do not modify gnu-* host_os.
9697 * configure: Regenerated
9698 * shlib-versions: Remove first column with configuration names.
9699 * nptl/shlib-versions: Likewise.
9700 * nptl_db/shlib-versions: Likewise.
9701 * sysdeps/hppa/shlib-versions: Likewise.
9702 * sysdeps/m68k/shlib-versions: Likewise.
9703 * sysdeps/mach/hurd/shlib-versions: Likewise.
9704 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9705 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9706 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9707 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9708 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9709 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9710 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9711 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9714 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9715 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9716 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9719 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9720 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9724 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9727 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9729 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9731 * shlib-versions: Remove OS-specific entries. Moved to files in
9733 * sysdeps/mach/hurd/shlib-versions: New file.
9734 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9736 * nptl/shlib-versions: Remove architecture-specific entries.
9737 Moved to files in sysdeps.
9738 * shlib-versions: Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9741 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9742 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9743 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9746 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9747 (UDP_NO_CHECK6_RX): Likewise.
9749 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9751 * sysdeps/posix/sysconf.c (__sysconf): Spell
9752 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9754 2014-08-12 Florian Weimer <fweimer@redhat.com>
9756 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9758 * iconv/Versions (__gconv_transliterate): Export for use from
9760 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9761 (struct __gconv_trans_data, __gconv_trans_fct,
9762 __gconv_trans_context_fct, __gconv_trans_query_fct,
9763 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9765 (struct __gconv_step_data): Remove __trans member.
9766 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9767 longer hidden. Remove unused trans_data argument.
9768 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9769 (__gconv_translit_find): Remove declaration.
9770 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9772 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9773 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9774 trans_data argument. Add hidden definition.
9775 (__gconv_translit_find): Remove.
9776 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9777 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9778 * iconv/skeleton.c: Remove transliteration initialization.
9779 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9780 __gconv_step_data initialization.
9781 * libio/iofwide.c (__libio_translit_): Remove.
9782 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9783 * wcsmbs/btowc.c (__btowc): Likewise.
9784 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9785 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9786 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9787 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9788 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9789 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9790 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9791 * wcsmbs/wctob.c (wctob): Likewise.
9793 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9797 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9799 * sysdeps/x86/Makefile: Adjust.
9801 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9802 Roland McGrath <roland@hack.frob.com>
9804 * locale/weight.h: Add include guard.
9805 (findidx): Make static rather than auto; take new parameters
9806 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9807 * locale/weightwc.h: Likewise.
9808 * posix/fnmatch_loop.c
9809 (FCT): Change type of EXTRA from int32_t to wint_t.
9810 Don't include either header inside the function.
9811 Call FINDIDX rather than findidx, and pass new arguments.
9812 #undef FINDIDX at the end of the file.
9813 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9814 FINDIDX before including fnmatch_loop.c for the non-wide version.
9815 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9816 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9817 for the wide version.
9818 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9819 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9820 Pass new arguments to findidx.
9821 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9822 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9823 Don't #include it inside the function. Pass new arguments to findidx.
9824 * posix/regex_internal.h
9825 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9826 (re_string_elem_size_at): Don't #include it inside the function.
9827 Pass new arguments to findidx.
9828 * string/strcoll_l.c: #include WEIGHT_H at top level.
9829 (get_next_seq): Don't #include it inside the function.
9830 Pass new arguments to findidx.
9831 (get_next_seq_nocache): Likewise.
9832 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9833 (STRXFRM): Don't #include it inside the function.
9834 Pass new arguments to findidx.
9836 2014-09-11 Florian Weimer <fweimer@redhat.com>
9839 * malloc/malloc.c (unlink): Turn asserts into a call to
9842 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
9845 * libio/wfileops (do_ftell_wide): Free OUT.
9847 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
9849 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9851 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9854 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9855 group if the current group is empty.
9857 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9859 * benchtests/bench-memset.c (test_main): Add more test from size
9860 from 32 to 512 bytes.
9861 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9862 Add POWER8 memset object.
9863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9864 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9865 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9867 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9869 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9870 multiarch POWER8 memset optimization.
9871 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9872 POWER8 memset optimization.
9874 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9875 Remove bzero multiarch objects.
9876 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9877 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9878 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9879 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9881 [__bzero]: Redefine to specific name.
9882 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9883 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9886 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9887 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9889 2014-09-10 Florian Weimer <fweimer@redhat.com>
9891 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9892 warnings into errors.
9894 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9895 __cxa_thread_atexit_impl prototype.
9897 2014-09-09 Steve Ellcey <sellcey@mips.com>
9899 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9900 Fix capitalization of error message.
9902 2014-09-09 Steve Ellcey <sellcey@mips.com>
9904 * sysdeps/mips/preconfigure: Modify ABI tests.
9906 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9908 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9910 2014-09-07 Roland McGrath <roland@hack.frob.com>
9911 Carlos O'Donell <carlos@systemhalted.org>
9913 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9914 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9915 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9916 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9917 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9918 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9919 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9920 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9921 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9922 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9923 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9924 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9925 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9926 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9927 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9928 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9929 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9930 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9931 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9932 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9933 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9934 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9935 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9936 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9937 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9938 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9939 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9940 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9941 Deconditionalize the code that was previously under [RESET_PID].
9942 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9943 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9944 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9945 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9948 2014-09-08 Allan McRae <allan@archlinux.org>
9950 * version.h (RELEASE): Set to "development".
9951 (VERSION): Set to "2.20.90"
9953 2014-09-07 Allan McRae <allan@archlinux.org
9955 * version.h (RELEASE): Set to "stable".
9956 (VERSION): Set to "2.20"
9957 * include/features.h (__GLIBC_MINOR__): Set to 20.
9959 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9962 * po/ko.po: Update Korean translation from translation project.
9964 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9967 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9968 macro for handling signed relocations.
9970 2014-09-03 Florian Weimer <fweimer@redhat.com>
9973 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9974 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9976 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9977 * iconvdata/ibm935.c (BODY): Likewise.
9978 * iconvdata/ibm937.c (BODY): Likewise.
9979 * iconvdata/ibm939.c (BODY): Likewise.
9980 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9982 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9984 * iconvdata/run-iconv-test.sh: New test loop for checking for
9987 2014-09-02 Khem Raj <raj.khem@gmail.com>
9989 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9992 2014-09-01 Allan McRae <allan@archlinux.org>
9994 * po/eo.po: Update Esperanto translation from translation project.
9996 * po/ca.po: Update Catalan translation from translation project.
9998 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10000 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10001 __proc_dostop call.
10003 2014-08-27 Mark Wielaard <mjw@redhat.com>
10006 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10007 to call set_thread_area instead of hand written asm.
10008 (__NR_set_thread_area): Removed define.
10009 (TLS_FLAG_WRITABLE): Likewise.
10010 (__ASSUME_SET_THREAD_AREA): Remove check.
10011 (TLS_EBX_ARG): Remove define.
10012 (TLS_LOAD_EBX): Likewise.
10014 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10016 Simplify atomicity of socket creation in bind.
10018 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10019 looking up the name after linking the file.
10021 2014-08-27 Allan McRae <allan@archlinux.org>
10023 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10025 2014-08-26 Florian Weimer <fweimer@redhat.com>
10028 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10029 trans_compare, open_translit, __gconv_translit_find):
10030 Remove module loading code.
10032 2014-08-26 Allan McRae <allan@archlinux.org>
10034 * po/vi.po: Update Vietnamese translation from translation project.
10036 * po/uk.po: Update Ukrainian translation from translation project.
10038 * po/fr.po: Update French translation from translation project.
10040 * po/ru.po: Update Russian translation from translation project.
10042 * po/pl.po: Update Polish translation from translation project.
10044 * po/cs.po: Update Czech translation from translation project.
10046 * po/de.po: Update German translation from translation project.
10048 * po/bg.po: Update Bulgarian translation from translation project.
10050 * po/sv.po: Update Sweedish translation from translation project.
10052 * po/nl.po: Update Dutch translation from translation project.
10054 * po/es.po: Update Spanish translation from translation project.
10056 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10058 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10060 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10061 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10062 (CPPFLAGS-iconvconfig): Likewise.
10063 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10065 * include/libc-symbols.h: Remove unnecessary check for
10067 * nptl/pthreadP.h: Likewise.
10068 * sysdeps/aarch64/setjmp.S: Likewise.
10069 * sysdeps/alpha/setjmp.S: Likewise.
10070 * sysdeps/arm/sysdep.h: Likewise.
10071 * sysdeps/i386/setjmp.S: Likewise.
10072 * sysdeps/m68k/setjmp.c: Likewise.
10073 * sysdeps/posix/getcwd.c: Likewise.
10074 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10076 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10077 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10078 * sysdeps/sh/sh3/setjmp.S: Likewise.
10079 * sysdeps/sh/sh4/setjmp.S: Likewise.
10080 * sysdeps/unix/alpha/sysdep.h: Likewise.
10081 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10082 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10083 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10084 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10089 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10092 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10094 * sysdeps/x86_64/setjmp.S: Likewise.
10096 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10101 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10102 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10104 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10106 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10109 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10110 and __x86_64__ when disabling x87 inline functions.
10112 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10115 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10116 asm statement with __cpuid_count.
10118 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10120 * configure.ac: Change __ehdr_start code to dereference the struct.
10121 Run readelf on the output to look for relocations.
10122 * configure: Regenerated.
10124 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10127 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10129 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10131 2014-08-12 Roland McGrath <roland@hack.frob.com>
10133 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10135 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10138 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10139 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10141 2014-08-12 Sean Anderson <seanga2@gmail.com>
10143 * malloc/malloc.c: Fix typo in comment.
10145 2014-08-09 Allan McRae <allan@archlinux.org>
10147 * Regenerate libc.po.
10149 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10151 * intl/tst-gettext2.sh: Check every lang file for creation.
10153 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10155 * sysdeps/aarch64/fpu/math_private.h
10156 (libc_feholdsetround_noex_aarch64_ctx): New function.
10158 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10160 * sysdeps/arm/armv6/strcpy.S (strcpy):
10161 Fix performance issue in misaligned cases.
10163 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10165 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10166 Move definition from termios.h.
10167 (struct termio): Likewise.
10168 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10169 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10170 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10171 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10173 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10174 Move definition to ioctl-types.h
10175 (struct termio): Likewise.
10176 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10177 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10178 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10179 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10182 2014-08-05 Richard Henderson <rth@redhat.com>
10184 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10186 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10188 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10189 Use __feraiseexcept.
10190 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10191 Protect libm symbols with IS_IN_libm.
10193 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10195 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10197 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10199 2014-08-04 Will Newton <will.newton@linaro.org>
10201 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10204 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10206 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10207 variants for each function.
10209 2014-08-04 Roland McGrath <roland@hack.frob.com>
10211 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10213 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10214 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10216 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10217 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10218 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10219 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10220 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10221 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10222 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10223 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10224 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10225 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10234 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10236 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10238 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10240 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10242 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10243 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10244 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10246 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10250 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10251 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10252 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10253 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10254 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10255 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10256 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10258 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10259 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10260 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10261 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10262 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10263 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10264 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10265 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10266 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10267 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10268 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10270 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10271 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10273 2014-08-04 Roland McGrath <roland@hack.frob.com>
10275 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10276 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10277 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10278 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10279 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10280 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10282 2014-08-04 Roland McGrath <roland@hack.frob.com>
10284 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10285 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10286 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10287 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10289 2014-08-04 Roland McGrath <roland@hack.frob.com>
10291 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10292 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10293 (__libc_vfork): Define function under this name.
10294 (__vfork): Define as an alias.
10295 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10296 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10298 2014-08-04 Roland McGrath <roland@hack.frob.com>
10300 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10301 that was previously under [RESET_PID].
10302 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10304 2014-08-04 Andreas Schwab <schwab@suse.de>
10306 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10308 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10310 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10313 2014-08-01 Roland McGrath <roland@hack.frob.com>
10315 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10317 2014-08-01 Richard Henderon <rth@redhat.com>
10319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10320 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10321 typo in exact zero test.
10322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10326 2014-08-01 Roland McGrath <roland@hack.frob.com>
10328 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10329 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10330 * sysdeps/arm/sysdep.h: ... here.
10331 [!__ASSEMBLER__]: Include <stdint.h>.
10333 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10335 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10336 (HAVE_WCTYPE_H): Likewise.
10337 (HAVE_ISWCTYPE): Likewise.
10338 (ENABLE_NLS): Likewise.
10339 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10340 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10342 * posix/regex_internal.c: Check if DEBUG is defined and is
10345 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10346 (HAVE_MBSRTOWCS): Likewise.
10347 * posix/fnmatch.c: Include string.h unconditionally.
10349 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10351 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10354 2014-07-31 Roland McGrath <roland@hack.frob.com>
10356 * sysdeps/generic/safe-fatal.h: New file.
10357 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10358 * nptl/forward.c: Include it.
10359 (__pthread_unwind): Use __safe_fatal as default action, rather
10360 than a bogus use of INTERNAL_SYSCALL that could never work.
10362 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10363 * configure.ac (libc_cv_builtin_trap): New test.
10364 * configure: Regenerated.
10365 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10366 (ABORT_INSTRUCTION): Define using __builtin_trap.
10368 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10369 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10370 * sysdeps/nptl/nptl-signals.h: New file.
10371 * nptl/pthreadP.h: Include <nptl-signals.h>.
10373 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10375 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10376 (ONE_DIRECTION): Define.
10377 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10378 (ONE_DIRECTION): Define.
10379 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10380 (ONE_DIRECTION): Define.
10382 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10384 * sysdeps/s390/Makefile: Delete file.
10385 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10386 * sysdeps/s390/__longjmp.c: Delete file.
10387 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10388 Remove fields __flags and __reserved.
10389 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10390 and add versioning.
10391 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10392 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10393 * sysdeps/s390/rtld-setjmp.S: Likewise.
10394 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10395 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10396 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10397 * sysdeps/s390/s390-32/setjmp.S: ... here.
10399 (__sigsetjmp): Remove setting __flags field.
10400 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10401 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10402 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10403 * sysdeps/s390/s390-64/setjmp.S: ... here.
10405 (__sigsetjmp): Remove setting __flags field.
10406 * sysdeps/s390/setjmp.S: Delete file.
10407 * sysdeps/s390/sigjmp.c: Likewise.
10408 * sysdeps/s390/v1-longjmp.c: Likewise.
10409 * sysdeps/s390/v1-setjmp.h: Likewise.
10410 * sysdeps/s390/v1-sigjmp.c: Likewise.
10411 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10412 Remove v1-longjmp_chk.
10413 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10414 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10415 Include debug/longjmp_chk.c and add versioning.
10416 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10417 Include nptl/pt-longjmp.c and add versioning.
10418 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10419 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10420 Include __longjmp.c.
10421 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10423 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10424 (__getcontext): Remove setting __flags field.
10426 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10427 Don't restore upper high grps.
10428 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10430 (__swapcontext): Remove setting uc_flags field.
10431 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10433 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10434 Include __longjmp.c.
10435 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10437 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10438 (__getcontext): Remove setting __flags field.
10440 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10441 (__swapcontext): Remove setting uc_flags field.
10442 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10443 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10444 Remove fields uc_high_gprs and __reserved.
10445 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10446 New file with reverted content.
10447 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10448 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10450 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10453 2014-07-31 Andreas Schwab <schwab@suse.de>
10455 * config.h.in (HAVE_IFUNC): Define to 0.
10456 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10459 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10462 memmove-avx-unaligned, memcpy-avx-unaligned and
10463 mempcpy-avx-unaligned.
10464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10465 Add tests for AVX memcpy functions.
10466 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10467 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10469 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10470 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10472 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10473 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10475 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10476 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10477 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10479 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10482 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10485 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10488 * manual/llio.texi: Add section about open file description locks.
10489 * manual/examples/ofdlocks.c: Example of open file description
10491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10492 F_OFD_SETLK, and F_OFD_SETLKW.
10494 2014-07-23 Allan McRae <allan@archlinux.org>
10496 * po/es.po: Update Spanish translation from translation project.
10498 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10500 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10502 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10505 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10506 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10507 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10509 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10512 * math/fesetenv.c (__fesetenv)
10513 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10514 * math/feupdateenv.c (__feupdateenv)
10515 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10517 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10518 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10519 (__ASSUME_SOCKETCALL): Do not define.
10521 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10522 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10523 (__ASSUME_SOCKETCALL): Do not define.
10524 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10525 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10526 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10527 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10528 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10529 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10530 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10531 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10533 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10534 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10535 (__ASSUME_SOCKETCALL): Do not define.
10536 (__ASSUME_IPC64): Define unconditionally.
10537 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10538 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10539 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10540 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10541 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10542 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10543 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10546 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10547 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10548 (__ASSUME_SOCKETCALL): Do not define.
10549 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10550 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10551 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10552 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10553 (__ASSUME_REQUEUE_PI): Define unconditionally.
10554 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10555 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10556 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10557 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10558 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10559 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10561 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10562 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10563 (__ASSUME_SOCKETCALL): Do not define.
10564 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10565 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10566 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10567 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10568 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10569 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10571 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10572 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10573 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10574 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10575 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10576 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10577 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10578 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10579 (__ASSUME_GETCPU_SYSCALL): Likewise.
10581 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10582 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10583 cases for individual architectures.
10584 * sysdeps/gnu/configure: Regenerated.
10585 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10586 LIBC_SLIBDIR_RTLDDIR.
10587 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10588 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10589 LIBC_SLIBDIR_RTLDDIR.
10590 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10592 LIBC_SLIBDIR_RTLDDIR.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10595 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10596 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10598 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10599 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10601 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10602 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10603 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10604 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10606 * sysdeps/aarch64/shlib-versions: Move to ...
10607 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10608 * sysdeps/alpha/shlib-versions: Move to ...
10609 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10610 * sysdeps/arm/shlib-versions: Move to ...
10611 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10612 * sysdeps/hppa/shlib-versions: Move all contents except for
10613 libgcc_s entry to ...
10614 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10616 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10617 * sysdeps/ia64/shlib-versions: Move to ...
10618 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10620 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10621 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10622 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10623 * sysdeps/microblaze/shlib-versions: Move to ...
10624 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10625 * sysdeps/mips/shlib-versions: Move to ...
10626 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10628 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10629 * sysdeps/tile/shlib-versions: Move to ...
10630 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10631 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10633 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10634 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10636 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10638 2014-07-17 Will Newton <will.newton@linaro.org>
10640 * sysdeps/arm/bits/atomic.h
10641 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10642 (__arch_compare_and_exchange_bool_16_int): Likewise.
10643 (__arch_compare_and_exchange_bool_64_int): Likewise.
10645 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10646 into an #else block.
10648 2014-07-16 Roland McGrath <roland@hack.frob.com>
10650 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10651 just Linux configurations. Test empirically that the compiler sets
10652 __ARM_EABI__, rather than using the tuple to decide.
10653 * sysdeps/arm/preconfigure: Regenerated.
10654 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10655 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10656 contents appended ...
10657 * sysdeps/arm/configure.ac: ... here.
10658 * sysdeps/arm/configure: Regenerated.
10660 2014-07-15 Roland McGrath <roland@hack.frob.com>
10662 * nptl/pthread_kill.c: New file.
10663 * nptl/pthread_sigmask.c: New file.
10664 * nptl/pthread_sigqueue.c: New file.
10666 * sysdeps/nptl/lowlevellock.h: New file.
10667 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10668 * sysdeps/nptl/lowlevellock-futex.h: New file.
10670 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10671 Remove dead declarations.
10673 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10675 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10676 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10677 config-cflags-avx2.
10678 * sysdeps/x86_64/configure.ac: Likewise.
10679 * sysdeps/i386/configure: Regenerated.
10680 * sysdeps/x86_64/configure: Likewise.
10681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10682 memset-avx2 only if config-cflags-avx2 is yes.
10683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10684 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10686 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10687 only if HAVE_AVX2_SUPPORT is defined.
10688 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10690 2014-07-14 Alan Modra <amodra@gmail.com>
10693 * elf/elf.h (DT_PPC64_NUM): Correct value.
10694 * NEWS: Add to fixed bug list.
10696 2014-07-13 Jim Meyering <meyering@fb.com>
10699 regex: don't deref NULL upon heap allocation failure
10700 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10701 failure in one more place.
10702 To trigger the segfault, configure grep -with-included-regex,
10703 build it, and run these commands:
10704 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10706 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10708 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10710 2014-07-11 Richard Henderson <rth@redhat.com>
10712 * sysdeps/aarch64/libm-test-ulps: Update.
10714 2014-07-10 Florian Weimer <fweimer@redhat.com>
10717 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10718 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10719 (__nptl_setxid): Initialize error member. Call
10720 __nptl_setxid_error.
10721 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10722 * nptl/descr.h (struct xid_command): Add error member.
10723 * nptl/tst-setuid3.c: New file.
10724 * nptl/Makefile (tests): Add it.
10726 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10728 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10730 (__lll_trylock): Use __lll_base_trylock.
10731 (__lll_cond_trylock): Likewise.
10733 2014-07-10 Roland McGrath <roland@hack.frob.com>
10735 * nptl/pthread_create.c (start_thread): Use atomic_or and
10736 lll_futex_wake directly rather than lll_robust_dead.
10737 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10738 (lll_robust_dead): Macro removed.
10739 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10740 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10741 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10742 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10744 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10745 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10746 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10747 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10748 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10750 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10752 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10755 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10756 Use atomic_compare_and_exchange_val_acq directly rather than
10757 lll_robust_trylock.
10758 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10759 (__lll_robust_trylock, lll_robust_trylock): Removed.
10760 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10761 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10764 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10765 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10766 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10767 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10769 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10770 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10772 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10773 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10775 2014-07-02 Florian Weimer <fweimer@redhat.com>
10777 * manual/locale.texi (Locale Names): New section documenting
10778 locale name syntax. Adjust menu and node chaining accordingly.
10779 (Choosing Locale): Reference Locale Names, Locale Categories.
10780 Mention setting LC_ALL=C. Reflect that name syntax is now
10782 (Locale Categories): New section title. Reference Locale Names.
10783 LC_ALL is an environment variable, but not a category.
10784 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10785 description, now in Locale Name. Reference that section. Locale
10786 name syntax is now documented.
10788 2014-07-02 Florian Weimer <fweimer@redhat.com>
10791 * locale/findlocale.c (name_present, valid_locale_name): New
10793 (_nl_find_locale): Use the loc_name variable to store name
10794 candidates. Call name_present and valid_locale_name to check and
10795 validate locale names. Return an error if the locale is invalid.
10797 2014-07-02 Florian Weimer <fweimer@redhat.com>
10799 * locale/setlocale.c (setlocale): Use strdup for allocating
10800 composite name copy.
10802 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10804 Sync up with gnulib.
10805 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10806 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10807 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10808 and _GL_ARG_NONNULL.
10809 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10810 [!_LIBC]: Include code for Windows and Cygwin.
10811 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10812 Include prototype for int strerror_r.
10813 [!_LIBC] (is_open): New function.
10814 (flush_stdout): New function.
10815 (print_errno_message): Use it.
10817 (error_at_line): Likewise.
10818 (error_tail) Add function attribute macros. Use
10821 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10823 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10825 * io/ftw.c: Include sys/param.h unconditionally.
10827 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10830 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10832 (freecache): New function to free CACHE on exit.
10834 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10837 2014-07-09 David S. Miller <davem@davemloft.net>
10839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10841 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10842 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10843 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10844 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10845 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10846 * sysdeps/sparc/nptl/sem_init.c: Likewise.
10847 * sysdeps/sparc/nptl/sem_post.c: Likewise.
10848 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10849 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10850 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10851 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10852 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10853 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10855 2014-07-09 Andreas Schwab <schwab@suse.de>
10857 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10859 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10860 (do_test): Likewise.
10862 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10864 2014-07-09 Will Newton <will.newton@linaro.org>
10866 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10867 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10868 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10869 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10870 * sysdeps/hppa/start.S (_start): Likewise.
10872 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10874 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10876 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10879 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10881 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10882 after checking that it is non-NULL.
10884 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10886 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888 * sysdeps/powerpc/memmove.c: Remove file.
10889 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10890 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10892 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10894 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10895 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10896 string memmove instead of removed powerpc one.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10899 [weak_alias]: Fix compiler warning due trailing data.
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10901 [weak_alias]: Likewise.
10902 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10903 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10906 (__libc_ifunc_impl_list): Add memmove functions.
10908 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10912 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10914 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10916 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10918 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10920 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10922 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10924 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10926 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10928 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10930 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10932 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10934 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10936 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10938 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10940 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10942 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10945 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10948 to avoid alignment traps in non-cacheable memory.
10949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10954 file: multiarch power7 memmove.
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10956 multiarch default memmove.
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10958 multiarch memove for powerpc32/power4.
10960 * string/bcopy.c: Use full path to include memmove.c.
10961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10963 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10964 bcopy for powerpc64.
10965 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10966 bcopy for powerpc64.
10967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10968 and memmove implementations.
10969 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10970 optimized multiarch memmove for POWER7/powerpc64.
10971 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10972 default multiarch memmove for powerpc64.
10973 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10974 multiarch for powerpc64.
10975 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10976 for POWER7/powerpc64.
10977 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10978 memmove for POWER7/powerpc64.
10980 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10983 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10984 __ELF_NATIVE_CLASS equal to 64.
10986 2014-07-07 Roland McGrath <roland@hack.frob.com>
10988 * sysdeps/nptl/lowlevellock.h: File removed.
10990 * NEWS: NPTL is no longer an add-on!
10991 * nptl/internaltypes.h: Moved ...
10992 * sysdeps/nptl/internaltypes.h: ... here.
10993 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10994 * sysdeps/nptl/fork.c: Likewise.
10995 * sysdeps/nptl/gai_misc.h: Likewise.
10996 * sysdeps/nptl/librt-cancellation.c: Likewise.
10997 * sysdeps/nptl/jmp-unwind.c: Likewise.
10998 * sysdeps/nptl/setxid.h: Likewise.
10999 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11000 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11001 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11002 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11003 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11004 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11005 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11006 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11007 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11008 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11010 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11011 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11012 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11013 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11014 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11016 * nptl/Makeconfig: Moved ...
11017 * sysdeps/nptl/Makeconfig: ... here.
11018 * nptl/configure: File removed.
11019 * nptl/ANNOUNCE: File removed.
11020 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11021 * sysdeps/unix/sysv/linux/configure: Regenerated.
11023 * nptl/Makefile (routines): Add libc_pthread_init,
11024 libc_multiple_threads, register-atfork and unregister-atfork.
11025 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11026 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11027 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11028 pthread-pi-defines.sym, structsem.sym.
11029 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11030 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11031 [$(subdir) = nptl] (tests): Add tst-setgetname.
11032 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11033 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11034 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11035 [!LIBC_SIGACTION]: Remove aliases.
11036 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11037 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11038 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11039 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11040 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11041 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11043 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11045 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11046 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11047 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11048 __libc_allocate_rtsig_private.
11049 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11050 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11051 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11052 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11053 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11054 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11055 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11056 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11057 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11058 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11059 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11060 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11061 * nptl/internaltypes.h: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11063 * sysdeps/nptl/jmp-unwind.c: ... here.
11064 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11065 * nptl/libc-lowlevellock.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11067 * nptl/libc_multiple_threads.c: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11069 * nptl/libc_pthread_init.c: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11071 * nptl/lowlevelbarrier.sym: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11073 * nptl/lowlevelcond.sym: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11075 * nptl/lowlevellock.c: ... here.
11076 * nptl/lowlevellock.h: Moved ...
11077 * sysdeps/nptl/lowlevellock.h: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11079 * nptl/lowlevelrobustlock.c: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11081 * nptl/lowlevelrobustlock.sym: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11083 * nptl/lowlevelrwlock.sym: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11085 * nptl/pt-fork.c: ... here.
11086 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11087 * nptl/pthread-pi-defines.sym: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11089 * nptl/pthread_attr_getaffinity.c: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11091 * nptl/pthread_attr_setaffinity.c: ... here.
11092 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11093 * nptl/pthread_mutex_cond_lock.c: ... here.
11094 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11096 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11097 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11098 * nptl/pthread_once.c: ... here, replacing old file.
11099 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11100 * nptl/pthread_yield.c: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11102 * nptl/register-atfork.c: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11104 * nptl/sem_post.c: ... here.
11105 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11106 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11107 * nptl/sem_timedwait.c: ... here.
11108 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11109 * nptl/sem_trywait.c: ... here.
11110 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11111 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11112 * nptl/sem_wait.c: ... here.
11113 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11114 * nptl/structsem.sym: ... here.
11115 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11116 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11117 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11118 * nptl/unregister-atfork.c: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11120 * nptl/unwindbuf.sym: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11122 * sysdeps/nptl/fork.c: ... here.
11123 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11124 * sysdeps/nptl/fork.h: ... here.
11125 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11126 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11127 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11129 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11131 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11132 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11133 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11134 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11135 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11137 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11139 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11140 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11141 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11143 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11144 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11145 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11147 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11149 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11151 * sysdeps/unix/sysv/linux/raise.c: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11153 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11155 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11157 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11159 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11161 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11163 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11165 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11166 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11168 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11170 * sysdeps/generic/memcopy.h: Add comment for
11171 MEMCPY_OK_FOR_FWD_MEMMOVE.
11173 2014-07-04 Will Newton <will.newton@linaro.org>
11175 * string/memchr.c: Merge from gnulib.
11176 [_LIBC]: Remove conditionals.
11177 (__ptr_t): Remove define.
11178 (LONG_MAX_32_BITS): Likewise.
11179 (LONG_MAX): Likewise.
11180 (MEMCHR): Use ANSI prototype and optimize algorithm.
11182 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11184 2014-07-03 Roland McGrath <roland@hack.frob.com>
11186 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11187 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11189 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11190 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11191 in a bare environment with no <stdlib.h> installed.
11192 * sysdeps/nptl/configure: Regenerated.
11194 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11196 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11197 AC_EGREP_CPP for kernel header checks, so they only succeed if
11198 including <linux/version.h> actually works right.
11199 * sysdeps/unix/sysv/linux/configure: Regenerated.
11201 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11202 value so it's not diagnosed as unused.
11204 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11205 thing) with "ifeq ($(subdir),rt)".
11207 2014-07-03 Richard Henderson <rth@redhat.com>
11209 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11210 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11211 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11213 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11214 (math_force_eval): New.
11216 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11217 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11219 * sysdeps/alpha/fpu/s_round.c: Remove file.
11220 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11222 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11223 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11224 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11225 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11226 (_dl_start, print_statistics): Likewise.
11227 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11228 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11230 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11231 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11232 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11233 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11235 (HP_SMALL_TIMING_AVAIL): Define.
11236 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11238 (HP_SMALL_TIMING_AVAIL): Define.
11239 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11240 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11242 * sysdeps/aarch64/hp-timing.h: New file.
11244 * sysdeps/generic/hp-timing.h: Remove dead comment.
11245 * sysdeps/generic/hp-timing-common.h: New file.
11246 * sysdeps/alpha/hp-timing.h: Include it.
11247 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11248 * sysdeps/i386/i686/hp-timing.h: Likewise.
11249 * sysdeps/ia64/hp-timing.h: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11251 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11252 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11253 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11254 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11255 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11256 (hp_timing_t): New.
11258 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11259 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11260 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11261 * elf/rtld.c (_dl_start_final): Likewise.
11262 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11263 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11264 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11265 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11266 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11267 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11268 (HP_TIMING_DIFF_INIT): Remove.
11269 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11270 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11271 (HP_TIMING_DIFF_INIT): Remove.
11272 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11273 * sysdeps/i386/i686/hp-timing.c: Remove file.
11274 * sysdeps/x86_64/hp-timing.c: Remove file.
11275 * sysdeps/ia64/hp-timing.c: Remove file.
11276 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11277 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11278 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11279 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11281 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11282 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11283 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11284 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11285 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11286 (HP_TIMING_ACCUM): Remove.
11287 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11288 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11289 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11291 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11292 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11293 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11294 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11295 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11296 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11297 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11298 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11300 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11302 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11304 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11306 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11308 Sync up with gettext.
11309 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11310 [_MSC_VER]: Include malloc.h
11311 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11312 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11313 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11314 TEMP_FAILURE_RETRY. Cast return of alloca.
11315 [!_LIBC] Call gl_rwlock_init.
11316 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11318 2014-07-02 Roland McGrath <roland@hack.frob.com>
11320 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11321 before checking its value.
11323 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11325 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11327 * debug/memcpy_chk.c: Don't include pagecopy.h.
11328 * debug/mempcpy_chk.c: Likewise.
11329 * string/memcpy.c: Likewise.
11330 * string/memmove.c: Likewise.
11331 * sysdeps/powerpc/memmove.c: Likewise.
11332 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11333 definition of PAGE_COPY_FWD_MAYBE here...
11334 * sysdeps/generic/pagecopy.h: ... from here.
11335 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11337 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11338 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11340 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11344 (__libc_ifunc_impl_list): Likewise.
11345 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11346 multiarch strcat for PPC64.
11347 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11348 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11350 2014-07-02 Roland McGrath <roland@hack.frob.com>
11352 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11354 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11356 * intl/loadmsgcat.c: Remove declaration of
11357 get_sysdep_segment_value.
11358 (get_sysdep_segment_value): Use ISO C style.
11359 (_nl_load_domain): Use ISO C style. Get rid of redundant
11360 semicolon. Fix typo and formatting in comment.
11361 (_nl_unload_domain): Use ISO C style.
11363 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11365 2014-07-02 Will Newton <will.newton@linaro.org>
11367 * malloc/obstack.c: Merge from gnulib master.
11368 [HAVE_CONFIG_H]: Remove conditional code.
11369 [!_LIBC]: Include config.h.
11370 [!ELIDE_CODE]: Don't include inttypes.h, include
11371 stdint.h unconditionally.
11372 (print_and_abort): Mark as _Noreturn.
11373 (_obstack_allocated_p): Mark as __attribute_pure__.
11374 (obstack_free): Rename to __obstack_free.
11375 [!__attribute__]: Remove conditional code.
11376 * malloc/obstack.h: Merge from gnulib master.
11377 [__cplusplus]: Move conditional down.
11378 [!__attribute_pure__]: Define __attribute_pure__ here
11379 if it is not already defined.
11380 (_obstack_memory_used): Mark as __attribute_pure__.
11381 [!__obstack_free]: Define as obstack_free.
11382 [__GNUC__]: Remove check for ancient NeXT gcc.
11384 2014-07-02 Will Newton <will.newton@linaro.org>
11385 Paul Eggert <eggert@cs.ucla.edu>
11387 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11389 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11391 * resolv/gethnamaddr.c: Add comment warning that the file is
11394 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11396 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11399 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11400 entry for aio_cancel and aio_cancel64.
11401 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11402 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11403 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11404 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11405 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11406 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11407 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11408 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11409 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11410 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11411 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11412 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11413 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11415 2014-07-01 Roland McGrath <roland@hack.frob.com>
11417 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11418 * nptl/pthread_mutex_lock.c: Likewise.
11419 * nptl/pthread_mutex_timedlock.c: Likewise.
11420 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11422 2014-07-01 Richard henderson <rth@redhat.com>
11424 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11425 (__isnan, __isnanl): Remove.
11426 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11428 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11430 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11434 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11436 * resolv/nss_dns/dns-host.c (getanswer_r)
11437 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11439 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11442 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11444 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11445 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11447 2014-07-01 Roland McGrath <roland@hack.frob.com>
11449 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11450 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11452 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11453 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11455 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11456 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11458 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11459 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11461 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11462 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11463 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11464 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11466 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11467 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11468 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11469 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11470 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11472 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11474 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11475 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11476 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11477 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11478 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11479 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11481 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11482 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11483 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11484 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11485 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11486 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11491 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11493 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11495 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11496 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11497 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11498 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11499 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11500 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11501 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11502 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11504 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11506 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11507 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11508 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11511 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11515 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11517 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11518 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11520 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11522 * sysdeps/arm/libm-test-ulps: Regenerated.
11524 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11525 Roland McGrath <roland@hack.frob.com>
11527 * test-skeleton.c (signal_handler): Kill the whole process group
11528 before killing the child individually.
11529 (main): Report any failure on `setpgid'.
11531 2014-06-30 Roland McGrath <roland@hack.frob.com>
11533 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11534 from _TLS_H to _ARM_NPTL_TLS_H.
11535 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11536 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11538 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11541 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11542 (__expm1l): Return argument unchanged when small but not
11545 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11546 include macro name.
11547 (_FP_UNPACK_RAW_1_P): Likewise.
11548 (_FP_PACK_RAW_1): Likewise.
11549 (_FP_PACK_RAW_1_P): Likewise.
11550 (_FP_MUL_MEAT_1_wide): Likewise.
11551 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11552 (_FP_MUL_MEAT_1_hard): Likewise.
11553 (_FP_DIV_MEAT_1_imm): Likewise.
11554 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11555 (_FP_DIV_MEAT_1_udiv): Likewise.
11556 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11557 (_FP_UNPACK_RAW_2): Likewise.
11558 (_FP_UNPACK_RAW_2_P): Likewise.
11559 (_FP_PACK_RAW_2): Likewise.
11560 (_FP_PACK_RAW_2_P): Likewise.
11561 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11562 (_FP_MUL_MEAT_2_wide): Likewise.
11563 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11564 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11565 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11566 (_FP_MUL_MEAT_2_gmp): Likewise.
11567 (_FP_DIV_MEAT_2_udiv): Likewise.
11568 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11569 (_FP_FRAC_SRL_4): Likewise.
11570 (_FP_FRAC_SRST_4): Likewise.
11571 (_FP_FRAC_SRS_4): Likewise.
11572 (_FP_UNPACK_RAW_4): Likewise.
11573 (_FP_UNPACK_RAW_4_P): Likewise.
11574 (_FP_PACK_RAW_4): Likewise.
11575 (_FP_PACK_RAW_4_P): Likewise.
11576 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11577 (_FP_MUL_MEAT_4_wide): Likewise.
11578 (_FP_MUL_MEAT_4_gmp): Likewise.
11579 (umul_ppppmnnn): Likewise.
11580 (_FP_DIV_MEAT_4_udiv): Likewise.
11581 (__FP_FRAC_ADD_4): Likewise.
11582 (__FP_FRAC_SUB_3): Likewise.
11583 (__FP_FRAC_SUB_4): Likewise.
11584 (__FP_FRAC_DEC_3): Likewise.
11585 (__FP_FRAC_DEC_4): Likewise.
11586 (__FP_FRAC_ADDI_4): Likewise.
11587 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11588 (_FP_FRAC_SRL_8): Likewise.
11589 (_FP_FRAC_SRS_8): Likewise.
11591 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11592 include macro name.
11593 (FP_UNPACK_RAW_EP): Likewise.
11594 (FP_PACK_RAW_E): Likewise.
11595 (FP_PACK_RAW_EP): Likewise.
11596 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11597 (_FP_ISSIGNAN): Likewise.
11598 (_FP_ADD_INTERNAL): Likewise.
11599 (_FP_FMA): Likewise.
11600 (_FP_CMP): Likewise.
11601 (_FP_SQRT): Likewise.
11602 (_FP_TO_INT): Likewise.
11603 (_FP_FROM_INT): Likewise.
11604 (FP_EXTEND): Likewise.
11605 (_FP_DIV_MEAT_N_loop): Likewise.
11607 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11609 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11612 2014-06-29 Joseph Myers <joseph@codesourcery.com>
11615 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11616 result with correct sign in case of exponents that produce
11617 overflow except for X very close to 1.
11619 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11621 mktime: merge #if/#ifdef usage from glibc
11622 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11623 as that works with both Glibc's and Gnulib's style.
11624 See thread starting at Siddhesh Poyarekar's bug report at:
11625 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11627 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11629 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11630 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11631 * sysdeps/tile/tilegx/memmove.c: Remove file.
11633 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11635 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11636 abi-name definition.
11637 * scripts/soversions.awk: Do not handle or generate ABI lines.
11638 * shlib-versions: Remove ABI entries.
11639 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11640 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11642 2014-06-27 Roland McGrath <roland@hack.frob.com>
11644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11645 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11646 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11647 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11652 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11659 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11668 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11675 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11678 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11680 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11683 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11689 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11690 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11692 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11694 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11695 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11697 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11698 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11700 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11705 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11708 Identical file removed.
11709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11711 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11712 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11713 Identical file removed.
11714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11718 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11719 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11720 Identical file removed.
11721 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11722 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11723 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11724 Identical file removed.
11725 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11726 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11728 Identical file removed.
11729 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11730 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11731 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11732 Identical file removed.
11733 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11735 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11737 Identical file removed.
11738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11741 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11742 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11744 Identical file removed.
11745 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11747 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11750 Identical file removed.
11751 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11753 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11754 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11755 Identical file removed.
11756 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11758 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11760 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11762 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11763 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11765 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11766 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11767 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11769 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11770 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11771 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11772 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11773 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11775 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
11778 * nscd/nscd.c (monitor_child): Return exit status of child
11779 instead of return value from wait syscall.
11781 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11783 * configure.ac (libc_commonpagesize): Remove variable.
11784 (libc_relro_required): Likewise.
11785 (libc_cv_z_relro): Remove configure test.
11786 * configure: Regenerated.
11787 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11789 (libc_relro_required): Likewise.
11790 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11791 (libc_relro_required): Likewise.
11792 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11793 (libc_relro_required): Likewise.
11794 * sysdeps/arm/preconfigure: Regenerated.
11795 * sysdeps/ia64/preconfigure: Remove file.
11796 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11798 (libc_relro_required): Likewise.
11802 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11803 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11804 recompute overflowing results in original rounding mode.
11805 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11806 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11807 recompute overflowing results in original rounding mode.
11808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11809 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11810 recompute overflowing results in original rounding mode.
11811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11812 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11813 recompute overflowing results in original rounding mode.
11814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11815 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11816 recompute overflowing results in original rounding mode.
11817 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11818 (libc_feholdsetround_ctx): New macro.
11819 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11820 * sysdeps/i386/fpu/libm-test-ulps: Update.
11821 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11823 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11825 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11826 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11827 corresponding .cpsetup call.
11829 2014-06-26 Roland McGrath <roland@hack.frob.com>
11831 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11832 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11833 * sysdeps/arm/Makefile [$(subdir) = csu]
11834 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11835 (static-only-routines): Add aeabi_read_tp here.
11836 (shared-only-routines): Add libc-aeabi_read_tp here.
11837 (CFLAGS-libc-start.c): Add -fexceptions here.
11838 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11839 (sysdep_routines, static-only-routines, shared-only-routines):
11840 Don't add to these here.
11841 (CFLAGS-libc-start.c): Likewise.
11843 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11844 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11845 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11846 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11847 * sysdeps/arm/Makefile [$(subdir) = rt]
11848 (librt-sysdep_routines, librt-shared-only-routines):
11849 Append rt-aeabi_unwind_cpp_pr1 here.
11850 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11851 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11852 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11853 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11854 Append nptl-aeabi_unwind_cpp_pr1 here.
11855 (tests): Filter out tst-cleanupx4 here.
11856 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11857 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11858 Don't do those here.
11860 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11862 * scripts/list-sources.sh: Do not handle ports specially.
11864 2014-06-26 Roland McGrath <roland@hack.frob.com>
11866 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11867 * sysdeps/arm/feupdateenv.c: Likewise.
11869 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11871 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11873 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11874 trailing whitespace removed.
11875 * scripts/config.guess: Update to version 2014-03-23.
11876 * scripts/config.sub: Update to version 2014-05-01
11877 * scripts/install-sh: Update to version 2013-12-25.23.
11878 * scripts/move-if-change: Update from gnulib.
11880 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * debug/memmove_chk.c: Remove pagecopy.h include.
11884 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11886 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11887 identical to gnulib mktime.
11889 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11891 * configure.ac: Do not test for machine being rs6000. Do not test
11892 for powerpc*-*soft.
11893 * configure: Regenerated.
11896 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11898 * configure: Regenerated.
11899 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11900 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11901 Remove configure test.
11902 * sysdeps/arm/configure: Regenerated.
11903 * sysdeps/nptl/configure.ac: Do not check
11904 libc_cv_asm_cfi_directives.
11905 * sysdeps/nptl/configure: Regenerated.
11906 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11907 * sysdeps/x86_64/nptl/configure: Remove generated file.
11908 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11910 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11912 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11914 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11915 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11916 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11919 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11920 instead of whether it is defined.
11921 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11922 * sysdeps/hppa/dl-machine.h: Likewise.
11923 * sysdeps/ia64/dl-machine.h: Likewise.
11924 * sysdeps/m68k/dl-machine.h: Likewise.
11925 * sysdeps/microblaze/dl-machine.h: Likewise.
11926 * sysdeps/mips/dl-machine.: Likewise.
11927 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11928 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11929 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11930 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11931 * sysdeps/sh/dl-machine.h: Likewise.
11932 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11933 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11934 * sysdeps/tile/dl-machine.h: Likewise.
11935 * sysdeps/x86_64/dl-machine.h: Likewise.
11937 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11939 (verify_persistent_db): Likewise.
11941 2014-06-26 Roland McGrath <roland@hack.frob.com>
11943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11944 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11949 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11952 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11954 Identical file removed.
11955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11956 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11958 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11960 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11964 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11967 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11969 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11971 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11974 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11978 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11980 Identical file removed.
11981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11982 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11984 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11987 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11990 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11992 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11994 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11996 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11998 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12001 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12004 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12006 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12009 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12013 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12015 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12016 * sysdeps/unix/sysv/linux/s390/Versions
12017 (libpthread: GLIBC_2.19): New version set.
12018 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12019 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12020 (librt: GLIBC_2.3.3): New version set.
12021 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12022 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12023 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12024 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12025 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12027 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12029 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12030 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12031 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12032 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12033 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12034 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12035 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12036 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12037 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12038 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12040 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12041 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12042 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12043 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12044 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12045 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12046 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12047 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12048 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12049 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12050 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12051 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12052 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12054 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12057 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12059 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12061 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12063 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12064 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12065 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12067 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12068 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12069 (__libc_vfork): Define the function under this name.
12070 [!NOT_IN_libc] (__vfork): Make this an alias.
12071 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12073 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12074 (__libc_vfork): Define the function under this name.
12075 [!NOT_IN_libc] (__vfork): Make this an alias.
12076 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12077 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12078 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12081 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12083 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12084 code that was previously under [RESET_PID].
12085 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12086 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12087 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12089 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12090 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12091 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12092 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12093 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12094 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12095 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12096 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12097 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12098 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12099 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12101 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12103 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12105 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12106 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12107 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12108 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12117 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12119 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12120 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12121 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12122 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12123 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12124 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12125 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12126 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12127 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12129 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12131 2014-06-25 Roland McGrath <roland@hack.frob.com>
12133 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12134 that was previously under [RESET_PID].
12135 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12137 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12139 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12140 not undefine and redefine.
12141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12142 [O_CLOEXEC]: Make code unconditional.
12143 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12145 <kernel-features.h>.
12146 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12147 conditional variable definition.
12148 (shm_open) [O_CLOEXEC]: Make code unconditional.
12149 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12152 * configure.ac (USE_REGPARMS): Don't define here.
12153 * configure: Regenerated.
12154 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12155 * sysdeps/i386/configure: Regenerated.
12157 * nptl/createthread.c: Don't include kernel-features.h.
12158 * nptl/pthread_cancel.c: Likewise.
12159 * nptl/pthread_condattr_setclock.c: Likewise.
12160 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12161 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12162 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12163 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12164 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12165 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12166 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12169 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12170 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12171 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12172 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12173 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12174 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12175 * nscd/gai.c: Likewise.
12176 * nss/nss_db/db-open.c: Likewise.
12177 * sysdeps/generic/ldsodefs.h: Likewise.
12178 * sysdeps/sh/nptl/tls.h: Likewise.
12179 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12180 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12181 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12182 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12183 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12184 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12185 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12186 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12187 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12188 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12189 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12190 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12191 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12192 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12193 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12194 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12195 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12196 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12197 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12198 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12200 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12201 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12202 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12203 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12204 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12205 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12207 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12208 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12209 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12210 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12211 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12212 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12214 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12215 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12216 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12217 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12218 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12219 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12220 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12221 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12222 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12223 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12224 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12225 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12228 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12229 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12230 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12231 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12232 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12233 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12234 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12235 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12259 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12260 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12261 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12262 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12263 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12266 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12267 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12268 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12269 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12270 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12271 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12272 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12273 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12274 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12275 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12277 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12278 * sysdeps/unix/sysv/linux/system.c: Likewise.
12279 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12280 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12283 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12285 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12287 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12288 * configure: Regenerated.
12289 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12291 * configure.ac (base_machine): Do not set specially for particular
12293 * configure: Regenerated.
12294 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12295 settings from configure.ac.
12296 * sysdeps/i386/preconfigure: New file.
12297 * sysdeps/s390/preconfigure: Likewise.
12298 * sysdeps/sh/preconfigure: Likewise.
12299 * sysdeps/sparc/preconfigure: Likewise.
12301 2014-06-25 Roland McGrath <roland@hack.frob.com>
12303 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12304 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12305 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12306 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12307 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12308 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12309 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12310 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12311 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12312 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12313 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12314 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12315 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12317 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12320 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12321 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12323 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12324 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12325 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12326 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12327 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12328 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12329 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12330 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12331 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12332 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12333 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12334 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12335 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12336 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12337 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12338 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12339 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12340 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12341 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12342 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12343 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12344 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12345 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12346 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12347 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12348 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12349 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12350 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12351 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12353 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12354 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12355 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12356 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12357 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12358 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12359 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12360 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12363 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12368 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12373 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12376 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12378 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12380 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12382 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12385 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12388 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12393 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12395 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12397 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12404 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12407 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12409 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12412 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12416 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12418 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12424 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12426 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12429 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12435 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12437 * timezone/checktab.awk: Update from tzcode 2014e.
12438 * timezone/private.h: Likewise.
12439 * timezone/tzfile.h: Likewise.
12440 * timezone/zdump.c: Likewise.
12441 * timezone/zic.c: Likewise.
12443 * sysdeps/unix/sysv/linux/kernel-features.h
12444 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12446 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12447 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12448 Remove conditional code.
12450 2014-06-25 Will Newton <will.newton@linaro.org>
12452 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12453 (_dl_arm_cap_flags): Add HWCAP2 values.
12454 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12455 (_DL_HWCAP_COUNT): Increase to 37.
12456 (_DL_HWCAP_LAST): New define.
12457 (_DL_HWCAP2_LAST): New define.
12458 (_dl_procinfo): Add support for printing
12460 (_dl_string_hwcap): Use _dl_hwcap_string.
12462 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12466 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12468 * README: Do not mention ports directory.
12470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12472 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12473 <kernel-features.h>.
12474 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12475 conditional variable definition.
12476 (__futimes): Update comment.
12477 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12478 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12481 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12482 arguments close to 0.
12483 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12485 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12487 * math/auto-libm-test-in: Add more tests of exp10.
12488 * math/auto-libm-test-out: Regenerated.
12489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12491 * sysdeps/unix/sysv/linux/kernel-features.h
12492 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12493 * sysdeps/unix/sysv/linux/readv.c: Do not include
12494 <kernel-features.h>.
12495 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12496 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12497 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12499 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12501 * sysdeps/unix/sysv/linux/writev.c: Do not include
12502 <kernel-features.h>.
12503 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12504 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12505 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12507 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12510 2014-06-25 Will Newton <will.newton@linaro.org>
12512 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12513 comment changes throughout the file. Remove checks
12514 for HAVE_*_H definitions that are not required.
12515 (__gen_tempname): Call abort if an unknown kind value is
12518 2014-06-25 Andreas Schwab <schwab@suse.de>
12521 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12522 scalbln, scalblnf, scalblnl in libc.
12524 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12527 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12528 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12529 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12531 2014-06-24 Roland McGrath <roland@hack.frob.com>
12533 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12534 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12535 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12536 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12538 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12539 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12541 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12542 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12543 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12544 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12545 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12546 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12547 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12548 * sysdeps/x86/bits/semaphore.h: ... here.
12549 * sysdeps/x86/nptl/elide.h: Moved ...
12550 * sysdeps/x86/elide.h: ... here.
12551 * sysdeps/x86_64/nptl/Implies: File removed.
12552 * sysdeps/i386/nptl/Implies: File removed.
12554 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12558 return the argument for normal arguments with exponent below -64.
12559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12561 * math/auto-libm-test-in: Add another test of expm1.
12562 * math/auto-libm-test-out: Regenerated.
12565 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12566 calling __erfcl for arguments at least 16.
12567 * math/auto-libm-test-in: Add more tests of erf.
12568 * math/auto-libm-test-out: Regenerated.
12570 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12571 individual architectures.
12572 * sysdeps/unix/sysv/linux/configure: Regenerated.
12573 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12574 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12575 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12576 (ldd_rewrite_script): Define variable.
12577 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12582 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12583 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12584 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12585 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12586 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12587 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12588 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12589 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12591 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12594 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12595 Rename member __data.d to __data.__elision_data.
12597 2014-06-24 Wilco <wdijkstr@arm.com>
12599 * NEWS: Add 16918 to fixed bug list.
12601 2014-06-24 Wilco <wdijkstr@arm.com>
12603 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12605 2014-06-24 Wilco <wdijkstr@arm.com>
12607 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12608 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12609 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12610 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12611 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12612 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12613 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12616 2014-06-24 Wilco <wdijkstr@arm.com>
12618 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12620 2014-06-24 Wilco <wdijkstr@arm.com>
12622 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12623 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12624 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12625 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12627 2014-06-24 Wilco <wdijkstr@arm.com>
12630 * sysdeps/arm/feupdateenv.c (feupdateenv):
12631 Rewrite to reduce FPSCR accesses and fix return value.
12633 2014-06-24 Wilco <wdijkstr@arm.com>
12635 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12636 Optimize to avoid unnecessary FPSCR writes.
12637 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12638 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12639 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12640 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12642 2014-06-24 Wilco <wdijkstr@arm.com>
12644 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12645 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12646 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12647 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12648 Call libc_fetestexcept_vfp.
12649 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12650 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12651 __SOFTFP__ ifdef so that they can be built for softfp.
12653 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12656 argument type signed char.
12658 * Makerules (check-abi): Dump diff of symlist if the test
12661 2014-06-23 Roland McGrath <roland@hack.frob.com>
12663 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12666 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12667 Remove unused variable ST.
12669 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12673 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12674 small arguments before calling __expm1.
12675 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12676 small arguments before calling __expm1f.
12677 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12678 small arguments before calling __expm1l.
12679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12681 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12682 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12683 spurious underflow for some cosh tests.
12684 * math/auto-libm-test-out: Regenerated.
12685 * sysdeps/i386/fpu/libm-test-ulps: Update.
12688 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12689 (__ieee754_y1): Set errno if return value overflows.
12690 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12691 (__ieee754_y1f): Set errno if return value overflows.
12692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12693 (__ieee754_y1l): Set errno if return value overflows.
12694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12695 (__ieee754_y1l): Set errno if return value overflows.
12696 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12697 * math/auto-libm-test-out: Regenerated.
12699 * math/gen-auto-libm-tests.c: Document use of
12700 ignore-zero-inf-sign.
12701 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12702 (input_flags): Add ignore-zero-inf-sign.
12703 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12704 * math/gen-libm-test.pl (generate_testfile): Handle
12705 ignore-zero-inf-sign.
12706 * math/auto-libm-test-in: Mark some cpow tests with
12707 ignore-zero-inf-sign and some with xfail-rounding.
12708 * math/auto-libm-test-out: Regenerated.
12709 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12714 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12715 overflowing or underflowing operations take place with sign of
12717 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12718 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12719 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12720 (__ieee754_pow): Recompute overflowing and underflowing results in
12721 original rounding mode.
12722 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12723 (__powl_helper): Allow negative argument X and scale negated value
12724 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12725 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12726 overflowing or underflowing operations take place with sign of
12728 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12730 * math/auto-libm-test-in: Add more tests of pow.
12731 * math/auto-libm-test-out: Regenerated.
12732 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12733 (pow_tonearest_test_data): Remove.
12734 (pow_test_tonearest): Likewise.
12735 (pow_towardzero_test_data): Likewise.
12736 (pow_test_towardzero): Likewise.
12737 (pow_downward_test_data): Likewise.
12738 (pow_test_downward): Likewise.
12739 (pow_upward_test_data): Likewise.
12740 (pow_test_upward): Likewise.
12741 (main): Don't call removed functions.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12745 2014-06-23 Roland McGrath <roland@hack.frob.com>
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12921 2014-06-23 Will Newton <will.newton@linaro.org>
12922 Wilco <wdijkstr@arm.com>
12924 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12925 implementation. Include get-rounding-mode.h.
12926 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12927 [!libc_feholdsetround_noex_ctx]: Define
12928 libc_feholdsetround_noex_ctx.
12929 [!libc_feholdsetround_noexf_ctx]: Define
12930 libc_feholdsetround_noexf_ctx.
12931 [!libc_feholdsetround_noexl_ctx]: Define
12932 libc_feholdsetround_noexl_ctx.
12933 (libc_feholdsetround_ctx): New function.
12934 (libc_feresetround_ctx): New function.
12935 (libc_feholdsetround_noex_ctx): New function.
12936 (libc_feresetround_noex_ctx): New function.
12938 2014-06-23 Roland McGrath <roland@hack.frob.com>
12940 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12941 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12942 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12943 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12944 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12945 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12947 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12948 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12949 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12950 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12951 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12952 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12953 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12954 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12955 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12956 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12959 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12961 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12962 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12964 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12967 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12968 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12969 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12970 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12973 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12974 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12976 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12979 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12981 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12984 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12985 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12986 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12987 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12988 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12989 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12990 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12991 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12992 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12993 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12995 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12997 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12998 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12999 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13000 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13001 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13002 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13004 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13007 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13008 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13011 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13013 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13014 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13015 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13016 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13018 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13020 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13021 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13022 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13024 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13025 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13026 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13027 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13031 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13033 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13034 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13045 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13049 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13050 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13051 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13053 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13056 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13057 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13058 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13059 (IPV6_PMTUDISC_INTERFACE): Likewise.
13060 (IPV6_PMTUDISC_OMIT): Likewise.
13062 2014-06-23 Andreas Schwab <schwab@suse.de>
13064 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13065 Remove unused errout label.
13067 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13069 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13070 macro: hardware supports Vector Crypto instructions.
13072 2014-06-23 Will Newton <will.newton@linaro.org>
13074 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13075 rather than __builtin_expect.
13077 * elf/dl-lookup.c (undefined_msg): Remove variable.
13078 (_dl_lookup_symbol_x): Replace undefined_msg with string
13081 * elf/dl-lookup.c (do_lookup_unique): New function.
13082 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13083 to a separate function.
13085 2014-06-23 Andreas Schwab <schwab@suse.de>
13088 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13089 before reading the next line.
13091 2014-06-23 Will Newton <will.newton@linaro.org>
13093 * test-skeleton.c (signal_handler): Use printf and %m
13094 rather than perror. Use printf rather than fprintf to
13095 stderr. Use puts rather than fputs to stderr.
13098 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13100 * nscd/nscd.c (thread_info_t): Remove typedef.
13101 (thread_info): Remove variable.
13103 2014-06-21 Allan McRae <allan@archlinux.org>
13105 * NEWS: Mention CVE-2014-4043.
13107 2014-06-20 Roland McGrath <roland@hack.frob.com>
13109 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13110 * nptl/smp.h: ... here.
13112 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13114 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13115 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13116 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13117 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13119 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13120 * nptl/stack-aliasing.h: New file.
13121 * sysdeps/i386/i686/stack-aliasing.h: New file.
13122 * sysdeps/i386/i686/nptl/Makefile: File removed.
13123 * sysdeps/x86_64/stack-aliasing.h: New file.
13124 * sysdeps/x86_64/nptl/Makefile
13125 (CFLAGS-pthread_create.c): Variable removed.
13127 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13128 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13130 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13131 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13134 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13136 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13137 (__ASSUME_SIGFRAME_V2): Remove macro.
13138 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13139 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13140 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13141 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13142 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13143 Declare as function. Remove conditional macro definitions.
13144 (__default_rt_sa_restorer): Likewise.
13145 (__default_sa_restorer_v1): Remove declaration.
13146 (__default_sa_restorer_v2): Likewise.
13147 (__default_rt_sa_restorer_v1): Likewise.
13148 (__default_rt_sa_restorer_v2): Likewise.
13149 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13150 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13151 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13153 2014-06-20 Roland McGrath <roland@hack.frob.com>
13155 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13156 (libpthread-routines): Add sysdep.
13157 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13158 * sysdeps/unix/sysv/linux/sparc/Versions
13159 (libpthread: GLIBC_2.3.3): New version set.
13160 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13161 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13162 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13163 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13164 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13165 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13167 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13168 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13169 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13170 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13171 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13172 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13173 * sysdeps/sparc/nptl/sem_init.c: ... here.
13174 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13175 * sysdeps/sparc/nptl/sem_post.c: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13177 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13178 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13179 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13180 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13181 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13182 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13183 (libpthread-routines): Add cpu_relax.
13184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13187 (librt: GLIBC_2.3.3): New version set.
13188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13189 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13190 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13191 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13194 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13197 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13199 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13201 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13203 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13205 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13208 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13212 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13216 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13220 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13224 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13231 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13237 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13239 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13242 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13244 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13246 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13248 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13250 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13251 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13252 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13253 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13254 * nscd/nscd.c: Likewise.
13255 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13256 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13257 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13258 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13260 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13261 <kernel-features.h>.
13262 (init_mq_netlink): Remove conditional have_sock_cloexec
13263 definitions. Remove code conditional on have_sock_cloexec < 0.
13264 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13265 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13266 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13267 <kernel-features.h>.
13268 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13269 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13271 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13274 Add tests for memset_chk and memset.
13276 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13279 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13282 * elf/tst-dl-iter-static.c: New file.
13283 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13285 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13288 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/unix/sysv/linux/kernel-features.h
13291 (__ASSUME_F_GETOWN_EX): Remove macro.
13292 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13293 <kernel-features.h>.
13294 (miss_F_GETOWN_EX): Remove variable or macro.
13295 (do_fcntl): Do not check miss_F_GETOWN_EX.
13296 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13301 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13302 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13304 * sysdeps/unix/sysv/linux/kernel-features.h
13305 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13306 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13307 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13308 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13310 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13313 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13314 Fix calculation of the symbol's value.
13315 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13316 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13317 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13318 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13319 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13320 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13321 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13322 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13323 (modules-names): Add `tst-armtlsdescmod',
13324 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13325 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13326 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13327 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13328 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13329 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13330 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13331 ($(objpfx)tst-armtlsdescloc): New dependency.
13332 ($(objpfx)tst-armtlsdescextnow): Likewise.
13333 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13334 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13335 TLS scheme support.
13336 * sysdeps/arm/configure: Regenerate.
13338 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13340 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13341 (__atfct_seterrno_2): Likewise.
13342 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13343 <kernel-features.h>.
13344 (__ASSUME_ATFCTS): Do not undefine and redefine.
13345 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13346 (__have_atfcts): Remove conditional definition.
13347 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13348 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13349 unreachable if [__ASSUME_ATFCTS].
13350 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13351 not undefine and redefine.
13352 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13353 <kernel-features.h>.
13354 (faccessat) [__NR_faccessat]: Make code unconditional.
13355 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13357 <kernel-features.h>.
13358 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13359 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13361 <kernel-features.h>.
13362 (fchownat) [__NR_fchownat]: Make code unconditional.
13363 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13365 <kernel-features.h>.
13366 (futimesat) [__NR_futimesat]: Make code unconditional.
13367 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13368 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13369 <kernel-features.h>.
13370 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13371 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13372 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13373 <kernel-features.h>.
13374 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13375 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13377 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13378 <kernel-features.h>.
13379 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13380 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13381 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13382 <kernel-features.h>.
13383 (linkat) [__NR_linkat]: Make code unconditional.
13384 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13385 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13386 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13387 <kernel-features.h>.
13388 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13389 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13390 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13391 <kernel-features.h>.
13392 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13393 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13394 * sysdeps/unix/sysv/linux/openat.c: Do not include
13395 <kernel-features.h>.
13396 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13397 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13398 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13399 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13400 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13401 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13402 <kernel-features.h>.
13403 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13404 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13405 result of INLINE_SYSCALL directly, not via int variable.
13406 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13407 <kernel-features.h>.
13408 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13409 (renameat) [__NR_renameat]: Make code unconditional.
13410 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13412 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13415 (__ASSUME_ATFCTS): Do not undefine and redefine.
13416 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13417 <kernel-features.h>.
13418 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13419 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13420 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13421 <kernel-features.h>.
13422 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13423 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13424 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13425 (__ASSUME_ATFCTS): Do not undefine and redefine.
13426 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13427 <kernel-features.h>.
13428 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13429 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13430 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13431 <kernel-features.h>.
13432 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13433 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13435 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13437 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13439 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13442 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13443 constructed tree before returning error.
13444 * posix/bug-regexp36.c: Expand test case.
13446 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13449 * math/libm-test.inc (scalbln_test_date):
13450 Add errno expectations.
13451 * math/w_scalblnf.c: New File.
13452 Add wrapper which checks for setting errno to ERANGE.
13453 Add weak_alias for corresponding scalbln function.
13454 * math/w_scalbln.c: Likewise.
13455 * math/w_scalblnl.c: Likewise.
13456 * math/Makefile (libm-calls): Add w_scalbln.
13457 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13458 Remove weak_alias for corresponding scalbln function.
13459 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13463 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13464 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13465 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13466 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13467 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13468 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13469 Remove long_double_symbol for scalblnl function in libm, libc.
13470 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13471 Add wrapper which checks for setting errno to ERANGE.
13472 Add long_double_symbol for scalblnl function in libm, libc.
13473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13474 Remove long_double_symbol for scalblnl in libm.
13475 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13476 Add wrapper which checks for setting errno to ERANGE.
13477 Add long_double_symbol for scalblnl function in libm.
13478 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13479 Do not use wrapper because of own implementation.
13481 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13483 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13484 3 bytes for __pad1 for x32.
13485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13487 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13488 H.J. Lu <hongjiu.lu@intel.com>
13490 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13491 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13492 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13493 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13494 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13496 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13499 * posix/regcomp.c (parse_expression): Deallocate partially
13500 constructed tree before returning error.
13501 * posix/Makefile.c (tests): Add bug-regex36.
13502 (generated): Add bug-regex36.mtrace.
13503 (tests-special): Add $(objpfx)bug-regex36-mem.out
13504 (bug-regex36-ENV): New variable.
13505 ($(objpfx)bug-regex36-mem.out): New rule.
13506 * posix/bug-regex36.c: New file.
13508 2014-06-19 Will Newton <will.newton@linaro.org>
13510 * malloc/malloc.c (systrim): If extra is zero then return
13513 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13515 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13517 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13519 * sysdeps/aarch64/strchr.S: New file.
13521 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13524 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13525 from arguments -2 or below.
13526 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13527 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13529 2014-06-18 Andreas Schwab <schwab@suse.de>
13532 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13533 of a bracket expr not to run off the end of the string.
13534 * posix/Makefile (tests): Add tst-fnmatch3.
13535 * posix/tst-fnmatch3.c: New file.
13537 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13539 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13540 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13541 [$(cross-compiling) = no]: Likewise.
13542 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13543 [$(cross-compiling) = no]: Likewise.
13545 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13548 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13549 double, adjusted for any remainder from the high double.
13550 * math/libm-test.inc (nearbyint): Add tests.
13553 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13555 * nptl/sysdeps/powerpc/Makefile: Moved ...
13556 * sysdeps/powerpc/nptl/Makefile: ... here.
13557 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13558 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13559 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13560 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13561 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13562 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13563 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13564 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13565 * nptl/sysdeps/powerpc/tls.h: Moved ...
13566 * sysdeps/powerpc/nptl/tls.h: ... here.
13568 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13571 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13572 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13573 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13574 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13575 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13576 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13577 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13578 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13579 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13581 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13583 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13585 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13587 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13590 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13593 2014-06-16 Florian Weimer <fweimer@redhat.com>
13596 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13597 non-executed part of the test.
13599 2014-06-16 Andreas Schwab <schwab@suse.de>
13601 * string/bits/string2.h (strdup, strndup): Update feature guard.
13603 2014-06-14 David S. Miller <davem@davemloft.net>
13605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13607 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13609 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13610 that was previously under [RESET_PID].
13611 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13613 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13614 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13615 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13616 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13617 (__libc_vfork): New strong alias.
13618 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13620 2014-06-14 Andi Kleen <ak@linux.intel.com>
13622 * sysdeps/generic/elide.h: New file.
13624 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13626 * Makefile (installed-headers): Adjust path of pthread.h header.
13628 2014-06-13 Roland McGrath <roland@hack.frob.com>
13630 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13631 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13633 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13635 * nptl/sysdeps/s390/Makefile: Moved ...
13636 * sysdeps/s390/nptl/Makefile: ... here.
13637 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13638 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13639 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13640 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13641 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13642 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13643 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13644 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13645 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13646 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13647 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13648 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13649 * nptl/sysdeps/s390/tls.h: Moved ...
13650 * sysdeps/s390/nptl/tls.h: ... here.
13652 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13653 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13655 2014-06-13 David S. Miller <davem@davemloft.net>
13657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13660 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13664 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13665 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13666 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13668 Remove RESET_PID cpp guards.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13670 Remove RESET_PID cpp guards.
13671 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13673 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13675 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13678 2014-06-13 Andi Kleen <ak@linux.intel.com>
13680 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13681 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13682 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13683 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13684 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13685 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13686 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13687 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13688 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13689 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13690 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13691 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13692 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13693 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13695 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13696 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13697 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13698 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13699 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13701 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13702 (pthread_rwlock_rdlock): Add elision.
13703 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13704 (pthread_rwlock_wrlock): Add elision.
13705 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13706 (pthread_rwlock_trywrlock): Add elision.
13707 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13708 (pthread_rwlock_tryrdlock): Add elision.
13709 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13710 (pthread_rwlock_tryrdlock): Add elision unlock.
13711 * nptl/sysdeps/pthread/pthread.h:
13712 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13713 (PTHREAD_RWLOCK_INITIALIZER,
13714 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13715 Handle new elision field.
13716 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13717 * sysdeps/arm/nptl/bits/pthreadtypes.h
13718 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13719 * sysdeps/sh/nptl/bits/pthreadtypes.h
13720 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13721 * sysdeps/tile/nptl/bits/pthreadtypes.h
13722 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13723 * sysdeps/a/nptl/bits/pthreadtypes.h
13724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13725 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13726 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13727 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13728 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13729 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13731 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13733 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13735 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13737 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13739 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13741 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13742 (elision_init): Set try_xbegin to zero when no RTM.
13743 * sysdeps/x86/nptl/bits/pthreadtypes.h
13744 (pthread_rwlock_t): Change __pad1 to __rwelision.
13745 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13747 2014-06-13 Andi Kleen <ak@linux.intel.com>
13749 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13750 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13751 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13752 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13754 2014-06-13 Meador Inge <meadori@codesourcery.com>
13757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13758 that the cached result has been set before returning it.
13760 2014-06-12 Roland McGrath <roland@hack.frob.com>
13762 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13763 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13765 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13767 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13769 * nptl/sysdeps/sparc/Makefile: Moved ...
13770 * sysdeps/sparc/nptl/Makefile: ... here.
13771 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13772 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13773 * nptl/sysdeps/sparc/tls.h: Moved ...
13774 * sysdeps/sparc/nptl/tls.h: ... here.
13775 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13776 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13777 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13778 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13779 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13780 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13781 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13782 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13783 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13784 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13785 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13786 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13787 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13788 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13789 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13790 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13791 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13794 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13795 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13797 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13800 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13801 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13804 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13806 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13807 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13809 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13810 (struct list_links): Type removed.
13811 (struct thread_node, struct timer_node): Replace struct list_links
13812 with struct list_head.
13813 (list_unlink_ip): Likewise.
13814 * sysdeps/pthread/timer_routines.c
13815 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13816 (list_append, list_insbefore): Likewise.
13817 (list_init): Function removed.
13818 (thread_init, init_module): Use INIT_LIST_HEAD instead.
13819 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13820 * sysdeps/pthread/Makefile: ... here, new file.
13822 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13823 * sysdeps/nptl/Implies: ... here.
13824 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13825 * nptl/sysdeps/pthread/list.h: Moved ...
13826 * include/list.h: ... here.
13827 * nptl/sysdeps/pthread/createthread.c: Moved ...
13828 * nptl/createthread.c: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13830 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13831 * nptl/pt-longjmp.c: ... here.
13832 * nptl/sysdeps/pthread/Makefile: Moved ...
13833 * sysdeps/nptl/Makefile: ... here.
13834 * nptl/sysdeps/pthread/Subdirs: Moved ...
13835 * sysdeps/nptl/Subdirs: ... here.
13836 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13837 * sysdeps/nptl/aio_misc.h: ... here.
13838 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13839 * sysdeps/nptl/bits/libc-lock.h: ... here.
13840 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13841 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13842 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13843 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13844 * nptl/sysdeps/pthread/configure: Moved ...
13845 * sysdeps/nptl/configure: ... here.
13846 * nptl/sysdeps/pthread/configure.ac: Moved ...
13847 * sysdeps/nptl/configure.ac: ... here.
13848 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13849 * sysdeps/nptl/gai_misc.h: ... here.
13850 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13851 * sysdeps/nptl/librt-cancellation.c: ... here.
13852 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13853 * sysdeps/nptl/malloc-machine.h: ... here.
13854 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13855 * sysdeps/nptl/pthread-functions.h: ... here.
13856 * nptl/sysdeps/pthread/pthread.h: Moved ...
13857 * sysdeps/nptl/pthread.h: ... here.
13858 * nptl/sysdeps/pthread/setxid.h: Moved ...
13859 * sysdeps/nptl/setxid.h: ... here.
13860 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13861 * sysdeps/nptl/sigfillset.c: ... here.
13862 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13863 * sysdeps/nptl/tcb-offsets.h: ... here.
13864 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13865 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13866 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13867 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13868 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13869 * sysdeps/pthread/allocalim.h: ... here.
13870 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13871 * sysdeps/pthread/bits/sigthread.h: ... here.
13872 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13873 * sysdeps/pthread/flockfile.c: ... here.
13874 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13875 * sysdeps/pthread/ftrylockfile.c: ... here.
13876 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13877 * sysdeps/pthread/funlockfile.c: ... here.
13878 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13879 * sysdeps/pthread/posix-timer.h: ... here.
13880 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13881 * sysdeps/pthread/timer_create.c: ... here.
13882 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13883 * sysdeps/pthread/timer_delete.c: ... here.
13884 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13885 * sysdeps/pthread/timer_getoverr.c: ... here.
13886 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13887 * sysdeps/pthread/timer_gettime.c: ... here.
13888 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13889 * sysdeps/pthread/timer_routines.c: ... here.
13890 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13891 * sysdeps/pthread/timer_settime.c: ... here.
13892 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13893 * sysdeps/pthread/tst-timer.c: ... here.
13894 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13895 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13897 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13898 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13900 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13901 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13902 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13903 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13904 Update #include target.
13905 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13906 * sysdeps/i386/i686/nptl/Makefile: ... here.
13907 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13908 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13909 Update #include target.
13910 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13911 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13912 * nptl/sysdeps/i386/Makefile: Moved ...
13913 * sysdeps/i386/nptl/Makefile: ... here.
13914 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13915 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13916 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13917 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13918 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13919 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13920 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13921 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13922 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13923 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13924 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13925 * nptl/sysdeps/i386/tls.h: Moved ...
13926 * sysdeps/i386/nptl/tls.h: ... here.
13928 * sysdeps/sh/Makefile [$(subdir) = csu]
13929 (gen-as-const-headers): Add tcb-offsets.sym.
13930 * nptl/sysdeps/sh/Makefile: File removed.
13931 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13932 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13933 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13934 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13935 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13936 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13937 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13938 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13939 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13940 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13941 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13942 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13943 * nptl/sysdeps/sh/tls.h: Moved ...
13944 * sysdeps/sh/nptl/tls.h: ... here.
13945 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13946 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13948 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13950 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13952 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13954 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13956 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13958 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13960 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13962 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13964 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13966 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13971 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13974 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13975 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13976 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13977 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13978 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13979 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13980 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13981 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13982 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13983 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13984 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13985 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13986 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13987 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13988 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13989 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13990 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13991 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13992 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13994 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13996 * posix/spawn_faction_addopen.c: Include string.h.
13998 2014-06-11 Roland McGrath <roland@hack.frob.com>
14000 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14001 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14002 * nptl/sysdeps/x86_64/Makefile: Moved ...
14003 * sysdeps/x86_64/nptl/Makefile: ... here.
14004 * nptl/sysdeps/x86_64/configure: Moved ...
14005 * sysdeps/x86_64/nptl/configure: ... here.
14006 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14007 * sysdeps/x86_64/nptl/configure.ac: ... here.
14008 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14009 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14010 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14011 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14012 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14013 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14014 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14015 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14016 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14017 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14018 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14019 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14020 * nptl/sysdeps/x86_64/tls.h: Moved ...
14021 * sysdeps/x86_64/nptl/tls.h: ... here.
14022 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14023 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14024 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14025 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14027 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14029 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14033 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14035 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14037 [POSIX] (off_t): Likewise.
14038 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14039 [POSIX] (S_ISBLK): Require macro.
14040 [POSIX] (S_ISCHR): Likewise.
14041 [POSIX] (S_ISDIR): Likewise.
14042 [POSIX] (S_ISFIFO): Likewise.
14043 [POSIX] (S_ISREG): Likewise.
14044 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14046 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14048 [POSIX] (time_t): Likewise.
14049 [POSIX] (timer_t): Likewise.
14051 2014-06-11 Florian Weimer <fweimer@redhat.com>
14054 * posix/spawn_int.h (struct __spawn_action): Make the path string
14055 non-const to support deallocation.
14056 * posix/spawn_faction_addopen.c
14057 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14058 * posix/spawn_faction_destroy.c
14059 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14060 path in all spawn_do_open actions.
14061 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14062 posix_spawn_file_actions_addopen.
14064 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14066 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14067 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14068 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14069 conditional code always true.
14070 (__libc_vfork): New alias.
14072 2014-06-11 Roland McGrath <roland@hack.frob.com>
14074 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14075 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14077 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14079 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14080 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14082 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14083 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14085 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14086 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14088 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14090 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14091 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14092 multiarch strcmp for PPC64.
14093 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14094 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14096 multiarch optimizations.
14097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14098 (__libc_ifunc_impl_list): Likewise.
14100 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14102 * benchtests/scripts/validate_benchout.py: New script.
14103 * benchtests/Makefile (bench-func): Call it.
14104 * benchtests/scripts/benchout.schema.json: New file.
14106 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14108 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14109 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14110 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14111 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14112 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14113 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14114 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14115 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14116 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14117 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14118 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14119 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14120 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14121 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14122 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14123 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14227 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14228 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14229 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14230 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14231 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14233 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14235 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14236 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14237 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14238 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14239 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14242 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14244 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14245 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14246 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14249 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14250 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14252 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14254 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14257 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14261 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14262 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14263 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14265 2014-06-10 Wilco <wdijkstr@arm.com>
14267 * math/test-fenv-return.c: New file.
14268 * math/Makefile: Add new test test-fenv-return.
14270 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14273 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14274 when x - 1 is zero.
14275 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14276 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14277 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14278 0.0L for an argument of 1.0L.
14279 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14281 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14282 value when x - 1 is zero.
14283 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14284 * sysdeps/i386/fpu/libm-test-ulps: Update.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14287 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14290 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14292 2014-06-09 Roland McGrath <roland@hack.frob.com>
14294 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14295 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14297 2014-06-09 Roland McGrath <roland@hack.frob.com>
14299 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14300 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14302 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14303 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14305 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14306 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14308 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14309 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14311 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14312 if not already defined.
14313 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14314 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14315 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14316 (TLS_INIT_TP): Use it.
14317 (TLS_DEFINE_INIT_TP): New macro.
14318 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14320 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14322 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14324 [POSIX] (IXANY): Likewise.
14325 [POSIX] (OLCUC): Likewise.
14326 [POSIX || POSIX2008] (CBAUD): Do not allow.
14327 [POSIX || POSIX2008] (DEFECHO): Likewise.
14328 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14329 [POSIX || POSIX2008] (ECHOKE): Likewise.
14330 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14331 [POSIX || POSIX2008] (EXTA): Likewise.
14332 [POSIX || POSIX2008] (EXTB): Likewise.
14333 [POSIX || POSIX2008] (FLUSHO): Likewise.
14334 [POSIX || POSIX2008] (LOBLK): Likewise.
14335 [POSIX || POSIX2008] (PENDIN): Likewise.
14336 [POSIX || POSIX2008] (SWTCH): Likewise.
14337 [POSIX || POSIX2008] (VDISCARD): Likewise.
14338 [POSIX || POSIX2008] (VDSUSP): Likewise.
14339 [POSIX || POSIX2008] (VLNEXT): Likewise.
14340 [POSIX || POSIX2008] (VREPRINT): Likewise.
14341 [POSIX || POSIX2008] (VSTATUS): Likewise.
14342 [POSIX || POSIX2008] (VWERASE): Likewise.
14343 (B*): Change to B[0123456789]*.
14344 * conform/data/time.h-data [POSIX || UNIX98]
14345 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14346 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14347 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14348 [POSIX] (tm_*): Do not allow.
14350 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14352 * Makefile (install): Don't set LANGUAGE.
14353 * Makefile.in (install): Likewise.
14354 * assert/Makefile (test-assert-ENV): Remove variable.
14355 (test-assert-perr-ENV): Likewise.
14356 * elf/Makefile (neededtest4-ENV): Likewise.
14357 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14358 [$(cross-compiling) = no]: Don't set LANGUAGE.
14359 * io/ftwtest-sh (LANG): Remove variable.
14360 * libio/Makefile (tst-widetext-ENV): Likewise.
14361 * manual/install.texi (Running make install): Don't refer to
14362 environment settings for make install.
14363 * INSTALL: Regenerated.
14364 * nptl/tst-tls6.sh: Don't set LANG.
14365 * posix/globtest.sh (LANG): Remove variable.
14366 * string/Makefile (tester-ENV): Likewise.
14367 (inl-tester-ENV): Likewise.
14368 (noinl-tester-ENV): Likewise.
14369 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14370 [$(cross-compiling) = no]: Don't set LANGUAGE.
14371 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14372 without explicit environment settings.
14374 2014-06-06 Roland McGrath <roland@hack.frob.com>
14376 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14377 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14378 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14379 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14381 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14383 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14384 other files in the crypt directory.
14385 * crypt/crypt.c: Remove duplicate includes.
14386 * crypt/crypt-entry.c: Likewise.
14387 * crypt/crypt_util.c: Likewise.
14389 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14391 * Makeconfig (run-program-env): New variable.
14392 (run-program-prefix-before-env): Likewise.
14393 (run-program-prefix-after-env): Likewise.
14394 (run-program-prefix): Define in terms of new variables.
14395 (built-program-cmd-before-env): New variable.
14396 (built-program-cmd-after-env): Likewise.
14397 (built-program-cmd): Define in terms of new variables.
14398 (test-program-prefix-before-env): New variable.
14399 (test-program-prefix-after-env): Likewise.
14400 (test-program-prefix): Define in terms of new variables.
14401 (test-program-cmd-before-env): New variable.
14402 (test-program-cmd-after-env): Likewise.
14403 (test-program-cmd): Define in terms of new variables.
14404 * Rules (make-test-out): Use $(run-program-env).
14405 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14406 (help): Do not mention environment variables. Mention
14407 --timeoutfactor option.
14408 (timeoutfactor): New variable.
14409 (blacklist_exports): Remove function.
14410 (exports): Remove variable.
14411 (command): Do not include ${exports}.
14412 * manual/install.texi (Configuring and compiling): Do not mention
14413 test wrappers preserving environment variables. Mention that last
14414 assignment to a variable must take precedence.
14415 * INSTALL: Regenerated.
14416 * benchtests/Makefile (run-bench): Use $(run-program-env).
14417 * catgets/Makefile ($(objpfx)test1.cat): Use
14418 $(built-program-cmd-before-env), $(run-program-env) and
14419 $(built-program-cmd-after-env).
14420 ($(objpfx)test2.cat): Do not specify environment variables
14422 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14423 $(run-program-env) and $(built-program-cmd-after-env).
14424 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14425 $(run-program-env) and $(test-program-cmd-after-env).
14426 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14428 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14429 run_program_env and test_program_cmd_after_env arguments.
14430 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14431 * elf/tst-pathopt.sh: Use run_program_env argument.
14432 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14433 $(test-wrapper-env) and $(run-program-env).
14434 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14435 run_program_env arguments.
14436 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14437 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14438 $(test-program-prefix-before-env), $(run-program-env) and
14439 $(test-program-prefix-after-env).
14440 ($(objpfx)tst-gettext2.out): Likewise.
14441 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14442 run_program_env and test_program_prefix_after_env arguments.
14443 * intl/tst-gettext2.sh: Likewise.
14444 * intl/tst-gettext4.sh: Do not set environment variables
14446 * intl/tst-gettext6.sh: Likewise.
14447 * intl/tst-translit.sh: Likewise.
14448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14449 $(test-program-prefix-before-env), $(run-program-env) and
14450 $(test-program-prefix-after-env).
14451 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14452 run_program_env and test_program_prefix_after_env arguments.
14453 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14454 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14455 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14456 explicitly with each use of ${test_wrapper_env}.
14457 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14458 $(test-program-prefix-before-env), $(run-program-env) and
14459 $(test-program-prefix-after-env).
14460 * posix/tst-getconf.sh: Do not set environment variables
14462 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14463 run_program_env and test_program_prefix_after_env arguments.
14464 * stdio-common/tst-printf.sh: Do not set environment variables
14466 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14467 $(test-program-prefix-before-env), $(run-program-env) and
14468 $(test-program-prefix-after-env).
14469 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14470 run_program_env and test_program_prefix_after_env arguments.
14471 Split $test calls into $test_pre and $test.
14472 * timezone/Makefile (build-testdata): Use
14473 $(built-program-cmd-before-env), $(run-program-env) and
14474 $(built-program-cmd-after-env).
14476 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14479 strlen for non SHARED builds.
14481 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14483 * nptl/allocatestack.c (check_list): Inlined function...
14484 (__reclaim_stacks): ... here.
14486 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14489 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14492 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14494 * Rules (make-test-out): Include
14495 LOCPATH=$(common-objpfx)localedata in default environment.
14496 * debug/Makefile (tst-chk1-ENV): Remove variable.
14497 (tst-chk2-ENV): Likewise.
14498 (tst-chk3-ENV): Likewise.
14499 (tst-chk4-ENV): Likewise.
14500 (tst-chk5-ENV): Likewise.
14501 (tst-chk6-ENV): Likewise.
14502 (tst-lfschk1-ENV): Likewise.
14503 (tst-lfschk2-ENV): Likewise.
14504 (tst-lfschk3-ENV): Likewise.
14505 (tst-lfschk4-ENV): Likewise.
14506 (tst-lfschk5-ENV): Likewise.
14507 (tst-lfschk6-ENV): Likewise.
14508 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14509 (tst-iconv7-ENV): Likewise.
14510 * intl/Makefile (LOCPATH-ENV): Likewise.
14511 (tst-codeset-ENV): Likewise.
14512 (tst-gettext3-ENV): Likewise.
14513 (tst-gettext5-ENV): Likewise.
14514 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14515 (tst-fopenloc-ENV): Likewise.
14516 (tst-fgetws-ENV): Remove variable.
14517 (tst-ungetwc1-ENV): Likewise.
14518 (tst-ungetwc2-ENV): Likewise.
14519 (bug-ungetwc2-ENV): Likewise.
14520 (tst-swscanf-ENV): Likewise.
14521 (bug-ftell-ENV): Likewise.
14522 (tst-fgetwc-ENV): Likewise.
14523 (tst-fseek-ENV): Likewise.
14524 (tst-ftell-partial-wide-ENV): Likewise.
14525 (tst-ftell-active-handler-ENV): Likewise.
14526 (tst-ftell-append-ENV): Likewise.
14527 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14528 (tst-regexloc-ENV): Likewise.
14529 (bug-regex1-ENV): Likewise.
14530 (tst-regex-ENV): Likewise.
14531 (tst-regex2-ENV): Likewise.
14532 (bug-regex5-ENV): Likewise.
14533 (bug-regex6-ENV): Likewise.
14534 (bug-regex17-ENV): Likewise.
14535 (bug-regex18-ENV): Likewise.
14536 (bug-regex19-ENV): Likewise.
14537 (bug-regex20-ENV): Likewise.
14538 (bug-regex22-ENV): Likewise.
14539 (bug-regex23-ENV): Likewise.
14540 (bug-regex25-ENV): Likewise.
14541 (bug-regex26-ENV): Likewise.
14542 (bug-regex30-ENV): Likewise.
14543 (bug-regex32-ENV): Likewise.
14544 (bug-regex33-ENV): Likewise.
14545 (bug-regex34-ENV): Likewise.
14546 (bug-regex35-ENV): Likewise.
14547 (tst-rxspencer-ENV): Likewise.
14548 (tst-rxspencer-no-utf8-ENV): Likewise.
14549 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14550 (tst-sscanf-ENV): Likewise.
14551 (tst-swprintf-ENV): Likewise.
14552 (tst-swscanf-ENV): Likewise.
14553 (test-vfprintf-ENV): Likewise.
14554 (scanf13-ENV): Likewise.
14555 (bug14-ENV): Likewise.
14556 (tst-grouping-ENV): Likewise.
14557 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14558 (tst-strtod3-ENV): Likewise.
14559 (tst-strtod4-ENV): Likewise.
14560 (tst-strtod5-ENV): Likewise.
14561 (testmb2-ENV): Likewise./
14562 * string/Makefile (tst-strxfrm-ENV): Likewise.
14563 (tst-strxfrm2-ENV): Likewise.
14564 (bug-strcoll1-ENV): Likewise.
14565 (test-strcasecmp-ENV): Likewise.
14566 (test-strncasecmp-ENV): Likewise.
14567 * time/Makefile (tst-strptime-ENV): Likewise.
14568 (tst-ftime_l-ENV): Likewise.
14569 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14570 (tst-mbrtowc-ENV): Likewise.
14571 (tst-wcrtomb-ENV): Likewise.
14572 (tst-mbrtowc2-ENV): Likewise.
14573 (tst-c16c32-1-ENV): Likewise.
14574 (tst-mbsnrtowcs-ENV): Likewise.
14576 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14578 * manual/resource.texi (How to get information about the memory
14579 subsystem?): Fix typo.
14580 Reported by Peon de la Parra Ivan <peon@keba.com>
14582 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14585 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14586 (pthread_spin_lock): Branch out of spin loop to proper location.
14587 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14588 (pthread_spin_lock): Likewise.
14590 * nptl/tst-spin4.c: New test.
14591 * nptl/Makefile (tests): Add tst-spin4.
14593 2014-06-03 Andreas Schwab <schwab@suse.de>
14596 * resolv/res_send.c (send_dg): Reload file descriptor after
14599 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14601 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14603 2014-06-03 Richard Henderson <rth@redhat.com>
14605 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14606 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14607 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14608 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14609 in the SAVE_PID block.
14610 (__libc_vfork): New alias.
14611 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14613 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14614 child in registers, not on the stack. Remove RESET_PID conditionals.
14615 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14617 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14619 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14621 2014-06-03 Wilco <wdijkstr@arm.com>
14623 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14624 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14625 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14626 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14627 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14630 2014-06-03 Wilco <wdijkstr@arm.com>
14632 * sysdeps/aarch64/fpu/math_private.h
14633 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14634 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14635 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14636 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14639 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14641 * crypt/crypt-private.h: Include ufc-crypt.h.
14642 (__b64_from_24bit): Declare extern.
14643 * crypt/crypt_util.c(__b64_from_24bit): New function.
14644 (b64t): New static const variable.
14645 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14646 (b64t): Remove variable.
14647 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14648 * crypt/sha256-crypt.c: Include crypt-private.h.
14649 (b64t): Remove variable.
14650 (__sha256_crypt_r): Remove b64_from_24bit and replace
14651 with __b64_from_24bit.
14652 * crypt/sha512-crypt.c: Likewise.
14654 2014-06-02 Roland McGrath <roland@hack.frob.com>
14656 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14657 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14658 Label the code __libc_vfork rather than __vfork.
14659 [!NOT_IN_libc] (vfork): Define as weak alias.
14660 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14661 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14662 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14664 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14666 * malloc/malloc.c (malloc_info): Fix format specifier for
14669 2014-06-02 Wilco <wdijkstr@arm.com>
14671 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14674 2014-06-02 Wilco <wdijkstr@arm.com>
14677 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14678 Rewrite to reduce FPCR/FPSR accesses.
14680 2014-06-01 David S. Miller <davem@davemloft.net>
14682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14684 2014-05-31 David S. Miller <davem@davemloft.net>
14686 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14687 to occur in round to nearest mode when |x| >= 2.0
14689 2014-05-30 Richard Henderson <rth@twiddle.net>
14691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14692 (PSEUDO_RET_NOERRNO): Remove.
14693 (ret): Don't redefine.
14694 (ret_NOERRNO): Define in terms of ret.
14695 (ret_ERRVAL): Likewise.
14697 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14698 use of PSEUDO_RET; perform the error check directly.
14700 2014-05-30 Marko Myllynen <myllynen@redhat.com>
14702 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14705 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14707 * malloc/malloc (malloc_info): Fix formatting.
14709 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14710 Roland McGrath <roland@hack.frob.com>
14712 * malloc/malloc (malloc_info): Also print mmapped statistics.
14714 2014-05-30 Roland McGrath <roland@hack.frob.com>
14716 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14717 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14719 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
14721 * malloc/malloc.c (malloc_info): Inline mi_arena.
14723 2014-05-29 Richard Henderson <rth@twiddle.net>
14725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14726 Remove comma before expanding ASM_ARGS_##nr.
14727 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14728 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14730 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14731 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14732 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14733 (ASM_ARGS_1): Add leading comma.
14735 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14736 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14737 to __errno_location.
14738 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14739 Remove the expected plt for __errno_location.
14741 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14742 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14745 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14746 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14747 it and break it down.
14748 (DOCARGS_0, DOCARGS_1): Do nothing.
14749 (DOCARGS_2): Update to store into the new stack frame.
14750 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14751 (UNDOCARGS_1): Update to restore from the new stack frame.
14752 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14753 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14755 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14756 (SINGLE_THREAD_P): New parameter for result regno.
14757 (PSEUDO): Update to match; use cbz instead of beq.
14759 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14760 Use ENTRY to define the _nocancel entry point. Share the syscall
14761 and syscall error check paths with the cancel path.
14764 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14765 whitespace; tabs before and after asm mnemonics.
14767 2014-05-29 Eric Wong <normalperson@yhbt.net>
14770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14771 Call fstat64 or stat64 internally, depending on arguments passed.
14772 Replace stat buffer argument with file descriptor argument.
14773 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14774 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14775 Pass fd to __internal_statvfs instead of calling fstat64.
14776 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14777 Pass fd to __internal_statvfs64 instead of calling fstat64.
14778 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14779 Pass -1 to __internal_statvfs instead of calling stat64.
14780 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14781 Pass -1 to __internal_statvfs64 instead of calling stat64.
14783 2014-05-28 Roland McGrath <roland@hack.frob.com>
14785 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14786 that was previously under [RESET_PID].
14787 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14789 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14790 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14792 2014-05-27 Roland McGrath <roland@hack.frob.com>
14794 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14796 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14797 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14799 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
14801 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14803 2014-05-27 Andreas Schwab <schwab@suse.de>
14805 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14807 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14808 * elf/rtld.c (init_tls, dl_main): Likewise.
14809 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14810 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14811 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14812 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14813 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14814 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14815 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14816 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14817 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14818 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14819 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14820 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14821 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14822 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14823 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14824 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14825 * sysdeps/generic/tls.h: Update description.
14827 2014-05-27 Will Newton <will.newton@linaro.org>
14830 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14831 and restore r2 rather than just restoring.
14833 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14836 * libio/tst-ftell-append.c: New test case.
14837 * libio/Makefile (tests): Add test case.
14838 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14840 * libio/wfileops.c (do_ftell_wide): Likewise.
14842 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14846 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14850 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14851 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14852 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14853 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14854 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14855 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14862 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14863 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14864 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14865 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14866 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14868 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14869 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14871 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14873 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14875 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14876 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14877 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14879 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14880 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14881 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14882 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14887 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14905 conditional [RESET_PID].
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14907 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14914 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14915 (__libc_vfork): New strong alias.
14916 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14918 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14923 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14924 (__libc_vfork): New strong alias.
14925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14930 2014-05-26 Carlos O'Donell <carlos@redhat.com>
14932 * malloc/malloc.c (mi_arena): New function.
14933 (malloc_info): Remove nested function mi_arena. Call non-nosted
14936 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14938 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14940 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14941 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14942 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14943 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14945 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14948 2014-05-26 Andreas Schwab <schwab@suse.de>
14951 * locale/programs/repertoire.c (repertoire_read): Add slash
14952 between I18NPATH element and file name.
14953 * locale/programs/locfile.c (locfile_read): Likewise.
14955 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14957 * nptl/pthread_mutexattr_settype.c
14958 (__pthread_mutexattr_settype):
14959 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14961 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14963 * nptl/tst-mutex5 (do_test):
14964 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14966 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14968 * benchtests/README: Document 'init' directive.
14969 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14971 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14972 (parse_file): Recognize 'init' directive.
14974 2014-05-26 Kyle McMartin <kyle@redhat.com>
14977 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14978 alignment of struct pthread.
14980 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14983 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14984 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14985 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14986 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14988 2014-05-25 Richard Henderson <rth@twiddle.net>
14990 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14991 (SINGLE_THREAD_P_PIC): Remove.
14992 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14993 (SINGLE_THREAD_P_PIC): Remove.
14995 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14996 branch to syscall error ...
14997 (PSEUDO): ... here.
14998 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14999 from __local_syscall_error to .Lsyscall_error.
15000 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15001 (SYSCALL_ERROR): Update label name.
15003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15004 Do not use DOARGS/UNDOARGS.
15005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15006 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15007 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15008 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15009 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15014 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15015 define if !NOT_IN_libc.
15016 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15017 define with non-default symbol versions.
15019 2014-05-23 Richard Henderson <rth@twiddle.net>
15021 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15022 (vfork, __vfork): Define via compat_symbol.
15024 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15025 [!HAVE_IFUNC] (vfork_compat): Remove.
15026 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15028 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15031 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15032 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15035 2014-05-23 Richard Henderson <rth@twiddle.net>
15037 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15038 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15039 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15040 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15042 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15043 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15044 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15045 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15046 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15047 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15048 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15049 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15050 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15051 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15052 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15053 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15054 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15055 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15056 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15057 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15058 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15059 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15060 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15061 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15062 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15063 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15064 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15065 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15066 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15068 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15069 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15070 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15071 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15072 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15073 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15074 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15075 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15076 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15077 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15078 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15079 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15080 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15081 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15082 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15083 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15084 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15085 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15086 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15087 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15088 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15089 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15090 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15091 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15092 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15093 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15095 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15096 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15097 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15099 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15100 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15101 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15102 before exiting on error.
15103 (__libc_vfork): New strong alias.
15104 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15105 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15107 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15108 that was previously under [RESET_PID].
15109 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15111 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15113 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15116 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15117 value when x - 1 is zero.
15118 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15119 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15120 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15121 0.0L for an argument of 1.0L.
15122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15124 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15125 value when x - 1 is zero.
15126 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15127 * sysdeps/i386/fpu/libm-test-ulps: Update.
15128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15132 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15133 alphasort and versionsort.
15135 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15137 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15139 [copysignf]: Likewise.
15141 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15143 * crypt/md5-crypt.c: Fix formatting.
15145 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15147 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15148 (b64_from_24bit): New function.
15150 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15152 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15153 libc_hidden_builtin_def to ifunc.
15154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15155 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15157 2014-05-21 Roland McGrath <roland@hack.frob.com>
15159 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15160 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15162 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15164 * nscd/Depend (linuxthreads): Remove.
15166 * resolv/Depend (linuxthreads): Remove.
15167 * rt/Depend (linuxthreads): Remove.
15169 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15170 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15171 $(common-objpfx)elf/.
15172 (link-libc-before-gnulib): Likewise.
15173 (elfobjdir): Remove variable.
15174 * Makefile (install): Use $(elf-objpfx) instead of
15175 $(common-objpfx)elf/.
15176 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15178 (link-libc-deps): Likewise.
15179 ($(common-objpfx)libc.so): Likewise.
15180 ($(common-objpfx)linkobj/libc.so): Likewise.
15181 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15182 instead of $(common-objpfx)elf/.
15183 (symbolic-link-list): Likewise.
15184 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15185 [$(cross-compiling) = no]: Likewise.
15186 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15188 (static-gnulib-arch): Likewise.
15189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15190 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15191 $(common-objpfx)elf/.
15193 2014-05-21 Richard Henderson <rth@redhat.com>
15195 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15196 (SINGLE_THREAD_P): Use the correct width load. Fold
15197 into the ldr offset.
15199 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15200 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15202 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15204 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15205 (libgcc_s_resume): Use __attribute_used__.
15206 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15209 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15212 optimization when used with float constants.
15214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15216 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15219 * locale/nl_langinfo_l.c: Make direct reference to every
15220 _nl_current_CATEGORY symbol.
15221 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15222 (tests-static): Add tst-langinfo-static.
15223 (tests-special): Add tst-langinfo-static.out.
15224 ($(objpfx)tst-langinfo.out): Redirect output.
15225 ($(objpfx)tst-langinfo-static.out): New.
15226 * localedata/tst-langinfo.sh: Send output to stdout.
15227 * localedata/tst-langinfo-static.c: New file.
15230 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15231 when the shift amount is modulo the limb size.
15233 2014-05-20 Richard Henderson <rth@redhat.com>
15236 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15237 Change type of sa_flags from unsigned int to int.
15240 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15242 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15244 2014-05-20 Will Newton <will.newton@linaro.org>
15246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15247 Test the return value of the system call in the nocancel case.
15249 2014-05-20 Will Newton <will.newton@linaro.org>
15250 Yvan Roux <yvan.roux@linaro.org>
15252 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15253 #include of asm/ptrace.h.
15254 (PTRACE_GET_THREAD_AREA): Remove #undef.
15255 (PTRACE_GETHBPREGS): Likewise.
15256 (PTRACE_SETHBPREGS): Likewise.
15257 (struct user_regs_struct): New structure.
15258 (struct user_fpsimd_struct): New structure.
15259 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15260 #include of asm/ptrace.h and second #include of sys/user.h.
15261 (PTRACE_GET_THREAD_AREA): Remove #undef.
15262 (PTRACE_GETHBPREGS): Likewise.
15263 (PTRACE_SETHBPREGS): Likewise.
15264 (ELF_NGREG): Use new struct user_regs_struct.
15265 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15267 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15269 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15270 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15272 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15276 membar to avoid block loads/stores to overlap previous stores.
15278 2014-05-17 Richard Henderson <rth@redhat.com>
15280 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15281 Create the __##syscall_name##_nocancel entry point.
15282 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15283 Remove; let the sysdep-cancel.h code create it.
15285 2014-05-17 David S. Miller <davem@davemloft.net>
15287 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15288 Protect with __USE_GNU.
15289 (TIOCSET_TEMPT): Likewise.
15290 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15291 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15292 these are already provided in bits/ioctl-types.h
15294 2014-05-16 Roland McGrath <roland@hack.frob.com>
15296 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15297 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15299 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15300 Use wait4 regardless of [__NR_waitpid].
15302 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15305 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15306 (_FP_NANSIGN_Q): Set the quiet bit.
15308 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15310 * benchtests/Makefile
15311 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15312 not $(common-objpfx)math/libm.so.
15313 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15314 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15315 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15316 $(common-objpfx)dlfcn/libdl.so.
15317 ($(objpfx)tst-audit8): Depend on $(libm), not
15318 $(common-objpfx)math/libm.so.
15319 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15320 not $(common-objpfx)dlfcn/libdl.so.
15322 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15323 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15324 [$(build-shared) = yes].
15325 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15326 $(common-objpfx)nptl/libpthread.so.
15327 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15328 $(common-objpfx)math/libm.so$(libm.so-version) or
15329 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15330 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15331 $(common-objpfx)dlfcn/libdl.so.
15332 * setjmp/Makefile (link-libm): Remove variable.
15333 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15334 * stdio-common/Makefile (link-libm): Remove variable.
15335 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15336 * stdlib/Makefile (link-libm): Remove variable.
15337 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15338 ($(objpfx)tst-strtod-round): Likewise.
15339 ($(objpfx)tst-tininess): Likewise.
15340 ($(objpfx)tst-strtod-underflow): Likewise.
15341 ($(objpfx)tst-strtod6): Likewise.
15342 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15343 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15344 $(common-objpfx)dlfcn/libdl.so.
15346 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15348 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15349 BSD terminal modes definitions.
15351 2014-05-16 Roland McGrath <roland@hack.frob.com>
15353 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15354 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15356 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15357 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15358 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15359 Don't do #include_next.
15360 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15361 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15362 Don't do #include_next.
15363 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15364 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15365 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15366 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15368 2014-05-16 Allan McRae <allan@archlinux.org>
15370 * po/sv.po: Update Swedish translation from translation project.
15372 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15375 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15378 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15379 errno if the TIOCGPTN ioctl fails with an error different than
15381 * login/tst-ptsname.c: New file.
15382 * login/Makefile (tests): Add tst-ptsname.
15385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15388 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15392 herrno to return EAI_AGAIN.
15394 2014-05-14 Roland McGrath <roland@hack.frob.com>
15396 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15397 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15398 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15399 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15400 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15401 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15403 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15405 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15407 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15408 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15409 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15410 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15411 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15412 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15413 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15415 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15416 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15417 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15418 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15419 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15420 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15421 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15422 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15423 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15424 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15425 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15427 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15429 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15432 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15434 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15438 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15440 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15444 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15448 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15450 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15452 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15454 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15456 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15458 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15461 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15463 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15465 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15467 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15469 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15471 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15473 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15475 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15477 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15479 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15482 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15484 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15486 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15487 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15488 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15489 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15490 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15491 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15492 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15493 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15494 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15495 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15496 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15497 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15498 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15499 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15500 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15501 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15502 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15503 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15504 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15505 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15506 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15507 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15508 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15509 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15510 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15511 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15512 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15513 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15514 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15515 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15516 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15518 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15519 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15521 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15522 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15523 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15525 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15529 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15531 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15534 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15535 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15538 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15539 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15542 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15543 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15544 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15545 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15546 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15547 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15548 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15549 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15551 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15552 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15556 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15557 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15558 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15559 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15560 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15567 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15568 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15570 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15574 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15576 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15579 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15580 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15582 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15583 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15584 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15587 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15588 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15589 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15590 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15591 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15592 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15593 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15594 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15596 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15597 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15599 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15601 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15602 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15603 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15604 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15605 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15612 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15613 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15614 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15615 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15616 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15617 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15619 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15623 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15625 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15628 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15629 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15632 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15633 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15634 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15635 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15636 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15638 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15639 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15640 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15641 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15642 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15643 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15644 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15645 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15647 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15652 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15653 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15654 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15655 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15656 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15660 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15663 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15664 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15665 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15666 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15667 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15668 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15669 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15670 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15671 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15672 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15674 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15675 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15677 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15678 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15680 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15681 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15682 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15683 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15684 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15685 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15686 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15688 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15689 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15690 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15691 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15693 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15694 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15696 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15699 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15700 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15701 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15704 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15705 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15706 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15708 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15713 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15716 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15718 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15720 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15722 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15723 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15724 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15725 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15726 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15727 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15728 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15729 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15730 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15731 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15732 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15734 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15735 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15736 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15737 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15738 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15740 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15741 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15742 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15743 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15744 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15745 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15746 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15747 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15748 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15749 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15754 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15755 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15756 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15757 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15759 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15760 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15761 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15762 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15763 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15764 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15765 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15766 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15767 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15770 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15799 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15801 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
15804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15805 that was previously under [RESET_PID].
15806 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15807 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15808 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15810 * sysdeps/i386/nptl/Implies: New file.
15811 * sysdeps/x86_64/nptl/Implies: New file.
15812 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15813 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15814 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15815 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15817 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15818 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15819 (__libc_vfork): New strong alias.
15820 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15821 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15823 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15825 (__libc_vfork): New strong alias.
15826 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15827 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15829 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15831 (__libc_vfork): New strong alias.
15832 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15833 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15834 * nptl/pt-vfork.c: New file.
15835 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15836 (libpthread: GLIBC_2.20): New version set (empty).
15838 2014-05-14 Will Newton <will.newton@linaro.org>
15840 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15843 2014-05-14 Joseph Myers <joseph@codesourcery.com>
15846 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15847 arguments with exponent 65 or above.
15848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15849 arguments 0x1p113L or above.
15850 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15851 to arguments 0x1p107L or above.
15852 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15853 positive arguments with exponent 65 or above.
15854 * math/auto-libm-test-in: Add more tests of log1p.
15855 * math/auto-libm-test-out: Regenerated.
15858 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15859 non-finite arguments is +0.
15860 * math/s_cacosf.c (__cacosf): Likewise.
15861 * math/s_cacosl.c (__cacosl): Likewise.
15862 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15869 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15870 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15871 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15872 for explicit high bit of mantissa when testing for argument equal
15874 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15880 (__erf): Scale by 16 instead of 8 in potentially underflowing
15881 case. Ensure exception if result actually underflows.
15882 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15883 (__erff): Scale by 16 instead of 8 in potentially underflowing
15884 case. Ensure exception if result actually underflows.
15885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15886 (efx8): Remove variable.
15887 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15888 case. Ensure exception if result actually underflows.
15889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15890 (efx8): Remove variable.
15891 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15892 case. Ensure exception if result actually underflows.
15893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15894 (efx8): Remove variable.
15895 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15896 case. Ensure exception if result actually underflows.
15897 * math/auto-libm-test-in: Add more tests of erf.
15898 * math/auto-libm-test-out: Regenerated.
15900 2014-05-14 Andreas Schwab <schwab@suse.de>
15902 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15903 Remove code conditionalized on USE___THREAD.
15905 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15906 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15909 2014-05-14 Joseph Myers <joseph@codesourcery.com>
15911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15912 Define unconditionally.
15913 (__ASSUME_O_CLOEXEC): Likewise.
15914 (__ASSUME_SOCK_CLOEXEC): Likewise.
15915 (__ASSUME_IN_NONBLOCK): Likewise.
15916 (__ASSUME_PIPE2): Likewise.
15917 (__ASSUME_EVENTFD2): Likewise.
15918 (__ASSUME_SIGNALFD4): Likewise.
15919 (__ASSUME_DUP3): Likewise.
15920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15921 (__ASSUME_DUP3): Do not define.
15922 (__ASSUME_EVENTFD2): Likewise.
15923 (__ASSUME_IN_NONBLOCK): Likewise.
15924 (__ASSUME_O_CLOEXEC): Likewise.
15925 (__ASSUME_PIPE2): Likewise.
15926 (__ASSUME_SIGNALFD4): Likewise.
15927 (__ASSUME_SOCK_CLOEXEC): Likewise.
15928 (__ASSUME_UTIMES): Undefine.
15929 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15930 (__ASSUME_UTIMES): Do not define.
15931 (__ASSUME_O_CLOEXEC): Likewise.
15932 (__ASSUME_SOCK_CLOEXEC): Likewise.
15933 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15934 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15936 (__ASSUME_PIPE2): Likewise.
15937 (__ASSUME_EVENTFD2): Likewise.
15938 (__ASSUME_SIGNALFD4): Likewise.
15939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15940 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15942 (__ASSUME_EVENTFD2): Likewise.
15943 (__ASSUME_SIGNALFD4): Likewise.
15944 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15945 (__ASSUME_32BITUIDS): Likewise.
15946 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15947 (__ASSUME_IPC64): Likewise.
15948 (__ASSUME_ST_INO_64_BIT): Likewise.
15949 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15950 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15951 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15952 (__ASSUME_UTIMES): Do not define.
15953 (__ASSUME_PSELECT): Likewise.
15954 (__ASSUME_PPOLL): Likewise.
15955 (__ASSUME_O_CLOEXEC): Likewise.
15956 (__ASSUME_SOCK_CLOEXEC): Likewise.
15957 (__ASSUME_IN_NONBLOCK): Likewise.
15958 (__ASSUME_PIPE2): Likewise.
15959 (__ASSUME_EVENTFD2): Likewise.
15960 (__ASSUME_SIGNALFD4): Likewise.
15961 (__ASSUME_DUP3): Likewise.
15962 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15963 (__ASSUME_UTIMES): Likewise.
15964 (__ASSUME_O_CLOEXEC): Likewise.
15965 (__ASSUME_SOCK_CLOEXEC): Likewise.
15966 (__ASSUME_IN_NONBLOCK): Likewise.
15967 (__ASSUME_PIPE2): Likewise.
15968 (__ASSUME_EVENTFD2): Likewise.
15969 (__ASSUME_SIGNALFD4): Likewise.
15970 (__ASSUME_DUP3): Likewise.
15971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15972 (__ASSUME_UTIMES): Likewise.
15973 (__ASSUME_O_CLOEXEC): Likewise.
15974 (__ASSUME_SOCK_CLOEXEC): Likewise.
15975 (__ASSUME_IN_NONBLOCK): Likewise.
15976 (__ASSUME_PIPE2): Likewise.
15977 (__ASSUME_EVENTFD2): Likewise.
15978 (__ASSUME_SIGNALFD4): Likewise.
15979 (__ASSUME_DUP3): Likewise.
15980 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15982 (__ASSUME_UTIMES): Likewise.
15983 (__ASSUME_EVENTFD2): Likewise.
15984 (__ASSUME_SIGNALFD4): Likewise.
15985 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15986 (__ASSUME_O_CLOEXEC): Likewise.
15987 (__ASSUME_SOCK_CLOEXEC): Likewise.
15988 (__ASSUME_IN_NONBLOCK): Likewise.
15989 (__ASSUME_PIPE2): Likewise.
15990 (__ASSUME_EVENTFD2): Likewise.
15991 (__ASSUME_SIGNALFD4): Likewise.
15992 (__ASSUME_DUP3): Likewise.
15993 (__ASSUME_UTIMES): Undefine.
15995 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15996 feclearexcept. Remove symbol versioning code.
15997 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15998 symbol versioning code.
15999 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16000 symbol versioning code.
16001 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16002 feupdateenv. Remove symbol versioning code.
16003 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16004 fegetexceptflag. Remove symbol versioning code.
16005 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16006 fesetexceptflag. Remove symbol versioning code.
16007 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16008 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16009 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16010 (__posix_fadvise64_l32): Remove prototype.
16011 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16014 2014-05-13 Roland McGrath <roland@hack.frob.com>
16016 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16017 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16018 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16019 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16021 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16023 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16024 current working directory
16026 2014-05-13 Roland McGrath <roland@hack.frob.com>
16028 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16029 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16030 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16031 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16032 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16033 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16034 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16035 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16036 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16037 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16038 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16039 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16040 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16041 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16042 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16043 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16044 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16045 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16046 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16047 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16048 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16049 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16050 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16051 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16052 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16053 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16054 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16055 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16056 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16057 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16058 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16059 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16060 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16061 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16062 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16063 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16064 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16066 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16067 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16068 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16069 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16071 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16072 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16074 * sysdeps/unix/sysv/linux/arm/Makefile
16075 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16076 Add rt-aeabi_unwind_cpp_pr1.
16077 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16078 Add nptl-aeabi_unwind_cpp_pr1.
16079 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16080 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16081 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16082 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16083 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16084 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16086 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16087 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16088 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16089 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16091 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16092 Deconditionalize the code that was previously under [RESET_PID].
16093 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16095 * sysdeps/generic/exit-thread.h: New file.
16096 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16097 * include/unistd.h (__exit_thread): Remove declaration.
16098 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16099 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16100 * csu/libc-start.c: Include <exit-thread.h>.
16101 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16102 * nptl/pthread_create.c: Include <exit-thread.h>.
16103 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16104 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16105 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16106 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16107 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16108 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16109 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16110 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16111 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16112 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16113 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16114 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16115 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16116 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16117 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16118 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16119 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16121 2014-05-13 Andreas Schwab <schwab@suse.de>
16123 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16125 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16128 (__ASSUME_UTIMES): Do not condition on kernel version.
16129 (__ASSUME_PSELECT): Define unconditionally.
16130 (__ASSUME_PPOLL): Likewise.
16131 (__ASSUME_ATFCTS): Likewise.
16132 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16133 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16134 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16135 (__ASSUME_UTIMENSAT): Define unconditionally.
16136 (__ASSUME_PRIVATE_FUTEX): Likewise.
16137 (__ASSUME_FALLOCATE): Likewise.
16138 (__ASSUME_O_CLOEXEC): Likewise.
16139 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16140 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16141 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16142 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16143 (__ASSUME_IN_NONBLOCK): Likewise.
16144 (__ASSUME_PIPE2): Likewise.
16145 (__ASSUME_EVENTFD2): Likewise.
16146 (__ASSUME_SIGNALFD4): Likewise.
16147 (__ASSUME_DUP3): Likewise.
16148 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16149 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16150 (__ASSUME_AT_RANDOM): Likewise.
16151 (__ASSUME_PREADV): Likewise.
16152 (__ASSUME_PWRITEV): Likewise.
16153 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16154 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16155 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16156 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16157 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16158 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16159 (__ASSUME_O_CLOEXEC): Define unconditionally.
16160 (__ASSUME_PSELECT): Do not undefine conditionally.
16161 (__ASSUME_PPOLL): Likewise.
16162 (__ASSUME_ATFCTS): Likewise.
16163 (__ASSUME_SET_ROBUST_LIST): Likewise.
16164 (__ASSUME_UTIMENSAT): Likewise.
16165 (__ASSUME_FDATASYNC): Define unconditionally.
16166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16167 (__ASSUME_SIGFRAME_V2): Likewise.
16168 )__ASSUME_EVENTFD2): Likewise.
16169 (__ASSUME_SIGNALFD4): Likewise.
16170 (__ASSUME_PSELECT): Do not undefine conditionally.
16171 (__ASSUME_PPOLL): Likewise.
16172 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16173 (__ASSUME_PSELECT): Define unconditionally.
16174 (__ASSUME_PPOLL): Likewise.
16175 (__ASSUME_O_CLOEXEC): Likewise.
16176 (__ASSUME_SOCK_CLOEXEC): Likewise.
16177 (__ASSUME_IN_NONBLOCK): Likewise.
16178 (__ASSUME_PIPE2): Likewise.
16179 (__ASSUME_EVENTFD2): Likewise.
16180 (__ASSUME_SIGNALFD4): Likewise.
16181 (__ASSUME_DUP3): Likewise.
16182 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16183 (__ASSUME_O_CLOEXEC): Likewise.
16184 (__ASSUME_SOCK_CLOEXEC): Likewise.
16185 (__ASSUME_IN_NONBLOCK): Likewise.
16186 (__ASSUME_PIPE2): Likewise.
16187 (__ASSUME_EVENTFD2): Likewise.
16188 (__ASSUME_SIGNALFD4): Likewise.
16189 (__ASSUME_DUP3): Likewise.
16190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16191 (__ASSUME_EVENTFD2): Likewise.
16192 (__ASSUME_SIGNALFD4): Likewise.
16193 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16195 2014-05-12 Andreas Schwab <schwab@suse.de>
16198 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16199 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16200 than maximum RPC packet size.
16201 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16202 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16203 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16204 (_nss_nis_getservbyport_r): Likewise.
16206 2014-05-12 Will Newton <will.newton@linaro.org>
16208 * malloc/Makefile (tests): Add tst-mallopt.
16209 * malloc/tst-mallopt.c: New file.
16211 2014-05-09 Roland McGrath <roland@hack.frob.com>
16213 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16214 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16216 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16218 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16219 (tst-tlsmod6.so): Likewise.
16221 2014-05-09 Roland McGrath <roland@hack.frob.com>
16223 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16225 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16228 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16229 and <dl-procinfo.h>.
16230 (__fegetenv): Save SSE state in envp->__eip if supported.
16231 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16232 envp->__eip if supported.
16233 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16234 and <dl-procinfo.h>.
16235 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16236 __data_offset and __data_selector in environment to 0. Set SSE
16237 state if supported.
16238 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16240 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16242 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16244 2014-05-09 Will Newton <will.newton@linaro.org>
16246 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16247 and libc_relro_required for ARM.
16248 * sysdeps/arm/preconfigure: Regenerate.
16250 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16251 Stefan Liebler <stli@linux.vnet.ibm.com>
16253 * config.make.in (enable-lock-elision): New Makefile variable.
16254 * configure.ac: Likewise.
16255 * configure: Regenerate.
16256 * sysdeps/s390/configure.ac:
16257 Add check for gcc transactions support.
16258 * sysdeps/s390/configure: Regenerate.
16259 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16260 Build elision files if enabled.
16261 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16262 Add lock elision support for s390.
16263 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16264 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16265 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16266 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16267 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16268 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16277 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16278 (__lll_timedlock_elision, __lll_lock_elision)
16279 (__lll_unlock_elision, __lll_trylock_elision)
16280 (lll_timedlock_elision, lll_lock_elision)
16281 (lll_unlock_elision, lll_trylock_elision): Add.
16282 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16283 (pthread_mutex_t): Add lock elision support for s390.
16285 2014-05-14 Wilco <wdijkstr@arm.com>
16287 * sysdeps/arm/fclrexcpt.c: Cleanup.
16288 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16289 * sysdeps/arm/feenablxcpt.c: Cleanup.
16290 * sysdeps/arm/fegetenv.c: Cleanup.
16291 * sysdeps/arm/fegetexcept.c: Cleanup.
16292 * sysdeps/arm/fegetround.c: Cleanup.
16293 * sysdeps/arm/feholdexcpt.c: Cleanup.
16294 * sysdeps/arm/fesetenv.c: Cleanup.
16295 * sysdeps/arm/fesetround.c: Cleanup.
16296 * sysdeps/arm/feupdateenv.c: Cleanup.
16297 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16298 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16299 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16300 * sysdeps/arm/ftestexcept.c: Cleanup.
16301 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16302 * sysdeps/arm/setfpucw.c: Cleanup.
16304 2014-05-09 Will Newton <will.newton@linaro.org>
16306 * sysdeps/arm/armv7/strcmp.S: New file.
16307 * NEWS: Mention addition of ARMv7 optimized strcmp.
16309 2014-05-08 Roland McGrath <roland@hack.frob.com>
16311 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16312 look for %.ac rather than %.in.
16314 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16315 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16316 * sysdeps/mach/hurd/configure: Regenerated.
16317 * sysdeps/unix/sysv/linux/configure: Regenerated.
16319 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16321 2014-05-07 Steve Ellcey <sellcey@mips.com>
16324 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16328 2014-05-07 Andreas Schwab <schwab@suse.de>
16330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16331 when skipping over non-matching result from nscd.
16333 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16336 * nptl/sockperf.c (client): Check socket return value.
16339 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16340 nscd security class.
16342 2014-05-06 Roland McGrath <roland@hack.frob.com>
16344 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16345 * sysdeps/arm/unwind.h: ... here.
16347 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16353 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16355 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16356 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16357 multiarch strncpy for PPC64.
16358 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16359 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16361 multiarch optimizations.
16362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16363 (__libc_ifunc_impl_list): Likewise.
16364 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16365 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16366 multiarch stpncpy for PPC64.
16367 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16368 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16370 2014-05-06 Andreas Schwab <schwab@suse.de>
16373 * gmon/mcount.c (_MCOUNT_DECL): Use
16374 atomic_compare_and_exchange_bool_acq instead of
16375 catomic_compare_and_exchange_bool_acq.
16377 2014-05-05 Roland McGrath <roland@hack.frob.com>
16379 * elf/Makefile (others, install-bin): Remove pldd.
16380 (pldd-modules): Variable removed.
16381 ($(objpfx)pldd): Target removed.
16382 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16383 (others, install-bin): Append pldd here.
16384 ($(objpfx)pldd): New target.
16386 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16387 to 0, so the first #if test emitted later doesn't see it undefined.
16388 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16389 * sysdeps/gnu/errlist.c: Regenerated.
16391 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16394 [libc_hidden_builtin_def]: Define to empty value.
16395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16396 [libc_hidden_builtin_def]: Likewise.
16397 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16398 [libc_hidden_builtin_def]: Likewise.
16399 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16400 [libc_hidden_builtin_def]: Likewise.
16401 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16402 __redirect_memcpy and define ifunc as default hidden symbol.
16403 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16404 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16406 2014-05-04 Adam Conrad <adconrad@0c3.net>
16408 * locale/iso-4217.def: Reintroduce XDR currency.
16410 2014-05-04 Allan McRae <allan@archlinux.org>
16412 * po/eo.po: Update Esperanto translation from translation project.
16414 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16416 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16417 and FEATURE_INDEX_MAX to 1.
16418 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16420 2014-05-01 Steve Ellcey <sellcey@mips.com>
16422 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16423 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16424 * iconvdata/big5.c (ONE_DIRECTION): Define.
16425 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16426 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16427 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16428 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16429 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16430 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16431 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16432 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16433 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16434 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16435 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16436 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16437 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16438 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16439 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16440 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16441 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16442 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16443 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16444 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16445 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16446 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16447 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16448 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16449 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16450 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16451 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16452 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16453 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16454 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16455 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16456 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16457 * iconvdata/johab.c (ONE_DIRECTION): Define.
16458 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16459 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16460 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16461 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16462 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16463 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16464 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16465 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16466 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16467 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16469 2014-05-01 Roland McGrath <roland@hack.frob.com>
16471 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16472 (_IO_JUMPS_OFFSET): Define to 0.
16474 * nptl/sysdeps/pthread/bits/libc-lock.h
16475 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16476 (__libc_lock_define_initialized_recursive): Always define using
16477 initializer. Modern compilers treat uninitialized (implicit zero) and
16478 explicit zero initializers the same (i.e. put the datum in bss).
16480 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16482 * nscd/nscd-client.h: Include <string.h>.
16484 2014-05-01 David S. Miller <davem@davemloft.net>
16487 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16488 multiple zero bytes exist at the end of a string.
16489 Reported by Aurelien Jarno <aurelien@aurel32.net>
16491 * string/test-strcmp.c (check): Add explicit test for situations where
16492 there are multiple zero bytes after the first.
16494 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16497 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16498 when compiling wprintf.
16499 * stdio-common/tstdiomisc.c (t3): New function.
16502 2014-05-01 Steve Ellcey <sellcey@mips.com>
16504 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16505 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16506 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16507 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16509 2014-05-01 Steve Ellcey <sellcey@mips.com>
16511 * stdlib/longlong.h: Updated from GCC.
16513 2014-05-01 Will Newton <will.newton@linaro.org>
16514 Bernard Ogden <bernie.ogden@linaro.org>
16516 * NEWS: Update fixed bug list.
16519 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16521 2014-04-30 David S. Miller <davem@davemloft.net>
16523 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16524 (libc_feholdexcept_setround_sparc_ctx): New function.
16525 (libc_fesetenv_sparc_ctx): Likewise.
16526 (libc_feupdateenv_sparc_ctx): Likewise.
16527 (libc_feholdsetround_sparc_ctx): Likewise.
16528 (libc_feholdexcept_setround_ctx): Define.
16529 (libc_feholdexcept_setroundf_ctx): Likewise.
16530 (libc_feholdexcept_setroundl_ctx): Likewise.
16531 (libc_fesetenv_ctx): Likewise.
16532 (libc_fesetenvf_ctx): Likewise.
16533 (libc_fesetenvl_ctx): Likewise.
16534 (libc_feupdateenv_ctx): Likewise.
16535 (libc_feupdateenvf_ctx): Likewise.
16536 (libc_feupdateenvl_ctx): Likewise.
16537 (libc_feresetround_ctx): Likewise.
16538 (libc_feresetroundf_ctx): Likewise.
16539 (libc_feresetroundl_ctx): Likewise.
16540 (libc_feholdsetround_ctx): Likewise.
16541 (libc_feholdsetroundf_ctx): Likewise.
16542 (libc_feholdsetroundl_ctx): Likewise.
16544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16545 with __USE_GNU instead of XOPEN cpp guards.
16547 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16551 with XOPEN cpp guards.
16553 2014-04-30 Julian Brown <julian@codesourcery.com>
16556 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16559 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16562 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16564 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16565 * sysdeps/unix/sysv/linux/configure: Regenerated.
16566 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16567 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16568 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16569 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16570 * README: Update reference to required Linux kernel version.
16571 * manual/install.texi (Linux): Update reference to required Linux
16572 kernel headers version.
16573 * INSTALL: Regenerated.
16575 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16577 [POSIX] (limits.h): Likewise.
16578 [POSIX] (math.h): Likewise.
16579 [POSIX] (sys/wait.h): Likewise.
16580 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16582 [POSIX] (stddef.h): Do not allow header inclusion.
16584 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16586 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16588 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16590 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16591 Return immediately after lll_futex_wake.
16593 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16596 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16598 (datahead_init_pos): Call datahead_init_common early.
16599 (datahead_init_neg): Likewise.
16601 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16602 datahead_init_neg): New functions.
16603 * nscd/aicache.c (addhstaiX): Use them.
16604 * nscd/grpcache.c (cache_addgr): Likewise.
16605 * nscd/hstcache.c (cache_addhst): Likewise.
16606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16607 * nscd/netgroupcache.c (do_notfound): Likewise.
16608 (addgetnetgrentX): Likewise.
16609 (addinnetgrX): Likewise.
16610 * nscd/pwdcache.c (cache_addpw): Likewise.
16611 * nscd/servicescache.c (cache_addserv): Likewise.
16613 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16614 Atsushi Onoe <atsushi@onoe.org>
16619 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16620 one response is valid.
16621 * resolv/res_send.c (send_dg): Check for validity of other
16622 response if the current response is a referral.
16624 2014-04-29 Steve Ellcey <sellcey@mips.com>
16626 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16628 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16631 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16632 Always divide by positive zero when computing -Inf result.
16633 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16634 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16636 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16638 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16639 FPSCR if value do not change.
16640 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16641 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16642 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16643 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16644 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16645 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16648 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16650 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16651 * sysdeps/unix/sysv/linux/hppa: Move directory from
16652 ports/systeps/unix/sysv/linux/hppa.
16653 * README: Update listing for hppa-*-linux-gnu.
16655 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
16658 * manual/stdio.texi (Hook functions): Fix types of stream hook
16661 * socket/sys/socket.h: Fix typo in comment.
16663 2014-04-28 Wilco <wdijkstr@arm.com>
16665 * sysdeps/arm/fenv_private.h: New file.
16666 * sysdeps/arm/math_private.h: New file.
16667 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16669 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16671 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16673 (La_x86_64_retval): Likewise.
16675 2014-04-24 Ian Bolton <ian.bolton@arm.com>
16677 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16678 fpsr if value didn't change.
16679 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16680 to fpcr if value didn't change.
16681 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16682 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16683 fpsr or fpcr if value didn't change.
16684 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16685 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16686 fpcr if value didn't change.
16687 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16688 to fpsr if value didn't change.
16690 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16692 * nptl/tst-sem3.c: Use test-skeleton.c
16693 (main): Rename to do_test. Use return instead of
16695 * nptl/tst-sem4.c: Use test-skeleton.c
16696 (main): Rename to do_test.
16698 2014-04-22 David S. Miller <davem@davemloft.net>
16700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16701 (struct sigaction): New struct member __glibc_reserved0, change
16702 type of sa_flags to int.
16704 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16706 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16707 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16709 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16711 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16712 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16714 2014-04-22 Will Newton <will.newton@linaro.org>
16715 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16717 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16718 (__longjmp): Add longjmp and longjmp_target SystemTap
16720 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16721 (__sigsetjmp): Add setjmp SystemTap probe.
16723 2014-04-17 Carlos O'Donell <carlos@redhat.com>
16725 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16726 match manual order.
16728 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16730 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16732 * sysdeps/powerpc/fpu/fenv_private.h
16733 (libc_feholdexcept_setroundl_ctx): Define to
16734 libc_feholdexcept_setround_ppc_ctx.
16735 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16736 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16737 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16738 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16740 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16742 * sysdeps/aarch64/math-tests.h: New file.
16744 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16746 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16749 Check and set bit_AVX2_Usable.
16750 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16752 (bit_AVX2): Likewise.
16753 (index_AVX2_Usable): Likewise.
16754 (CPUID_AVX2): Likewise.
16755 (HAS_AVX2): Likewise.
16757 2014-04-17 Will Newton <will.newton@linaro.org>
16759 * manual/setjmp.texi (System V contexts): Add note that
16760 calling setcontext on a context created by a call to a
16761 signal handler is undefined. Update text to note that
16762 setcontext from a signal handler is possible but not
16766 * stdlib/tst-setcontext.c: Include signal.h.
16767 (main): Check that the signal stack before and
16768 after swapcontext is the same.
16770 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16771 Re-implement to restore registers in user code and avoid
16772 rt_sigreturn system call.
16774 2014-04-17 Wilco <wdijkstr@arm.com>
16776 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16777 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16778 * math/test-fenv.c: Skip exception trap tests on targets which only
16779 support non-stop mode.
16781 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16782 Wilco Dijkstra <wilco.dijkstra@arm.com>
16784 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16785 (libc_feholdsetround_aarch64_ctx)
16786 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16787 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16788 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16789 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16790 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16791 (libc_feresetround_noexl_ctx): Define.
16793 2014-04-16 Richard Henderson <rth@redhat.com>
16795 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16797 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16800 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16801 const from the non-libc, non-ldso copy.
16803 * sysdeps/alpha/libm-test-ulps: Regenerate.
16805 2014-04-16 Ian Bolton <ian.bolton@arm.com>
16806 Wilco Dijkstra <wilco.dijkstra@arm.com>
16808 * sysdeps/aarch64/fpu/math_private.h: New file.
16810 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16812 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16814 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16817 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16818 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16820 Intel MPX bound registers before _dl_profile_fixup.
16821 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16822 registers after _dl_profile_fixup. Save and restore bound
16823 registers bnd0/bnd1 when calling _dl_call_pltexit.
16824 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16825 (LR_BND_OFFSET): Likewise.
16826 (LRV_BND0_OFFSET): Likewise.
16827 (LRV_BND1_OFFSET): Likewise.
16829 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16831 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16833 * sysdeps/mach/hurd/i386/tls.h: ... here.
16834 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16835 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16838 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16840 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16842 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16844 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16846 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16849 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16850 * sysdeps/s390/configure: Regenerate.
16853 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16854 Set round-to-nearest internally to reduce error accumulation.
16856 2014-04-16 Alan Modra <amodra@gmail.com>
16860 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16861 * math/libm-test.inc (frexp_test_data): Add tests.
16862 * NEWS: Update fixed bug list.
16864 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16866 * benchtests/Makefile: Depend on libraries in build directory.
16867 (bench-math): Separate out math tests.
16868 (bench-pthread): Separate out pthread tests.
16869 (bench): Include math and pthread tests.
16871 2014-04-14 Carlos O'Donell <carlos@redhat.com>
16874 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16875 _dl_debug_initialize.
16877 * configure.ac: Remove SELinux header check.
16878 * configure: Regenerate.
16879 * nscd/selinux.c (perms): Array of const char* to permission names.
16880 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16881 default policy. Call string_to_security_class and string_to_av_perm to
16882 translate strings. Enforce default policy and call avs_has_perm with
16883 results of translated strings.
16885 2014-04-13 David S. Miller <davem@davemloft.net>
16887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16889 2014-04-12 Allan McRae <allan@archlinux.org>
16892 * manual/string.texi (Collation Functions): Fix qsort argument
16894 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16896 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16898 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16899 Make the test a no-op if there are no exceptions defined.
16901 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16903 * elf/Makefile (tests): make tst-dlopen-aout conditional on
16904 enable-hardcoded-path-in-tests
16906 2014-04-11 Will Newton <will.newton@linaro.org>
16908 * benchtests/Makefile (extra-objs): Add json-lib.o.
16909 (bench-func): Tidy up JSON output.
16910 * benchtests/bench-skeleton.c: Include json-lib.h.
16911 (main): Use JSON library functions to do output of
16913 * benchtests/bench-timing-type.c (main): Output the
16914 timing type simply, leaving formatting to the user.
16915 * benchtests/json-lib.c: New file.
16916 * benchtests/json-lib.h: Likewise.
16918 2014-04-11 Torvald Riegel <triegel@redhat.com>
16921 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16922 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16923 memory barriers. Add comments.
16924 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16925 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16926 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16927 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16928 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16929 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16931 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16933 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16934 * sysdeps/s390/s390-64/configure.ac: ... this ...
16935 * sysdeps/s390/configure.ac: ... to here.
16936 * sysdeps/s390/s390-32/configure: Delete file.
16937 * sysdeps/s390/s390-64/configure: Delete file.
16938 * sysdeps/s390/configure: Regenerate.
16940 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16942 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16944 2014-04-11 Will Newton <will.newton@linaro.org>
16946 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16947 to zero if it is not defined elsewhere. (mtrim): Test
16948 the value of MALLOC_DEBUG with #if rather than #ifdef.
16950 2014-04-10 Torvald Riegel <triegel@redhat.com>
16952 * benchtests/pthread_once-inputs: New file.
16953 * benchtests/pthread_once-source.c: New file.
16954 * benchtests/README: Update documentation.
16956 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16957 H.J. Lu <hongjiu.lu@intel.com>
16960 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16961 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16962 * sysdeps/x86_64/configure: Regenerated.
16963 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16965 (REGISTER_SAVE_RAX): Likewise.
16966 (REGISTER_SAVE_RCX): Likewise.
16967 (REGISTER_SAVE_RDX): Likewise.
16968 (REGISTER_SAVE_RSI): Likewise.
16969 (REGISTER_SAVE_RDI): Likewise.
16970 (REGISTER_SAVE_R8): Likewise.
16971 (REGISTER_SAVE_R9): Likewise.
16972 (REGISTER_SAVE_BND0): Likewise.
16973 (REGISTER_SAVE_BND1): Likewise.
16974 (REGISTER_SAVE_BND2): Likewise.
16975 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16976 bound registers when calling _dl_fixup.
16978 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16980 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16981 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16983 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16984 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16985 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16986 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16987 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16988 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16989 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16991 2014-04-09 Peter Brett <peter@peter-b.co.uk>
16994 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16995 pathconf(_PC_NAME_MAX).
16997 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16999 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17000 Remove macro usage.
17001 (__PTHREAD_SPINS): Move definition to ...
17002 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17003 (__PTHREAD_SPINS): ... here.
17004 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17005 (__PTHREAD_SPIN): Likewise.
17006 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17007 (__PTHREAD_SPIN): Likewise.
17008 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17009 (__PTHREAD_SPIN): Likewise.
17010 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17011 (__PTHREAD_SPIN): Likewise.
17012 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17013 (__PTHREAD_SPIN): Likewise.
17014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17015 (__PTHREAD_SPIN): Likewise.
17016 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17017 (__PTHREAD_SPIN): Likewise.
17018 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17019 (__PTHREAD_SPIN): Likewise.
17020 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17021 (__PTHREAD_SPIN): Likewise.
17022 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17023 (__PTHREAD_SPIN): Likewise.
17024 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17025 (__PTHREAD_SPIN): Likewise.
17026 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17027 (__PTHREAD_SPIN): Likewise.
17029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17030 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17031 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17035 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17036 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17037 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17038 correct imply path.
17039 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17040 strlen symbol for non multi-arch builds.
17041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17042 missing hidden_def and weak_alias.
17044 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17046 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17048 2014-04-07 Will Newton <will.newton@linaro.org>
17050 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17051 and contents. [!_LIBC] Remove #ifndef and contents.
17052 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17053 * string/memccpy.c (__memccpy): Use ANSI prototype.
17054 * string/memfrob.c (memfrob): Likewise.
17055 * string/strcoll.c (STRCOLL): Likewise.
17056 * string/strlen.c (strlen): Likewise.
17057 * string/strtok.c (STRTOK): Likewise.
17058 * string/strcat.c: Remove unused #include of memcopy.h.
17059 (strcat): Use ANSI prototype.
17060 * string/strchr.c: Remove unused #include of memcopy.h.
17061 (strchr): Use ANSI prototype.
17062 * string/strcmp.c: Remove unused #include of memcopy.h.
17063 (strcmp): Use ANSI prototype.
17064 * string/strcpy.c: Remove unused #include of memcopy.h.
17065 (strcpy): Use ANSI prototype.
17067 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17069 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17070 * config.make.in (config-extra-cppflags): Set it from
17071 libc_extra_cppflags.
17072 * configure.ac (libc_extra_cflags): Make it accumulate over
17073 configure fragments.
17074 (libc_extra_cppflags): New flag.
17075 * configure. Regenerate.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17077 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17078 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17082 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17083 result for FE_DOWNWARD rounding mode.
17084 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17088 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17090 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17091 in function argument name.
17093 2014-04-03 David Svoboda <svoboda@cert.org>
17096 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17099 2014-04-03 Roland McGrath <roland@hack.frob.com>
17101 * elf/dl-unmap-segments.h: New file.
17102 * sysdeps/generic/ldsodefs.h
17103 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17104 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17105 * elf/dl-fptr.c: Likewise.
17106 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17107 * sysdeps/aarch64/tlsdesc.c: Likewise.
17108 * sysdeps/arm/tlsdesc.c: Likewise.
17109 * sysdeps/i386/tlsdesc.c: Likewise.
17110 * sysdeps/tile/dl-runtime.c: Likewise.
17111 * sysdeps/x86_64/tlsdesc.c: Likewise.
17112 * elf/dl-load.h: New file.
17113 * elf/dl-load.c: Include it.
17114 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17115 Macros moved to dl-load.h.
17116 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17117 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17118 Use _dl_unmap_segments in place of __munmap.
17119 Break out segment-mapping loop into ...
17120 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17122 2014-04-03 Will Newton <will.newton@linaro.org>
17124 * elf/dl-lookup.c (do_lookup_x): Remove comment
17125 referring to nested function and move variable
17126 declarations down to before first use.
17128 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17132 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17134 * math/s_catanf.c (__catanf): Likewise.
17135 * math/s_catanh.c (__catanh): Likewise.
17136 * math/s_catanhf.c (__catanhf): Likewise.
17137 * math/s_catanhl.c (__catanhl): Likewise.
17138 * math/s_catanl.c (__catanl): Likewise.
17139 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17140 by positive zero when computing -Inf result.
17141 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17142 (catanh_test): Likewise.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17147 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17148 instead of using underflowing value in computing result.
17149 * math/s_clog10.c (__clog10): Likewise.
17150 * math/s_clog10f.c (__clog10f): Likewise.
17151 * math/s_clog10l.c (__clog10l): Likewise.
17152 * math/s_clogf.c (__clogf): Likewise.
17153 * math/s_clogl.c (__clogl): Likewise.
17154 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17155 (clog10_test): Likewise.
17156 * sysdeps/i386/fpu/libm-test-ulps: Update.
17157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17159 2014-04-02 Alan Modra <amodra@gmail.com>
17162 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17163 output when value is near a power of two. Use int64_t for lx and
17164 remove casts. Use decimal rather than hex exponent constants.
17165 Don't use long double multiplication when double will suffice.
17166 * math/libm-test.inc (nextafter_test_data): Add tests.
17167 * NEWS: Add 16739 and 16786 to bug list.
17169 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17171 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17173 2014-04-01 Will Newton <will.newton@linaro.org>
17175 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17176 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17178 2014-04-01 Florian Weimer <fweimer@redhat.com>
17181 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17182 * nptl/tst-setuid2.c: New file.
17183 * nptl/Makefile (xtests): Add tst-setuid2.
17185 2014-04-01 Alan Modra <amodra@gmail.com>
17188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17190 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17194 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17195 set errno as appropriate.
17196 * math/w_scalbf.c (__scalbf): Likewise.
17197 * math/w_scalbl.c (__scalbl): Likewise.
17198 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17199 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17200 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17201 Add more NaN tests.
17204 * math/w_atan2.c: Include <errno.h>.
17205 (__atan2): Set errno for result underflowing to zero.
17206 * math/w_atan2f.c: Include <errno.h>.
17207 (__atan2f): Set errno for result underflowing to zero.
17208 * math/w_atan2l.c: Include <errno.h>.
17209 (__atan2l): Set errno for result underflowing to zero.
17210 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17212 * math/auto-libm-test-out: Regenerated.
17214 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17216 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17217 Encode instruction correctly in little endian.
17218 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17220 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17222 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17224 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17227 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17230 * sysdeps/unix/sysv/linux/kernel-features.h
17231 [__sparc__ && !__arch64__ && !__sparc_v9__]
17232 (__ASSUME_SET_ROBUST_LIST): Do not define.
17233 [__sparc__ && !__arch64__ && !__sparc_v9__]
17234 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17235 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17238 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17239 (__ASSUME_REQUEUE_PI): Likewise.
17240 (__ASSUME_SET_ROBUST_LIST): Likewise.
17241 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17242 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17245 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17247 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17249 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17251 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17252 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17254 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17255 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17260 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17261 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17263 2014-03-31 Will Newton <will.newton@linaro.org>
17265 * benchtests/Makefile (bench): Add ffs and ffsll to list
17267 * benchtests/ffs-inputs: New file.
17268 * benchtests/ffsll-inputs: Likewise.
17270 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17273 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17274 too large before casting to int.
17275 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17276 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17277 * math/libm-test.inc (scalb_test_data): Add more tests.
17279 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17281 * benchtests/Makefile (DETAILED_OPT): New make option.
17282 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17284 * benchtests/bench-skeleton.c: Include stdbool.h.
17285 (main): Store and print timings per input.
17286 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17287 member to each argument value.
17288 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17289 (_print_arg_data): Initialize per-input timing to 0.
17291 * benchtests/Makefile (timing-type): New binary.
17292 (bench-clean): Also remove bench-timing-type.
17293 (bench): New target for timing-type.
17294 (bench-func): Print output in JSON format.
17295 * benchtests/bench-skeleton.c (main): Print output in JSON
17297 * benchtests/bench-timing-type.c: New file.
17298 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17299 (TIMING_PRINT_STATS): Remove.
17300 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17303 * benchtests/bench-modf.c: Remove.
17304 * benchtests/modf-inputs: New inputs file.
17306 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17309 * math/s_clog10.c (M_PI_LOG10E): New macro.
17310 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17311 imaginary parts are 0.
17312 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17313 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17314 imaginary parts are 0.
17315 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17316 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17317 imaginary parts are 0.
17318 * math/libm-test.inc (clog10_test_data): Update expected results
17319 for when real and imaginary parts are 0.
17321 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17323 * elf/dl-load.c: Finish conversion of __builtin_expect into
17324 __glibc_{un}likely.
17326 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17329 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17330 1+x for argument with exponent below -67.
17331 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17333 * math/auto-libm-test-in: Add more tests of exp.
17334 * math/auto-libm-test-out: Regenerated.
17336 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17339 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17340 (nscd_getnetgrent): Use it.
17343 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17346 2014-03-27 Andi Kleen <ak@linux.intel.com>
17348 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17349 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17350 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17351 (lll_robust_unlock): Remove out of line section. Use cfi
17353 (LLL_STUB_UNWIND_INFO*): Remove.
17354 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17355 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17356 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17357 (lll_robust_unlock): Remove out of line section. Use cfi
17359 (LLL_STUB_UNWIND_INFO*): Remove.
17361 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17364 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17367 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17369 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17371 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17374 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17376 * math/test-fenv-preserve.c: New file.
17377 * math/Makefile (tests): Add test-fenv-preserve.
17379 2014-03-26 Will Newton <will.newton@linaro.org>
17381 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17383 2014-03-25 Roland McGrath <roland@hack.frob.com>
17385 * scripts/versionlist.awk: Partition the version sets and emit all
17386 GLIBC_* (sorted) before all others (sorted).
17388 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17390 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17391 GLIBC_2.2.5 version.
17393 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17395 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17398 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17403 2014-03-25 Andreas Schwab <schwab@suse.de>
17405 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17406 label to be used after in6ailist is initialized.
17408 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17410 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17411 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17413 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17417 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17419 (fp_formats): Update initializers.
17420 (init_fp_formats): Initialize new field.
17421 (output_for_one_input_case): Allow underflow for results up to
17423 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17424 * math/auto-libm-test-in: Don't mark some underflows from asin and
17426 * math/auto-libm-test-out: Regenerated.
17427 * sysdeps/i386/fpu/libm-test-ulps: Update.
17428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17430 2014-03-25 Andreas Schwab <schwab@suse.de>
17432 * libio/Makefile (tst-ftell-partial-wide-ENV)
17433 (tst-ftell-active-handler-ENV): Define.
17435 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17437 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17439 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17441 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17443 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17445 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17446 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17447 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17449 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17452 * elf/dl-load.c (open_verify): Add mode parameter.
17453 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17454 (open_path): Change from boolean 'secure' to complete flag 'mode'
17455 (_dl_map_object): Adjust.
17456 * elf/Makefile (tests): Add tst-dlopen-aout.
17457 * elf/tst-dlopen-aout.c: New test.
17459 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17462 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17463 (struct stat): Rename member pad0 to __glibc_reserved0.
17466 * sysdeps/s390/s390-32/bits/wordsize.h
17467 (__WORDSIZE32_SIZE_ULONG): New define.
17468 * sysdeps/s390/s390-64/bits/wordsize.h
17469 (__WORDSIZE32_SIZE_ULONG): Likewise.
17470 * sysdeps/generic/stdint.h (SIZE_MAX):
17471 Define as UL if __WORDSIZE32_SIZE_ULONG.
17474 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17475 (__glibc_reserved0): New variable.
17476 (sa_flags): Change type to int.
17478 * posix/Makefile (before-compile): Use += before-compile instead
17481 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17482 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17484 2014-03-20 Andreas Schwab <schwab@suse.de>
17487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17488 non-matching result from nscd.
17490 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17492 * scripts/bench.py: Moved to ...
17493 * benchtests/scripts/bench.py: ... here.
17494 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17496 2014-03-24 Andreas Schwab <schwab@suse.de>
17499 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17500 alloca_account and account alloca use for struct in6ailist.
17502 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17505 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17506 rounding mode to recompute results that overflow to infinity or
17508 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17510 * math/auto-libm-test-out: Regenerated.
17511 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17512 (ccosh_test): Likewise.
17513 (csin_test_data): Use plus_oflow.
17514 (csin_test): Use ALL_RM_TEST.
17515 (csinh_test_data): Use plus_oflow.
17516 (csinh_test): Use ALL_RM_TEST.
17517 * sysdeps/i386/fpu/libm-test-ulps: Update.
17518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17520 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17522 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17523 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17524 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17527 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17528 when x - 1 is zero.
17529 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17530 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17531 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17534 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17535 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17537 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17538 * sysdeps/i386/fpu/libm-test-ulps: Update.
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17541 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17543 * scripts/bench.pl: Remove file.
17544 * scripts/bench.py: New benchmark script.
17545 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17546 * benchtests/README: Mention python dependency.
17547 * scripts/pylintrc: New file.
17548 * scripts/pylint: New file.
17550 * bits/mathdef.h: Use #ifdef instead of #if.
17551 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17552 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17553 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17554 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17555 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17556 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17558 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17559 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17561 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17563 and strpbrk-ppc64 objects.
17564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17565 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17566 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17567 multiarch strpbrk for POWER7.
17568 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17569 multiarch strpbrk for PPC64.
17570 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17572 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17573 strpbrk for POWER7.
17575 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17577 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17578 (atan_test): Likewise.
17579 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17580 (atanh_test): Use ALL_RM_TEST.
17581 (atan2_test_data): Likewise.
17582 (cabs_test): Likewise.
17583 (cacosh_test): Likewise.
17584 (carg_test): Likewise.
17585 (casin_test): Likewise.
17586 (casinh_test): Likewise.
17587 (cbrt_test): Likewise.
17588 (csqrt_test): Likewise.
17589 (erf_test): Likewise.
17590 (erfc_test): Likewise.
17591 (pow10_test): Likewise.
17592 (exp2_test): Likewise.
17593 (hypot_test): Likewise.
17594 (j0_test): Likewise.
17595 (j1_test): Likewise.
17596 (lgamma_test): Likewise.
17597 (gamma_test): Likewise.
17598 (sincos_test): Likewise.
17599 (tanh_test): Likewise.
17600 (y0_test): Likewise.
17601 (y1_test): Likewise.
17602 * sysdeps/i386/fpu/libm-test-ulps: Update.
17603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17605 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17607 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17609 and strcspn-ppc64 objects.
17610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17611 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17612 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17613 multiarch strcspn for POWER7.
17614 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17615 multiarch strcspn for PPC64.
17616 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17618 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17619 strcspn for POWER7.
17621 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17623 * math/gen-libm-test.pl (generate_testfile): Expect only function
17624 name as argument to AUTO_TESTS_* and pass results for all rounding
17625 modes to parse_args.
17626 (parse_auto_input): Separate inputs of automatic tests from
17627 outputs before storing in %auto_tests.
17628 * math/libm-test.inc (acos_test_data): Update call to
17630 (acos_test): Use ALL_RM_TEST.
17631 (acos_tonearest_test_data): Remove.
17632 (acos_test_tonearest): Likewise.
17633 (acos_towardzero_test_data): Likewise.
17634 (acos_test_towardzero): Likewise.
17635 (acos_downward_test_data): Likewise.
17636 (acos_test_downward): Likewise.
17637 (acos_upward_test_data): Likewise.
17638 (acos_test_upward): Likewise.
17639 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17640 (asin_test_data): Likewise.
17641 (asin_test): Use ALL_RM_TEST.
17642 (asin_tonearest_test_data): Remove.
17643 (asin_test_tonearest): Likewise.
17644 (asin_towardzero_test_data): Likewise.
17645 (asin_test_towardzero): Likewise.
17646 (asin_downward_test_data): Likewise.
17647 (asin_test_downward): Likewise.
17648 (asin_upward_test_data): Likewise.
17649 (asin_test_upward): Likewise.
17650 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17651 (atan_test_data): Likewise.
17652 (atanh_test_data): Likewise.
17653 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17654 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17655 (carg_test_data): Likewise.
17656 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17657 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17658 (ccosh_test_data): Likewise.
17659 (cexp_test_data): Likewise.
17660 (clog_test_data): Likewise.
17661 (clog10_test_data): Likewise.
17662 (cos_test_data): Update call to AUTO_TESTS_f_f.
17663 (cos_test): Use ALL_RM_TEST.
17664 (cos_tonearest_test_data): Remove.
17665 (cos_test_tonearest): Likewise.
17666 (cos_towardzero_test_data): Likewise.
17667 (cos_test_towardzero): Likewise.
17668 (cos_downward_test_data): Likewise.
17669 (cos_test_downward): Likewise.
17670 (cos_upward_test_data): Likewise.
17671 (cos_test_upward): Likewise.
17672 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17673 (cosh_test): Use ALL_RM_TEST.
17674 (cosh_tonearest_test_data): Remove.
17675 (cosh_test_tonearest): Likewise.
17676 (cosh_towardzero_test_data): Likewise.
17677 (cosh_test_towardzero): Likewise.
17678 (cosh_downward_test_data): Likewise.
17679 (cosh_test_downward): Likewise.
17680 (cosh_upward_test_data): Likewise.
17681 (cosh_test_upward): Likewise.
17682 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17683 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17684 (ctan_test_data): Likewise.
17685 (ctan_test): Use ALL_RM_TEST.
17686 (ctan_tonearest_test_data): Remove.
17687 (ctan_test_tonearest): Likewise.
17688 (ctan_towardzero_test_data): Likewise.
17689 (ctan_test_towardzero): Likewise.
17690 (ctan_downward_test_data): Likewise.
17691 (ctan_test_downward): Likewise.
17692 (ctan_upward_test_data): Likewise.
17693 (ctan_test_upward): Likewise.
17694 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17695 (ctanh_test): Use ALL_RM_TEST.
17696 (ctanh_tonearest_test_data): Remove.
17697 (ctanh_test_tonearest): Likewise.
17698 (ctanh_towardzero_test_data): Likewise.
17699 (ctanh_test_towardzero): Likewise.
17700 (ctanh_downward_test_data): Likewise.
17701 (ctanh_test_downward): Likewise.
17702 (ctanh_upward_test_data): Likewise.
17703 (ctanh_test_upward): Likewise.
17704 (erf_test_data): Update call to AUTO_TESTS_f_f.
17705 (erfc_test_data): Likewise.
17706 (exp_test_data): Likewise.
17707 (exp_test): Use ALL_RM_TEST.
17708 (exp_tonearest_test_data): Remove.
17709 (exp_test_tonearest): Likewise.
17710 (exp_towardzero_test_data): Likewise.
17711 (exp_test_towardzero): Likewise.
17712 (exp_downward_test_data): Likewise.
17713 (exp_test_downward): Likewise.
17714 (exp_upward_test_data): Likewise.
17715 (exp_test_upward): Likewise.
17716 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17717 (exp10_test): Use ALL_RM_TEST.
17718 (exp10_tonearest_test_data): Remove.
17719 (exp10_test_tonearest): Likewise.
17720 (exp10_towardzero_test_data): Likewise.
17721 (exp10_test_towardzero): Likewise.
17722 (exp10_downward_test_data): Likewise.
17723 (exp10_test_downward): Likewise.
17724 (exp10_upward_test_data): Likewise.
17725 (exp10_test_upward): Likewise.
17726 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17727 (expm1_test_data): Likewise.
17728 (expm1_test): Use ALL_RM_TEST.
17729 (expm1_tonearest_test_data): Remove.
17730 (expm1_test_tonearest): Likewise.
17731 (expm1_towardzero_test_data): Likewise.
17732 (expm1_test_towardzero): Likewise.
17733 (expm1_downward_test_data): Likewise.
17734 (expm1_test_downward): Likewise.
17735 (expm1_upward_test_data): Likewise.
17736 (expm1_test_upward): Likewise.
17737 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17738 (fma_test): Use ALL_RM_TEST.
17739 (fma_towardzero_test_data): Remove.
17740 (fma_test_towardzero): Likewise.
17741 (fma_downward_test_data): Likewise.
17742 (fma_test_downward): Likewise.
17743 (fma_upward_test_data): Likewise.
17744 (fma_test_upward): Likewise.
17745 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17746 (j0_test_data): Update call to AUTO_TESTS_f_f.
17747 (j1_test_data): Likewise.
17748 (jn_test_data): Update call to AUTO_TESTS_if_f.
17749 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17750 (log_test_data): Update call to AUTO_TESTS_f_f.
17751 (log10_test_data): Likewise.
17752 (log1p_test_data): Likewise.
17753 (log2_test_data): Likewise.
17754 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17755 (pow_tonearest_test_data): Likewise.
17756 (sin_test_data): Update call to AUTO_TESTS_f_f.
17757 (sin_test): Use ALL_RM_TEST.
17758 (sin_tonearest_test_data): Remove.
17759 (sin_test_tonearest): Likewise.
17760 (sin_towardzero_test_data): Likewise.
17761 (sin_test_towardzero): Likewise.
17762 (sin_downward_test_data): Likewise.
17763 (sin_test_downward): Likewise.
17764 (sin_upward_test_data): Likewise.
17765 (sin_test_upward): Likewise.
17766 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17767 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17768 (sinh_test): Use ALL_RM_TEST.
17769 (sinh_tonearest_test_data): Remove.
17770 (sinh_test_tonearest): Likewise.
17771 (sinh_towardzero_test_data): Likewise.
17772 (sinh_test_towardzero): Likewise.
17773 (sinh_downward_test_data): Likewise.
17774 (sinh_test_downward): Likewise.
17775 (sinh_upward_test_data): Likewise.
17776 (sinh_test_upward): Likewise.
17777 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17778 (sqrt_test): Use ALL_RM_TEST.
17779 (sqrt_tonearest_test_data): Remove.
17780 (sqrt_test_tonearest): Likewise.
17781 (sqrt_towardzero_test_data): Likewise.
17782 (sqrt_test_towardzero): Likewise.
17783 (sqrt_downward_test_data): Likewise.
17784 (sqrt_test_downward): Likewise.
17785 (sqrt_upward_test_data): Likewise.
17786 (sqrt_test_upward): Likewise.
17787 (tan_test_data): Update call to AUTO_TESTS_f_f.
17788 (tan_test): Use ALL_RM_TEST.
17789 (tan_tonearest_test_data): Remove.
17790 (tan_test_tonearest): Likewise.
17791 (tan_towardzero_test_data): Likewise.
17792 (tan_test_towardzero): Likewise.
17793 (tan_downward_test_data): Likewise.
17794 (tan_test_downward): Likewise.
17795 (tan_upward_test_data): Likewise.
17796 (tan_test_upward): Likewise.
17797 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17798 (tgamma_test_data): Likewise.
17799 (y0_test_data): Likewise.
17800 (y1_test_data): Likewise.
17801 (yn_test_data): Update call to AUTO_TESTS_if_f.
17802 (main): Do not call removed functions.
17804 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17806 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17807 (ldexp_test_data): Remove.
17808 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17810 (scalb_test): Use ALL_RM_TEST.
17812 2014-03-19 Andreas Schwab <schwab@suse.de>
17814 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17816 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17820 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17821 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17823 (__ASSUME_PREADV): Undefine.
17824 (__ASSUME_PWRITEV): Likewise.
17826 2014-03-18 Roland McGrath <roland@hack.frob.com>
17828 * bits/mman-linux.h: Add comment about non-Linux use.
17829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17830 bits/mman-linux.h resting place.
17832 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17833 * bits/mman-linux.h: ... here.
17835 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17837 * conform/conformtest.pl: Add standard definition when calling C
17838 preprocessor on data files.
17839 (checknamespace): Remove unused variable.
17841 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17843 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17844 minus_oflow, plus_uflow and minus_uflow in expected results.
17845 * math/libm-test.inc (scalbn_test_data): Add more tests of
17846 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
17848 (scalbn_test): Use ALL_RM_TEST.
17849 (scalbln_test_data): Add more tests of negative arguments. Use
17850 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17851 (scalbln_test): Use ALL_RM_TEST.
17853 2014-03-18 Roland McGrath <roland@hack.frob.com>
17855 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17857 2014-03-18 Will Newton <will.newton@linaro.org>
17859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17860 inaccurate comment.
17862 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17864 * Makerules [!subdir] (check-abi): Exit with error status if a
17867 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17869 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17870 for rint. Include results for all rounding modes.
17871 (nearbyint_test): Use ALL_RM_TEST.
17872 (rint_test_data): Include all tests used for nearbyint.
17874 2014-03-17 Will Newton <will.newton@linaro.org>
17876 * nptl/sysdeps/pthread/pthread.h: Revert previous
17879 * sysdeps/generic/ldsodefs.h: Revert previous
17882 * libio/genops.c: Revert previous change.
17883 * libio/libioP.h: Likewise.
17884 * stdio-common/vfprintf.c: Likewise.
17886 * sysdeps/generic/math_private.h: Revert previous
17889 * sysdeps/generic/math_private.h: Check whether
17890 HAVE_RM_CTX is defined with #ifdef rather
17893 * argp/argp-fmtstream.h: Check whether
17894 __STRICT_ANSI__ is defined with #ifdef rather
17896 * argp/argp.h: Likewise.
17898 * libio/genops.c: Check whether
17899 _IO_JUMPS_OFFSET is defined with #ifdef rather
17901 * libio/libioP.h: Likewise.
17902 * stdio-common/vfprintf.c: Likewise.
17904 * sysdeps/generic/ldsodefs.h: Check whether
17905 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17908 * nptl/sysdeps/pthread/pthread.h: Check
17909 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17912 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17914 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17916 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17920 * libio/fileops.c (_IO_file_open): Seek to end of file but
17921 don't cache the offset.
17922 (get_file_offset): Remove function.
17923 (do_ftell): Use cached offset when available.
17924 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17925 don't cache the offset.
17926 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17928 (do_one_test): Call it.
17929 (do_ftell_test): Fix up expected old offset for a+ mode.
17930 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17933 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17934 up test status with function return status.
17935 (do_write_test): Likewise.
17936 (do_append_test): Likewise.
17938 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17939 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17942 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17944 * math/gen-libm-test.pl (parse_args): Handle results specified for
17945 each rounding mode separately.
17946 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17947 tests and results from lrint_tonearest_test_data,
17948 lrint_towardzero_test_data, lrint_downward_test_data and
17949 lrint_upward_test_data.
17950 (lrint_test): Use ALL_RM_TEST.
17951 (lrint_tonearest_test_data): Remove.
17952 (lrint_test_tonearest): Likewise.
17953 (lrint_towardzero_test_data): Likewise.
17954 (lrint_test_towardzero): Likewise.
17955 (lrint_downward_test_data): Likewise.
17956 (lrint_test_downward): Likewise.
17957 (lrint_upward_test_data): Likewise.
17958 (lrint_test_upward): Likewise.
17959 (llrint_test_data): Merge in per-rounding-mode tests and results
17960 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17961 llrint_downward_test_data and llrint_upward_test_data.
17962 (llrint_test): Use ALL_RM_TEST.
17963 (llrint_tonearest_test_data): Remove.
17964 (llrint_test_tonearest): Likewise.
17965 (llrint_towardzero_test_data): Likewise.
17966 (llrint_test_towardzero): Likewise.
17967 (llrint_downward_test_data): Likewise.
17968 (llrint_test_downward): Likewise.
17969 (llrint_upward_test_data): Likewise.
17970 (llrint_test_upward): Likewise.
17971 (rint_test_data): Merge in per-rounding-mode tests and results
17972 from rint_tonearest_test_data, rint_towardzero_test_data,
17973 rint_downward_test_data and rint_upward_test_data. Add
17974 per-rounding-mode results for tests not in those arrays.
17975 (rint_test): Use ALL_RM_TEST.
17976 (rint_tonearest_test_data): Remove.
17977 (rint_test_tonearest): Likewise.
17978 (rint_towardzero_test_data): Likewise.
17979 (rint_test_towardzero): Likewise.
17980 (rint_downward_test_data): Likewise.
17981 (rint_test_downward): Likewise.
17982 (rint_upward_test_data): Likewise.
17983 (rint_test_upward): Likewise.
17984 (main): Don't call removed functions.
17986 2014-03-14 Roland McGrath <roland@hack.frob.com>
17988 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17989 "Compiled on ..." crapola. It is anti-useful.
17991 2014-03-14 Joseph Myers <joseph@codesourcery.com>
17993 * scripts/evaluate-test.sh: Handle fourth argument to determine
17994 whether test run should stop on failure.
17995 * Makeconfig (stop-on-test-failure): New variable.
17996 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17997 $(stop-on-test-failure).
17998 * Makefile (tests): Give a summary of results from testing and
17999 exit with failure status if they include an ERROR or FAIL.
18000 (xtests): Likewise.
18001 * manual/install.texi (Configuring and compiling): Mention
18002 stop-on-test-failure=y.
18003 * INSTALL: Regenerated.
18005 2014-03-14 Roland McGrath <roland@hack.frob.com>
18007 * scripts/versionlist.awk: New file.
18008 * Makerules [$(build-shared) = yes]
18009 (postclean-generated): Add Versions.def, not Versions.def.v and
18011 ($(common-objpfx)Versions.def.v.i): Target removed.
18012 ($(common-objpfx)Versions.def): New target.
18013 ($(common-objpfx)Versions.all): Depend on that rather that
18014 $(common-objpfx)Versions.def.v.
18015 * Versions.def: File removed.
18017 * Makeconfig (+gccwarn): Add -Wundef.
18018 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18019 a dl-sysdep.h breaking its contract.
18020 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18021 * include/stackinfo.h: New file.
18022 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18023 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18024 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18025 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18026 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18027 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18028 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18029 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18030 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18031 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18032 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18033 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18034 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18035 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18036 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18038 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18041 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18043 * math/libm-test.inc (round_test_data): Add more tests.
18046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18048 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18051 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18053 * math/libm-test.inc (ceil_test_data): Add more tests.
18055 * math/libm-test.inc (trunc_test_data): Add more tests related to
18058 2014-03-14 Roland McGrath <roland@hack.frob.com>
18060 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18061 with #if rather than #ifdef.
18062 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18064 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18066 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18067 first. Disable AVX-512 GCC support if assembler doesn't support
18069 * sysdeps/x86_64/configure: Regenerated.
18071 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18073 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18074 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18075 (__old_pthread_attr_setstack): Likewise.
18076 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18077 [!_STACK_GROWS_DOWN]: Likewise.
18079 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18081 * config.make.in (have-bash2): Delete.
18082 * configure.ac (libc_cv_have_bash2): Delete.
18083 * configure: Regenerate.
18084 * elf/Makefile (common-ldd-rewrite): Rename to ...
18085 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18086 (sh-ldd-rewrite): Delete.
18087 (bash-ldd-rewrite): Delete.
18088 (have-bash2): Delete checks.
18089 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18092 * config.make.in (have-ksh): Delete.
18094 * configure.ac (libc_cv_have_ksh): Delete.
18095 * configure: Regenerate.
18097 * elf/Makefile: Delete $(have-ksh) check.
18098 ($(objpfx)sotruss): Change KSH to BASH.
18099 * elf/sotruss.ksh: Rename to ...
18100 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18101 function style to match POSIX. Drop ksh vim mode setting.
18103 * manual/time.texi (Specifying the Time Zone with TZ): Change
18104 Tuesday to Thursday.
18106 * debug/tst-longjmp_chk2.c: Update header comment.
18107 (stackoverflow_handler): Add comment. Call assert on pass value.
18109 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18112 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18113 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18114 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18115 (La_x86_64_vector): Add zmm.
18116 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18117 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18118 ($(objpfx)tst-audit10): New target.
18119 ($(objpfx)tst-audit10.out): Likewise.
18120 (tst-audit10-ENV): New.
18121 (AVX512-CFLAGS): Likewise.
18122 (CFLAGS-tst-audit10.c): Likewise.
18123 (CFLAGS-tst-auditmod10a.c): Likewise.
18124 (CFLAGS-tst-auditmod10b.c): Likewise.
18125 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18126 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18127 * sysdeps/x86_64/configure: Regenerated.
18128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18129 AVX-512 zmm register support.
18130 (_dl_x86_64_save_sse): Likewise.
18131 (_dl_x86_64_restore_sse): Likewise.
18132 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18133 size vector registers.
18134 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18135 (ZMM_SIZE): Likewise.
18136 * sysdeps/x86_64/tst-audit10.c: New file.
18137 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18138 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18140 2014-03-13 Roland McGrath <roland@hack.frob.com>
18142 * configure.ac (HAVE_EHDR_START): New check.
18143 * configure: Regenerated.
18144 * config.h.in (HAVE_EHDR_START): New #undef.
18145 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18146 assuming the lowest-addressed segment maps the start of the file.
18148 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18150 * INSTALL: Regenerated.
18152 2014-03-13 Will Newton <will.newton@linaro.org>
18154 * manual/setjmp.texi (System V contexts): Improve
18155 clarity and grammar of documentation.
18157 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18160 * elf/Makefile (tests): Add tst-pie2.
18161 (tests-pie): Add tst-pie2.
18162 * elf/tst-pie2.c: New file.
18163 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18165 * elf/rtld.c (map_doit): Load executable as lt_executable.
18166 (dl_main): Likewise.
18168 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18171 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18172 (__ASSUME_PSELECT): Undefine.
18174 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18177 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18178 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18180 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18181 selector for static builds.
18183 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18186 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18189 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18191 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18192 IFUNC selector for static builds.
18194 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18196 * sysdeps/mips/math_private.h [__mips_hard_float]
18197 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18198 libc_feresetround_mips_ctx.
18199 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18200 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18201 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18204 * math/s_nextafter.c (__nextafter): Do not return value from
18205 overflowing computation.
18206 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18207 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18212 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18213 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18215 2014-03-11 Roland McGrath <roland@hack.frob.com>
18217 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18218 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18219 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18220 the new mov targetting sp.
18222 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18225 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18226 Define it for static builds as well.
18227 (NO_BZERO_IMPL): Likewise.
18229 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18231 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18232 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18233 multiarch strspn for PPC64.
18234 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18235 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18237 (__libc_ifunc_impl_list): Likewise.
18238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18239 multiarch optimizations
18240 * string/strspn.c (strspn): Using macro to redefine symbol name.
18242 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18243 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18245 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18246 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18247 multiarch strncat for PPC64.
18248 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18249 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18251 (__libc_ifunc_impl_list): Likewise.
18252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18253 multiarch optimizations
18255 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18258 * nscd/nscd.service: Make service type forking.
18260 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18262 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18263 sign in non default rounding modes.
18264 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18266 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18268 * math/libm-test.inc (ALL_RM_TEST): New macro.
18269 (ceil_test): Use ALL_RM_TEST.
18270 (cimag_test): Likewise.
18271 (conj_test): Likewise.
18272 (copysign_test): Likewise.
18273 (cproj_test): Likewise.
18274 (creal_test): Likewise.
18275 (fabs_test): Likewise.
18276 (floor_test): Likewise.
18277 (fmax_test): Likewise.
18278 (fmin_test): Likewise.
18279 (fmod_test): Likewise.
18280 (fpclassify_test): Likewise.
18281 (frexp_test): Likewise.
18282 (ilogb_test): Likewise.
18283 (isfinite_test): Likewise.
18284 (finite_test): Likewise.
18285 (isgreater_test): Likewise.
18286 (isgreaterequal_test): Likewise.
18287 (isinf_test): Likewise.
18288 (isless_test): Likewise.
18289 (islessequal_test): Likewise.
18290 (islessgreater_test): Likewise.
18291 (isnan_test): Likewise.
18292 (isnormal_test): Likewise.
18293 (issignaling_test): Likewise.
18294 (isunordered_test): Likewise.
18295 (logb_test): Likewise.
18296 (logb_downward_test_data): Remove.
18297 (logb_test_downward): Likewise.
18298 (lround_test): Use ALL_RM_TEST.
18299 (llround_test): Likewise.
18300 (modf_test): Likewise.
18301 (nexttoward_test): Likewise.
18302 (remainder_test): Likewise.
18303 (drem_test): Likewise.
18304 (remainder_tonearest_test_data): Likewise.
18305 (remainder_test_tonearest): Likewise.
18306 (drem_test_tonearest): Likewise.
18307 (remainder_towardzero_test_data): Likewise.
18308 (remainder_test_towardzero): Likewise.
18309 (drem_test_towardzero): Likewise.
18310 (remainder_downward_test_data): Likewise.
18311 (remainder_test_downward): Likewise.
18312 (drem_test_downward): Likewise.
18313 (remainder_upward_test_data): Likewise.
18314 (remainder_test_upward): Likewise.
18315 (drem_test_upward): Likewise.
18316 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18317 (round_test): Use ALL_RM_TEST.
18318 (signbit_test): Likewise.
18319 (trunc_test): Likewise.
18320 (significand_test): Likewise.
18321 (main): Don't call removed functions.
18323 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18326 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18327 || __USE_XOPEN2K8].
18328 (ILL_ILLOPN): Likewise.
18329 (ILL_ILLADR): Likewise.
18330 (ILL_ILLTRP): Likewise.
18331 (ILL_PRVOPC): Likewise.
18332 (ILL_PRVREG): Likewise.
18333 (ILL_COPROC): Likewise.
18334 (ILL_BADSTK): Likewise.
18335 (FPE_INTDIV): Likewise.
18336 (FPE_INTOVF): Likewise.
18337 (FPE_FLTDIV): Likewise.
18338 (FPE_FLTOVF): Likewise.
18339 (FPE_FLTUND): Likewise.
18340 (FPE_FLTRES): Likewise.
18341 (FPE_FLTINV): Likewise.
18342 (FPE_FLTSUB): Likewise.
18343 (SEGV_MAPERR): Likewise.
18344 (SEGV_ACCERR): Likewise.
18345 (BUS_ADRALN): Likewise.
18346 (BUS_ADRERR): Likewise.
18347 (BUS_OBJERR): Likewise.
18348 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18349 (TRAP_TRACE): Likewise.
18350 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18352 (CLD_KILLED): Likewise.
18353 (CLD_DUMPED): Likewise.
18354 (CLD_TRAPPED): Likewise.
18355 (CLD_STOPPED): Likewise.
18356 (CLD_CONTINUED): Likewise.
18357 (POLL_IN): Likewise.
18358 (POLL_OUT): Likewise.
18359 (POLL_MSG): Likewise.
18360 (POLL_ERR): Likewise.
18361 (POLL_PRI): Likewise.
18362 (POLL_HUP): Likewise.
18363 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18365 (ILL_ILLOPN): Likewise.
18366 (ILL_ILLADR): Likewise.
18367 (ILL_ILLTRP): Likewise.
18368 (ILL_PRVOPC): Likewise.
18369 (ILL_PRVREG): Likewise.
18370 (ILL_COPROC): Likewise.
18371 (ILL_BADSTK): Likewise.
18372 (FPE_INTDIV): Likewise.
18373 (FPE_INTOVF): Likewise.
18374 (FPE_FLTDIV): Likewise.
18375 (FPE_FLTOVF): Likewise.
18376 (FPE_FLTUND): Likewise.
18377 (FPE_FLTRES): Likewise.
18378 (FPE_FLTINV): Likewise.
18379 (FPE_FLTSUB): Likewise.
18380 (SEGV_MAPERR): Likewise.
18381 (SEGV_ACCERR): Likewise.
18382 (BUS_ADRALN): Likewise.
18383 (BUS_ADRERR): Likewise.
18384 (BUS_OBJERR): Likewise.
18385 (BUS_MCEERR_AR): Likewise.
18386 (BUS_MCEERR_AO): Likewise.
18387 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18388 (TRAP_TRACE): Likewise.
18389 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18391 (CLD_KILLED): Likewise.
18392 (CLD_DUMPED): Likewise.
18393 (CLD_TRAPPED): Likewise.
18394 (CLD_STOPPED): Likewise.
18395 (CLD_CONTINUED): Likewise.
18396 (POLL_IN): Likewise.
18397 (POLL_OUT): Likewise.
18398 (POLL_MSG): Likewise.
18399 (POLL_ERR): Likewise.
18400 (POLL_PRI): Likewise.
18401 (POLL_HUP): Likewise.
18402 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18403 (ILL_ILLOPN): Likewise.
18404 (ILL_ILLADR): Likewise.
18405 (ILL_ILLTRP): Likewise.
18406 (ILL_PRVOPC): Likewise.
18407 (ILL_PRVREG): Likewise.
18408 (ILL_COPROC): Likewise.
18409 (ILL_BADSTK): Likewise.
18410 (FPE_INTDIV): Likewise.
18411 (FPE_INTOVF): Likewise.
18412 (FPE_FLTDIV): Likewise.
18413 (FPE_FLTOVF): Likewise.
18414 (FPE_FLTUND): Likewise.
18415 (FPE_FLTRES): Likewise.
18416 (FPE_FLTINV): Likewise.
18417 (FPE_FLTSUB): Likewise.
18418 (SEGV_MAPERR): Likewise.
18419 (SEGV_ACCERR): Likewise.
18420 (BUS_ADRALN): Likewise.
18421 (BUS_ADRERR): Likewise.
18422 (BUS_OBJERR): Likewise.
18423 (BUS_MCEERR_AR): Likewise.
18424 (BUS_MCEERR_AO): Likewise.
18425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18426 (TRAP_TRACE): Likewise.
18427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18429 (CLD_KILLED): Likewise.
18430 (CLD_DUMPED): Likewise.
18431 (CLD_TRAPPED): Likewise.
18432 (CLD_STOPPED): Likewise.
18433 (CLD_CONTINUED): Likewise.
18434 (POLL_IN): Likewise.
18435 (POLL_OUT): Likewise.
18436 (POLL_MSG): Likewise.
18437 (POLL_ERR): Likewise.
18438 (POLL_PRI): Likewise.
18439 (POLL_HUP): Likewise.
18440 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18442 (ILL_ILLOPN): Likewise.
18443 (ILL_ILLADR): Likewise.
18444 (ILL_ILLTRP): Likewise.
18445 (ILL_PRVOPC): Likewise.
18446 (ILL_PRVREG): Likewise.
18447 (ILL_COPROC): Likewise.
18448 (ILL_BADSTK): Likewise.
18449 (ILL_BADIADDR): Likewise.
18450 (ILL_BREAK): Likewise.
18451 (FPE_INTDIV): Likewise.
18452 (FPE_INTOVF): Likewise.
18453 (FPE_FLTDIV): Likewise.
18454 (FPE_FLTOVF): Likewise.
18455 (FPE_FLTUND): Likewise.
18456 (FPE_FLTRES): Likewise.
18457 (FPE_FLTINV): Likewise.
18458 (FPE_FLTSUB): Likewise.
18459 (FPE_DECOVF): Likewise.
18460 (FPE_DECDIV): Likewise.
18461 (FPE_DECERR): Likewise.
18462 (FPE_INVASC): Likewise.
18463 (FPE_INVDEC): Likewise.
18464 (SEGV_MAPERR): Likewise.
18465 (SEGV_ACCERR): Likewise.
18466 (SEGV_PSTKOVF): Likewise.
18467 (BUS_ADRALN): Likewise.
18468 (BUS_ADRERR): Likewise.
18469 (BUS_OBJERR): Likewise.
18470 (BUS_MCEERR_AR): Likewise.
18471 (BUS_MCEERR_AO): Likewise.
18472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18473 (TRAP_TRACE): Likewise.
18474 (TRAP_BRANCH): Likewise.
18475 (TRAP_HWBKPT): Likewise.
18476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18478 (CLD_KILLED): Likewise.
18479 (CLD_DUMPED): Likewise.
18480 (CLD_TRAPPED): Likewise.
18481 (CLD_STOPPED): Likewise.
18482 (CLD_CONTINUED): Likewise.
18483 (POLL_IN): Likewise.
18484 (POLL_OUT): Likewise.
18485 (POLL_MSG): Likewise.
18486 (POLL_ERR): Likewise.
18487 (POLL_PRI): Likewise.
18488 (POLL_HUP): Likewise.
18489 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18490 (ILL_ILLOPN): Likewise.
18491 (ILL_ILLADR): Likewise.
18492 (ILL_ILLTRP): Likewise.
18493 (ILL_PRVOPC): Likewise.
18494 (ILL_PRVREG): Likewise.
18495 (ILL_COPROC): Likewise.
18496 (ILL_BADSTK): Likewise.
18497 (FPE_INTDIV): Likewise.
18498 (FPE_INTOVF): Likewise.
18499 (FPE_FLTDIV): Likewise.
18500 (FPE_FLTOVF): Likewise.
18501 (FPE_FLTUND): Likewise.
18502 (FPE_FLTRES): Likewise.
18503 (FPE_FLTINV): Likewise.
18504 (FPE_FLTSUB): Likewise.
18505 (SEGV_MAPERR): Likewise.
18506 (SEGV_ACCERR): Likewise.
18507 (BUS_ADRALN): Likewise.
18508 (BUS_ADRERR): Likewise.
18509 (BUS_OBJERR): Likewise.
18510 (BUS_MCEERR_AR): Likewise.
18511 (BUS_MCEERR_AO): Likewise.
18512 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18513 (TRAP_TRACE): Likewise.
18514 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18516 (CLD_KILLED): Likewise.
18517 (CLD_DUMPED): Likewise.
18518 (CLD_TRAPPED): Likewise.
18519 (CLD_STOPPED): Likewise.
18520 (CLD_CONTINUED): Likewise.
18521 (POLL_IN): Likewise.
18522 (POLL_OUT): Likewise.
18523 (POLL_MSG): Likewise.
18524 (POLL_ERR): Likewise.
18525 (POLL_PRI): Likewise.
18526 (POLL_HUP): Likewise.
18527 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18528 (ILL_ILLOPN): Likewise.
18529 (ILL_ILLADR): Likewise.
18530 (ILL_ILLTRP): Likewise.
18531 (ILL_PRVOPC): Likewise.
18532 (ILL_PRVREG): Likewise.
18533 (ILL_COPROC): Likewise.
18534 (ILL_BADSTK): Likewise.
18535 (FPE_INTDIV): Likewise.
18536 (FPE_INTOVF): Likewise.
18537 (FPE_FLTDIV): Likewise.
18538 (FPE_FLTOVF): Likewise.
18539 (FPE_FLTUND): Likewise.
18540 (FPE_FLTRES): Likewise.
18541 (FPE_FLTINV): Likewise.
18542 (FPE_FLTSUB): Likewise.
18543 (SEGV_MAPERR): Likewise.
18544 (SEGV_ACCERR): Likewise.
18545 (BUS_ADRALN): Likewise.
18546 (BUS_ADRERR): Likewise.
18547 (BUS_OBJERR): Likewise.
18548 (BUS_MCEERR_AR): Likewise.
18549 (BUS_MCEERR_AO): Likewise.
18550 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18551 (TRAP_TRACE): Likewise.
18552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18554 (CLD_KILLED): Likewise.
18555 (CLD_DUMPED): Likewise.
18556 (CLD_TRAPPED): Likewise.
18557 (CLD_STOPPED): Likewise.
18558 (CLD_CONTINUED): Likewise.
18559 (POLL_IN): Likewise.
18560 (POLL_OUT): Likewise.
18561 (POLL_MSG): Likewise.
18562 (POLL_ERR): Likewise.
18563 (POLL_PRI): Likewise.
18564 (POLL_HUP): Likewise.
18565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18566 (ILL_ILLOPN): Likewise.
18567 (ILL_ILLADR): Likewise.
18568 (ILL_ILLTRP): Likewise.
18569 (ILL_PRVOPC): Likewise.
18570 (ILL_PRVREG): Likewise.
18571 (ILL_COPROC): Likewise.
18572 (ILL_BADSTK): Likewise.
18573 (FPE_INTDIV): Likewise.
18574 (FPE_INTOVF): Likewise.
18575 (FPE_FLTDIV): Likewise.
18576 (FPE_FLTOVF): Likewise.
18577 (FPE_FLTUND): Likewise.
18578 (FPE_FLTRES): Likewise.
18579 (FPE_FLTINV): Likewise.
18580 (FPE_FLTSUB): Likewise.
18581 (SEGV_MAPERR): Likewise.
18582 (SEGV_ACCERR): Likewise.
18583 (BUS_ADRALN): Likewise.
18584 (BUS_ADRERR): Likewise.
18585 (BUS_OBJERR): Likewise.
18586 (BUS_MCEERR_AR): Likewise.
18587 (BUS_MCEERR_AO): Likewise.
18588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18589 (TRAP_TRACE): Likewise.
18590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18592 (CLD_KILLED): Likewise.
18593 (CLD_DUMPED): Likewise.
18594 (CLD_TRAPPED): Likewise.
18595 (CLD_STOPPED): Likewise.
18596 (CLD_CONTINUED): Likewise.
18597 (POLL_IN): Likewise.
18598 (POLL_OUT): Likewise.
18599 (POLL_MSG): Likewise.
18600 (POLL_ERR): Likewise.
18601 (POLL_PRI): Likewise.
18602 (POLL_HUP): Likewise.
18603 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18604 (ILL_ILLOPN): Likewise.
18605 (ILL_ILLADR): Likewise.
18606 (ILL_ILLTRP): Likewise.
18607 (ILL_PRVOPC): Likewise.
18608 (ILL_PRVREG): Likewise.
18609 (ILL_COPROC): Likewise.
18610 (ILL_BADSTK): Likewise.
18611 (ILL_DBLFLT): Likewise.
18612 (ILL_HARDWALL): Likewise.
18613 (FPE_INTDIV): Likewise.
18614 (FPE_INTOVF): Likewise.
18615 (FPE_FLTDIV): Likewise.
18616 (FPE_FLTOVF): Likewise.
18617 (FPE_FLTUND): Likewise.
18618 (FPE_FLTRES): Likewise.
18619 (FPE_FLTINV): Likewise.
18620 (FPE_FLTSUB): Likewise.
18621 (SEGV_MAPERR): Likewise.
18622 (SEGV_ACCERR): Likewise.
18623 (BUS_ADRALN): Likewise.
18624 (BUS_ADRERR): Likewise.
18625 (BUS_OBJERR): Likewise.
18626 (BUS_MCEERR_AR): Likewise.
18627 (BUS_MCEERR_AO): Likewise.
18628 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18629 (TRAP_TRACE): Likewise.
18630 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18632 (CLD_KILLED): Likewise.
18633 (CLD_DUMPED): Likewise.
18634 (CLD_TRAPPED): Likewise.
18635 (CLD_STOPPED): Likewise.
18636 (CLD_CONTINUED): Likewise.
18637 (POLL_IN): Likewise.
18638 (POLL_OUT): Likewise.
18639 (POLL_MSG): Likewise.
18640 (POLL_ERR): Likewise.
18641 (POLL_PRI): Likewise.
18642 (POLL_HUP): Likewise.
18643 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18644 (ILL_ILLOPN): Likewise.
18645 (ILL_ILLADR): Likewise.
18646 (ILL_ILLTRP): Likewise.
18647 (ILL_PRVOPC): Likewise.
18648 (ILL_PRVREG): Likewise.
18649 (ILL_COPROC): Likewise.
18650 (ILL_BADSTK): Likewise.
18651 (FPE_INTDIV): Likewise.
18652 (FPE_INTOVF): Likewise.
18653 (FPE_FLTDIV): Likewise.
18654 (FPE_FLTOVF): Likewise.
18655 (FPE_FLTUND): Likewise.
18656 (FPE_FLTRES): Likewise.
18657 (FPE_FLTINV): Likewise.
18658 (FPE_FLTSUB): Likewise.
18659 (SEGV_MAPERR): Likewise.
18660 (SEGV_ACCERR): Likewise.
18661 (BUS_ADRALN): Likewise.
18662 (BUS_ADRERR): Likewise.
18663 (BUS_OBJERR): Likewise.
18664 (BUS_MCEERR_AR): Likewise.
18665 (BUS_MCEERR_AO): Likewise.
18666 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18667 (TRAP_TRACE): Likewise.
18668 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18670 (CLD_KILLED): Likewise.
18671 (CLD_DUMPED): Likewise.
18672 (CLD_TRAPPED): Likewise.
18673 (CLD_STOPPED): Likewise.
18674 (CLD_CONTINUED): Likewise.
18675 (POLL_IN): Likewise.
18676 (POLL_OUT): Likewise.
18677 (POLL_MSG): Likewise.
18678 (POLL_ERR): Likewise.
18679 (POLL_PRI): Likewise.
18680 (POLL_HUP): Likewise.
18681 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18682 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18685 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18686 before #include of <time.h>.
18687 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18688 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18689 (test-xfail-UNIX98/sched.h/conform): Likewise.
18691 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18693 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18694 error absence of trapping exception support.
18695 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18697 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18699 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18700 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18701 * timezone/Makefile (testdata): Move definition above include of
18703 (test-zones): New variable.
18704 (tests-special): Add zone files.
18705 (build-testdata): Use $(evaluate-test).
18707 * elf/Makefile (tests-special): Rename tests to end with .out.
18708 ($(objpfx)noload-mem): Likewise.
18709 ($(objpfx)tst-leaks1-mem): Likewise.
18710 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18711 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18712 $(objpfx)test-iconvconfig.out.
18713 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18714 set -e inside subshell and redirect output to file.
18715 * iconvdata/Makefile (generated): Rename tests to end with .out.
18717 (tests-special): Rename tests to end with .out.
18718 ($(objpfx)mtrace-tst-loading): Likewise.
18719 * intl/Makefile (generated): Likewise.
18720 (tests-special): Likewise.
18721 ($(objpfx)mtrace-tst-gettext): Likewise.
18722 * misc/Makefile (generated): Likewise.
18723 (tests-special): Likewise.
18724 ($(objpfx)tst-error1-mem): Likewise.
18725 * nptl/Makefile (tests-special): Likewise.
18726 ($(objpfx)tst-stack3-mem): Likewise.
18727 (generated): Likewise.
18728 * posix/Makefile (generated): Likewise.
18729 (tests-special): Likewise.
18730 (xtests-special): Likewise.
18731 ($(objpfx)tst-fnmatch-mem): Likewise.
18732 ($(objpfx)bug-regex2-mem): Likewise.
18733 ($(objpfx)bug-regex14-mem): Likewise.
18734 ($(objpfx)bug-regex21-mem): Likewise.
18735 ($(objpfx)bug-regex31-mem): Likewise.
18736 ($(objpfx)tst-vfork3-mem): Likewise.
18737 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18738 ($(objpfx)tst-pcre-mem): Likewise.
18739 ($(objpfx)tst-boost-mem): Likewise.
18740 ($(objpfx)bug-ga2-mem): Likewise.
18741 ($(objpfx)bug-glob2-mem): Likewise.
18742 * resolv/Makefile (generate): Likewise.
18743 (tests-special): Likewise.
18744 (xtests-special): Likewise.
18745 (generated): Likewise.
18746 ($(objpfx)mtrace-tst-leaks): Likewise.
18747 ($(objpfx)mtrace-tst-leaks2): Likewise.
18749 * scripts/merge-test-results.sh: New file.
18750 * Makefile (tests-special-notdir): New variable.
18751 (tests): Run merge-test-results.sh.
18752 (xtests): Likewise.
18753 * Rules (tests-special-notdir): New variable.
18754 (xtests-special-notdir): Likewise.
18755 (tests): Run merge-test-results.sh
18756 (xtests): Likewise.
18758 * Makeconfig (test-xfail-name): New variable.
18759 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18760 compute variable name for expected failures.
18761 * conform/Makefile (conformtest-headers-data): New variable.
18762 (conformtest-standards): Likewise.
18763 (conformtest-headers-ISO): Likewise.
18764 (conformtest-headers-ISO99): Likewise.
18765 (conformtest-headers-ISO11): Likewise.
18766 (conformtest-headers-POSIX): Likewise.
18767 (conformtest-headers-XPG3): Likewise.
18768 (conformtest-headers-XPG4): Likewise.
18769 (conformtest-headers-UNIX98): Likewise.
18770 (conformtest-headers-XOPEN2K): Likewise.
18771 (conformtest-headers-POSIX2008): Likewise.
18772 (conformtest-headers-XOPEN2K8): Likewise.
18773 (conformtest-header-list-base): Likewise.
18774 (conformtest-header-list-tests): Likewise.
18775 (conformtest-header-base): Likewise.
18776 (conformtest-header-tests): Likewise.
18777 (tests-special): Add $(conformtest-header-list-tests). If
18778 [$(fast-check) && !$(cross-compiling)], add
18779 $(conformtest-header-tests) instead of
18780 $(objpfx)run-conformtest.out.
18781 (generated): Add $(conformtest-header-list-base). If
18782 [$(fast-check) && !$(cross-compiling)], add
18783 $(conformtest-header-base). Remove previous setting.
18784 ($(conformtest-header-list-tests)): New target.
18785 (test-xfail-run-conformtest): Remove variable.
18786 ($(objpfx)run-conformtest.out): Remove target.
18787 (test-xfail-ISO11/complex.h/conform): New variable.
18788 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18789 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18790 (test-xfail-XPG3/varargs.h/conform): Likewise.
18791 (test-xfail-XPG4/varargs.h/conform): Likewise.
18792 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18793 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18794 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18795 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18796 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18797 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18798 (test-xfail-XPG3/ftw.h/conform): Likewise.
18799 (test-xfail-XPG3/grp.h/conform): Likewise.
18800 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18801 (test-xfail-XPG3/limits.h/conform): Likewise.
18802 (test-xfail-XPG3/pwd.h/conform): Likewise.
18803 (test-xfail-XPG3/search.h/conform): Likewise.
18804 (test-xfail-XPG3/signal.h/conform): Likewise.
18805 (test-xfail-XPG3/stdio.h/conform): Likewise.
18806 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18807 (test-xfail-XPG3/string.h/conform): Likewise.
18808 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18809 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18810 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18811 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18812 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18813 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18814 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18815 (test-xfail-XPG3/termios.h/conform): Likewise.
18816 (test-xfail-XPG3/time.h/conform): Likewise.
18817 (test-xfail-XPG3/unistd.h/conform): Likewise.
18818 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18819 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18820 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18821 (test-xfail-XPG4/netdb.h/conform): Likewise.
18822 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18823 (test-xfail-XPG4/signal.h/conform): Likewise.
18824 (test-xfail-XPG4/stdio.h/conform): Likewise.
18825 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18826 (test-xfail-XPG4/stropts.h/conform): Likewise.
18827 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18828 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18829 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18830 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18831 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18832 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18833 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18834 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18835 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18836 (test-xfail-XPG4/termios.h/conform): Likewise.
18837 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18838 (test-xfail-XPG4/unistd.h/conform): Likewise.
18839 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18840 (test-xfail-POSIX/sched.h/conform): Likewise.
18841 (test-xfail-POSIX/signal.h/conform): Likewise.
18842 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18843 (test-xfail-POSIX/tar.h/conform): Likewise.
18844 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18845 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18846 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18847 (test-xfail-UNIX98/netdb.h/conform): Likewise.
18848 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18849 (test-xfail-UNIX98/sched.h/conform): Likewise.
18850 (test-xfail-UNIX98/signal.h/conform): Likewise.
18851 (test-xfail-UNIX98/stdio.h/conform): Likewise.
18852 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18853 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18854 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18855 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18856 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18857 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18858 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18859 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18860 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18861 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18862 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18863 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18864 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18865 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18866 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18867 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18868 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18869 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18870 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18871 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18872 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18873 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18874 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18875 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18876 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18877 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18878 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18879 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18880 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18881 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18882 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18883 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18884 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18885 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18886 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18887 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18888 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18889 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18890 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18891 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18892 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18893 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18894 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18895 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18896 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18897 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18898 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18899 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18900 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18901 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18902 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18903 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18904 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18905 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18906 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18907 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18908 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18909 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18910 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18911 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18912 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18913 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18914 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18915 (conformtest-cc-flags): Likewise.
18916 ($(conformtest-header-tests): New target.
18917 * conform/check-header-lists.sh: New file.
18918 * conform/run-conformtest.sh: Remove.
18920 * conform/conformtest.pl: Allow ' and \ in values given for
18922 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18924 [POSIX] (sys/types.h): Likewise.
18925 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18927 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18929 * conform/data/signal.h-data (SIGIO): Remove expectation.
18930 [XPG3] (SIGBUS): Do not expect.
18931 [POSIX || XPG3] (SIGPOLL): Likewise.
18932 [POSIX || XPG3] (SIGPROF): Likewise.
18933 [POSIX || XPG3] (SIGSYS): Likewise.
18934 [XPG3] (SIGTRAP): Likewise.
18935 [POSIX || XPG3] (SIGURG): Likewise.
18936 [POSIX || XPG3] (SIGVTALRM): Likewise.
18937 [POSIX || XPG3] (SIGXCPU): Likewise.
18938 [POSIX || XPG3] (SIGXFSZ): Likewise.
18939 [POSIX] (SA_SIGINFO): Expect.
18940 [XPG3] (siginfo_t): Do not expect type or contents.
18941 [POSIX] (si_pid): Do not expect element.
18942 [POSIX] (si_uid): Likewise.
18943 [POSIX] (si_addr): Likewise.
18944 [POSIX] (si_status): Likewise.
18945 [POSIX] (si_band): Likewise.
18946 [XPG4] (si_value): Likewise.
18947 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18948 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18949 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18950 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18951 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18952 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18953 [POSIX || XPG3] (ILL_COPROC): Likewise.
18954 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18955 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18956 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18957 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18958 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18959 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18960 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18961 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18962 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18963 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18964 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18965 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18966 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18967 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18968 [POSIX || XPG3] (CLD_EXITED): Likewise.
18969 [POSIX || XPG3] (CLD_KILLED): Likewise.
18970 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18971 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18972 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18973 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18974 [POSIX || XPG3] (POLL_IN): Likewise.
18975 [POSIX || XPG3] (POLL_OUT): Likewise.
18976 [POSIX || XPG3] (POLL_MSG): Likewise.
18977 [POSIX || XPG3] (POLL_ERR): Likewise.
18978 [POSIX || XPG3] (POLL_PRI): Likewise.
18979 [POSIX || XPG3] (POLL_HUP): Likewise.
18980 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18981 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18982 (SIG*): Do not allow.
18983 [XPG3] (si_*): Likewise.
18984 [XPG3] (SI_*): Likewise.
18985 [XPG3 || XPG4] (sigev_*): Likewise.
18986 [XPG3 || XPG4] (SIGEV_*): Likewise.
18987 [XPG3 || XPG4] (sival_*): Likewise.
18988 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18989 [POSIX || XPG3] (BUS_*): Likewise.
18990 [POSIX || XPG3] (CLD_*): Likewise.
18991 [POSIX || XPG3] (FPE_*): Likewise.
18992 [POSIX || XPG3] (ILL_*): Likewise.
18993 [POSIX || XPG3] (POLL_*): Likewise.
18994 [POSIX || XPG3] (SEGV_*): Likewise.
18995 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18996 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18997 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18998 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18999 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19000 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19001 Specify type and value.
19002 (TVERSLEN): Likewise.
19003 (REGTYPE): Likewise.
19004 (AREGTYPE): Likewise.
19005 (LNKTYPE): Likewise.
19006 (SYMTYPE): Likewise.
19007 (CHRTYPE): Likewise.
19008 (BLKTYPE): Likewise.
19009 (DIRTYPE): Likewise.
19010 (FIFOTYPE): Likewise.
19011 (CONTTYPE): Likewise.
19015 (TUREAD): Likewise.
19016 (TUWRITE): Likewise.
19017 (TUEXEC): Likewise.
19018 (TGREAD): Likewise.
19019 (TGWRITE): Likewise.
19020 (TGEXEC): Likewise.
19021 (TOREAD): Likewise.
19022 (TOWRITE): Likewise.
19023 (TOEXEC): Likewise.
19024 [POSIX] (TSVTX): Expect constant.
19026 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19028 * Makefile (tests): Change dependencies to ....
19029 (tests-special): ... additions to this variable.
19030 (tests): Depend on $(tests-special).
19031 * Makerules (check-abi-list): New variable.
19032 (check-abi): Depend on $(check-abi-list).
19033 [$(subdir) = elf] (tests-special): Add
19034 $(objpfx)check-abi-libc.out.
19035 [$(build-shared) = yes && subdir] (tests-special): Add
19037 [$(build-shared) = yes && subdir] (tests): Do not depend on
19039 * Rules (tests): Depend on $(tests-special).
19040 (xtests): Depend on $(xtests-special).
19041 * catgets/Makefile (tests): Change dependencies to ....
19042 (tests-special): ... additions to this variable.
19043 * conform/Makefile (tests): Change dependencies to ....
19044 (tests-special): ... additions to this variable.
19045 * elf/Makefile (tests): Change dependencies to ....
19046 (tests-special): ... additions to this variable.
19047 * grp/Makefile (tests): Change dependencies to ....
19048 (tests-special): ... additions to this variable.
19049 * iconv/Makefile (xtests): Change dependencies to ....
19050 (xtests-special): ... additions to this variable.
19051 * iconvdata/Makefile (tests): Change dependencies to ....
19052 (tests-special): ... additions to this variable.
19053 * intl/Makefile (tests): Change dependencies to ....
19054 (tests-special): ... additions to this variable. Also add
19055 $(objpfx)tst-gettext.out.
19056 * io/Makefile (tests): Change dependencies to ....
19057 (tests-special): ... additions to this variable.
19058 * libio/Makefile (tests): Change dependencies to ....
19059 (tests-special): ... additions to this variable.
19060 * malloc/Makefile (tests): Change dependencies to ....
19061 (tests-special): ... additions to this variable.
19062 * misc/Makefile (tests): Change dependencies to ....
19063 (tests-special): ... additions to this variable.
19064 * nptl/Makefile (tests): Change dependencies to ....
19065 (tests-special): ... additions to this variable.
19066 * nptl_db/Makefile (tests): Change dependencies to ....
19067 (tests-special): ... additions to this variable.
19068 * posix/Makefile (tests): Change dependencies to ....
19069 (tests-special): ... additions to this variable.
19070 (xtests): Change dependencies to ....
19071 (xtests-special): ... additions to this variable.
19072 * resolv/Makefile (tests): Change dependencies to ....
19073 (tests-special): ... additions to this variable.
19074 (xtests): Change dependencies to ....
19075 (xtests-special): ... additions to this variable.
19076 * stdio-common/Makefile (tests): Change dependencies to ....
19077 (tests-special): ... additions to this variable.
19078 (do-tst-unbputc): Remove target.
19079 (do-tst-printf): Likewise.
19080 * stdlib/Makefile (tests): Change dependencies to ....
19081 (tests-special): ... additions to this variable.
19082 * string/Makefile (tests): Change dependencies to ....
19083 (tests-special): ... additions to this variable.
19084 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19085 (tests-special): ... additions to this variable.
19087 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19089 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19091 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19092 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19094 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19095 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19096 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19097 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19098 * conform/data/libgen.h-data [XPG3]: Likewise.
19099 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19100 * conform/data/ndbm.h-data [XPG3]: Likewise.
19101 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19102 * conform/data/netdb.h-data [XPG3]: Likewise.
19103 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19104 * conform/data/poll.h-data [XPG3]: Likewise.
19105 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19106 * conform/data/strings.h-data [XPG3]: Likewise.
19107 * conform/data/stropts.h-data [XPG3]: Likewise.
19108 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19109 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19110 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19112 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19113 * conform/data/sys/time.h-data [XPG3]: Likewise.
19114 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19115 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19116 * conform/data/sys/un.h-data [XPG3]: Likewise.
19117 * conform/data/syslog.h-data [XPG3]: Likewise.
19118 * conform/data/ucontext.h-data [XPG3]: Likewise.
19119 * conform/data/utmpx.h-data [XPG3]: Likewise.
19120 * conform/data/varargs.h-data [UNIX98]: Enable file.
19122 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19124 * math/libm-test.inc (struct test_f_f_data): Move expected results
19125 into structure for each rounding mode.
19126 (struct test_ff_f_data): Likewise.
19127 (struct test_ff_f_data_nexttoward): Likewise.
19128 (struct test_fi_f_data): Likewise.
19129 (struct test_fl_f_data): Likewise.
19130 (struct test_if_f_data): Likewise.
19131 (struct test_fff_f_data): Likewise.
19132 (struct test_c_f_data): Likewise.
19133 (struct test_f_f1_data): Likewise.
19134 (struct test_fF_f1_data): Likewise.
19135 (struct test_ffI_f1_data): Likewise.
19136 (struct test_c_c_data): Likewise.
19137 (struct test_cc_c_data): Likewise.
19138 (struct test_f_i_data): Likewise.
19139 (struct test_ff_i_data): Likewise.
19140 (struct test_f_l_data): Likewise.
19141 (struct test_f_L_data): Likewise.
19142 (struct test_fFF_11_data): Likewise.
19144 (RM_FE_DOWNWARD): Likewise.
19145 (RM_FE_TONEAREST): Likewise.
19146 (RM_FE_TOWARDZERO): Likewise.
19147 (RM_FE_UPWARD): Likewise.
19148 (RUN_TEST_LOOP_f_f): Update references to expected results.
19149 (RUN_TEST_LOOP_2_f): Likewise.
19150 (RUN_TEST_LOOP_fff_f): Likewise.
19151 (RUN_TEST_LOOP_c_f): Likewise.
19152 (RUN_TEST_LOOP_f_f1): Likewise.
19153 (RUN_TEST_LOOP_fF_f1): Likewise.
19154 (RUN_TEST_LOOP_fI_f1): Likewise.
19155 (RUN_TEST_LOOP_ffI_f1): Likewise.
19156 (RUN_TEST_LOOP_c_c): Likewise.
19157 (RUN_TEST_LOOP_cc_c): Likewise.
19158 (RUN_TEST_LOOP_f_i): Likewise.
19159 (RUN_TEST_LOOP_f_i_tg): Likewise.
19160 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19161 (RUN_TEST_LOOP_f_b): Likewise.
19162 (RUN_TEST_LOOP_f_b_tg): Likewise.
19163 (RUN_TEST_LOOP_f_l): Likewise.
19164 (RUN_TEST_LOOP_f_L): Likewise.
19165 (RUN_TEST_LOOP_fFF_11): Likewise.
19166 * math/gen-libm-test.pl (parse_args): Output four copies of
19167 expected results for each test.
19169 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19170 (__ASSUME_UTIMES): Remove.
19171 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19172 (__ASSUME_UTIMES): Likewise.
19174 * math/gen-auto-libm-tests.c: Update comment on output format.
19175 (output_for_one_input_case): Generate before-rounding and
19176 after-rounding information as conditions on output flags not
19177 floating-point format.
19178 * math/auto-libm-test-out: Regenerated.
19179 * math/gen-libm-test.pl (cond_value): New function.
19180 (or_cond_value): Use cond_value.
19181 (generate_testfile): Handle conditional exceptions.
19183 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19185 * math/libm-test.inc (max_valid_error): New variable.
19186 (init_max_error): Take new argument specifying whether function
19187 results are exactly determined. Set max_valid_error and bound
19188 other variables for errors based on this argument.
19189 (set_max_error): Do not record results above max_valid_error.
19190 (check_float_internal): Only accept errors of up to 0.5ulps if
19191 also at most max_valid_error.
19192 (START): Take new argument EXACT and pass it to init_max_error.
19193 (acos_test): Update call to START.
19194 (acos_test_tonearest): Likewise.
19195 (acos_test_towardzero): Likewise.
19196 (acos_test_downward): Likewise.
19197 (acos_test_upward): Likewise.
19198 (acosh_test): Likewise.
19199 (asin_test): Likewise.
19200 (asin_test_tonearest): Likewise.
19201 (asin_test_towardzero): Likewise.
19202 (asin_test_downward): Likewise.
19203 (asin_test_upward): Likewise.
19204 (asinh_test): Likewise.
19205 (atan_test): Likewise.
19206 (atanh_test): Likewise.
19207 (atan2_test): Likewise.
19208 (cabs_test): Likewise.
19209 (cacos_test): Likewise.
19210 (cacosh_test): Likewise.
19211 (carg_test): Likewise.
19212 (casin_test): Likewise.
19213 (casinh_test): Likewise.
19214 (catan_test): Likewise.
19215 (catanh_test): Likewise.
19216 (cbrt_test): Likewise.
19217 (ccos_test): Likewise.
19218 (ccosh_test): Likewise.
19219 (ceil_test): Likewise.
19220 (cexp_test): Likewise.
19221 (cimag_test): Likewise.
19222 (clog_test): Likewise.
19223 (clog10_test): Likewise.
19224 (conj_test): Likewise.
19225 (copysign_test): Likewise.
19226 (cos_test): Likewise.
19227 (cos_test_tonearest): Likewise.
19228 (cos_test_towardzero): Likewise.
19229 (cos_test_downward): Likewise.
19230 (cos_test_upward): Likewise.
19231 (cosh_test): Likewise.
19232 (cosh_test_tonearest): Likewise.
19233 (cosh_test_towardzero): Likewise.
19234 (cosh_test_downward): Likewise.
19235 (cosh_test_upward): Likewise.
19236 (cpow_test): Likewise.
19237 (cproj_test): Likewise.
19238 (creal_test): Likewise.
19239 (csin_test): Likewise.
19240 (csinh_test): Likewise.
19241 (csqrt_test): Likewise.
19242 (ctan_test): Likewise.
19243 (ctan_test_tonearest): Likewise.
19244 (ctan_test_towardzero): Likewise.
19245 (ctan_test_downward): Likewise.
19246 (ctan_test_upward): Likewise.
19247 (ctanh_test): Likewise.
19248 (ctanh_test_tonearest): Likewise.
19249 (ctanh_test_towardzero): Likewise.
19250 (ctanh_test_downward): Likewise.
19251 (ctanh_test_upward): Likewise.
19252 (erf_test): Likewise.
19253 (erfc_test): Likewise.
19254 (exp_test): Likewise.
19255 (exp_test_tonearest): Likewise.
19256 (exp_test_towardzero): Likewise.
19257 (exp_test_downward): Likewise.
19258 (exp_test_upward): Likewise.
19259 (exp10_test): Likewise.
19260 (exp10_test_tonearest): Likewise.
19261 (exp10_test_towardzero): Likewise.
19262 (exp10_test_downward): Likewise.
19263 (exp10_test_upward): Likewise.
19264 (pow10_test): Likewise.
19265 (exp2_test): Likewise.
19266 (expm1_test): Likewise.
19267 (expm1_test_tonearest): Likewise.
19268 (expm1_test_towardzero): Likewise.
19269 (expm1_test_downward): Likewise.
19270 (expm1_test_upward): Likewise.
19271 (fabs_test): Likewise.
19272 (fdim_test): Likewise.
19273 (floor_test): Likewise.
19274 (fma_test): Likewise.
19275 (fma_test_towardzero): Likewise.
19276 (fma_test_downward): Likewise.
19277 (fma_test_upward): Likewise.
19278 (fmax_test): Likewise.
19279 (fmin_test): Likewise.
19280 (fmod_test): Likewise.
19281 (fpclassify_test): Likewise.
19282 (frexp_test): Likewise.
19283 (hypot_test): Likewise.
19284 (ilogb_test): Likewise.
19285 (isfinite_test): Likewise.
19286 (finite_test): Likewise.
19287 (isgreater_test): Likewise.
19288 (isgreaterequal_test): Likewise.
19289 (isinf_test): Likewise.
19290 (isless_test): Likewise.
19291 (islessequal_test): Likewise.
19292 (islessgreater_test): Likewise.
19293 (isnan_test): Likewise.
19294 (isnormal_test): Likewise.
19295 (issignaling_test): Likewise.
19296 (isunordered_test): Likewise.
19297 (j0_test): Likewise.
19298 (j1_test): Likewise.
19299 (jn_test): Likewise.
19300 (ldexp_test): Likewise.
19301 (lgamma_test): Likewise.
19302 (gamma_test): Likewise.
19303 (lrint_test): Likewise.
19304 (lrint_test_tonearest): Likewise.
19305 (lrint_test_towardzero): Likewise.
19306 (lrint_test_downward): Likewise.
19307 (lrint_test_upward): Likewise.
19308 (llrint_test): Likewise.
19309 (llrint_test_tonearest): Likewise.
19310 (llrint_test_towardzero): Likewise.
19311 (llrint_test_downward): Likewise.
19312 (llrint_test_upward): Likewise.
19313 (log_test): Likewise.
19314 (log10_test): Likewise.
19315 (log1p_test): Likewise.
19316 (log2_test): Likewise.
19317 (logb_test): Likewise.
19318 (logb_test_downward): Likewise.
19319 (lround_test): Likewise.
19320 (llround_test): Likewise.
19321 (modf_test): Likewise.
19322 (nearbyint_test): Likewise.
19323 (nextafter_test): Likewise.
19324 (nexttoward_test): Likewise.
19325 (pow_test): Likewise.
19326 (pow_test_tonearest): Likewise.
19327 (pow_test_towardzero): Likewise.
19328 (pow_test_downward): Likewise.
19329 (pow_test_upward): Likewise.
19330 (remainder_test): Likewise.
19331 (drem_test): Likewise.
19332 (remainder_test_tonearest): Likewise.
19333 (drem_test_tonearest): Likewise.
19334 (remainder_test_towardzero): Likewise.
19335 (drem_test_towardzero): Likewise.
19336 (remainder_test_downward): Likewise.
19337 (drem_test_downward): Likewise.
19338 (remainder_test_upward): Likewise.
19339 (drem_test_upward): Likewise.
19340 (remquo_test): Likewise.
19341 (rint_test): Likewise.
19342 (rint_test_tonearest): Likewise.
19343 (rint_test_towardzero): Likewise.
19344 (rint_test_downward): Likewise.
19345 (rint_test_upward): Likewise.
19346 (round_test): Likewise.
19347 (scalb_test): Likewise.
19348 (scalbn_test): Likewise.
19349 (scalbln_test): Likewise.
19350 (signbit_test): Likewise.
19351 (sin_test): Likewise.
19352 (sin_test_tonearest): Likewise.
19353 (sin_test_towardzero): Likewise.
19354 (sin_test_downward): Likewise.
19355 (sin_test_upward): Likewise.
19356 (sincos_test): Likewise.
19357 (sinh_test): Likewise.
19358 (sinh_test_tonearest): Likewise.
19359 (sinh_test_towardzero): Likewise.
19360 (sinh_test_downward): Likewise.
19361 (sinh_test_upward): Likewise.
19362 (sqrt_test): Likewise.
19363 (sqrt_test_tonearest): Likewise.
19364 (sqrt_test_towardzero): Likewise.
19365 (sqrt_test_downward): Likewise.
19366 (sqrt_test_upward): Likewise.
19367 (tan_test): Likewise.
19368 (tan_test_tonearest): Likewise.
19369 (tan_test_towardzero): Likewise.
19370 (tan_test_downward): Likewise.
19371 (tan_test_upward): Likewise.
19372 (tanh_test): Likewise.
19373 (tgamma_test): Likewise.
19374 (trunc_test): Likewise.
19375 (y0_test): Likewise.
19376 (y1_test): Likewise.
19377 (yn_test): Likewise.
19378 (significand_test): Likewise.
19380 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19381 individual tests in comment.
19382 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19383 (prev_max_error): New variable.
19384 (prev_real_max_error): Likewise.
19385 (prev_imag_max_error): Likewise.
19386 (compare_ulp_data): Don't refer to test names in comment.
19387 (find_test_ulps): Remove function.
19388 (find_function_ulps): Likewise.
19389 (find_complex_function_ulps): Likewise.
19390 (init_max_error): Take function name as argument. Look up ulps
19392 (print_ulps): Remove function.
19393 (print_max_error): Use prev_max_error instead of calling
19394 find_function_ulps.
19395 (print_complex_max_error): Use prev_real_max_error and
19396 prev_imag_max_error instead of calling find_complex_function_ulps.
19397 (check_float_internal): Take max_ulp parameter instead of calling
19398 find_test_ulps. Don't call print_ulps.
19399 (check_float): Update call to check_float_internal.
19400 (check_complex): Update calls to check_float_internal.
19401 (START): Pass argument to init_max_error.
19402 * math/gen-libm-test.pl (%results): Don't include "kind"
19404 (parse_ulps): Don't handle ulps of individual tests.
19405 (print_ulps_file): Likewise.
19406 (output_ulps): Likewise.
19407 * math/README.libm-test: Update.
19408 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19410 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19411 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19412 * sysdeps/arm/libm-test-ulps: Likewise.
19413 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19414 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19415 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19416 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19417 * sysdeps/microblaze/libm-test-ulps: Likewise.
19418 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19419 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19421 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19423 * sysdeps/sh/libm-test-ulps: Likewise.
19424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19425 * sysdeps/tile/libm-test-ulps: Likewise.
19426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19428 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19430 * math/libm-test.inc (print_complex_max_error): Check separately
19431 whether real and imaginary errors are within allowed range and
19432 pass 0 to print_complex_function_ulps instead of value within
19435 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19437 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19439 (get_handles_fopen): Likewise.
19440 (do_write_test): Likewise.
19442 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19444 * libio/fileops.c (do_ftell): Use cached offset when
19446 * libio/iofwide.c (do_ftell_wide): Likewise.
19447 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19449 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19452 * libio/libioP.h (get_file_offset): New function.
19453 * libio/fileops.c (get_file_offset): Likewise.
19454 (do_ftell): Likewise.
19455 (_IO_new_file_seekoff): Split out ftell logic.
19456 * libio/wfileops.c (do_ftell_wide): Likewise.
19457 (_IO_wfile_seekoff): Split out ftell logic.
19458 * libio/tst-ftell-active-handler.c: New test case.
19459 * libio/Makefile (tests): Add it.
19461 2014-03-03 Roland McGrath <roland@hack.frob.com>
19463 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19464 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19466 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19469 * nscd/connections.c (nscd_init): Call do_exit.
19470 (start_threads): Call do_exit and notify_parent.
19471 (begin_drop_privileges): Call do_exit.
19472 (finish_drop_privileges): Likewise.
19473 * nscd/selinux.c (preserve_capabilities): Likewise.
19474 (install_real_capabilities): Likewise.
19475 (nscd_selinux_enabled): Likewise.
19476 (avc_create_thread): Likewise.
19477 (avc_alloc_lock): Likewise.
19478 (nscd_avc_init): Likewise.
19479 * nscd/nscd.c (parent_fd): New static variable.
19480 (main): Create a pipe between parent and child processes.
19481 Skip closing parent_fd.
19482 (monitor_child): New function.
19483 (do_exit): Likewise.
19484 (notify_parent): Likewise.
19485 * nscd/nscd.h (notify_parent): Likewise.
19486 (do_exit): Likewise.
19488 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19490 * malloc/malloc.c (__libc_calloc): Revert last change.
19492 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19496 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19498 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19502 (__libc_ifunc_impl_list): Likewise.
19503 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19504 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19505 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19506 * string/strrchr.c: Define STRRCHR.
19508 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19510 * benchtest/bench-strtok.c (simple_strtok): Delete.
19511 (strtok_string): Use as benchmark.
19512 * string/strtok (STRTOK): New macro.
19514 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19516 * manual/threads.texi: Add header and standard comments to all
19519 * elf/dl-lookup.c (check_match): New function.
19520 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19521 (do_lookup_x): Remove nested function check_match. Use non-nested
19522 function check_match.
19524 2014-02-28 Roland McGrath <roland@hack.frob.com>
19526 * csu/Makefile (generated, before-compile): Use += rather than =.
19527 * catgets/Makefile (generated, generated-dirs): Likewise.
19528 * debug/Makefile (generated): Likewise.
19529 * dlfcn/Makefile (generated): Likewise.
19530 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19531 * iconvdata/Makefile (before-compile, generated): Likewise.
19532 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19533 * libio/Makefile (generated): Likewise.
19534 * malloc/Makefile (generated): Likewise.
19535 * manual/Makefile (generated, generated-dirs): Likewise.
19536 * misc/Makefile (generated): Likewise.
19537 * posix/Makefile (generated): Likewise.
19538 * resolv/Makefile (generated): Likewise.
19539 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19540 * timezone/Makefile (generated, generated-dirs): Likewise.
19542 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19544 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19547 power8 implementation.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19549 file: POWER8 llround ifunc implementation.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19551 (__lllround): Add POWER8 implementation.
19552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19553 POWER8 llround implementation.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19556 power8 implementation.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19558 file: POWER8 llrint ifunc implementation.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19560 Add POWER8 implementation.
19561 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19562 POWER8 llrint implementation.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19565 power8 implementation.
19566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19567 file: POWER8 finite ifunc implementation.
19568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19569 Add POWER8 implementation.
19570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19572 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19573 POWER8 finite implementation.
19574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19577 power8 implementation.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19579 file: POWER8 isinf ifunc implementation.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19581 POWER8 implementation.
19582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19584 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19585 isinf implementation.
19586 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19588 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19589 (INIT_ARCH): Add hwcap2 initialization.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19591 power8 implementation.
19592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19593 file: POWER8 isnan ifunc implementation.
19594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19595 POWER8 implementation.
19596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19598 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19599 isnan implementation.
19600 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19602 2014-02-27 Joey Ye <joey.ye@arm.com>
19604 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19605 (_FP_NANFRAC_Q): Set to zero.
19607 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19610 * math/auto-libm-test-in: New test inputs.
19611 * math/auto-libm-test-out: Regenerate.
19612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19615 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19617 2014-02-27 Joseph Myers <joseph@codesourcery.com>
19619 * scripts/evaluate-test.sh: Take new argument indicating whether
19620 failure is expected.
19621 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19622 indicating whether failure is expected.
19623 * conform/Makefile (test-xfail-run-conformtest): New variable.
19624 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19626 * posix/Makefile (test-xfail-annexc): New variable.
19627 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19629 2014-02-26 Joseph Myers <joseph@codesourcery.com>
19631 * argp/Makefile: Include Makeconfig immediately after defining
19633 * assert/Makefile: Likewise.
19634 * benchtests/Makefile: Likewise.
19635 * catgets/Makefile: Likewise.
19636 * conform/Makefile: Likewise.
19637 * crypt/Makefile: Likewise.
19638 * csu/Makefile: Likewise.
19639 (all): Remove target.
19640 * ctype/Makefile: Include Makeconfig immediately after defining
19642 * debug/Makefile: Likewise.
19643 * dirent/Makefile: Likewise.
19644 * dlfcn/Makefile: Likewise.
19645 * gmon/Makefile: Likewise.
19646 * gnulib/Makefile: Likewise.
19647 * grp/Makefile: Likewise.
19648 * gshadow/Makefile: Likewise.
19649 * hesiod/Makefile: Likewise.
19650 * hurd/Makefile: Likewise.
19651 (all): Remove target.
19652 * iconvdata/Makefile: Include Makeconfig immediately after
19654 * inet/Makefile: Likewise.
19655 * intl/Makefile: Likewise.
19656 * io/Makefile: Likewise.
19657 * libio/Makefile: Likewise.
19658 (all): Remove target.
19659 * locale/Makefile: Include Makeconfig immediately after defining
19661 * login/Makefile: Likewise.
19662 * mach/Makefile: Likewise.
19663 (all): Remove target.
19664 * malloc/Makefile: Include Makeconfig immediately after defining
19666 (all): Remove target.
19667 * manual/Makefile: Include Makeconfig immediately after defining
19669 * math/Makefile: Likewise.
19670 * misc/Makefile: Likewise.
19671 * nis/Makefile: Likewise.
19672 * nss/Makefile: Likewise.
19673 * po/Makefile: Likewise.
19674 (all): Remove target.
19675 * posix/Makefile: Include Makeconfig immediately after defining
19677 * pwd/Makefile: Likewise.
19678 * resolv/Makefile: Likewise.
19679 * resource/Makefile: Likewise.
19680 * rt/Makefile: Likewise.
19681 * setjmp/Makefile: Likewise.
19682 * shadow/Makefile: Likewise.
19683 * signal/Makefile: Likewise.
19684 * socket/Makefile: Likewise.
19685 * soft-fp/Makefile: Likewise.
19686 * stdio-common/Makefile: Likewise.
19687 * stdlib/Makefile: Likewise.
19688 * streams/Makefile: Likewise.
19689 * string/Makefile: Likewise.
19690 * sunrpc/Makefile: Likewise.
19691 (all): Remove target.
19692 * sysvipc/Makefile: Include Makeconfig immediately after defining
19694 * termios/Makefile: Likewise.
19695 * time/Makefile: Likewise.
19696 * timezone/Makefile: Likewise.
19697 (all): Remove target.
19698 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19700 * wctype/Makefile: Likewise.
19702 2014-02-26 Steve Ellcey <sellcey@mips.com>
19704 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19705 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19706 (libc_feholdexcept_setround_mips): Ditto.
19707 (libc_feholdsetround): New.
19708 (libc_feholdsetroundf): New.
19709 (libc_feholdsetroundl): New.
19710 (libc_feupdateenv_test_mips): New.
19711 (libc_feupdateenv_test): New.
19712 (libc_feupdateenv_testf): New.
19713 (libc_feupdateenv_testl): New.
19714 (libc_feresetround): New.
19715 (libc_feresetroundf): New.
19716 (libc_feresetroundl): New.
19717 (libc_fetestexcept_mips): New.
19718 (libc_fetestexcept): New.
19719 (libc_fetestexceptf): New.
19720 (libc_fetestexceptl): New.
19721 (HAVE_RM_CTX): New.
19722 (libc_feholdexcept_setround_mips_ctx): New.
19723 (libc_feholdexcept_setround_ctx): New.
19724 (libc_feholdexcept_setroundf_ctx): New.
19725 (libc_feholdexcept_setroundl_ctx): New.
19726 (libc_fesetenv_mips_ctx): New.
19727 (libc_fesetenv_ctx): New.
19728 (libc_fesetenv_ctxf): New.
19729 (libc_fesetenv_ctxl): New.
19730 (libc_feupdateenv_mips_ctx): New.
19731 (libc_feupdateenv_ctx): New.
19732 (libc_feupdateenvf_ctx): New.
19733 (libc_feupdateenvl_ctx): New.
19734 (libc_feholdsetround_mips_ctx): New.
19735 (libc_feholdsetround_ctx): New.
19736 (libc_feholdsetroundf_ctx): New.
19737 (libc_feholdsetroundl_ctx): New.
19738 (libc_feresetround_mips_ctx): New.
19739 (libc_feresetround_ctx): New.
19740 (libc_feresetroundf_ctx): New.
19741 (libc_feresetroundl_ctx): New.
19743 2014-02-26 Carlos O'Donell <carlos@redhat.com>
19745 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19747 * manual/ipc.texi: New file.
19748 * manual/Makefile (chapters): Add ipc.
19749 * manual/job.texi: Add "Inter-Process Communication" to next.
19750 * manual/process.texi: Add "Inter-Process Communication" to prev.
19752 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19756 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
19758 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19760 * manual/arith.texi: Fix spaces after sentences.
19761 * manual/charset.texi: Likewise.
19762 * manual/errno.texi: Likewise.
19763 * manual/install.texi: Likewise.
19764 * manual/llio.texi: Likewise.
19765 * manual/locale.texi: Likewise.
19766 * manual/maint.texi: Likewise.
19767 * manual/math.texi: Likewise.
19768 * manual/memory.texi: Likewise.
19769 * manual/message.texi: Likewise.
19770 * manual/probes.texi: Likewise.
19771 * manual/resource.texi: Likewise.
19772 * manual/signal.texi: Likewise.
19773 * manual/socket.texi: Likewise.
19774 * manual/stdio.texi: Likewise.
19775 * manual/string.texi: Likewise.
19776 * manual/time.texi: Likewise.
19777 * manual/users.texi: Likewise.
19779 2014-02-25 Carlos O'Donell <carlos@redhat.com>
19782 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19783 _DEFAULT_SOURCE is defined.
19785 2014-02-25 Ulrich Drepper <drepper@gmail.com>
19786 Carlos O'Donell <carlos@redhat.com>
19789 * elf/dl-tls.c (_dl_count_modids): New function.
19790 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19791 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19792 audit library and increment generation counter.
19793 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19794 * elf/tst-audit9.c: New file.
19795 * elf/tst-auditmod9a.c: New file.
19796 * elf/tst-auditmod9b.c: New file.
19797 * elf/Makefile: Add rules to build and run tst-audit9.
19799 2014-02-25 Florian Weimer <fweimer@redhat.com>
19802 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19804 2014-02-25 Will Newton <will.newton@linaro.org>
19806 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19807 (__longjmp): Restore sp and lr before restoring callee
19808 saved registers. Add longjmp and longjmp_target
19809 SystemTap probe point.
19810 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19811 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19812 Define to zero to match jmpbuf layout.
19813 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19814 (__sigsetjmp): Save sp and lr before saving callee
19815 saved registers. Add setjmp SystemTap probe point.
19817 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19819 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19821 2014-02-24 Andreas Schwab <schwab@suse.de>
19824 * elf/pldd.c (wait_for_ptrace_stop): New function.
19825 (main): Call it after attaching.
19827 2014-02-22 Roland McGrath <roland@hack.frob.com>
19829 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19830 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19831 Versions files is now verboten.
19832 * hurd/Versions (libc: GLIBC_2.0):
19833 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19834 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19835 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19836 * mach/Versions: Likewise.
19838 * csu/Versions: Remove unused %include.
19839 * resolv/Versions: Likewise.
19841 2014-02-21 Joseph Myers <joseph@codesourcery.com>
19843 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19844 ($(objpfx)check-local-headers.out): Likewise.
19845 ($(objpfx)begin-end-check.out): Likewise.
19846 * Makerules (check-abi-%.out): Likewise.
19847 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19848 ($(objpfx)test2.cat): Likewise.
19849 ($(objpfx)de/libc.cat): Likewise.
19850 ($(objpfx)test-gencat.out): Likewise.
19851 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19852 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19853 ($(objpfx)noload-mem): Likewise.
19854 ($(objpfx)tst-pathopt.out): Likewise.
19855 ($(objpfx)tst-rtld-load-self.out): Likewise.
19856 ($(objpfx)tst-array1-cmp.out): Likewise.
19857 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19858 ($(objpfx)tst-array2-cmp.out): Likewise.
19859 ($(objpfx)tst-array3-cmp.out): Likewise.
19860 ($(objpfx)tst-array4-cmp.out): Likewise.
19861 ($(objpfx)tst-array5-cmp.out): Likewise.
19862 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19863 ($(objpfx)check-textrel.out): Likewise.
19864 ($(objpfx)check-execstack.out): Likewise.
19865 ($(objpfx)check-localplt.out): Likewise.
19866 ($(objpfx)order2-cmp.out): Likewise.
19867 ($(objpfx)tst-leaks1-mem): Likewise.
19868 ($(objpfx)tst-leaks1-static-mem): Likewise.
19869 ($(objpfx)tst-initorder-cmp.out): Likewise.
19870 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19871 ($(objpfx)tst-unused-dep.out): Likewise.
19872 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19873 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19874 * iconv/Makefile (test-iconvconfig): Likewise.
19875 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19876 ($(objpfx)iconv-test.out): Likewise.
19877 ($(objpfx)tst-tables.out): Likewise.
19878 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19879 ($(objpfx)tst-gettext.out): Likewise.
19880 ($(objpfx)tst-translit.out): Likewise.
19881 ($(objpfx)tst-gettext2.out): Likewise.
19882 ($(objpfx)tst-gettext4.out): Likewise.
19883 ($(objpfx)tst-gettext6.out): Likewise.
19884 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19885 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19886 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19887 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19888 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19889 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19890 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19891 ($(objpfx)wordexp-tst.out): Likewise.
19892 ($(objpfx)annexc.out): Likewise.
19893 ($(objpfx)tst-fnmatch-mem): Likewise.
19894 ($(objpfx)bug-regex2-mem): Likewise.
19895 ($(objpfx)bug-regex14-mem): Likewise.
19896 ($(objpfx)bug-regex21-mem): Likewise.
19897 ($(objpfx)bug-regex31-mem): Likewise.
19898 ($(objpfx)tst-vfork3-mem): Likewise.
19899 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19900 ($(objpfx)tst-pcre-mem): Likewise.
19901 ($(objpfx)tst-boost-mem): Likewise.
19902 ($(objpfx)tst-getconf.out): Likewise.
19903 ($(objpfx)bug-ga2-mem): Likewise.
19904 ($(objpfx)bug-glob2-mem): Likewise.
19905 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19906 ($(objpfx)mtrace-tst-leaks2): Likewise.
19907 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19908 ($(objpfx)tst-printf.out): Likewise.
19909 ($(objpfx)tst-setvbuf1.out): Likewise.
19910 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19911 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19912 ($(objpfx)tst-fmtmsg.out): Likewise.
19913 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19914 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19916 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19917 * bits/sigaction.h [__USE_MISC]: Likewise.
19918 * bits/waitstatus.h: Update #endif comments.
19919 * ctype/ctype.h: Likewise.
19920 * dirent/dirent.h: Likewise.
19921 [__USE_MISC]: Remove redundant conditionals.
19922 * grp/grp.h: Update #endif comments.
19923 [__USE_GNU]: Remove redundant conditionals.
19924 [__USE_MISC]: Likewise.
19925 * inet/netinet/in.h [__USE_GNU]: Likewise.
19926 * io/sys/stat.h [__USE_MISC]: Likewise.
19927 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19928 * libio/bits/stdio.h: Update #endif comments.
19929 [__USE_MISC]: Remove redundant conditionals.
19930 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19931 * libio/stdio.h: Update #endif comments.
19932 [__USE_MISC]: Remove redundant conditionals.
19933 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19934 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19935 * math/math.h: Update #else and #endif comments.
19936 [__USE_MISC]: Remove redundant conditionals.
19937 * misc/sys/uio.h: Update #endif comments.
19938 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19939 * posix/glob.h [__USE_MISC]: Likewise.
19940 * posix/sys/types.h: Update #endif comments.
19941 [__USE_MISC]: Remove redundant conditionals.
19942 * posix/sys/wait.h: Update #endif comments.
19943 [__USE_MISC]: Remove redundant conditionals.
19944 * posix/unistd.h: Update #endif comments.
19945 [__USE_MISC]: Remove redundant conditionals.
19946 * pwd/pwd.h [__USE_GNU]: Likewise.
19947 [__USE_MISC]: Likewise.
19948 * resolv/netdb.h [__USE_GNU]: Likewise.
19949 * signal/signal.h: Update #endif comments.
19950 [__USE_MISC]: Remove redundant conditionals.
19951 * stdlib/stdlib.h: Update #else and #endif comments.
19952 [__USE_MISC]: Remove redundant conditionals.
19953 [__USE_GNU]: Likewise.
19954 * string/bits/string2.h [__USE_MISC]: Likewise.
19955 * string/string.h: Update #endif comments.
19956 [__USE_MISC]: Remove redundant conditionals.
19957 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19960 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19961 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19963 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19965 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19967 [__USE_MISC]: Remove redundant conditionals.
19968 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19969 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19970 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19971 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19972 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19974 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19975 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19977 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19978 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19980 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19982 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19985 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19987 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19988 * sysdeps/x86/bits/string.h: Update #endif comments.
19989 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19991 * time/sys/time.h: Update #endif comments.
19992 * time/time.h: Likewise.
19993 [__USE_MISC]: Remove redundant conditionals.
19995 2014-02-21 Yury Gribov <y.gribov@samsung.com>
19998 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20000 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20002 * Versions.def (librt): Add GLIBC_2.17.
20004 2014-02-21 Adam Conrad <adconrad@0c3.net>
20006 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20007 synonym for _SYS_AUXV_H to allow direct inclusion.
20008 * sysdeps/sparc/bits/hwcap.h: Likewise.
20009 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20010 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20011 * sysdeps/sparc/sysdep.h: Likewise.
20013 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20015 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20017 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20019 * benchtests/bench-strrchr.c: Print length instead of position.
20021 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20024 * sysdeps/unix/sysv/linux/kernel-features.h
20025 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20026 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20027 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20028 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20030 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20031 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20032 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20033 (__ASSUME_SENDMMSG): Define instead of using previous
20034 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20035 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20036 (__ASSUME_SENDMMSG_SYSCALL): Define.
20037 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20038 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20040 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20041 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20043 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20044 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20047 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20048 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20049 [__ASSUME_SENDMMSG]: Change conditionals to
20050 [__ASSUME_SENDMMSG_SOCKETCALL].
20051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20052 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20054 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20055 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20057 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20058 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20059 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20060 [!__ASSUME_SENDMMSG]: Change conditional to
20061 [!__ASSUME_SENDMMSG_SOCKETCALL].
20062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20063 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20067 * sysdeps/unix/sysv/linux/kernel-features.h
20068 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20069 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20070 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20071 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20072 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20073 [__i386__ || __sparc__]
20074 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20075 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20076 (__ASSUME_RECVMMSG): Define instead of using previous
20077 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20078 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20079 (__ASSUME_RECVMMSG_SYSCALL): Define.
20080 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20081 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20084 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20086 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20087 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20089 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20090 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20091 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20092 [__ASSUME_RECVMMSG]: Change condition to
20093 [__ASSUME_RECVMMSG_SOCKETCALL].
20094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20095 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20097 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20098 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20101 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20102 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20103 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20104 [!__ASSUME_RECVMMSG]: Change condition to
20105 [!__ASSUME_RECVMMSG_SOCKETCALL].
20106 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20107 (__ASSUME_RECVMMSG_SYSCALL): Define.
20110 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20111 __powerpc__ || __s390__ || __sh__ || __sparc__]
20112 (__ASSUME_SOCKETCALL): Define.
20113 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20114 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20115 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20116 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20117 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20118 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20119 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20120 (__ASSUME_ACCEPT4): Define instead of using previous
20121 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20122 __powerpc__ || __sparc__ || __s390__)] condition.
20123 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20124 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20125 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20126 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20127 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20128 [!__ASSUME_ACCEPT4]: Change condition to
20129 [!__ASSUME_ACCEPT4_SOCKETCALL].
20130 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20131 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20132 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20133 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20134 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20135 __ASSUME_ACCEPT4_SYSCALL.
20136 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20137 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20138 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20139 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20140 __ASSUME_ACCEPT4_SYSCALL.
20141 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20142 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20143 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20144 [__ASSUME_ACCEPT4]: Change condition to
20145 [__ASSUME_ACCEPT4_SOCKETCALL].
20146 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20147 (__ASSUME_SOCKETCALL): Define.
20148 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20150 (__ASSUME_SOCKETCALL): Define.
20151 (__ASSUME_ACCEPT4): Remove.
20152 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20154 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20155 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20157 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20158 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20160 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20162 (HWCAP_ARM_LPAE): Likewise.
20163 (HWCAP_ARM_EVTSTRM): Likewise.
20164 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20165 Add vpfd32, lpae and evtstrm.
20166 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20169 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20171 * math/auto-libm-test-in: Add tests of clog10.
20172 * math/auto-libm-test-out: Regenerated.
20173 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20174 * sysdeps/i386/fpu/libm-test-ulps: Update.
20175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20177 2014-02-18 Andreas Schwab <schwab@suse.de>
20180 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20181 Store non-zero if the second buffer was newly allocated.
20182 (send_dg): Likewise.
20183 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20184 to send_vc and send_dg.
20185 (res_nsend): Pass NULL for ansp2_malloced.
20186 * resolv/res_query.c (__libc_res_nquery): Add parameter
20187 answerp2_malloced and pass it down to __libc_res_nsend.
20188 (res_nquery): Pass additional NULL to __libc_res_nquery.
20189 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20190 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20191 second answer buffer if answerp2_malloced was set.
20192 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20193 (__libc_res_nquerydomain): Add parameter
20194 answerp2_malloced and pass it down to __libc_res_nquery.
20195 (res_nquerydomain): Pass additional NULL to
20196 __libc_res_nquerydomain.
20197 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20198 additional NULL to __libc_res_nsend and __libc_res_nquery.
20199 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20200 additional NULL to __libc_res_nsearch.
20201 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20202 parameter of __libc_res_nsearch to check for separately allocated
20204 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20206 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20207 additional NULL to __libc_res_nquery.
20208 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20209 __libc_res_nsearch.
20210 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20211 * include/resolv.h: Update prototypes of __libc_res_nquery,
20212 __libc_res_nsearch, __libc_res_nsend.
20214 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20216 * math/auto-libm-test-in: Add tests of fma.
20217 * math/auto-libm-test-out: Regenerated.
20218 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20219 (fma_towardzero_test_data): Likewise.
20220 (fma_downward_test_data): Likewise.
20221 (fma_upward_test_data): Likewise.
20222 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20224 (rounding_modes): Add values for new field.
20225 (func_calc_method): Add value mpfr_fff_f.
20226 (func_calc_desc): Add mpfr_fff_f union field.
20227 (test_function): Add field exact_args.
20228 (FUNC): Add macro argument EXACT_ARGS.
20229 (FUNC_mpfr_f_f): Update call to FUNC.
20230 (FUNC_mpfr_f_f): Likewise.
20231 (FUNC_mpfr_ff_f): Likewise.
20232 (FUNC_mpfr_if_f): Likewise.
20233 (FUNC_mpc_c_f): Likewise.
20234 (FUNC_mpc_c_c): Likewise.
20235 (test_functions): Add fma. Update calls to FUNC.
20236 (handle_input_arg): Add argument exact_args.
20237 (add_test): Update call to handle_input_arg.
20238 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20239 (output_for_one_input_case): Update call to calc_generic_results.
20240 Recalculate exact zero results in each rounding mode.
20242 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20243 non-negative before setting low bit.
20244 * math/auto-libm-test-in: Mark one asin test possibly having
20245 spurious underflow.
20246 * math/auto-libm-test-out: Regenerated.
20247 * sysdeps/i386/fpu/libm-test-ulps: Update.
20248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20250 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20252 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20253 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20254 ports/sysdeps/unix/sysv/linux/microblaze.
20255 * README: Add missing listing for microblaze*-*-linux-gnu.
20257 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20259 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20262 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20264 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20265 * sysdeps/unix/sysv/linux/ia64: Move directory from
20266 ports/sysdeps/unix/sysv/linux/ia64.
20267 * README: Update listing for ia64-*-linux-gnu.
20269 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20270 Joseph Myers <joseph@codesourcery.com>
20272 * Makeconfig (test-name): New variable.
20273 (evaluate-test): Likewise.
20274 * Makerules (do-test-clean): Remove .test-result files.
20275 (common-mostlyclean): Likewise.
20276 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20277 * scripts/evaluate-test.sh: New file.
20279 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20281 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20282 separate $(objpfx)tst-fopenloc-cmp.out and
20283 $(objpfx)tst-fopenloc-mem.out targets.
20284 (tests): Update dependencies.
20285 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20286 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20287 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20288 (tst-rxspencer-no-utf8-ARGS): New variable.
20289 (tst-rxspencer-no-utf8-ENV): Likewise.
20290 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20291 instead of $(objpfx)tst-rxspencer-mem.
20292 ($(objpfx)tst-rxspencer-mem): Change target to
20293 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20294 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20295 * posix/tst-rxspencer-no-utf8.c: New file.
20297 * elf/Makefile ($(objpfx)order.out): Remove rule.
20298 [$(run-built-tests) = yes] (tests): Depend on
20299 $(objpfx)order-cmp.out.
20300 ($(objpfx)order-cmp.out): New rule.
20301 [$(run-built-tests) = yes] (tests): Depend on
20302 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20303 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20304 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20305 $(objpfx)tst-array5-static-cmp.out.
20306 ($(objpfx)tst-array1.out): Remove rule.
20307 ($(objpfx)tst-array1-cmp.out): New rule.
20308 ($(objpfx)tst-array1-static.out): Remove rule.
20309 ($(objpfx)tst-array1-static-cmp.out): New rule.
20310 ($(objpfx)tst-array2.out): Remove rule.
20311 ($(objpfx)tst-array2-cmp.out): New rule.
20312 ($(objpfx)tst-array3.out): Remove rule.
20313 ($(objpfx)tst-array3-cmp.out): New rule.
20314 ($(objpfx)tst-array4.out): Remove rule.
20315 ($(objpfx)tst-array4-cmp.out): New rule.
20316 ($(objpfx)tst-array5.out): Remove rule.
20317 ($(objpfx)tst-array5-cmp.out): New rule.
20318 ($(objpfx)tst-array5-static.out): Remove rule.
20319 ($(objpfx)tst-array5-static-cmp.out): New rule.
20320 [$(run-built-tests) = yes] (tests): Depend on
20321 $(objpfx)order2-cmp.out.
20322 ($(objpfx)order2.out): Remove rule.
20323 ($(objpfx)order2-cmp.out): New rule.
20324 ($(objpfx)tst-initorder.out): Remove rule.
20325 [$(run-built-tests) = yes] (tests): Depend on
20326 $(objpfx)tst-initorder-cmp.out.
20327 ($(objpfx)tst-initorder-cmp.out): New rule.
20328 ($(objpfx)tst-initorder2.out): Remove rule.
20329 [$(run-built-tests) = yes] (tests): Depend on
20330 $(objpfx)tst-initorder2-cmp.out.
20331 ($(objpfx)tst-initorder2-cmp.out): New rule.
20332 [$(run-built-tests) = yes] (tests): Depend on
20333 $(objpfx)tst-unused-dep-cmp.out.
20334 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20335 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20336 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20337 on $(objpfx)tst-setvbuf1-cmp.out.
20338 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20339 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20340 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20341 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20342 ($(objpfx)tst-svc.out): Remove rule.
20343 ($(objpfx)tst-svc-cmp.out): New rule.
20345 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20347 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20348 * ctype/ctype.h [__USE_MISC]: Likewise.
20349 * dirent/dirent.h [__USE_MISC]: Likewise.
20350 * grp/grp.h [__USE_MISC]: Likewise.
20351 * io/fcntl.h [__USE_MISC]: Likewise.
20352 * io/sys/stat.h [__USE_MISC]: Likewise.
20353 * libio/stdio.h [__USE_MISC]: Likewise.
20354 * posix/unistd.h [__USE_MISC]: Likewise.
20355 * pwd/pwd.h [__USE_MISC]: Likewise.
20356 * stdlib.h [__USE_MISC]: Likewise.
20357 * string/bits/string2.h [__USE_MISC]: Likewise.
20358 * string/string.h [__USE_MISC]: Likewise.
20359 * time/time.h [__USE_MISC]: Likewise.
20361 2014-02-13 Andreas Schwab <schwab@suse.de>
20364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20365 second answer buffer if it was separately allocated.
20367 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20369 * sysdeps/mips/math-tests.h: Include <features.h>.
20370 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20371 (ROUNDING_TESTS_long_double): Do not define.
20372 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20373 (EXCEPTION_TESTS_long_double): Likewise.
20374 * sysdeps/mips/mips64/libm-test-ulps: Update.
20376 * include/features.h (__USE_BSD): Remove macro definitions.
20377 (__USE_SVID): Likewise.
20378 (_BSD_SOURCE): Likewise.
20379 (_SVID_SOURCE): Likewise.
20380 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20381 from definition of _DEFAULT_SOURCE.
20382 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20384 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20385 * bits/mman.h [__USE_BSD]: Likewise.
20386 * bits/termios.h [__USE_BSD]: Likewise.
20387 * bits/waitstatus.h [__USE_BSD]: Likewise.
20388 * ctype/ctype.h [__USE_SVID]: Likewise.
20389 * dirent/dirent.h [__USE_BSD]: Likewise.
20390 * grp/grp.h [__USE_SVID]: Likewise.
20391 [__USE_BSD]: Likewise.
20392 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20393 * io/fcntl.h [__USE_BSD]: Likewise.
20394 * io/ftw.h [__USE_BSD]: Likewise.
20395 * io/sys/stat.h [__USE_BSD]: Likewise.
20396 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20397 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20398 * libio/stdio.h [__USE_SVID]: Likewise.
20399 [__USE_BSD]: Likewise.
20400 * math/math.h [__USE_SVID]: Likewise.
20401 [__USE_BSD]: Likewise.
20402 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20403 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20404 * misc/search.h [__USE_SVID]: Likewise.
20405 * misc/sys/mman.h [__USE_BSD]: Likewise.
20406 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20407 * misc/sys/uio.h [__USE_BSD]: Likewise.
20408 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20409 * posix/glob.h [__USE_BSD]: Likewise.
20410 * posix/regex.h [__USE_BSD]: Likewise.
20411 * posix/sys/types.h [__USE_BSD]: Likewise.
20412 [__USE_SVID]: Likewise.
20413 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20414 * posix/sys/wait.h [__USE_BSD]: Likewise.
20415 [__USE_SVID]: Likewise.
20416 * posix/unistd.h [__USE_BSD]: Likewise.
20417 [__USE_SVID]: Likewise.
20418 * pwd/pwd.h [__USE_SVID]: Likewise.
20419 * resolv/netdb.h [__USE_BSD]: Likewise.
20420 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20421 * signal/signal.h [__USE_BSD]: Likewise.
20422 [__USE_SVID]: Likewise.
20423 * socket/sys/socket.h [__USE_BSD]: Likewise.
20424 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20425 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20426 [__USE_SVID]: Likewise.
20427 * string/bits/string2.h [__USE_BSD]: Likewise.
20428 [__USE_SVID]: Likewise.
20429 * string/bits/string3.h [__USE_BSD]: Likewise.
20430 * string/endian.h [__USE_BSD]: Likewise.
20431 * string/string.h [__USE_SVID]: Likewise.
20432 [__USE_BSD]: Likewise.
20433 * string/strings.h [__USE_BSD]: Likewise.
20434 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20435 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20436 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20437 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20438 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20439 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20443 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20444 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20446 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20447 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20449 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20451 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20452 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20457 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20458 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20459 * termios/termios.h [__USE_BSD]: Likewise.
20460 * time/sys/time.h [__USE_BSD]: Likewise.
20461 * time/time.h [__USE_BSD]: Likewise.
20462 [__USE_SVID]: Likewise.
20464 * Makefile (subdir_targets): Remove subdir_lint.out.
20466 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20467 (do-tst-printf): Likewise.
20468 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20469 $(objpfx)tst-printf.out.
20471 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20473 * Makerules (check-abi-%): Change target to
20474 $(objpfx)check-abi-%.out.
20475 (check-abi target): Update dependencies.
20476 (check-abi-pattern variable): Redirect output of diff to $@.
20477 (check-abi variable): Likewise.
20478 * elf/Makefile (check-abi): Update dependencies.
20480 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20482 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20483 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20485 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20486 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20487 value has largest subnormal exponent.
20488 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20489 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20490 * sysdeps/aarch64/soft-fp/sfp-machine.h
20491 (_FP_TININESS_AFTER_ROUNDING): New macro.
20492 * sysdeps/alpha/soft-fp/sfp-machine.h
20493 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20494 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20496 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20497 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20498 * sysdeps/mips/soft-fp/sfp-machine.h
20499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20500 * sysdeps/powerpc/soft-fp/sfp-machine.h
20501 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20502 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20504 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20506 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20507 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20508 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20511 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20514 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20517 2014-02-12 Richard Henderson <rth@redhat.com>
20519 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20520 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20521 * sysdeps/unix/sysv/linux/alpha: Move directory from
20522 ports/sysdeps/unix/sysv/linux/alpha.
20523 * README: Update listing for alpha-*-linux-gnu.
20525 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20527 * include/features.h: Update comment documenting feature test
20529 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20531 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20532 (_SVID_SOURCE): Likewise.
20533 (_DEFAULT_SOURCE): Update description of default features.
20534 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20536 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20537 (S_ISVTX): Likewise.
20538 * manual/math.texi (Mathematical Constants): Likewise.
20539 * manual/signal.texi (Interrupted Primitives): Likewise.
20540 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20541 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20542 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20543 Don't refer to _SVID_SOURCE in warning text.
20545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20547 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20549 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20550 * sysdeps/mips/dl-lookup.c: Remove.
20551 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20553 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20556 * math/auto-libm-test-in: Add testcase for expl.
20557 * math/auto-libm-test-out: Regenerate.
20558 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20559 calculation of unsafe.
20560 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20562 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20564 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20565 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20566 ports/sysdeps/unix/sysv/linux/aarch64.
20567 * README: Update listing for aarch64*-*-linux-gnu.
20569 2014-02-11 Will Newton <will.newton@linaro.org>
20571 * manual/probes.texi (Mathematical Function Probes): Use
20572 "triggered" instead of "hit".
20574 * manual/probes.texi (Internal Probes): Add documentation
20575 of setjmp, longjmp and longjmp_target probes.
20577 * include/stap-probe.h: Add comment about probe argument
20580 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20581 definition. (tr_where, tr_freehook, tr_mallochook,
20582 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20584 2014-02-11 David S. Miller <davem@davemloft.net>
20586 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20587 processing int_tests.
20589 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20591 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20592 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20593 * sysdeps/unix/sysv/linux/mips: Move directory from
20594 ports/sysdeps/unix/sysv/linux/mips.
20595 * README: Update listing for mips-*-linux-gnu and
20596 mips64-*-linux-gnu.
20598 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20600 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20601 * sysdeps/unix/sysv/linux/m68k: Move directory from
20602 ports/sysdeps/unix/sysv/linux/m68k.
20603 * README: Update listing for m68k-*-linux-gnu.
20605 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20607 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20608 * sysdeps/unix/sysv/linux/generic: Move directory from
20609 ports/sysdeps/unix/sysv/linux/generic.
20610 * sysdeps/unix/sysv/linux/tile: Move directory from
20611 ports/sysdeps/unix/sysv/linux/tile.
20612 * README: Update listing for tile*-*-linux-gnu.
20614 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
20616 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20618 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20619 * catgets/open_catalog.c (__open_catalog): Likewise.
20620 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20621 * debug/confstr_chk.c: Likewise.
20622 * debug/fread_chk.c (__fread_chk): Likewise.
20623 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20624 * debug/getgroups_chk.c: Likewise.
20625 * debug/mbsnrtowcs_chk.c: Likewise.
20626 * debug/mbsrtowcs_chk.c: Likewise.
20627 * debug/mbstowcs_chk.c: Likewise.
20628 * debug/memcpy_chk.c: Likewise.
20629 * debug/memmove_chk.c: Likewise.
20630 * debug/mempcpy_chk.c: Likewise.
20631 * debug/memset_chk.c: Likewise.
20632 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20633 * debug/strcat_chk.c (__strcat_chk): Likewise.
20634 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20635 * debug/strncat_chk.c (__strncat_chk): Likewise.
20636 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20637 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20638 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20639 * debug/wcpncpy_chk.c: Likewise.
20640 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20641 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20642 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20643 * debug/wcsncpy_chk.c: Likewise.
20644 * debug/wcsnrtombs_chk.c: Likewise.
20645 * debug/wcsrtombs_chk.c: Likewise.
20646 * debug/wcstombs_chk.c: Likewise.
20647 * debug/wmemcpy_chk.c: Likewise.
20648 * debug/wmemmove_chk.c: Likewise.
20649 * debug/wmempcpy_chk.c: Likewise.
20650 * debug/wmemset_chk.c: Likewise.
20651 * dirent/scandirat.c (SCANDIRAT): Likewise.
20652 * dlfcn/dladdr1.c (dladdr1): Likewise.
20653 * dlfcn/dladdr.c (dladdr): Likewise.
20654 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20655 * dlfcn/dlerror.c (__dlerror): Likewise.
20656 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20657 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20658 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20659 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20660 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20661 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20662 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20663 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20665 * elf/dl-conflict.c: Likewise.
20666 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20667 * elf/dl-dst.h: Likewise.
20668 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20669 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20671 * elf/dl-init.c (call_init, _dl_init): Likewise.
20672 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20673 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20674 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20676 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20678 * elf/dl-minimal.c (__libc_memalign): Likewise.
20679 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20680 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20681 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20682 * elf/dl-sym.c (do_sym): Likewise.
20683 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20684 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20685 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20686 * elf/dl-writev.h (_dl_writev): Likewise.
20687 * elf/ldconfig.c (search_dir): Likewise.
20688 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20689 (dl_main): Likewise.
20690 * elf/setup-vdso.h (setup_vdso): Likewise.
20691 * grp/compat-initgroups.c (compat_call): Likewise.
20692 * grp/fgetgrent.c (fgetgrent): Likewise.
20693 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20694 * grp/putgrent.c (putgrent): Likewise.
20695 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20697 * hurd/hurdinit.c: Likewise.
20698 * iconvdata/8bit-gap.c (struct): Likewise.
20699 * iconvdata/ansi_x3.110.c : Likewise.
20700 * iconvdata/big5.c : Likewise.
20701 * iconvdata/big5hkscs.c : Likewise.
20702 * iconvdata/cp1255.c: Likewise.
20703 * iconvdata/cp1258.c : Likewise.
20704 * iconvdata/cp932.c : Likewise.
20705 * iconvdata/euc-cn.c: Likewise.
20706 * iconvdata/euc-jisx0213.c : Likewise.
20707 * iconvdata/euc-jp.c: Likewise.
20708 * iconvdata/euc-jp-ms.c : Likewise.
20709 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20710 * iconvdata/gb18030.c : Likewise.
20711 * iconvdata/gbbig5.c (const): Likewise.
20712 * iconvdata/gbgbk.c: Likewise.
20713 * iconvdata/gbk.c : Likewise.
20714 * iconvdata/ibm1364.c : Likewise.
20715 * iconvdata/ibm930.c : Likewise.
20716 * iconvdata/ibm932.c: Likewise.
20717 * iconvdata/ibm933.c : Likewise.
20718 * iconvdata/ibm935.c : Likewise.
20719 * iconvdata/ibm937.c : Likewise.
20720 * iconvdata/ibm939.c : Likewise.
20721 * iconvdata/ibm943.c: Likewise.
20722 * iconvdata/iso_11548-1.c: Likewise.
20723 * iconvdata/iso-2022-cn.c : Likewise.
20724 * iconvdata/iso-2022-cn-ext.c : Likewise.
20725 * iconvdata/iso-2022-jp-3.c: Likewise.
20726 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20727 * iconvdata/iso-2022-kr.c : Likewise.
20728 * iconvdata/iso646.c (gconv_end): Likewise.
20729 * iconvdata/iso_6937-2.c : Likewise.
20730 * iconvdata/iso_6937.c : Likewise.
20731 * iconvdata/iso8859-1.c: Likewise.
20732 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20733 * iconvdata/shift_jisx0213.c : Likewise.
20734 * iconvdata/sjis.c : Likewise.
20735 * iconvdata/t.61.c : Likewise.
20736 * iconvdata/tcvn5712-1.c : Likewise.
20737 * iconvdata/tscii.c: Likewise.
20738 * iconvdata/uhc.c : Likewise.
20739 * iconvdata/unicode.c (gconv_end): Likewise.
20740 * iconvdata/utf-16.c (gconv_end): Likewise.
20741 * iconvdata/utf-32.c (gconv_end): Likewise.
20742 * iconvdata/utf-7.c (base64): Likewise.
20743 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20744 * iconv/gconv_close.c (__gconv_close): Likewise.
20745 * iconv/gconv_open.c (__gconv_open): Likewise.
20746 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20747 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20748 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20749 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20750 (ucs4le_internal_loop_single): Likewise.
20751 * iconv/iconv.c (iconv): Likewise.
20752 * iconv/iconv_close.c: Likewise.
20753 * iconv/loop.c (SINGLE): Likewise.
20754 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20755 * include/atomic.h: Likewise.
20756 * inet/inet6_option.c (option_alloc): Likewise.
20757 * intl/bindtextdom.c (set_binding_values): Likewise.
20758 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20759 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20760 * intl/localealias.c (read_alias_file): Likewise.
20761 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20762 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20763 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20764 * libio/fmemopen.c (fmemopen): Likewise.
20765 * libio/iofgets.c (_IO_fgets): Likewise.
20766 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20767 * libio/iofgetws.c (fgetws): Likewise.
20768 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20769 * libio/iogetdelim.c (_IO_getdelim): Likewise.
20770 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20771 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20772 * locale/findlocale.c (_nl_find_locale): Likewise.
20773 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20774 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20776 * locale/setlocale.c (setlocale): Likewise.
20777 * login/programs/pt_chown.c (main): Likewise.
20778 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20779 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20780 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20781 (mmap, mmap64, mremap, munmap): Likewise.
20782 * math/e_exp2l.c: Likewise.
20783 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20784 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20785 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20786 * math/s_catan.c (__catan): Likewise.
20787 * math/s_catanf.c (__catanf): Likewise.
20788 * math/s_catanh.c (__catanh): Likewise.
20789 * math/s_catanhf.c (__catanhf): Likewise.
20790 * math/s_catanhl.c (__catanhl): Likewise.
20791 * math/s_catanl.c (__catanl): Likewise.
20792 * math/s_ccosh.c (__ccosh): Likewise.
20793 * math/s_ccoshf.c (__ccoshf): Likewise.
20794 * math/s_ccoshl.c (__ccoshl): Likewise.
20795 * math/s_cexp.c (__cexp): Likewise.
20796 * math/s_cexpf.c (__cexpf): Likewise.
20797 * math/s_cexpl.c (__cexpl): Likewise.
20798 * math/s_clog10.c (__clog10): Likewise.
20799 * math/s_clog10f.c (__clog10f): Likewise.
20800 * math/s_clog10l.c (__clog10l): Likewise.
20801 * math/s_clog.c (__clog): Likewise.
20802 * math/s_clogf.c (__clogf): Likewise.
20803 * math/s_clogl.c (__clogl): Likewise.
20804 * math/s_csin.c (__csin): Likewise.
20805 * math/s_csinf.c (__csinf): Likewise.
20806 * math/s_csinh.c (__csinh): Likewise.
20807 * math/s_csinhf.c (__csinhf): Likewise.
20808 * math/s_csinhl.c (__csinhl): Likewise.
20809 * math/s_csinl.c (__csinl): Likewise.
20810 * math/s_csqrt.c (__csqrt): Likewise.
20811 * math/s_csqrtf.c (__csqrtf): Likewise.
20812 * math/s_csqrtl.c (__csqrtl): Likewise.
20813 * math/s_ctan.c (__ctan): Likewise.
20814 * math/s_ctanf.c (__ctanf): Likewise.
20815 * math/s_ctanh.c (__ctanh): Likewise.
20816 * math/s_ctanhf.c (__ctanhf): Likewise.
20817 * math/s_ctanhl.c (__ctanhl): Likewise.
20818 * math/s_ctanl.c (__ctanl): Likewise.
20819 * math/w_pow.c: Likewise.
20820 * math/w_powf.c: Likewise.
20821 * math/w_powl.c: Likewise.
20822 * math/w_scalb.c (sysv_scalb): Likewise.
20823 * math/w_scalbf.c (sysv_scalbf): Likewise.
20824 * math/w_scalbl.c (sysv_scalbl): Likewise.
20825 * misc/error.c (error_tail): Likewise.
20826 * misc/pselect.c (__pselect): Likewise.
20827 * nis/nis_callback.c (__nis_create_callback): Likewise.
20828 * nis/nis_call.c (__nisfind_server): Likewise.
20829 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20830 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20831 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20832 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20833 * nis/nis_lookup.c (nis_lookup): Likewise.
20834 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20835 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20836 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20837 * nis/nis_xdr.c (xdr_endpoint): Likewise.
20838 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20839 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20840 * nis/nss_compat/compat-initgroups.c (add_group)
20841 (internal_getgrent_r): Likewise.
20842 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20843 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20844 * nis/nss_compat/compat-spwd.c (getspent_next_file)
20845 (internal_getspnam_r): Likewise.
20846 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20847 (_nss_nis_getaliasbyname_r): Likewise.
20848 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20849 (_nss_nis_getntohost_r): Likewise.
20850 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20851 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20852 (_nss_nis_getgrgid_r): Likewise.
20853 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20854 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20855 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20856 (_nss_nis_gethostbyname4_r): Likewise.
20857 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20858 (initgroups_netid): Likewise.
20859 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20860 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20861 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20862 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20863 (_nss_nis_getprotobynumber_r): Likewise.
20864 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20865 (_nss_nis_getsecretkey): Likewise.
20866 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20867 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20868 (_nss_nis_getpwuid_r): Likewise.
20869 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20870 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20871 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20872 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20873 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20874 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20875 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20877 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20878 (_nss_nisplus_getntohost_r): Likewise.
20879 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20880 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20881 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20882 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20884 * nis/nss_nisplus/nisplus-initgroups.c
20885 (_nss_nisplus_initgroups_dyn): Likewise.
20886 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20887 (_nss_nisplus_getnetbyaddr_r): Likewise.
20888 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20889 (_nss_nisplus_getprotobynumber_r): Likewise.
20890 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20891 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20892 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20894 * nis/nss_nisplus/nisplus-service.c
20895 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20896 (_nss_nisplus_getservbyport_r): Likewise.
20897 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20898 (_nss_nisplus_getspnam_r): Likewise.
20899 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20901 * nscd/aicache.c (addhstaiX): Likewise.
20902 * nscd/cache.c (cache_search, prune_cache): Likewise.
20903 * nscd/connections.c (register_traced_file, send_ro_fd)
20904 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20905 (main_loop_epoll): Likewise.
20906 * nscd/grpcache.c (addgrbyX): Likewise.
20907 * nscd/hstcache.c (addhstbyX): Likewise.
20908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20909 * nscd/mem.c (gc, mempool_alloc): Likewise.
20910 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20911 (addinnetgrX): Likewise.
20912 * nscd/nscd-client.h (__nscd_acquire_maplock)
20913 (__nscd_drop_map_ref): Likewise.
20914 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20915 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20916 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20918 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20920 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20921 (__nscd_get_map_ref): Likewise.
20922 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20923 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20925 * nscd/pwdcache.c (addpwbyX): Likewise.
20926 * nscd/selinux.c (preserve_capabilities): Likewise.
20927 * nscd/servicescache.c (addservbyX): Likewise.
20928 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20929 * posix/fnmatch.c (fnmatch): Likewise.
20930 * posix/getopt.c (_getopt_internal_r): Likewise.
20931 * posix/glob.c (glob, glob_in_dir): Likewise.
20932 * posix/wordexp.c (exec_comm_child): Likewise.
20933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20934 (getanswer_r, gaih_getanswer_slice): Likewise.
20935 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20936 * resolv/res_init.c: Likewise.
20937 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20938 * resolv/res_query.c (__libc_res_nquery): Likewise.
20939 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20942 * stdio-common/perror.c (perror): Likewise.
20943 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20944 * stdio-common/tmpnam.c (tmpnam): Likewise.
20945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20946 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20949 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20950 * stdlib/putenv.c (putenv): Likewise.
20951 * stdlib/setenv.c (__add_to_environ): Likewise.
20952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20953 * stdlib/strtol_l.c (INTERNAL): Likewise.
20954 * string/memmem.c (memmem): Likewise.
20955 * string/strerror.c (strerror): Likewise.
20956 * string/strnlen.c (__strnlen): Likewise.
20957 * string/test-memmem.c (simple_memmem): Likewise.
20958 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20959 * sunrpc/pm_getport.c (__get_socket): Likewise.
20960 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20961 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20962 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20963 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20965 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20967 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20968 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20969 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20970 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20972 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20974 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20975 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20976 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20977 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20978 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20981 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20982 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20983 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20984 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20987 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20991 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20993 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20994 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20995 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20996 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20997 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21006 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21014 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21016 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21018 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21019 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21020 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21021 * sysdeps/posix/sleep.c: Likewise.
21022 * sysdeps/posix/tempname.c: Likewise.
21023 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21024 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21026 * sysdeps/powerpc/powerpc32/dl-machine.h
21027 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21028 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21030 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21031 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21033 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21034 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21035 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21036 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21037 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21038 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21039 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21040 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21041 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21042 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21044 (elf_machine_lazy_rel): Likewise.
21045 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21047 (elf_machine_lazy_rel): Likewise.
21048 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21049 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21050 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21051 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21052 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21053 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21054 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21057 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21058 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21059 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21060 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21061 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21062 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21063 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21064 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21066 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21067 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21069 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21070 (__posix_fallocate64_l64): Likewise.
21071 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21072 (posix_fallocate): Likewise.
21073 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21076 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21077 (getifaddrs_internal): Likewise.
21078 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21079 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21080 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21081 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21082 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21083 (__posix_fallocate64_l64): Likewise.
21084 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21086 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21087 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21088 (__get_clockfreq): Likewise.
21089 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21090 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21091 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21094 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21095 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21098 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21099 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21100 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21102 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21103 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21104 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21106 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21107 (posix_fallocate): Likewise.
21108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21109 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21110 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21111 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21112 (elf_machine_rela, elf_machine_rela_relative)
21113 (elf_machine_lazy_rel): Likewise.
21114 * time/asctime.c (asctime_internal): Likewise.
21115 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21116 * time/tzset.c (__tzset_parse_tz): Likewise.
21117 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21118 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21119 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21120 * wcsmbs/wcsmbsload.h: Likewise.
21123 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21125 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21126 (arena_get2): Remove THREAD_STATS conditionals.
21127 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21128 (__malloc_stats, int): Likewise.
21130 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21132 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21133 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21135 * manual/setjmp.texi: Fix typos/grammar errors.
21137 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21138 Only return early when n is <= 0. Delete unused return statement.
21140 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21141 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21142 * debug/tst-longjmp_chk3.c: New file.
21144 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21145 (test_main): Replace code with set_fortify_handler call.
21146 * debug/test-strcpy_chk.c: Likewise.
21147 * debug/tst-chk1.c: Likewise.
21148 * debug/tst-longjmp_chk.c: Likewise.
21149 * test-skeleton.c: Include fcntl.h & paths.h
21150 (set_fortify_handler): Define.
21152 * debug/tst-longjmp_chk.c: Add header comment and include
21153 ../test-skeleton.c.
21154 (do_test): Mark static.
21155 (TEST_FUNCTION): Define.
21157 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21158 (IP_PMTUDISC_INTERFACE): Likewise.
21159 (IP_MULTICAST_IF): Likewise.
21160 (IP_MULTICAST_TTL): Likewise.
21161 (IP_MULTICAST_LOOP): Likewise.
21162 (IP_ADD_MEMBERSHIP): Likewise.
21163 (IP_DROP_MEMBERSHIP): Likewise.
21164 (IP_UNBLOCK_SOURCE): Likewise.
21165 (IP_BLOCK_SOURCE): Likewise.
21166 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21167 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21168 (IP_MSFILTER): Likewise.
21169 (MCAST_JOIN_GROUP): Likewise.
21170 (MCAST_BLOCK_SOURCE): Likewise.
21171 (MCAST_UNBLOCK_SOURCE): Likewise.
21172 (MCAST_LEAVE_GROUP): Likewise.
21173 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21174 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21175 (MCAST_MSFILTER): Likewise.
21176 (IP_MULTICAST_ALL): Likewise.
21177 (IP_UNICAST_IF): Likewise.
21179 * timezone/Makefile: Delete $(have-ksh) check.
21180 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21181 * timezone/tzselect.ksh: Add +x mode bits.
21183 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21184 (ANON_INODE_FS_MAGIC): Likewise.
21185 (BDEVFS_MAGIC): Likewise.
21186 (BINFMTFS_MAGIC): Likewise.
21187 (BTRFS_TEST_MAGIC): Likewise.
21188 (CRAMFS_MAGIC_WEND): Likewise.
21189 (DEBUGFS_MAGIC): Likewise.
21190 (ECRYPTFS_SUPER_MAGIC): Likewise.
21191 (EXT3_SUPER_MAGIC): Likewise.
21192 (EXT4_SUPER_MAGIC): Likewise.
21193 (FUTEXFS_SUPER_MAGIC): Likewise.
21194 (HOSTFS_SUPER_MAGIC): Likewise.
21195 (HUGETLBFS_MAGIC): Likewise.
21196 (MINIX3_SUPER_MAGIC): Likewise.
21197 (MTD_INODE_FS_MAGIC): Likewise.
21198 (NILFS_SUPER_MAGIC): Likewise.
21199 (OPENPROM_SUPER_MAGIC): Likewise.
21200 (PIPEFS_MAGIC): Likewise.
21201 (PSTOREFS_MAGIC): Likewise.
21202 (QNX6_SUPER_MAGIC): Likewise.
21203 (RAMFS_MAGIC): Likewise.
21204 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21205 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21206 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21207 (SECURITYFS_MAGIC): Likewise.
21208 (SELINUX_MAGIC): Likewise.
21209 (SMACK_MAGIC): Likewise.
21210 (SOCKFS_MAGIC): Likewise.
21211 (SQUASHFS_MAGIC): Likewise.
21212 (STACK_END_MAGIC): Likewise.
21213 (TMPFS_MAGIC): Likewise.
21214 (USBDEVICE_SUPER_MAGIC): Likewise.
21215 (V9FS_MAGIC): Likewise.
21216 (XENFS_SUPER_MAGIC): Likewise.
21217 (CRAMFS_MAGIC): Fix typo in comment.
21218 (EXT2_SUPER_MAGIC): Update comment.
21219 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21221 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21223 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21224 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21225 * sysdeps/unix/sysv/linux/arm: Move directory from
21226 ports/sysdeps/unix/sysv/linux/arm.
21227 * README: Update listing for arm-*-linux-gnueabi.
21229 * README: Remove mention of am33.
21231 2014-02-07 Roland McGrath <roland@hack.frob.com>
21233 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21234 than the comma operator, to avoid "rhs of comma has no effect"
21236 (__sigfillset, __sigandset, __sigorset): Likewise.
21237 * include/signal.h (__sigemptyset): Likewise.
21238 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21240 2014-02-07 Allan McRae <allan@archlinux.org>
21242 * version.h (RELEASE): Set to "development".
21243 (VERSION): Set to "2.19.90"
21244 * NEWS: Add 2.20 section.
21246 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21249 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21251 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21253 * manual/contrib.texi: Update entry for Carlos O'Donell,
21254 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21256 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21258 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21260 * sysdeps/unix/sysv/linux/kernel-features.h
21261 [__LINUX_KERNEL_VERSION >= 0x020621]
21262 (__ASSUME_PROC_PID_TASK_COMM): Define.
21264 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21267 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21268 conversion when destination buffer does not have enough space.
21269 * libio/tst-ftell-partial-wide.c: New test case.
21270 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21272 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21273 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21274 Leonard and Allan McRae.
21276 2014-02-04 David S. Miller <davem@davemloft.net>
21278 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21281 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21310 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21312 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21313 * shlib-versions: Likewise.
21315 2014-02-04 Roland McGrath <roland@hack.frob.com>
21316 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21318 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21319 (abilist-pattern): New variable, set to %-le.abilist.
21321 * Makerules (abilist-pattern): New variable.
21322 (vpath): Use $(abilist-pattern) in place of %.abilist.
21323 (check-abi-% pattern rule): Likewise.
21324 (check-abi, update-abi): Likewise.
21326 2014-02-04 Eric Wong <normalperson@yhbt.net>
21328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21330 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21332 * manual/startup.texi: Add next, previous, and top entries for
21333 the `Program Arguments' and `Environment Variables' nodes.
21335 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21337 * manual/macros.texi: Add comments before MTASC-safety macros.
21339 * manual/users.texi: Document MTASC-safety properties.
21341 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21342 (pthread_getspecific, pthread_setspecific): Format with
21343 @deftypefun, and add @safety note.
21344 * manual/signal.texi: Move comments that analyze the above
21345 functions to their home place.
21347 2014-02-03 Allan McRae <allan@archlinux.org>
21349 * po/sl.po: Update Slovenian translation from translation project.
21351 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21353 * manual/time.texi (timegm): Add missing blank after @c.
21354 Reported by Joseph Myers <joseph@codesourcery.com>.
21356 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21358 * manual/check-safety.sh: New.
21359 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21361 * manual/terminal.texi: Document MTASC-safety properties.
21363 * manual/filesys.texi: Document MTASC-safety properties.
21365 * manual/errno.texi: Document MTASC-safety properties.
21367 * manual/intro.texi: Document safety identifiers and
21370 * manual/string.texi (wcstok): Fix prototype.
21371 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21373 * manual/time.texi: Document MTASC-safety properties.
21375 * manual/string.texi: Document MTASC-safety properties.
21377 * manual/threads.texi: Document MTASC-safety properties.
21379 * manual/stdio.texi: Document MTASC-safety properties.
21381 * manual/syslog.texi: Document MTASC-safety properties.
21383 * manual/sysinfo.texi: Document MTASC-safety properties.
21385 * manual/startup.texi: Document MTASC-safety properties.
21387 * manual/socket.texi: Document MTASC-safety properties.
21389 * manual/signal.texi: Document MTASC-safety properties.
21391 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21393 * manual/setjmp.texi: Document MTASC-safety properties.
21395 * manual/search.texi: Document MTASC-safety properties.
21397 * manual/resource.texi: Document MTASC-safety properties.
21399 * manual/process.texi: Document MTASC-safety properties.
21401 * manual/platform.texi: Document MTASC-safety properties.
21403 * manual/pipe.texi: Document MTASC-safety properties.
21405 * manual/pattern.texi: Document MTASC-safety properties.
21407 * manual/message.texi: Document MTASC-safety properties.
21410 * manual/memory.texi: Document MTASC-safety properties.
21412 * manual/math.texi: Document MTASC-safety properties.
21414 * manual/locale.texi: Document MTASC-safety properties.
21416 * manual/llio.texi: Document MTASC-safety properties.
21418 * manual/libdl.texi: New.
21420 * manual/lang.texi: Document MTASC-safety properties.
21422 * manual/job.texi: Document MTASC-safety properties.
21424 * manual/getopt.texi: Document MTASC-safety properties.
21426 * manual/ctype.texi: Document MTASC-safety properties.
21428 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21431 * csu/libc-tls.c (static_map): Remove variable.
21432 (__libc_setup_tls): Use main executable's link map for TLS data.
21433 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21434 casing for LM_ID_BASE and GL(dl_nns).
21435 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21436 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21437 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21438 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21439 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21441 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21444 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21446 * manual/debug.texi: Document MTASC-safety properties.
21448 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21451 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21452 of __x86_64__ when disabling x87 inline functions.
21454 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21456 * manual/charset.texi: Document MTASC-safety properties.
21458 * manual/crypt.texi: Document MTASC-safety properties.
21460 * manual/conf.texi: Document MTASC-safety properties.
21462 * manual/arith.texi: Document MTASC-safety properties.
21464 * manual/argp.texi: Document MTASC-safety properties.
21466 * manual/macros.texi: Introduce macros to document multi
21467 thread, asynchronous signal and asynchronous cancellation
21469 * manual/intro.texi: Introduce the properties themselves.
21471 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21473 * sysdeps/sh/sh4/Makefile: New file.
21475 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21477 * math/gen-libm-test.pl ($srcdir): New variable.
21478 ($auto_input): Use it.
21480 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21483 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21484 access beyond array bounds when parsing netgroups file.
21486 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21487 the old buffer before realloc.
21489 2014-01-27 Allan McRae <allan@archlinux.org>
21491 * po/fr.po: Update French translation from translation project.
21493 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21495 * sysdeps/sh/libm-test-ulps: Regenerate.
21497 2014-01-24 David S. Miller <davem@davemloft.net>
21499 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21501 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21503 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21504 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21506 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21509 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21510 string pointers after reallocation.
21512 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21514 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21515 __SH4A__ instead of __SH_FPU_ANY__.
21517 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21519 * sysdeps/sh/fpu_control.h: New file.
21520 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21521 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21522 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21523 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21524 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21525 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21526 * sysdeps/sh/sys/ucontext.h: Remove.
21527 * sysdeps/sh/sys: Remove directory.
21529 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21531 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21532 s390/sys/ucontext.h.
21533 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21534 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21536 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21539 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21541 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21544 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21545 Adjust the vDSO correctly for internal calls.
21546 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21548 2014-01-20 Allan McRae <allan@archlinux.org>
21550 * po/ca.po: Update Catalan translation from translation project.
21552 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21554 * sysdeps/s390/sotruss-lib.c: New file.
21556 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21560 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21561 local calls issues by not having a PLT stub required for IFUNC calls.
21562 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21564 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21566 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21567 * math/test-fpucw-static.c: Likewise.
21569 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21572 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21574 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21576 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21577 implementation for powerpc.
21579 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21582 * sysdeps/posix/system.c (__libc_system): Do not enable
21583 asynchronous cancellation.
21585 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21588 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21589 handling only for numbers special also in the IEEE case.
21591 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21593 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21595 2014-01-11 Allan McRae <allan@archlinux.org>
21597 * po/bg.po: Update Bulgarian translation from translation project.
21599 * po/de.po: Update German translation from translation project.
21601 2014-01-10 Roland McGrath <roland@hack.frob.com>
21603 * sysdeps/generic/gcc-compat.h: New file.
21605 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21607 * benchtests/asin-inputs: Correct slow inputs.
21608 * benchtests/acos-inputs: Likewise.
21610 2014-01-10 Allan McRae <allan@archlinux.org>
21612 * po:sv.po: Update Swedish translation from translation project.
21614 * po/vi.po: Update Vietnamese translation from translation project.
21616 * po/eo.po: Update Esperanto translation from translation project.
21618 * po/cs.po: Update Czech translation from translation project.
21620 * po/nl.po: Update Dutch translation from translation project.
21622 * po/pl.po: Update Polish translation from translation project.
21624 * po/ru.po: Update Russian translation from translation project.
21626 * po/uk.po: Update Ukrainian translation from translation project.
21628 2014-01-08 Brooks Moses <bmoses@google.com>
21630 * elf/dl-load.c: Fix comment typo.
21632 2014-01-08 Carlos O'Donell <carlos@redhat.com>
21634 * po/header.pot: Rename to...
21635 * po/pot.header: ... this.
21636 * po/Makefile: Use pot.header.
21638 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21639 Maxim Kuvyrkov <maxim@kugelworks.com>
21642 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21643 SRC and DEST against LEN.
21645 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21650 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21652 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21656 2014-01-08 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21660 for large positive arguments.
21662 2014-01-07 Joseph Myers <joseph@codesourcery.com>
21664 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21666 * math/auto-libm-test-in: Mark various tests with
21667 xfail-rounding:ldbl-128ibm.
21668 * math/auto-libm-test-out: Regenerated.
21671 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21672 Increase overflow threshold.
21674 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
21677 * stdio-common/vfprintf.c: Check for integer overflow.
21679 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21681 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21682 the first argument and return value of __tls_get_addr_internal.
21684 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21686 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21687 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21689 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21691 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21692 * sysdeps/s390/rtld-global-offsets.sym: New file.
21693 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21695 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21696 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21697 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21699 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21700 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21706 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21707 halfs of GPRs for high_gprs contexts.
21708 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21709 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21711 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21715 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21716 for high GPRs (uc_high_gprs) and for future extensions
21718 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21719 for future extensions (__reserved).
21720 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21722 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21723 SC_HIGHGPRS offset definition.
21724 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21725 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21727 * Versions.def: Add GLIBC_2.19 for libpthread.
21728 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21729 siglongjmp for libpthread with GLIBC_2.19 symver.
21730 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21731 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21732 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21733 * sysdeps/s390/__longjmp.c: New file.
21734 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21735 * sysdeps/s390/longjmp.c: New file.
21736 * sysdeps/s390/setjmp.S: New file.
21737 * sysdeps/s390/sigjmp.S: New file.
21738 * sysdeps/s390/v1-longjmp.c: New file.
21739 * sysdeps/s390/v1-setjmp.h: New file.
21740 * sysdeps/s390/v1-sigjmp.c: New file.
21741 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21742 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21743 GLIBC_2.19 version.
21744 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21745 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21746 versioned symbols for ____longjmp_chk.
21747 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21757 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21758 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21759 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21760 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21761 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21762 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21763 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21764 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21765 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21766 * sysdeps/s390/rtld-__longjmp.c: New file.
21767 * sysdeps/s390/rtld-setjmp.S: New file.
21769 2014-01-06 Joseph Myers <joseph@codesourcery.com>
21772 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21773 Return -__logl (x) for small positive arguments without evaluating
21776 2014-01-06 Mike Frysinger <vapier@gentoo.org>
21778 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21780 (__ptrace_peeksiginfo_args): ... this.
21781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21785 2014-01-06 Allan McRae <allan@archlinux.org>
21787 * inet/netinet/in.h: Fix typo in comment.
21789 2014-01-05 Andreas Jaeger <aj@suse.de>
21791 * sysdeps/i386/fpu/libm-test-ulps: Update.
21793 2014-01-05 Allan McRae <allan@archlinux.org>
21795 * po/libc.pot: Regenerated.
21797 * malloc/memusagestat.c: Fix gettext call formatting.
21799 2014-01-04 Sami Kerola <kerolasa@iki.fi>
21801 * nscd/nscd.c: Improve usage() output.
21803 2014-01-04 Mike Frysinger <vapier@gentoo.org>
21805 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21806 * sysdeps/unix/sysv/linux/configure: Regenerated.
21807 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21808 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21810 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21814 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21816 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21819 extra tokens at end of #undef directive.
21820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21822 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21824 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21826 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21828 * math/auto-libm-test-in: Mark various tests with
21829 xfail-rounding:ldbl-128ibm.
21830 * math/auto-libm-test-out: Regenerated.
21832 2014-01-02 Joseph Myers <joseph@codesourcery.com>
21835 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21836 numbers with subnormal high part when calculating exponent.
21839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21845 (__ieee754_acoshl): Use __log1pl not __log1p.
21847 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
21849 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21850 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21851 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21852 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21853 (reused_arena, arena_get2): Convert to GNU style.
21854 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21855 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21856 (memalign_check, __malloc_set_state): Likewise.
21857 * malloc/mallocbug.c (main): Likewise.
21858 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21859 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21860 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21861 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21862 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21863 (__posix_memalign, malloc_info): Likewise.
21864 * malloc/malloc.h: Likewise.
21865 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21866 (mallochook, memalignhook, reallochook, mabort): Likewise.
21867 * malloc/mcheck.h: Likewise.
21868 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21869 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21870 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21871 * malloc/morecore.c (__default_morecore): Likewise.
21872 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21873 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21874 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21875 (print_and_abort): Likewise.
21876 * malloc/obstack.h: Likewise.
21877 * malloc/set-freeres.c (__libc_freeres): Likewise.
21878 * malloc/tst-mallocstate.c (main): Likewise.
21879 * malloc/tst-mtrace.c (main): Likewise.
21880 * malloc/tst-realloc.c (do_test): Likewise.
21882 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21885 * nscd/netgroupcache.c (do_notfound): New function.
21886 (addgetnetgrentX): Use it.
21889 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21890 NSS_STATUS_NOTFOUND.
21892 2014-01-01 Joseph Myers <joseph@codesourcery.com>
21894 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897 2014-01-01 Allan McRae <allan@archlinux.org>
21899 * scripts/update-copyrights: Update configure input file suffix.
21901 * NEWS: Update copyright year.
21902 * catgets/gencat.c: Likewise.
21903 * csu/version.c: Likewise.
21904 * debug/catchsegv.sh: Likewise.
21905 * debug/pcprofiledump.c: Likewise.
21906 * debug/xtrace.sh: Likewise.
21907 * elf/ldconfig.c: Likewise.
21908 * elf/ldd.bash.in: Likewise.
21909 * elf/pldd.c: Likewise.
21910 * elf/sotruss.ksh: Likewise.
21911 * elf/sprof.c: Likewise.
21912 * iconv/iconv_prog.c: Likewise.
21913 * iconv/iconvconfig.c: Likewise.
21914 * locale/programs/locale.c: Likewise.
21915 * locale/programs/localedef.c: Likewise.
21916 * login/programs/pt_chown.c: Likewise.
21917 * malloc/memusage.sh: Likewise.
21918 * malloc/memusagestat.c: Likewise.
21919 * malloc/mtrace.pl: Likewise.
21920 * manual/libc.texinfo: Likewise.
21921 * nscd/nscd.c: Likewise.
21922 * nss/getent.c: Likewise.
21923 * nss/makedb.c: Likewise.
21924 * posix/getconf.c: Likewise.
21925 * scripts/test-installation.pl: Likewise.
21927 * All files with FSF copyright notices: Update copyright dates
21928 using scripts/update-copyrights.
21929 * intl/plural.c: Regenerated.
21930 * locale/programs/charmap-kw.h: Likewise.
21931 * locale/programs/locfile-kw.h: Likewise.
21933 2013-12-31 Mike Frysinger <vapier@gentoo.org>
21935 * sysdeps/unix/sysv/linux/configure: Regenerated.
21936 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21937 the linux/fanotify.h header.
21938 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21939 HAVE_LINUX_FANOTIFY_H is defined.
21941 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21943 * benchtests/cos-inputs: New inputs.
21944 * benchtests/sin-inputs: Likewise.
21946 * benchtests/atan-inputs: New inputs. Fix name of multiple
21947 precision fallback inputs.
21949 * benchtests/atanh-inputs: New inputs.
21950 * benchtests/tanh-inputs: Likewise.
21952 * benchtests/acosh-inputs: New inputs.
21953 * benchtests/asinh-inputs: Likewise.
21955 * benchtests/cosh-inputs: New inputs.
21956 * benchtests/sinh-inputs: Likewise.
21958 * benchtests/acos-inputs: Add more inputs.
21959 * benchtests/asin-inputs: Likewise.
21961 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
21964 * manual/arith.texi: Fix spelling.
21965 * manual/charset.texi: Likewise.
21966 * manual/errno.texi: Likewise.
21967 * manual/filesys.texi: Likewise.
21968 * manual/lang.texi: Likewise.
21969 * manual/llio.texi: Likewise.
21970 * manual/locale.texi: Likewise.
21971 * manual/message.texi: Likewise.
21972 * manual/resource.texi: Likewise.
21973 * manual/search.texi: Likewise.
21974 * manual/setjmp.texi: Likewise.
21975 * manual/stdio.texi: Likewise.
21976 * manual/string.texi: Likewise.
21977 * manual/sysinfo.texi: Likewise.
21978 * manual/time.texi: Likewise.
21980 2013-12-27 Carlos O'Donell <carlos@redhat.com>
21982 * po/sl.po: New file.
21984 2013-12-27 Mike Frysinger <vapier@gentoo.org>
21986 * .gitignore: Add core/.gdbinit/.gdb_history.
21988 2013-12-27 Allan McRae <allan@archlinux.org>
21991 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21992 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21994 2013-12-24 Brooks Moses <bmoses@google.com>
21996 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21997 all compilers that claim C++98 compliance, not just GCC.
21998 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22001 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22003 * NEWS: Restore accidentally deleted bug-fix entries.
22005 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22006 Ondřej Bílka <neleai@seznam.cz>
22009 * malloc/malloc.c (_int_free): Perform sanity check only if we
22012 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22015 * manual/stdio.texi (String Input Conversions): Clarify that character
22016 classes are not supported.
22018 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22022 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22026 Calculate results for small negative arguments directly rather
22027 than using reflection formula with special underflow handling.
22029 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22030 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22031 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22032 (fchflags): Likewise.
22033 (revoke): Likewise.
22034 (setlogin): Likewise.
22035 (sigaltstack): Likewise.
22037 (sigblock): Remove.
22038 (sigsetmask): Likewise.
22040 (waitpid): Likewise.
22041 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22042 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22044 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22045 * sysdeps/unix/bsd/Makefile: ... here.
22046 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22047 * sysdeps/unix/bsd/Versions: ... here.
22048 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22049 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22050 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22051 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22052 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22053 * sysdeps/unix/bsd/sigblock.c: ... here.
22054 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22055 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22056 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22057 * sysdeps/unix/bsd/sigvec.c: ... here.
22058 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22059 * sysdeps/unix/bsd/tcdrain.c: ... here.
22060 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22061 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22062 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22063 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22064 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22065 * sysdeps/unix/bsd/wait.c: ... here.
22066 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22067 * sysdeps/unix/bsd/wait3.c: ... here.
22068 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22069 * sysdeps/unix/bsd/waitpid.c: ... here.
22071 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22075 round-to-nearest for [!USE_AS_EXPM1L].
22076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22077 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22078 more tests of exp and exp10. Expect some exp10 tests to miss
22079 exceptions or fail in directed rounding modes.
22080 * math/auto-libm-test-out: Regenerated.
22081 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22082 (exp10_test_tonearest): New function.
22083 (exp10_towardzero_test_data): New array.
22084 (exp10_test_towardzero): New function.
22085 (exp10_downward_test_data): New array.
22086 (exp10_test_downward): New function.
22087 (exp10_upward_test_data): New array.
22088 (exp10_test_upward): New function.
22089 (main): Call the new functions.
22090 * sysdeps/i386/fpu/libm-test-ulps: Update.
22091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22093 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22095 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22096 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22097 * math/auto-libm-test-out: Regenerated.
22098 * math/libm-test.inc (acosh_test_data): Add more tests.
22099 (atanh_test_data): Likewise.
22100 (ceil_test_data): Likewise.
22101 (copysign_test_data): Likewise.
22102 * sysdeps/i386/fpu/libm-test-ulps: Update.
22103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105 * timezone/checktab.awk: Update from tzcode 2013i.
22106 * timezone/private.h: Likewise.
22107 * timezone/scheck.c: Likewise.
22108 * timezone/tzfile.h: Likewise.
22109 * timezone/tzselect.ksh: Likewise.
22110 * timezone/zdump.c: Likewise.
22111 * timezone/zic.c: Likewise.
22113 * math/auto-libm-test-in: Add tests of cpow.
22114 * math/auto-libm-test-out: Regenerated.
22115 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22118 (func_calc_desc): Add mpc_cc_c union field.
22119 (test_functions): Add cpow.
22120 (special_fill_2pi): New function.
22121 (special_real_inputs): Add 2pi.
22122 (calc_generic_results): Handle mpc_cc_c.
22123 * sysdeps/i386/fpu/libm-test-ulps: Update.
22124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22126 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22127 csqrt, ctan and ctanh.
22128 * math/auto-libm-test-out: Regenerated.
22129 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22130 (TEST_COND_x86): Likewise.
22131 (ccos_test_data): Use AUTO_TESTS_c_c.
22132 (ccosh_test_data): Likewise.
22133 (cexp_test_data): Likewise.
22134 (clog_test_data): Likewise.
22135 (csqrt_test_data): Likewise.
22136 (ctan_test_data): Likewise.
22137 (ctan_tonearest_test_data): Likewise.
22138 (ctan_towardzero_test_data): Likewise.
22139 (ctan_downward_test_data): Likewise.
22140 (ctan_upward_test_data): Likewise.
22141 (ctanh_test_data): Likewise.
22142 (ctanh_tonearest_test_data): Likewise.
22143 (ctanh_towardzero_test_data): Likewise.
22144 (ctanh_downward_test_data): Likewise.
22145 (ctanh_upward_test_data): Likewise.
22146 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22148 (func_calc_desc): Add mpc_c_c union field.
22149 (FUNC_mpc_c_c): New macro.
22150 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22151 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22153 (special_fill_min_subnorm_p120): New function.
22154 (special_real_inputs): Add min_subnorm_p120.
22155 (calc_generic_results): Handle mpc_c_c.
22156 * sysdeps/i386/fpu/libm-test-ulps: Update.
22157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22159 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22161 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22162 (do_sin_slow): New functions.
22163 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22164 (cslow2, csloww1, csloww2): Use the new functions.
22166 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22167 Use M to change sign of result instead of X. Assume X is
22169 (csloww1): Likewise.
22173 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22174 arguments A and DA.
22178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22180 (sloww1): Don't adjust sign of DX.
22181 (csloww1): Likewise.
22182 (sloww2): Use X directly and don't adjust sign of DX.
22183 (csloww2): Likewise.
22185 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22187 * math/auto-libm-test-in: Add tests of cabs and carg.
22188 * math/auto-libm-test-out: Regenerated.
22189 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22190 (carg_test_data): Likewise.
22191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22193 (func_calc_desc): Add mpc_c_f union field.
22194 (test_functions): Add cabs and carg.
22195 (calc_generic_results): Handle mpc_c_f.
22197 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22198 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22199 as a macro and a compat symbol.
22200 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22201 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22202 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22203 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22204 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22217 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22218 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22221 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22225 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22227 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22228 trailing whitespace removed.
22229 * scripts/config.guess: Update to version 2013-11-29.
22230 * scripts/config.sub: Update to version 2013-10-01.
22232 * math/auto-libm-test-in: Add tests of sincos.
22233 * math/auto-libm-test-out: Regenerated.
22234 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22237 (func_calc_desc): Add mpfr_f_11 union field.
22238 (test_functions): Add sincos.
22239 (calc_generic_results): Handle mpfr_f_11.
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2013-12-19 Andreas Schwab <schwab@suse.de>
22245 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22247 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22248 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22249 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22251 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22253 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22254 * sysdeps/i386/fpu/libm-test-ulps: Update.
22255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22259 round-to-nearest mode when using frndint.
22260 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22261 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22264 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22266 * math/auto-libm-test-out: Regenerated.
22267 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22268 (TEST_COND_x86): Likewise.
22269 (expm1_tonearest_test_data): New array.
22270 (expm1_test_tonearest): New function.
22271 (expm1_towardzero_test_data): New array.
22272 (expm1_test_towardzero): New function.
22273 (expm1_downward_test_data): New array.
22274 (expm1_test_downward): New function.
22275 (expm1_upward_test_data): New array.
22276 (expm1_test_upward): New function.
22277 (main): Run the new test functions.
22278 * sysdeps/i386/fpu/libm-test-ulps: Update.
22279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22281 * include/features.h: Update comment documenting feature test
22282 macros. Mention _DEFAULT_SOURCE in comment.
22283 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22284 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22285 _BSD_SOURCE and _SVID_SOURCE.
22286 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22287 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22288 !_SVID_SOURCE]: Likewise.
22289 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22290 (__USE_POSIX_IMPLICITLY): Define.
22291 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22292 (_POSIX_SOURCE): Undefine and redefine.
22293 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22294 (_POSIX_C_SOURCE): Likewise.
22295 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22296 (Feature Test Macros): Update documentation of default features.
22298 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22300 * benchtests/Makefile: Add bench-strtok.
22301 * benchtests/bench-strtok.c: New file: strtok benchtest.
22303 2013-12-19 Allan McRae <allan@archlinux.org>
22305 * manual/install.texi: Suppress menu for plain text output.
22306 * INSTALL: Regenerated.
22308 2013-12-18 Brooks Moses <bmoses@google.com>
22311 * misc/getauxval.c: Include errno.h.
22312 (__getauxval): Set errno to ENOENT if the requested type is not
22314 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22315 don't declare with __attribute_const__.
22316 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22317 * manual/startup.texi: Document that getauxval sets errno.
22319 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22321 * math/auto-libm-test-in: Add tests of jn and yn.
22322 * math/auto-libm-test-out: Regenerated.
22323 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22324 (yn_test_data): Likewise.
22325 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22327 (func_calc_desc): Add mpfr_if_f union field.
22328 (FUNC_mpfr_if_f): New macro.
22329 (test_functions): Add jn and yn.
22330 (calc_generic_results): Assert type of second input for
22331 mpfr_ff_f. Handle mpfr_if_f.
22332 (output_for_one_input_case): Disable all checking for arguments
22333 fitting floating-point types in case of an integer argument.
22334 * sysdeps/i386/fpu/libm-test-ulps: Update.
22335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22338 Don't expect fegetround reference in libm.so.
22340 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22342 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22343 $(config-cflags-nofma).
22345 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22347 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22348 * math/auto-libm-test-out: Regenerated.
22351 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22352 to determine exponent and adjust argument to have exponent of -1.
22353 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22355 * math/auto-libm-test-out: Regenerated.
22356 * sysdeps/i386/fpu/libm-test-ulps: Update.
22357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22359 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22361 * manual/probes.texi: Remove cases when per-thread arenas are
22364 2013-12-18 Andreas Schwab <schwab@suse.de>
22366 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22367 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22368 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22369 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22370 * sysdeps/i386/i686/multiarch/Makefile: Update.
22371 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22373 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22375 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22376 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22378 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22381 Support TZ transition times < 00:00:00.
22382 This is needed for version-3 tz-format files; it supports time
22383 stamps past 2037 for America/Godthab (the only entry in the tz
22384 database for which this change is relevant).
22385 * manual/time.texi (TZ Variable): Document transition times
22386 from -167:59:59 through -00:00:01.
22387 * time/tzset.c (tz_rule): Time of day is now signed.
22388 (__tzset_parse_tz): Parse negative time of day.
22390 Document TZ transition times >= 25:00:00.
22391 * manual/time.texi (TZ Variable): Document transition times from
22392 25:00:00 through 167:59:59. These are already supported, and this
22393 support will help with version-3 tz-format files.
22395 * manual/time.texi (TZ Variable): Modernize North America example
22396 to reflect current (i.e., 2007-and-later) daylight saving rules.
22398 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22400 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22403 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22406 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22407 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22408 * sysdeps/unix/bsd/clock.c: Likewise.
22409 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22410 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22411 * sysdeps/unix/bsd/init-posix.c: Likewise.
22412 * sysdeps/unix/bsd/poll.c: Likewise.
22413 * sysdeps/unix/bsd/ptsname.c: Likewise.
22414 * sysdeps/unix/bsd/seekdir.c: Likewise.
22415 * sysdeps/unix/bsd/setegid.c: Likewise.
22416 * sysdeps/unix/bsd/seteuid.c: Likewise.
22417 * sysdeps/unix/bsd/setgid.c: Likewise.
22418 * sysdeps/unix/bsd/setrgid.c: Likewise.
22419 * sysdeps/unix/bsd/setruid.c: Likewise.
22420 * sysdeps/unix/bsd/setsid.c: Likewise.
22421 * sysdeps/unix/bsd/setuid.c: Likewise.
22422 * sysdeps/unix/bsd/sigaction.c: Likewise.
22423 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22424 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22425 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22426 * sysdeps/unix/bsd/telldir.c: Likewise.
22427 * sysdeps/unix/bsd/times.c: Likewise.
22428 * sysdeps/unix/bsd/usleep.c: Likewise.
22430 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22431 ($(objpfx)libbsd-compat.a): Remove rule.
22433 * include/features.h (__FAVOR_BSD): Do not define.
22434 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22435 features conflicting with POSIX.
22436 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22437 (_BSD_SOURCE): Remove description of not being a subset of other
22438 feature test macros.
22439 * manual/job.texi (getpgrp): Do not document BSD version.
22440 (getpgid): Do not document by reference to BSD getpgrp.
22441 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22442 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22443 * signal/signal.h [__FAVOR_BSD]: Likewise.
22444 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22445 instead of making contents conditional on [__FAVOR_BSD].
22446 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22448 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22452 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22455 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22456 values below 2**-450, not 2**-500.
22457 * math/auto-libm-test-in: Don't allow spurious underflow from
22459 * math/auto-libm-test-out: Regenerated.
22463 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22464 values of ha and hb and sort them after adjusting subnormal
22466 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22469 values of ea and eb and sort them after adjusting subnormal
22471 * math/auto-libm-test-in: Do not expect some hypot tests of
22472 subnormals to fail. Add more hypot tests.
22473 * math/auto-libm-test-out: Regenerated.
22475 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22478 * sysdeps/sh/s_fma.c: New file.
22479 * sysdeps/sh/s_fmaf.c: New file.
22480 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22482 * sysdeps/sh/Implies: Add sh/soft-fp.
22484 2013-12-16 Roland McGrath <roland@hack.frob.com>
22486 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22487 level of indirection to members `objname', `errstring', `malloced'.
22488 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22489 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22490 it as the __longjmp argument (just pass 1 instead).
22491 (_dl_catch_error): Initialize C with argument pointers and address of
22492 volatile local ERRCODE rather than copying values out of C at return.
22494 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22496 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22497 * math/auto-libm-test-out: Regenerated.
22498 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22499 (hypot_test_data): Likewise.
22500 (pow_test_data): Likewise.
22501 (pow_tonearest_test_data): Likewise.
22502 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22504 (func_calc_desc): Add mpfr_ff_f union field.
22505 (FUNC_mpfr_ff_f): New macro.
22506 (test_functions): Add atan2, hypot and pow.
22507 (special_fill_min): New function.
22508 (special_fill_minus_min): Likewise.
22509 (special_fill_min_subnorm): Likewise.
22510 (special_fill_minus_min_subnorm): Likewise.
22511 (special_real_inputs): Add min, -min, min_subnorm and
22513 (calc_generic_results): Handle mpfr_ff_f.
22514 * sysdeps/i386/fpu/libm-test-ulps: Update.
22515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22517 2013-12-16 Will Newton <will.newton@linaro.org>
22519 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22520 (Aligned Memory Blocks): Add documentation for aligned_alloc
22521 and suggest it as an alternative to posix_memalign.
22522 (Hooks for Malloc): Document __memalign_hook is also called
22523 for aligned_alloc. (Summary of Malloc): Add summary for
22524 aligned alloc. Document __memalign_hook is also called
22527 2013-12-16 Will Newton <will.newton@linaro.org>
22529 * manual/memory.texi (Malloc Examples): Clarify default
22530 alignment documentation. Suggest posix_memalign rather
22531 than memalign or valloc.
22532 (Aligned Memory Blocks): Remove suggestion to use memalign
22533 or valloc. Remove obsolete comment about BSD.
22534 Document memalign errno values and mark the function obsolete.
22535 Document posix_memalign returned error codes. Mark valloc
22536 as obsolete. (Hooks for Malloc): __memalign_hook is also
22537 called for posix_memalign and valloc.
22538 (Summary of Malloc): Add posix_memalign to function summary.
22539 __memalign_hook is also called for posix_memalign and valloc.
22541 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22543 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22547 (sloww): Use mynumber union. Expand ternary operator into
22548 if-else statements.
22549 (cslow): use mynumber union.
22551 2013-12-16 Allan McRae <allan@archlinux.org>
22553 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22554 * configure: Regenerated.
22556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22559 * configure.ac: Added --enable-maintainer-mode. Check for
22560 autoconf when enabled.
22561 * configure: Regenerated.
22563 * nscd/nscd.service: New file.
22564 * nscd/nscd.tmpfiles: New file.
22566 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22569 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22570 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22571 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22572 (strstr): Add __strstr_sse2_unaligned ifunc.
22573 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22574 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22575 (strcasestr): Remove __strcasestr_sse42 ifunc.
22576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22580 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22582 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22583 * sysdeps/sh/bits/fenv.h: ... here.
22584 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22586 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22588 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22591 hypotf multiarch implementations.
22592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22595 multiarch hypot for PPC64.
22596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22599 multiarch hypotf for PPC64.
22601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22602 modff multiarch implementations.
22603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22606 multiarch modf for PPC64.
22607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22610 multiarch modff for PPC64.
22612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22613 and logl multiarch implementations.
22614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22617 multiarch logb for PPC64.
22618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22621 multiarch logb for PPC64.
22622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22625 multiarch logb for PPC64.
22627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22628 isinff multiarch implementation.
22629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22633 multiarch isinf for PPC64.
22634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22637 multiarch isinff for PPC64.
22639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22640 finitef multiarch implementation.
22641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22645 multiarch finite for PPC64.
22646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22649 multiarch finitef for PPC64.
22651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22652 lrint multiarch implementation.
22653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22657 multiarch llrint for PPC64.
22658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22659 multiarch lrint for PPC64.
22661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22662 copysignf multiarch implementation.
22663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22668 multiarch copysign for PPC64.
22669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22670 multiarch copysignf for PPC64.
22672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22673 multiarch implementation.
22674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22682 multiarch llround for PPC64.
22683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22684 multiarch trunc for PPC64.
22685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22686 multiarch truncf for PPC64.
22688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22689 multiarch implementation.
22690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22698 multiarch llround for PPC64.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22700 multiarch round for PPC64.
22701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22702 multiarch roundf for PPC64.
22704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22705 multiarch implementation.
22706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22714 multiarch llround for PPC64.
22715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22716 multiarch floor for PPC64.
22717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22718 multiarch floorf for PPC64.
22720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22721 multiarch implementation.
22722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22730 multiarch llround for PPC64.
22731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22732 multiarch ceil for PPC64.
22733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22734 multiarch ceilf for PPC64.
22736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22737 multiarch implementation.
22738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22745 multiarch llround for PPC64.
22746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22747 multiarch lround for PPC64.
22749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22750 multiarch implementation.
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22758 multiarch isnan for PPC64.
22759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22760 multiarch isnanf for PPC64.
22762 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22763 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22764 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22765 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22766 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22769 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22775 multiarch implementations.
22776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22777 (__libc_ifunc_impl_list): Likewise.
22778 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22779 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22780 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22781 multiarch stpcpy for PPC64.
22783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22784 multiarch implementations.
22785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22786 (__libc_ifunc_impl_list): Likewise.
22787 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22788 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22789 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22790 multiarch strcpy for PPC64.
22792 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22793 redefine function name.
22794 (_wordcopy_fwd_dest_aligned): Likewise.
22795 (_wordcopy_bwd_aligned): Likewise.
22796 (_wordcopy_bwd_dest_aligned): Likewise.
22797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22798 multiarch implementations.
22799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22800 (__libc_ifunc_impl_list): Likewise.
22801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22802 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22803 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22804 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22805 multiarch wcscpy for PPC64.
22807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22808 multiarch implementations.
22809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22810 (__libc_ifunc_impl_list): Likewise.
22811 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22812 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22814 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22815 multiarch wcscpy for PPC64.
22817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22818 multiarch implementations.
22819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22820 (__libc_ifunc_impl_list): Likewise.
22821 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22822 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22823 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22824 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22825 multiarch wcsrchr for PPC64.
22827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22828 multiarch implementations.
22829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22830 (__libc_ifunc_impl_list): Likewise.
22831 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22832 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22833 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22834 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22835 multiarch wcschr for PPC64.
22837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22838 multiarch implementations.
22839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22840 (__libc_ifunc_impl_list): Likewise.
22841 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22842 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22843 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22844 multiarch strchrnul for PPC64.
22846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22849 (__libc_ifunc_impl_list): Likewise.
22850 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22851 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22852 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22853 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22859 (__libc_ifunc_impl_list): Likewise.
22860 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22863 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22867 multiarch implementations.
22868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22869 (__libc_ifunc_impl_list): Likewise.
22870 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22871 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22872 strncasecmp for PPC64.
22873 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22874 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22875 multiarch strncasecmp_l for PPC64.
22877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22878 multiarch implementations.
22879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22880 (__libc_ifunc_impl_list): Likewise.
22881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22882 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22883 multiarch strcasecmp for PPC64.
22884 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22886 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22887 multiarch strcasecmp_l for PPC64.
22889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22892 (__libc_ifunc_impl_list): Likewise.
22893 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22894 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22895 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22901 (__libc_ifunc_impl_list): Likewise.
22902 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22903 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22904 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22910 (__libc_ifunc_impl_list): Likewise.
22911 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22912 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22913 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22914 rawmemrchr for PPC64.
22916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22919 (__libc_ifunc_impl_list): Likewise.
22920 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22921 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22922 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22928 (__libc_ifunc_impl_list): Likewise.
22929 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22930 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22931 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22937 (__libc_ifunc_impl_list): Likewise.
22938 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22939 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22940 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22943 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22944 avoid cretion of __bzero symbol.
22945 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22947 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22949 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22952 multiarch implementations.
22953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22954 (__libc_ifunc_impl_list): Likewise.
22955 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22956 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22957 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22958 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22960 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22961 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22962 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22963 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22964 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22966 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22968 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22972 (__libc_ifunc_impl_list): Likewise.
22973 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22974 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22975 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22976 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22980 multiarch for POWER/PPC64.
22981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22982 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22986 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22989 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22992 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22993 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22994 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22995 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22996 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22997 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22998 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22999 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23000 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23001 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23002 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23003 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23004 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23005 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23006 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23015 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23019 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23021 * benchtests/Makefile (bench): Add exp2 and log2.
23022 (LDLIBS-bench-exp2): Add -lm.
23023 (LDLIBS-bench-log2): Likewise.
23024 * benchtests/exp2-inputs: New inputs file.
23025 * benchtests/log2-inputs: New inputs file.
23026 * benchtests/log-inputs: Add new inputs.
23027 * benchtests/tan-inputs: Likewise.
23029 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23031 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23033 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23034 (csloww2): ... from here.
23036 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23037 instead of structures.
23038 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23039 (POLYNOMIAL): Likewise.
23040 (TAYLOR_SLOW): Likewise.
23046 (sloww1); Likewise.
23047 (sloww2): Likewise.
23048 (bsloww1): Likewise.
23049 (bsloww2): Likewise.
23050 (cslow2): Likewise.
23051 (csloww): Likewise.
23052 (csloww1): Likewise.
23053 (csloww2): Likewise.
23055 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23057 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23058 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23059 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23060 * malloc/hooks.c (realloc_check): Likewise.
23062 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23063 * malloc/arena.c: Remove PER_THREAD conditional.
23064 [!PER_THREAD]: Remove code.
23065 (ptmalloc_unlock_all2): Likewise.
23066 (ptmalloc_init): Likewise.
23067 (_int_new_arena): Likewise.
23068 (arena_get2): Likewise.
23069 * malloc/hooks.c (__malloc_get_state): Likewise.
23070 (__malloc_set_state): Likewise.
23071 * malloc/malloc.c: Likewise.
23072 (struct malloc_state): Likewise.
23073 (struct malloc_par): Likewise.
23074 (__libc_realloc): Likewise.
23075 (__libc_mallopt): Likewise.
23077 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23079 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23081 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23083 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23084 macro to a function. Check for zero perturb_byte.
23085 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23087 * malloc/malloc.c: (force_reg): Remove.
23088 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23089 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23090 force_reg by atomic_forced_read.
23091 * malloc/arena.c (ptmalloc_init): Likewise.
23092 * malloc/hooks.c (top_check): Likewise.
23094 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23098 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23102 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23104 * math/auto-libm-test-in: Add tests of lgamma.
23105 * math/auto-libm-test-out: Regenerated.
23106 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23107 (M_LOG_2_SQRT_PIl): Likewise.
23108 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23111 (func_calc_desc): Add mpfr_f_f1 union field.
23112 (ARGS1): New macro.
23120 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23121 (test_functions): Add lgamma.
23122 (calc_generic_results): Handle mpfr_f_f1.
23123 * sysdeps/i386/fpu/libm-test-ulps: Update.
23124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23126 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23128 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23129 __mpn_add_n for PowerPC64/POWER7.
23130 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23131 __mpn_sub_n for PowerPC64/POWER7.
23133 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23134 __mpn_addmul_1 for PowerPC64.
23135 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23136 __mpn_submul_1 for PowerPC64.
23137 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23139 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23142 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23145 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23149 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23151 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23152 add multiarch folders.
23153 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23154 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23155 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23156 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23157 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23158 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23159 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23160 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23161 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23162 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23163 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23172 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23178 multiarch __ieee754_hypot for PowerPC32.
23179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23184 multiarch __ieee754_hypotf for PowerPC32.
23186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23187 long_double_symbol only if __logbl is defined.
23188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23189 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23191 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23193 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23194 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23195 path for implementation.
23196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23197 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23199 logb, and logbl multiarch implementations for PowerPC32.
23200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23205 multiarch logb for PowerPC32.
23206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23211 multiarch logbf for PowerPC32.
23212 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23216 multiarch logbl implementation for PowerPC32.
23218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23219 and modff multiarch implementations.
23220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23225 multiarch modf for PowerPC32.
23226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23231 multiarch modff for PowerPC32.
23233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23234 and lrintf multiarch implementations.
23235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23240 multiarch lrint for PowerPC32.
23241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23242 file: multiarch lrintf for PowerPC32.
23244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23245 and lroundf multiarch implementations.
23246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23253 multiarch lround for PowerPC32.
23254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23255 file: multiarch lroundf for PowerPC32.
23257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23258 copysign and copysignf multiarch implementations.
23259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23264 file: multiarch copysign for PowerPC32.
23265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23266 file: multiarch copysignf for PowerPC32.
23268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23269 and truncf multiarch implementations.
23270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23275 multiarch trunc for PowerPC32.
23276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23281 multiarch truncf for PowerPC32.
23283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23284 and roundf multiarch implementations.
23285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23290 multiarch round for PowerPC32.
23291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23296 multiarch roundf for PowerPC32.
23298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23299 and floorf multiarch implementations.
23300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23305 multiarch floor for PowerPC32.
23306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23311 multiarch floorf for PowerPC32.
23313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23314 and ceilf multiarch implementations.
23315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23320 multiarch ceil for PowerPC32.
23321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23326 multiarch ceilf for PowerPC32.
23328 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23330 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23331 FINITEF is defined.
23332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23333 and finitef multiarch implementations.
23334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23339 multiarch finite for PowerPC32.
23340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23343 file: multiarch finitef for PowerPC32.
23345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23346 and isinff multiarch implementations.
23347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23352 multiarch isinf for PowerPC32.
23353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23356 multiarch isinff for PowerPC32.
23358 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23359 alias when __isnan is defined.
23360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23361 and isnanf multiarch implementations.
23362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23371 multiarch isnan for PowerPC32.
23372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23377 multiarch isnanf for PowerPC32.
23379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23380 and sqrtf multiarch implementations.
23381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23386 multiarch sqrt for PowerPC32.
23387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23392 multiarch sqrtf for PowerPC32.
23394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23395 and llroundf multiarch implementations.
23396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23403 file: multiarch llround for PowerPC32.
23404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23405 file: multiarch llroundf for PowerPC32.
23407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23408 multiarch PowerPC32 fpu implementations.
23409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23414 multiarch llrint for PowerPC32.
23415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23426 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23428 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23431 multiarch wordcopy for PPC32.
23432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23435 (__libc_ifunc_impl_list): Likewise.
23436 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23437 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23439 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23441 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23443 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23451 multiarch wcscpy for PPC32.
23452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23455 (__libc_ifunc_impl_list): Likewise.
23456 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23457 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23458 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23459 sysdeps/powerpc/power6/wcscpy.c.
23461 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23469 multiarch wcsrchr for PPC32.
23470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23473 (__libc_ifunc_impl_list): Likewise.
23474 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23475 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23476 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23477 sysdeps/powerpc/power6/wcsrchr.c.
23479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23485 multiarch wcschr for PPc32.
23486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23489 (__libc_ifunc_impl_list): Likewise.
23490 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23491 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23492 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23493 sysdeps/powerpc/power6/wcschr.c.
23495 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23496 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23499 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23500 file: multiarch strchr for PPC32.
23501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23504 (__libc_ifunc_impl_list): Likewise.
23506 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23508 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23510 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23513 multiarch strchrnul for PPC32.
23514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23517 (__libc_ifunc_impl_list): Likewise.
23519 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23522 multiarch strncasecmp for PPC32.
23523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23526 multiarch strncasecmp_l for PPC32.
23527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23528 strncasecmp multiarch objects.
23529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23530 (__libc_ifunc_impl_list): Likewise.
23532 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23534 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23535 multiarch strncasecmp for PPC32.
23536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23539 multiarch strcasecmp_l for PPC32.
23540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23543 (__libc_ifunc_impl_list): Likewise.
23545 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23547 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23550 multiarch strncmp for PPC32.
23551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23554 (__libc_ifunc_impl_list): Likewise.
23556 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23557 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23559 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23560 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23564 (__libc_ifunc_impl_list): Likewise.
23566 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23574 (__libc_ifunc_impl_list): Likewise.
23576 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23578 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23580 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23581 multiarch rawmemchr for PPC32.
23582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23585 (__libc_ifunc_impl_list): Likewise.
23587 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23589 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23592 file: memrchr multiarch for PPC32.
23593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23596 (__libc_ifunc_impl_list): Likewise.
23598 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23602 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23603 multiarch memchr for PPC32.
23604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23607 (__libc_ifunc_impl_list): Likewise.
23609 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23610 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23612 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23614 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23615 file: multiarch mempcpy for PPC32.
23616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23619 (__libc_ifunc_impl_list): Likewise.
23621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23622 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23623 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23624 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23625 multiarch bzero for PPC32.
23626 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23630 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23631 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23632 file: multiarch memset for PPC32.
23633 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23635 memset multiarch objects.
23636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23637 (__libc_ifunc_impl_list): Likewise.
23639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23648 (__libc_ifunc_impl_list): Likewise.
23650 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23659 multiarch memcpy for PPC32.
23660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23663 (__libc_ifunc_impl_list): Likewise.
23665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23666 support multiarch for POWER/PPC32.
23667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23669 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23671 Implies file to make multiarch folder appers before the fpu and
23672 default folder for power4 configuration.
23674 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23676 * scripts/bench.pl: Append volatile keyword to type.
23678 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23680 * sysdeps/sh/sotruss-lib.c: New file.
23681 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23683 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23687 2013-12-05 Joseph Myers <joseph@codesourcery.com>
23690 * math/w_tgamma.c: Include <errno.h>.
23691 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23692 * math/w_tgammaf.c: Include <errno.h>.
23693 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23694 * math/w_tgammal.c: Include <errno.h>.
23695 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23696 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23697 underflow. Add more tgamma tests.
23698 * math/auto-libm-test-out: Regenerated.
23699 * sysdeps/i386/fpu/libm-test-ulps: Update.
23700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23702 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23703 sin, sinh, tan, tanh, tgamma, y0 and y1.
23704 * math/auto-libm-test-out: Regenerated.
23705 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23706 (TEST_COND_x86): Likewise.
23707 (M_E2l): Remove macro.
23709 (M_2_SQRT_PIl): Likewise.
23710 (M_SQRT_PIl): Likewise.
23711 (M_1_DIV_El): Likewise.
23712 (log_test_data): Use AUTO_TESTS_f_f.
23713 (log10_test_data): Likewise.
23714 (log1p_test_data): Likewise.
23715 (log2_test_data): Likewise.
23716 (sin_test_data): Likewise.
23717 (sin_tonearest_test_data): Likewise.
23718 (sin_towardzero_test_data): Likewise.
23719 (sin_downward_test_data): Likewise.
23720 (sin_upward_test_data): Likewise.
23721 (sinh_test_data): Likewise.
23722 (sinh_tonearest_test_data): Likewise.
23723 (sinh_towardzero_test_data): Likewise.
23724 (sinh_downward_test_data): Likewise.
23725 (sinh_upward_test_data): Likewise.
23726 (tan_test_data): Likewise.
23727 (tan_tonearest_test_data): Likewise.
23728 (tan_towardzero_test_data): Likewise.
23729 (tan_downward_test_data): Likewise.
23730 (tan_upward_test_data): Likewise.
23731 (tanh_test_data): Likewise.
23732 (tgamma_test_data): Likewise.
23733 (y0_test_data): Likewise.
23734 (y1_test_data): Likewise.
23735 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23736 (special_real_inputs): Add pi/4.
23737 * sysdeps/i386/fpu/libm-test-ulps: Update.
23738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23740 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23742 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23743 "longjmp_target" static probes.
23744 (__longjmp): Rename to __longjmp_symbol.
23745 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23746 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23747 on which longjmp to generate.
23748 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23749 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23751 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23752 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23753 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23754 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23755 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23756 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23758 __longjmp_symbol based on which __longjmp to generate.
23759 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23761 (setjmp): Rename to setjmp_symbol.
23762 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23763 (_setjmp): Rename to _setjmp_symbol.
23764 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23765 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23766 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23767 which setjmp to generate.
23768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23769 "longjmp_target" static probes.
23771 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23773 * benchtests/README: Add note about output arguments.
23774 * benchtests/bench-sincos.c: Remove file.
23775 * benchtests/sincos-inputs: New file.
23776 * scripts/bench.pl: Identify output arguments and define
23777 static variables for them.
23779 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23782 * Makefile (INSTALL): Add install-plain.texi as the primary
23784 * manual/install-plain.texi: New file.
23785 * manual/install.texi: Include node directive only for
23786 non-plaintext output.
23788 2013-12-04 Joseph Myers <joseph@codesourcery.com>
23790 * stdlib/longlong.h: Update from GCC.
23794 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23795 * math/w_j0f.c (y0f): Likewise.
23796 * math/w_j0l.c (__y0l): Likewise.
23797 * math/w_j1.c (y1): Likewise.
23798 * math/w_j1f.c (y1f): Likewise.
23799 * math/w_j1l.c (__y1l): Likewise
23800 * math/w_jn.c (yn): Likewise.
23801 * math/w_jnf.c (ynf): Likewise.
23802 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23803 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23804 value for Bessel function domain errors outside _SVID_ mode.
23805 Adjust sign of return value for yn (negative integer, 0).
23806 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23807 by zero in return for negative x and set sign appropriately for
23809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23811 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23812 expectations in error cases.
23813 (y1_test_data): Likewise.
23814 (yn_test_data): Likewise.
23815 * sysdeps/i386/fpu/libm-test-ulps: Update.
23816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23818 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23820 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23821 "64" to "64-v1". Add "64-v2".
23822 (abi-64-options): Rename to ...
23823 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23824 (abi-64-condition): Rename to ...
23825 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23826 (abi-64-ld-soname): Rename to ...
23827 (abi-64-v1-ld-soname): ... this.
23828 (abi-64-v2-options): Define.
23829 (abi-64-v2-condition): Likewise.
23830 (abi-64-v2-ld-soname): Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23832 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23837 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23838 Alan Modra <amodra@gmail.com>
23840 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23841 New versions for use with the ELFv2 ABI.
23842 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23843 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23845 (struct La_ppc64v2_retval): Likewise.
23846 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23847 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23848 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23849 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23850 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23852 Do not save or restore CR.
23853 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23854 (_dl_profile_resolve): Do no save or restore CR. Support extended
23855 return values for ELFv2 ABI. Fix location of FPR return registers.
23856 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23857 updated values for _CALL_ELF == 2.
23858 (La_regs, La_retval, int_retval): Likewise.
23860 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23862 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23863 (FRAME_MIN_SIZE_PARM): Likewise.
23864 (FRAME_BACKCHAIN): Likewise.
23865 (FRAME_CR_SAVE): Likewise.
23866 (FRAME_LR_SAVE): Likewise.
23867 (FRAME_TOC_SAVE): Likewise.
23868 (FRAME_PARM_SAVE): Likewise.
23869 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23870 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23871 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23872 (call_mcount_parm_offset): New macro.
23873 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23874 (PROF): Use symbolic stack frame offsets.
23875 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23876 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23877 Redefine in terms of FRAME_MIN_SIZE.
23878 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23879 (_dl_profile_resolve): Likewise. Update comment.
23880 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23881 symbols stack frame offsets.
23882 (__sigsetjmp): Likewise.
23883 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23884 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23885 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23886 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23889 (FRAME_BACKCHAIN): Remove.
23890 (FRAME_CR_SAVE): Likewise.
23891 (FRAME_LR_SAVE): Likewise.
23892 (FRAME_COMPILER_DW): Likewise.
23893 (FRAME_LINKER_DW): Likewise.
23894 (FRAME_TOC_SAVE): Likewise.
23895 (FRAME_PARM_SAVE): Likewise.
23896 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23897 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23898 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23900 (CHECK_SP): Use symbolic stack frame offsets.
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23902 zone" instead of caller's parameter save area for temp storage.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23904 Likewise. Also, use symbolic stack frame offsets.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23906 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23907 our own stack frame instead of the caller's.
23908 (__socket): Use symbolic stack frame offsets.
23910 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23911 Alan Modra <amodra@gmail.com>
23913 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23915 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23916 (PPC64_LOCAL_ENTRY_OFFSET): Define.
23917 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23919 (elf_machine_fixup_plt): Call it.
23920 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23922 (elf_machine_rela): Update call to elf_machine_plt_conflict.
23923 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23924 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23925 r2 before calling target.
23927 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23928 Alan Modra <amodra@gmail.com>
23930 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23931 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23932 versions of macros to support ELFv2 ABI.
23933 (LOCALENTRY): New macro.
23934 (ENTRY, EALIGN): Use it.
23935 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23936 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23937 fall through into ENTRY entry point.
23938 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23939 Only define if _CALL_ELF != 2.
23941 (elf_machine_matches_host): Verify ABI version matches.
23942 (RTLD_START): Use LOCALENTRY.
23943 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23944 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23945 (PLT_ENTRY_WORDS): New macro.
23946 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23947 (elf_machine_runtime_setup): Support ELFv2 ABI.
23948 (elf_machine_fixup_plt): Likewise.
23949 (elf_machine_plt_conflict): Likewise.
23950 (resolve_ifunc): Likewise.
23951 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23955 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23957 (makecontext): Support ELFv2 ABI.
23958 * elf/elf.h (EF_PPC64_ABI): Define.
23960 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23962 * sysdeps/powerpc/powerpc64/sysdep.h
23963 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23964 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23965 (ENTRY) [ASSEMBLER]: ... but instead here ...
23966 (EALIGN) [ASSEMBLER]: ... and here.
23967 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23968 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23969 (ENTRY_2) [!ASSEMBLER]: Use it.
23970 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23971 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
23972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23973 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23974 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23976 Use PPC64_LOAD_FUNCPTR.
23978 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23980 2013-12-04 Alan Modra <amodra@gmail.com>
23982 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23983 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23984 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23985 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23988 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23989 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23990 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23991 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23992 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23994 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23997 (__makecontext): Fix incorrect CFI when backtracing out of
23998 context created via makecontext.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24000 (__setcontext): Fix incorrect CFI during switch to new context.
24001 (__novec_setcontext): Likewise.
24003 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24006 * time/strptime_l.c (__strptime_internal): Allow modifiers
24008 * time/tst-strptime.c (day_tests): Add testcase.
24010 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24012 * scripts/bench.pl: Skip over blank lines.
24014 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24017 * manual/time.texi (Calendar Time): Clarify what timezone functions
24020 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24024 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24026 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24028 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24029 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24030 * debug/memset_chk.c (__memset_chk): Likewise.
24031 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24032 * debug/strncpy_chk.c: Likewise.
24034 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24038 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24039 (__ieee754_exp): For possibly underflowing results, check size of
24040 result and force underflow exception if required.
24041 * math/auto-libm-test-in: Add more tests of exp.
24042 * math/auto-libm-test-out: Regenerated.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24048 * math/w_exp2f.c (__exp2f): Likewise.
24049 * math/w_exp2l.c (__exp2l): Likewise.
24050 * math/auto-libm-test-in: Do not allow missing errno on exp2
24052 * math/auto-libm-test-out: Regenerated.
24054 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24057 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24058 handle filename validation.
24059 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24062 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24065 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24066 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24067 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24069 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24070 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24071 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24073 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24074 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24075 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24076 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24077 Add more erfc tests.
24078 * math/auto-libm-test-out: Regenerated.
24079 * sysdeps/i386/fpu/libm-test-ulps: Update.
24080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24082 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24083 exp2, expm1, j0 and j1.
24084 * math/auto-libm-test-out: Regenerated.
24085 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24086 (erfc_test_data): Likewise.
24087 (exp_test_data): Likewise.
24088 (exp_tonearest_test_data): Likewise.
24089 (exp_towardzero_test_data): Likewise.
24090 (exp_downward_test_data): Likewise.
24091 (exp_upward_test_data): Likewise.
24092 (exp10_test_data): Likewise.
24093 (exp2_test_data): Likewise.
24094 (expm1_test_data): Likewise.
24095 (j0_test_data): Likewise.
24096 (j1_test_data): Likewise.
24097 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24098 (input_flag_type): Add flag_xfail_rounding.
24099 (input_flags): Add xfail-rounding.
24100 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24101 (output_for_one_input_case): Handle flag_xfail_rounding.
24102 * sysdeps/i386/fpu/libm-test-ulps: Update.
24103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24105 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24108 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24111 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24114 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24115 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24116 (STAP_PROBE0): New macro.
24117 (STAP_PROBE1): Likewise.
24118 (STAP_PROBE2): Likewise.
24119 (STAP_PROBE3): Likewise.
24120 (STAP_PROBE4): Likewise.
24122 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24124 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24126 2013-12-02 Steve Ellcey <sellcey@mips.com>
24128 * benchtests/Makefile (bench): Add sqrt.
24129 (LDLIBS-bench-sqrt): New.
24130 * benchtests/sqrt-input: New.
24132 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24134 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24135 (GAIH_EAI): Likewise.
24136 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24137 (gaih_inet): Likewise.
24138 (getaddrinfo): Don't use GAIH_EAI.
24140 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24141 (struct gaih): Remove definition.
24143 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24145 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24146 Use HERRNOP directly.
24148 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24152 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24154 * math/gen-auto-libm-tests.c (test_functions): Add more
24155 single-argument functions.
24156 (special_fill_pi_2): New function.
24157 (special_fill_minus_pi_2): Likewise.
24158 (special_fill_pi_6): Likewise.
24159 (special_fill_minus_pi_6): Likewise.
24160 (special_fill_pi_3): Likewise.
24161 (special_fill_2pi_3): Likewise.
24162 (special_fill_e): Likewise.
24163 (special_fill_1_e): Likewise.
24164 (special_fill_e_minus_1): Likewise.
24165 (special_real_inputs): Add more special inputs.
24166 (output_for_one_input_case): Do not require ERANGE on underflow to
24167 zero if round-to-nearest result does not underflow to zero, unless
24168 exact results required.
24169 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24170 atan, atanh, cbrt, cos and cosh.
24171 * math/auto-libm-test-out: Regenerated.
24172 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24173 (acos_tonearest_test_data): Likewise.
24174 (acos_towardzero_test_data): Likewise.
24175 (acos_downward_test_data): Likewise.
24176 (acos_upward_test_data): Likewise.
24177 (acosh_test_data): Likewise.
24178 (asin_test_data): Likewise.
24179 (asin_tonearest_test_data): Likewise.
24180 (asin_towardzero_test_data): Likewise.
24181 (asin_upward_test_data): Likewise.
24182 (asinh_test_data): Likewise.
24183 (atan_test_data): Likewise.
24184 (atanh_test_data): Likewise.
24185 (cbrt_test_data): Likewise.
24186 (cos_test_data): Likewise.
24187 (cos_tonearest_test_data): Likewise.
24188 (cos_towardzero_test_data): Likewise.
24189 (cos_downward_test_data): Likewise.
24190 (cos_upward_test_data): Likewise.
24191 (cosh_test_data): Likewise.
24192 (cosh_tonearest_test_data): Likewise.
24193 (cosh_towardzero_test_data): Likewise.
24194 (cosh_downward_test_data): Likewise.
24195 (cosh_upward_test_data): Likewise.
24196 * sysdeps/i386/fpu/libm-test-ulps: Update.
24197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24199 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24202 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24203 * math/w_exp10f.c (__exp10f): Likewise.
24204 * math/w_exp10l.c (__exp10l): Likewise.
24205 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24206 errno settings in existing tests.
24209 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24210 precision control set to double precision.
24211 * sysdeps/i386/fpu/w_sqrt.c: New file.
24212 * math/auto-libm-test-in: Add more tests.
24213 * math/auto-libm-test-out: Update.
24215 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24216 (sqrt_test_tonearest): New function.
24217 (sqrt_towardzero_test_data): New variable.
24218 (sqrt_test_towardzero): New function.
24219 (sqrt_downward_test_data): New variable.
24220 (sqrt_test_downward): New function.
24221 (sqrt_upward_test_data): New variable.
24222 (sqrt_test_upward): New function.
24223 (main): Call the new functions.
24225 * math/gen-auto-libm-tests.c: New file.
24226 * math/auto-libm-test-in: Likewise.
24227 * math/auto-libm-test-out: New generated file.
24228 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24230 (%beautify): Add generated representations of zero.
24231 (top level): Set $auto_input and call parse_auto_input.
24232 (beautify): Remove trailing "f" from hex float constants.
24233 (parse_args): Handle XFAIL_TEST.
24234 (convert_condition): New function.
24235 (or_value): Likewise.
24236 (or_cond_value): Likewise.
24237 (generate_testfile): Handle AUTO_TESTS_* lines.
24238 (parse_auto_input): New function.
24239 * math/libm-test.inc (XFAIL_TEST): New macro.
24240 (ERRNO_UNCHANGED): Update value.
24241 (ERRNO_EDOM): Likewise.
24242 (ERRNO_ERANGE): Likewise.
24243 (IGNORE_RESULT): Likewise.
24244 (TEST_COND_flt_32): New macro.
24245 (TEST_COND_dbl_64): Likewise.
24246 (TEST_COND_ldbl_96_intel): Likewise.
24247 (TEST_COND_ldbl_96_m68k): Likewise.
24248 (TEST_COND_ldbl_128): Likewise.
24249 (TEST_COND_ldbl_128ibm): Likewise.
24250 (TEST_COND_long32): Likewise.
24251 (TEST_COND_long64): Likewise.
24252 (TEST_COND_before_rounding): Likewise.
24253 (TEST_COND_after_rounding): Likewise.
24254 (enable_test): Handle XFAIL_TEST flag.
24255 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24256 with finite results.
24257 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24258 auto-libm-test-out.
24260 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24261 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24264 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24265 __tls_get_addr_internal instead of __tls_get_offset in order to
24266 avoid GOT pointer dependency. Make rtld export
24267 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24268 __tls_get_addr since we are a __tls_get_offset platform.
24269 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24270 GOT pointer being set up before.
24271 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24273 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24275 * manual/math.texi (Errors in Math Functions): Document accuracy
24279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24280 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24296 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24297 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24298 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24299 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24300 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24302 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24304 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24306 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24307 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24308 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24309 atomic-feupdateenv and flt-rounds.
24310 * sysdeps/powerpc/nofpu/Versions (libc): Add
24311 __atomic_feholdexcept, __atomic_feclearexcept,
24312 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24314 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24315 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24316 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24321 * manual/arith.texi (FP Exceptions): Document that exceptions may
24322 not be raised when matherr is used.
24323 (Math Error Reporting): Document overflow in directed rounding
24324 modes. Document that errno may not be set when finite values are
24325 returned on overflow. Document intent to set errno on underflow
24326 only for underflow to zero.
24329 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24330 round-to-nearest then adjust result for other rounding modes.
24331 * include/fenv.h (fegetround): Use libm_hidden_proto.
24332 * math/fegetround.c (fegetround): Use libm_hidden_def.
24333 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24334 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24335 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24338 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24339 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24340 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24341 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24343 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24346 * nss/Versions (libnss_files): Add
24347 _nss_files_gethostbyname3_r.
24348 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24350 (HOST_DB_LOOKUP): Remove macro.
24351 (_nss_files_gethostbyname_r): Implement function without the
24352 HOST_DB_LOOKUP macro.
24353 (_nss_files_gethostbyname2_r): Likewise.
24355 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24357 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24359 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24361 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24362 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24365 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24367 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24368 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24369 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24370 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24371 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24372 __fe_nomask_env_priv and attribute_hidden.
24373 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24374 (libc_feupdateenv_test_ppc): Likewise.
24375 (libc_feresetround_ppc): Likewise.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24377 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24378 compat_symbol macro.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24380 (__fe_nomask_env): Likewise.
24381 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24383 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24385 * string/Makefile: Remove ifunc tests.
24386 * string/test-string.h: Define TEST_IFUNC.
24387 * string/test-bcopy-ifunc.c: Remove.
24388 * string/test-bzero-ifunc.c: Likewise.
24389 * string/test-memccpy-ifunc.c: Likewise.
24390 * string/test-memchr-ifunc.c: Likewise.
24391 * string/test-memcmp-ifunc.c: Likewise.
24392 * string/test-memcpy-ifunc.c: Likewise.
24393 * string/test-memmem-ifunc.c: Likewise.
24394 * string/test-memmove-ifunc.c: Likewise.
24395 * string/test-mempcpy-ifunc.c: Likewise.
24396 * string/test-memrchr-ifunc.c: Likewise.
24397 * string/test-memset-ifunc.c: Likewise.
24398 * string/test-rawmemchr-ifunc.c: Likewise.
24399 * string/test-stpcpy-ifunc.c: Likewise.
24400 * string/test-stpncpy-ifunc.c: Likewise.
24401 * string/test-strcasecmp-ifunc.c: Likewise.
24402 * string/test-strcasestr-ifunc.c: Likewise.
24403 * string/test-strcat-ifunc.c: Likewise.
24404 * string/test-strchr-ifunc.c: Likewise.
24405 * string/test-strchrnul-ifunc.c: Likewise.
24406 * string/test-strcmp-ifunc.c: Likewise.
24407 * string/test-strcpy-ifunc.c: Likewise.
24408 * string/test-strcspn-ifunc.c: Likewise.
24409 * string/test-strlen-ifunc.c: Likewise.
24410 * string/test-strncasecmp-ifunc.c: Likewise.
24411 * string/test-strncat-ifunc.c: Likewise.
24412 * string/test-strncmp-ifunc.c: Likewise.
24413 * string/test-strncpy-ifunc.c: Likewise.
24414 * string/test-strnlen-ifunc.c: Likewise.
24415 * string/test-strpbrk-ifunc.c: Likewise.
24416 * string/test-strrchr-ifunc.c: Likewise.
24417 * string/test-strspn-ifunc.c: Likewise.
24418 * string/test-strstr-ifunc.c: Likewise.
24420 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24422 * benchtests/Makefile: Remove ifunc tests.
24423 * benchtests/bench-string.h: Define TEST_IFUNC.
24424 * benchtests/bench-bcopy-ifunc.c: Remove.
24425 * benchtests/bench-bzero-ifunc.c: Likewise.
24426 * benchtests/bench-memccpy-ifunc.c: Likewise.
24427 * benchtests/bench-memchr-ifunc.c: Likewise.
24428 * benchtests/bench-memcmp-ifunc.c: Likewise.
24429 * benchtests/bench-memcpy-ifunc.c: Likewise.
24430 * benchtests/bench-memmem-ifunc.c: Likewise.
24431 * benchtests/bench-memmove-ifunc.c: Likewise.
24432 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24433 * benchtests/bench-memrchr-ifunc.c: Likewise.
24434 * benchtests/bench-memset-ifunc.c: Likewise.
24435 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24436 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24437 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24438 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24439 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24440 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24441 * benchtests/bench-strcat-ifunc.c: Likewise.
24442 * benchtests/bench-strchr-ifunc.c: Likewise.
24443 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24444 * benchtests/bench-strcmp-ifunc.c: Likewise.
24445 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24446 * benchtests/bench-strcpy-ifunc.c: Likewise.
24447 * benchtests/bench-strcspn-ifunc.c: Likewise.
24448 * benchtests/bench-strlen-ifunc.c: Likewise.
24449 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24450 * benchtests/bench-strncat-ifunc.c: Likewise.
24451 * benchtests/bench-strncmp-ifunc.c: Likewise.
24452 * benchtests/bench-strncpy-ifunc.c: Likewise.
24453 * benchtests/bench-strnlen-ifunc.c: Likewise.
24454 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24455 * benchtests/bench-strrchr-ifunc.c: Likewise.
24456 * benchtests/bench-strsep-ifunc.c: Likewise.
24457 * benchtests/bench-strspn-ifunc.c: Likewise.
24458 * benchtests/bench-strstr-ifunc.c: Likewise.
24460 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24462 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24464 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24466 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24467 * rt/aio.h: Likewise.
24468 * sysdeps/gnu/bits/utmp.h: Likewise.
24469 * sysdeps/gnu/bits/utmpx.h: Likewise.
24470 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24471 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24472 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24473 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24474 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24475 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24476 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24477 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24478 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24479 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24480 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24481 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24482 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24484 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24485 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24486 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24487 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24488 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24489 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24490 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24491 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24492 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24493 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24494 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24496 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24497 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24498 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24500 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24501 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24502 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24504 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24505 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24506 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24508 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24509 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24510 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24511 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24513 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24516 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24517 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24519 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24521 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24522 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24525 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24528 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24529 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24530 (__fesetround): Remove define.
24531 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24532 rounding and exceptions handling.
24533 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24535 (__fe_nomask_env): Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24537 __fegetround instead of fegetround.
24538 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24541 2013-11-21 Roland McGrath <roland@hack.frob.com>
24543 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24546 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24548 2013-11-21 Meador Inge <meadori@codesourcery.com>
24551 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24552 (encrypt_r): Likewise.
24553 * malloc/obstack.h (obstack_free): Likewise.
24554 * posix/unistd.h (encrypt): Likewise.
24556 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24558 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24559 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24560 DL_CALL_DT_FINI() that call the functions directly.
24561 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24562 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24563 * elf/dl-fini.c: Likewise.
24565 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24567 * malloc/hooks.c (memalign_check): Add alignment rounding.
24568 * malloc/malloc.c (_mid_memalign): New function.
24569 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24570 Implement by calling _mid_memalign.
24571 * manual/probes.texi (Memory Allocation Probes): Remove
24572 memory_valloc_retry and memory_pvalloc_retry.
24574 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24576 * locale/programs/locarchive.c (open_archive): Add const
24577 qualifier to ARCHIVEFNAME and copy default fname to
24581 * libio/tst-widetext.input: Rename Oriya to Odia.
24582 * locale/iso-639.def: Likewise.
24584 * manual/probes.texi (Mathematical Function Probes): Add
24585 documentation for sin, cos, asin and acos probes.
24586 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24587 (__sin32): Add slowasin probe.
24588 (__cos32): Add slowacos probe.
24589 (__mpsin): Add slowsin probe.
24590 (__mpcos): Add slowcos probe.
24592 2013-11-19 Joseph Myers <joseph@codesourcery.com>
24595 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24596 thread-local __sim_exceptions_thread and global
24597 __sim_exceptions_global.
24598 (__sim_disabled_exceptions): Change to thread-local
24599 __sim_disabled_exceptions_thread and global
24600 __sim_disabled_exceptions_global.
24601 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24602 and global __sim_round_mode_global.
24603 (__simulate_exceptions): Use thread-local floating-point state and
24604 set global state from it as needed.
24605 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24606 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24607 __sim_round_mode_thread.
24608 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24609 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24610 and global __sim_exceptions_global.
24611 (__sim_disabled_exceptions): Change to thread-local
24612 __sim_disabled_exceptions_thread and global
24613 __sim_disabled_exceptions_global.
24614 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24615 and global __sim_round_mode_global.
24616 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24617 (SIM_SET_GLOBAL): Likewise.
24618 * sysdeps/powerpc/soft-fp/sfp-machine.h
24619 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24620 __sim_round_mode_thread.
24621 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24622 __sim_disabled_exceptions_thread.
24623 (__sim_exceptions): Change to __sim_exceptions_thread.
24624 (__sim_disabled_exceptions): Change to
24625 __sim_disabled_exceptions_thread.
24626 (__sim_round_mode): Change to __sim_round_mode_thread.
24627 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24628 thread-local floating-point state and set global state from it as
24630 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24631 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24632 (__sim_disabled_exceptions): Remove extern declaration.
24633 (feenableexcept): Use thread-local floating-point state and set
24634 global state from it as needed.
24635 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24636 extern declaration.
24637 (__sim_disabled_exceptions): Likewise.
24638 (__sim_round_mode): Likewise.
24639 (__fegetenv): Use thread-local floating-point state.
24640 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24641 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24642 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24643 floating-point state and set global state from it as needed.
24644 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24645 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24646 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24648 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24649 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24651 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24652 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24653 Use __sim_round_mode_thread.
24654 * math/test-fenv-tls.c: New file.
24655 * math/Makefile (tests): Add test-fenv-tls.
24656 ($(objpfx)test-fenv-tls): Depend on
24657 $(common-objpfx)nptl/libpthread.so.
24659 2013-11-19 Andreas Schwab <schwab@suse.de>
24661 * locale/programs/locale.c (show_info): Decode wordarray elements.
24662 * locale/categories.def (LC_MONETARY): Add element for
24663 _NL_MONETARY_CRNCYSTR.
24664 * locale/C-monetary.c (conversion_rate): New variable.
24665 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24668 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24670 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24671 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24673 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24675 * elf/Makefile (tst-auxv): New test.
24676 * elf/tst-auxv.c: New
24677 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24679 2013-11-18 Joseph Myers <joseph@codesourcery.com>
24681 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24682 (hidden_proto): Caller changed.
24683 (hidden_tls_proto): New macro.
24684 (libc_hidden_tls_proto): Likewise.
24685 (rtld_hidden_tls_proto): Likewise.
24686 (libm_hidden_tls_proto): Likewise.
24687 (libresolv_hidden_tls_proto): Likewise.
24688 (librt_hidden_tls_proto): Likewise.
24689 (libdl_hidden_tls_proto): Likewise.
24690 (libnss_files_hidden_tls_proto): Likewise.
24691 (libnsl_hidden_tls_proto): Likewise.
24692 (libnss_nisplus_hidden_tls_proto): Likewise.
24693 (libutil_hidden_tls_proto): Likewise.
24695 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
24698 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24699 (decompose_rpath): Defer expansion to fillin_rpath.
24700 (_dl_init_paths): Pass linkmap to fillin_rpath.
24702 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24704 * benchtests/Makefile: Add strsep.
24705 * benchtests/bench-strsep.c: New file: strsep benchtest.
24706 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24708 2013-11-18 Andreas Schwab <schwab@suse.de>
24710 * locale/programs/locale.c (show_info) [case byte]: Check for
24711 '\377' instead of '\177'.
24712 * locale/C-monetary.c (not_available): Always use "\377".
24713 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24714 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24715 detect unavailable sign_posn locale elements.
24716 * locale/localeconv.c (__localeconv): For grouping and
24717 mon_grouping handle "\177" and "\377" like no grouping.
24718 (INT_ELEM): New macro. Use it to set all numeric members.
24719 * locale/programs/ld-monetary.c (monetary_read)
24720 <tok_mon_grouping>: Normalize single -1 to the empty string.
24721 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24724 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24727 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24728 when we match (nil).
24729 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24731 2013-11-16 Joseph Myers <joseph@codesourcery.com>
24733 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24734 (NO_TEST_INLINE): Update value.
24735 (ERRNO_UNCHANGED): Likewise.
24736 (ERRNO_EDOM): Likewise.
24737 (ERRNO_ERANGE): Likewise.
24738 (IGNORE_RESULT): Likewise.
24739 (check_float_internal): Check signs of NaN results if
24740 TEST_NAN_SIGN used.
24741 (check_complex): Pass TEST_NAN_SIGN flag through to second
24742 check_float_internal call.
24743 (copysign_test_data): Add tests with quiet NaNs as second
24744 argument. Use TEST_NAN_SIGN.
24745 (fabs_test_data): Add test of negative quiet NaN argument. Use
24747 (signbit_test_data): Add tests of quiet NaN argument.
24748 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24750 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24752 (parse_args): Handle function results specified as IGNORE.
24753 * math/libm-test.inc (IGNORE_RESULT): New macro.
24754 (check_float_internal): Do not check numerical result if flag
24756 (check_complex): Pass through IGNORE_RESULT to second
24757 check_float_internal call.
24758 (check_int): Do not check numerical result if flag IGNORE_RESULT
24760 (check_long): Likewise.
24761 (check_bool): Likewise.
24762 (check_longlong): Likewise.
24763 (lrint_test_data): Add tests of infinite and NaN arguments.
24764 (lrint_tonearest_test_data): Likewise.
24765 (lrint_towardzero_test_data): Likewise.
24766 (lrint_downward_test_data): Likewise.
24767 (lrint_upward_test_data): Likewise.
24768 (llrint_test_data): Likewise.
24769 (llrint_tonearest_test_data): Likewise.
24770 (llrint_towardzero_test_data): Likewise.
24771 (llrint_downward_test_data): Likewise.
24772 (llrint_upward_test_data): Likewise.
24773 (lround_test_data): Likewise.
24774 (llround_test_data): Likewise.
24776 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24777 (ERRNO_UNCHANGED): Update value.
24778 (ERRNO_EDOM): Likewise.
24779 (ERRNO_ERANGE): Likewise.
24780 (NO_TEST_INLINE_FLOAT): New macro.
24781 (NO_TEST_INLINE_DOUBLE): Likewise.
24782 (enable_test): New function.
24783 (RUN_TEST_f_f): Check enable_test before running test.
24784 (RUN_TEST_2_f): Likewise.
24785 (RUN_TEST_fff_f): Likewise.
24786 (RUN_TEST_c_f): Likewise.
24787 (RUN_TEST_f_f1): Likewise.
24788 (RUN_TEST_fF_f1): Likewise.
24789 (RUN_TEST_fI_f1): Likewise.
24790 (RUN_TEST_ffI_f1): Likewise.
24791 (RUN_TEST_c_c): Likewise.
24792 (RUN_TEST_cc_c): Likewise.
24793 (RUN_TEST_f_i): Likewise.
24794 (RUN_TEST_f_i_tg): Likewise.
24795 (RUN_TEST_ff_i_tg): Likewise.
24796 (RUN_TEST_f_b): Likewise.
24797 (RUN_TEST_f_b_tg): Likewise.
24798 (RUN_TEST_f_l): Likewise.
24799 (RUN_TEST_f_L): Likewise.
24800 (RUN_TEST_fFF_11): Likewise.
24801 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24803 (cosh_test_data): Likewise.
24804 (exp_test_data): Likewise.
24805 (expm1_test_data): Likewise.
24806 (hypot_test_data): Likewise.
24807 (pow_test_data): Likewise.
24808 (sinh_test_data): Likewise.
24809 (tanh_test_data): Likewise.
24810 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24813 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24814 tests with quiet NaN input and output.
24815 (acosh_test_data): Likewise.
24816 (asin_test_data): Likewise.
24817 (asinh_test_data): Likewise.
24818 (atan_test_data): Likewise.
24819 (atanh_test_data): Likewise.
24820 (atan2_test_data): Likewise.
24821 (cbrt_test_data): Likewise.
24822 (cos_test_data): Likewise.
24823 (cosh_test_data): Likewise.
24824 (erf_test_data): Likewise.
24825 (erfc_test_data): Likewise.
24826 (exp_test_data): Likewise.
24827 (exp10_test_data): Likewise.
24828 (exp2_test_data): Likewise.
24829 (expm1_test_data): Likewise.
24830 (hypot_test_data): Likewise.
24831 (j0_test_data): Likewise.
24832 (j1_test_data): Likewise.
24833 (jn_test_data): Likewise.
24834 (lgamma_test_data): Likewise.
24835 (log_test_data): Likewise.
24836 (log10_test_data): Likewise.
24837 (log1p_test_data): Likewise.
24838 (log2_test_data): Likewise.
24839 (pow_test_data): Likewise.
24840 (scalb_test_data): Likewise.
24841 (sin_test_data): Likewise.
24842 (sincos_test_data): Likewise.
24843 (sinh_test_data): Likewise.
24844 (tan_test_data): Likewise.
24845 (tanh_test_data): Likewise.
24846 (tgamma_test_data): Likewise.
24847 (y0_test_data): Likewise.
24848 (y1_test_data): Likewise.
24849 (yn_test_data): Likewise.
24852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24853 argument being NaN and avoid computations with second argument in
24855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24856 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24857 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24859 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24861 * locale/iso-639.def: Add Chitwani Tharu (the).
24863 2013-11-14 Andreas Schwab <schwab@suse.de>
24865 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24866 word instead of empty string.
24868 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24871 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24873 (__fe_nomask_env): Likewise.
24875 2013-11-13 Steve Ellcey <sellcey@mips.com>
24877 * benchtests/bench-timing.h: Include time.h.
24879 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24882 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24884 * sysdeps/unix/sysv/linux/configure: Regenerated.
24886 2013-11-13 Joseph Myers <joseph@codesourcery.com>
24889 * stdlib/strtod_l.c (round_and_return): Do not consider
24890 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24891 exponent one less than half the least subnormal exponent.
24892 * stdlib/test-strtod-round-data: Add more tests.
24893 * stdlib/tst-strtod-round.c (tests): Regenerated.
24895 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24898 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24899 (__fe_mask_env): Likewise.
24900 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24901 libm_hidden_proto and add function prototype.
24902 (__fe_mask_env): Add function prototype.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24904 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24906 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24908 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24910 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24912 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24913 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24915 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24917 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24918 of htab_find_slot().
24920 2013-11-11 David S. Miller <davem@davemloft.net>
24923 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24924 symbol in the non-vis3 case in static builds.
24925 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24926 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24927 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24928 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24930 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24933 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24936 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24938 * benchtests/Makefile: Add bench-strtod.
24939 * benchtests/bench-strtod.c: New file: strtod benchtest
24941 2013-11-11 Andreas Schwab <schwab@suse.de>
24944 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24945 terminating NUL in key length.
24947 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24950 Add artificial ODP entry for vDSO symbol for PPC64.
24951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24952 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24954 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24957 * nss/getent.c (services_keys): Recognize services starting with digit.
24959 2013-11-06 David S. Miller <davem@davemloft.net>
24962 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24963 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24965 2013-11-06 Will Newton <will.newton@linaro.org>
24967 * manual/memory.texi (Malloc Examples): Remove register
24968 keyword from examples.
24970 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
24972 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24974 2013-11-04 Joseph Myers <joseph@codesourcery.com>
24977 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24978 depending on [__GCC_IEC_559 > 0].
24979 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24980 depending on [__GCC_IEC_559_COMPLEX > 0].
24982 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
24984 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24987 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
24989 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24991 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
24994 * malloc/malloc (malloc_info): Do not handle first bin as
24997 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
24999 * locale/iso-639.def: Add Central Nahuatl (nhn).
25001 2013-11-01 Bruno Haible <bruno@clisp.org>
25004 * manual/math.texi (BSD Random): Specify range upper bound as
25007 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25009 * locale/iso-639.def: Add Meadow Mari (mhr).
25011 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25013 [BZ #14752], [BZ #15763]
25014 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25016 * rt/tst_shm.c: Add test for escaping directory.
25018 2013-10-31 Andreas Schwab <schwab@suse.de>
25021 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25022 followed by 'x' as part of digit sequence.
25023 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25025 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25028 * configure.ac: allow GNU Make 4.0 and greater.
25029 * configure: Regenerated.
25031 2013-10-30 Will Newton <will.newton@linaro.org>
25034 * malloc/hooks.c (memalign_check): Limit alignment to the
25035 maximum representable power of two.
25036 * malloc/malloc.c (__libc_memalign): Likewise.
25037 * malloc/tst-memalign.c (do_test): Add test for very
25038 large alignment values.
25039 * malloc/tst-posix_memalign.c (do_test): Likewise.
25041 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25044 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25045 (munmap_chunk): Likewise.
25046 (mremap_chunk): Likewise.
25048 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25051 * stdlib/div.c (div): Remove obsolete code.
25052 * stdlib/ldiv.c (ldiv): Likewise.
25053 * stdlib/lldiv.c (lldiv): Likewise.
25055 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25058 * nss/nss_files/files-XXX.c (get_contents_ret): New
25060 (get_contents): New function.
25061 (internal_getent): Use it. Expand size of LINEBUFLEN.
25063 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25065 * configure.in: Moved to ...
25066 * configure.ac: ... here. Change reference to configure.in
25068 * sysdeps/arm/preconfigure.ac: ... here.
25069 configure.in to configure.ac.
25070 * sysdeps/gnu/configure.in: Moved to ...
25071 * sysdeps/gnu/configure.ac: ... here.
25072 * sysdeps/i386/configure.in: Moved to ...
25073 * sysdeps/i386/configure.ac: ... here.
25074 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25075 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25076 * sysdeps/mach/configure.in: Moved to ...
25077 * sysdeps/mach/configure.ac: ... here.
25078 * sysdeps/mach/hurd/configure.in: Moved to ...
25079 * sysdeps/mach/hurd/configure.ac: ... here.
25080 * sysdeps/powerpc/configure.in: Moved to ...
25081 * sysdeps/powerpc/configure.ac: ... here.
25082 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25083 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25084 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25085 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25086 * sysdeps/s390/s390-32/configure.in: Moved to ...
25087 * sysdeps/s390/s390-32/configure.ac: ... here.
25088 * sysdeps/s390/s390-64/configure.in: Moved to ...
25089 * sysdeps/s390/s390-64/configure.ac: ... here.
25090 * sysdeps/sh/configure.in: Moved to ...
25091 * sysdeps/sh/configure.ac: ... here.
25092 * sysdeps/sparc/configure.in: Moved to ...
25093 * sysdeps/sparc/configure.ac: ... here.
25094 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25095 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25096 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25097 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25098 * sysdeps/x86_64/configure.in: Moved to ...
25099 * sysdeps/x86_64/configure.ac: ... here.
25100 * sysdeps/x86_64/preconfigure.in: Moved to ...
25101 * sysdeps/x86_64/preconfigure.ac: ... here.
25102 * aclocal.m4: Change reference to configure.in to configure.ac.
25103 * config.h.in: Likewise.
25104 * manual/install.texi: Likewise.
25105 * manual/maint.texi: Likewise.
25106 * Makefile: Likewise.
25107 * malloc/Makefile: Likewise.
25108 * nscd/Makefile: Likewise.
25109 * Makeconfig: Change reference to configure.in and
25110 preconfigure.in to configure.ac and preconfigure.ac
25112 * INSTALL: Regenerated.
25113 * configure: Likewise.
25114 * sysdeps/gnu/configure: Likewise.
25115 * sysdeps/i386/configure: Likewise.
25116 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25117 * sysdeps/mach/configure: Likewise.
25118 * sysdeps/mach/hurd/configure: Likewise.
25119 * sysdeps/powerpc/configure: Likewise.
25120 * sysdeps/powerpc/powerpc32/configure: Likewise.
25121 * sysdeps/powerpc/powerpc64/configure: Likewise.
25122 * sysdeps/s390/s390-32/configure: Likewise.
25123 * sysdeps/s390/s390-64/configure: Likewise.
25124 * sysdeps/sh/configure: Likewise.
25125 * sysdeps/sparc/configure: Likewise.
25126 * sysdeps/unix/sysv/linux/configure: Likewise.
25127 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25128 * sysdeps/x86_64/configure: Likewise.
25129 * sysdeps/x86_64/preconfigure: Likewise.
25131 2013-10-29 Andreas Schwab <schwab@suse.de>
25133 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25135 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25137 * benchtests/pow-inputs: Add new inputs.
25139 * benchtests/exp-inputs: Add new inputs.
25141 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25142 conditional check for return value.
25143 (__cos32): Likewise.
25145 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25147 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25148 to provide a boost for large inputs with word alignment.
25149 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25150 implementation based on optimized PPC64 strcpy.
25151 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25152 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25153 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25154 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25156 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25159 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25161 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25164 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25165 * time/tst-strptime.c (day_tests): Add testcase.
25167 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25170 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25172 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25175 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25176 MAP_FAILED on error.
25178 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25181 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25182 heap for large requests.
25184 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25187 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25188 result if the result has no associated interface.
25189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25190 interface for all 127.X.Y.Z addresses.
25192 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25194 * locale/iso-639.def: Add Ligurian (lij)
25196 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25199 * sunrpc/rpc_main.c: Document rpcgen -5.
25201 2013-10-19 Michael Stahl <mstahl@redhat.com>
25203 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25205 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25208 * posix/glob.c: Match only directories when trailing slash is present.
25209 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25210 (main): Add testcase.
25212 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25215 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25217 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25219 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25220 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25221 AUTH_DES and cindex for FIPS 140-2.
25222 (DES Encryption): Add cindex FIPS 46-3.
25224 * locale/locarchive.h (struct locarhandle): Add fname.
25225 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25226 if an optional argument was specified to --list-archive,
25228 * locale/programs/locarchive.c (show_archive_content): Take new
25229 argument fname and pass it via ah.fname to open_archive.
25230 * locale/programs/localedef.h: Update decl.
25231 (open_archive): If AH->fname is non-null, open that file
25232 rather than the default file name, and don't ignore ENOENT.
25233 (create_archive): Set AH.fname to NULL.
25234 (delete_locales_from_archive): Likewise.
25235 (add_locales_to_archive): Likewise.
25236 * locale/programs/locfile.c (write_all_categories): Likewise.
25238 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25239 Aldy Hernandez <aldyh@redhat.com>
25241 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25242 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25243 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25244 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25245 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25246 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25247 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25248 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25249 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25250 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25251 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25252 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25253 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25254 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25255 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25257 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25259 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25263 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25264 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25266 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25267 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25268 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25269 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25271 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25272 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25273 * sysdeps/powerpc/preconfigure: Likewise.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25276 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25277 Replace contents of file by #include of <fenv_libc.h>.
25278 * sysdeps/powerpc/soft-fp/sfp-machine.h
25279 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25281 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25282 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25294 Allow copysignl PLT reference to be missing.
25296 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25297 Joseph Myers <joseph@codesourcery.com
25300 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25302 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25304 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25306 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25307 * elf/tst-tls1.c: Likewise.
25308 * elf/tst-tls10.h: Likewise.
25309 * elf/tst-tls14.c: Likewise.
25310 * elf/tst-tls2.c: Likewise.
25311 * elf/tst-tls3.c: Likewise.
25312 * elf/tst-tls4.c: Likewise.
25313 * elf/tst-tls5.c: Likewise.
25314 * elf/tst-tls6.c: Likewise.
25315 * elf/tst-tls7.c: Likewise.
25316 * elf/tst-tls8.c: Likewise.
25317 * elf/tst-tls9.c: Likewise.
25318 * elf/tst-tlsmod1.c: Likewise.
25319 * elf/tst-tlsmod13.c: Likewise.
25320 * elf/tst-tlsmod13a.c: Likewise.
25321 * elf/tst-tlsmod14a.c: Likewise.
25322 * elf/tst-tlsmod16a.c: Likewise.
25323 * elf/tst-tlsmod16b.c: Likewise.
25324 * elf/tst-tlsmod2.c: Likewise.
25325 * elf/tst-tlsmod3.c: Likewise.
25326 * elf/tst-tlsmod4.c: Likewise.
25327 * elf/tst-tlsmod5.c: Likewise.
25328 * elf/tst-tlsmod6.c: Likewise.
25330 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25333 * malloc/malloc.c: remove checks for statistics.
25335 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25338 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25339 * inet/tst-network.c: Add testcase.
25341 2013-10-17 Andreas Schwab <schwab@suse.de>
25344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25345 to determine canonical name.
25347 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25349 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25350 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25373 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25379 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25408 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25411 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25412 make result into a quiet NaN.
25414 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25416 * soft-fp/adddf3.c: Fix horizontal whitespace.
25417 * soft-fp/addsf3.c: Likewise.
25418 * soft-fp/addtf3.c: Likewise.
25419 * soft-fp/divdf3.c: Likewise.
25420 * soft-fp/divsf3.c: Likewise.
25421 * soft-fp/divtf3.c: Likewise.
25422 * soft-fp/double.h: Likewise.
25423 * soft-fp/eqdf2.c: Likewise.
25424 * soft-fp/eqsf2.c: Likewise.
25425 * soft-fp/eqtf2.c: Likewise.
25426 * soft-fp/extenddftf2.c: Likewise.
25427 * soft-fp/extended.h: Likewise.
25428 * soft-fp/extendsfdf2.c: Likewise.
25429 * soft-fp/extendsftf2.c: Likewise.
25430 * soft-fp/extendxftf2.c: Likewise.
25431 * soft-fp/fixdfdi.c: Likewise.
25432 * soft-fp/fixdfsi.c: Likewise.
25433 * soft-fp/fixdfti.c: Likewise.
25434 * soft-fp/fixsfdi.c: Likewise.
25435 * soft-fp/fixsfsi.c: Likewise.
25436 * soft-fp/fixsfti.c: Likewise.
25437 * soft-fp/fixtfdi.c: Likewise.
25438 * soft-fp/fixtfsi.c: Likewise.
25439 * soft-fp/fixtfti.c: Likewise.
25440 * soft-fp/fixunsdfdi.c: Likewise.
25441 * soft-fp/fixunsdfsi.c: Likewise.
25442 * soft-fp/fixunsdfti.c: Likewise.
25443 * soft-fp/fixunssfdi.c: Likewise.
25444 * soft-fp/fixunssfsi.c: Likewise.
25445 * soft-fp/fixunssfti.c: Likewise.
25446 * soft-fp/fixunstfdi.c: Likewise.
25447 * soft-fp/fixunstfsi.c: Likewise.
25448 * soft-fp/fixunstfti.c: Likewise.
25449 * soft-fp/floatdidf.c: Likewise.
25450 * soft-fp/floatdisf.c: Likewise.
25451 * soft-fp/floatditf.c: Likewise.
25452 * soft-fp/floatsidf.c: Likewise.
25453 * soft-fp/floatsisf.c: Likewise.
25454 * soft-fp/floatsitf.c: Likewise.
25455 * soft-fp/floattidf.c: Likewise.
25456 * soft-fp/floattisf.c: Likewise.
25457 * soft-fp/floattitf.c: Likewise.
25458 * soft-fp/floatundidf.c: Likewise.
25459 * soft-fp/floatundisf.c: Likewise.
25460 * soft-fp/floatunditf.c: Likewise.
25461 * soft-fp/floatunsidf.c: Likewise.
25462 * soft-fp/floatunsisf.c: Likewise.
25463 * soft-fp/floatunsitf.c: Likewise.
25464 * soft-fp/floatuntidf.c: Likewise.
25465 * soft-fp/floatuntisf.c: Likewise.
25466 * soft-fp/floatuntitf.c: Likewise.
25467 * soft-fp/fmadf4.c: Likewise.
25468 * soft-fp/fmasf4.c: Likewise.
25469 * soft-fp/fmatf4.c: Likewise.
25470 * soft-fp/gedf2.c: Likewise.
25471 * soft-fp/gesf2.c: Likewise.
25472 * soft-fp/getf2.c: Likewise.
25473 * soft-fp/ledf2.c: Likewise.
25474 * soft-fp/lesf2.c: Likewise.
25475 * soft-fp/letf2.c: Likewise.
25476 * soft-fp/muldf3.c: Likewise.
25477 * soft-fp/mulsf3.c: Likewise.
25478 * soft-fp/multf3.c: Likewise.
25479 * soft-fp/negdf2.c: Likewise.
25480 * soft-fp/negsf2.c: Likewise.
25481 * soft-fp/negtf2.c: Likewise.
25482 * soft-fp/op-1.h: Likewise.
25483 * soft-fp/op-2.h: Likewise.
25484 * soft-fp/op-4.h: Likewise.
25485 * soft-fp/op-8.h: Likewise.
25486 * soft-fp/op-common.h: Likewise.
25487 * soft-fp/quad.h: Likewise.
25488 * soft-fp/single.h: Likewise.
25489 * soft-fp/soft-fp.h: Likewise.
25490 * soft-fp/sqrtdf2.c: Likewise.
25491 * soft-fp/sqrtsf2.c: Likewise.
25492 * soft-fp/sqrttf2.c: Likewise.
25493 * soft-fp/subdf3.c: Likewise.
25494 * soft-fp/subsf3.c: Likewise.
25495 * soft-fp/subtf3.c: Likewise.
25496 * soft-fp/truncdfsf2.c: Likewise.
25497 * soft-fp/trunctfdf2.c: Likewise.
25498 * soft-fp/trunctfsf2.c: Likewise.
25499 * soft-fp/trunctfxf2.c: Likewise.
25500 * soft-fp/unorddf2.c: Likewise.
25501 * soft-fp/unordsf2.c: Likewise.
25502 * soft-fp/unordtf2.c: Likewise.
25504 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25506 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25507 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25509 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25511 * elf/dl-libc.c: Clear initfini list after freeing.
25513 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25515 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25516 * soft-fp/addsf3.c: Likewise.
25517 * soft-fp/addtf3.c: Likewise.
25518 * soft-fp/divdf3.c: Likewise.
25519 * soft-fp/divsf3.c: Likewise.
25520 * soft-fp/divtf3.c: Likewise.
25521 * soft-fp/double.h: Likewise.
25522 * soft-fp/eqdf2.c: Likewise.
25523 * soft-fp/eqsf2.c: Likewise.
25524 * soft-fp/eqtf2.c: Likewise.
25525 * soft-fp/extenddftf2.c: Likewise.
25526 * soft-fp/extended.h: Likewise.
25527 * soft-fp/extendsfdf2.c: Likewise.
25528 * soft-fp/extendsftf2.c: Likewise.
25529 * soft-fp/extendxftf2.c: Likewise.
25530 * soft-fp/fixdfdi.c: Likewise.
25531 * soft-fp/fixdfsi.c: Likewise.
25532 * soft-fp/fixdfti.c: Likewise.
25533 * soft-fp/fixsfdi.c: Likewise.
25534 * soft-fp/fixsfsi.c: Likewise.
25535 * soft-fp/fixsfti.c: Likewise.
25536 * soft-fp/fixtfdi.c: Likewise.
25537 * soft-fp/fixtfsi.c: Likewise.
25538 * soft-fp/fixtfti.c: Likewise.
25539 * soft-fp/fixunsdfdi.c: Likewise.
25540 * soft-fp/fixunsdfsi.c: Likewise.
25541 * soft-fp/fixunsdfti.c: Likewise.
25542 * soft-fp/fixunssfdi.c: Likewise.
25543 * soft-fp/fixunssfsi.c: Likewise.
25544 * soft-fp/fixunssfti.c: Likewise.
25545 * soft-fp/fixunstfdi.c: Likewise.
25546 * soft-fp/fixunstfsi.c: Likewise.
25547 * soft-fp/fixunstfti.c: Likewise.
25548 * soft-fp/floatdidf.c: Likewise.
25549 * soft-fp/floatdisf.c: Likewise.
25550 * soft-fp/floatditf.c: Likewise.
25551 * soft-fp/floatsidf.c: Likewise.
25552 * soft-fp/floatsisf.c: Likewise.
25553 * soft-fp/floatsitf.c: Likewise.
25554 * soft-fp/floattidf.c: Likewise.
25555 * soft-fp/floattisf.c: Likewise.
25556 * soft-fp/floattitf.c: Likewise.
25557 * soft-fp/floatundidf.c: Likewise.
25558 * soft-fp/floatundisf.c: Likewise.
25559 * soft-fp/floatunsidf.c: Likewise.
25560 * soft-fp/floatunsisf.c: Likewise.
25561 * soft-fp/floatuntidf.c: Likewise.
25562 * soft-fp/floatuntisf.c: Likewise.
25563 * soft-fp/floatuntitf.c: Likewise.
25564 * soft-fp/fmadf4.c: Likewise.
25565 * soft-fp/fmasf4.c: Likewise.
25566 * soft-fp/fmatf4.c: Likewise.
25567 * soft-fp/gedf2.c: Likewise.
25568 * soft-fp/gesf2.c: Likewise.
25569 * soft-fp/getf2.c: Likewise.
25570 * soft-fp/ledf2.c: Likewise.
25571 * soft-fp/lesf2.c: Likewise.
25572 * soft-fp/letf2.c: Likewise.
25573 * soft-fp/muldf3.c: Likewise.
25574 * soft-fp/mulsf3.c: Likewise.
25575 * soft-fp/multf3.c: Likewise.
25576 * soft-fp/negdf2.c: Likewise.
25577 * soft-fp/negsf2.c: Likewise.
25578 * soft-fp/negtf2.c: Likewise.
25579 * soft-fp/op-1.h: Likewise.
25580 * soft-fp/op-2.h: Likewise.
25581 * soft-fp/op-4.h: Likewise.
25582 * soft-fp/op-8.h: Likewise.
25583 * soft-fp/op-common.h: Likewise.
25584 * soft-fp/quad.h: Likewise.
25585 * soft-fp/single.h: Likewise.
25586 * soft-fp/soft-fp.h: Likewise.
25587 * soft-fp/sqrtdf2.c: Likewise.
25588 * soft-fp/sqrtsf2.c: Likewise.
25589 * soft-fp/sqrttf2.c: Likewise.
25590 * soft-fp/subdf3.c: Likewise.
25591 * soft-fp/subsf3.c: Likewise.
25592 * soft-fp/subtf3.c: Likewise.
25593 * soft-fp/truncdfsf2.c: Likewise.
25594 * soft-fp/trunctfdf2.c: Likewise.
25595 * soft-fp/trunctfsf2.c: Likewise.
25596 * soft-fp/trunctfxf2.c: Likewise.
25597 * soft-fp/unorddf2.c: Likewise.
25598 * soft-fp/unordsf2.c: Likewise.
25599 * soft-fp/unordtf2.c: Likewise.
25601 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
25604 * misc/error.c (error_tail): Fix possible buffer overflow.
25606 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25609 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25612 2013-10-14 P. J. McDermott <pj@pehjota.net>
25615 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25616 testing pipefail option.
25618 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25620 * soft-fp/double.h: Indent preprocessor directives inside #if.
25621 * soft-fp/extended.h: Likewise.
25622 * soft-fp/op-2.h: Likewise.
25623 * soft-fp/op-4.h: Likewise.
25624 * soft-fp/op-common.h: Likewise.
25625 * soft-fp/quad.h: Likewise.
25626 * soft-fp/single.h: Likewise.
25627 * soft-fp/soft-fp.h: Likewise.
25629 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25631 * iconv/iconv_prog.c: Fix typos.
25632 * stdio-common/psiginfo-data.h: Likewise.
25634 2013-10-12 Reuben Thomas <rrt@sc3d.org>
25637 * locale/setlocale.c: Fix typo.
25639 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25642 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25643 signaling NaN arguments.
25644 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25645 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25648 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25649 unordered operands.
25650 * soft-fp/gesf2.c (__gesf2): Likewise.
25651 * soft-fp/getf2.c (__getf2): Likewise.
25652 * soft-fp/ledf2.c (__ledf2): Likewise.
25653 * soft-fp/lesf2.c (__lesf2): Likewise.
25654 * soft-fp/letf2.c (__letf2): Likewise.
25656 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25657 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25658 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25659 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25660 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25661 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25662 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25663 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25664 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25665 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25666 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25667 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25668 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25669 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25670 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25671 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25672 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25673 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25674 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25675 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25676 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25677 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25678 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25679 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25680 * soft-fp/floattidf.c (__floattidf): Likewise.
25681 * soft-fp/floattisf.c (__floattisf): Likewise.
25682 * soft-fp/floattitf.c (__floattitf): Likewise.
25683 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25684 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25685 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25686 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25687 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25688 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25689 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25690 * soft-fp/gesf2.c (__gesf2): Likewise.
25691 * soft-fp/getf2.c (__getf2): Likewise.
25692 * soft-fp/ledf2.c (__ledf2): Likewise.
25693 * soft-fp/lesf2.c (__lesf2): Likewise.
25694 * soft-fp/letf2.c (__letf2): Likewise.
25696 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25697 Undefine and redefine.
25698 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25699 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25700 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25701 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25702 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25703 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25704 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25705 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25706 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25707 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25708 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25709 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25710 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25711 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25712 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25715 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25716 without decrementing exponent if mantissa >= that for the
25717 denominator, not >.
25718 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25719 denominator, not >. Decrement exponent in < case instead of
25720 incrementing in >= case.
25721 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25722 without decrementing exponent if mantissa >= that for the
25723 denominator, not >.
25725 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25726 computing saturated result for unsigned overflow.
25728 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25729 Jeff Law <law@redhat.com>
25731 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25732 (atan2Mp): Add systemtap probe marker.
25733 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25734 (__ieee754_log): Add systemtap probe marker.
25735 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25736 (atanMp): Add systemtap probe marker.
25737 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25738 (tanMp): Add systemtap probe marker.
25739 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25740 (__slowexp): Add systemtap probe marker.
25741 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25742 (__slowpow): Add systemtap probe marker.
25743 * manual/probes.texi: Document probes.
25745 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
25748 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25750 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25752 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25753 written to buffer but not flushed.
25754 * libio/iofwrite_u.c: Likewise.
25755 * libio/iopadn.c: Return bytes returned even if EOF was
25757 * libio/iowpadn.c: Likewise.
25758 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25759 if _IO_padn does not write the whole buffer.
25760 [!COMPILE_WPRINTF] (PAD): Likewise.
25762 2013-10-10 David S. Miller <davem@davemloft.net>
25764 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25767 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25769 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25770 instead of FSF address.
25771 * soft-fp/fixdfti.c: Likewise.
25772 * soft-fp/fixsfti.c: Likewise.
25773 * soft-fp/fixtfti.c: Likewise.
25774 * soft-fp/fixunsdfti.c: Likewise.
25775 * soft-fp/fixunssfti.c: Likewise.
25776 * soft-fp/fixunstfti.c: Likewise.
25777 * soft-fp/floattidf.c: Likewise.
25778 * soft-fp/floattisf.c: Likewise.
25779 * soft-fp/floattitf.c: Likewise.
25780 * soft-fp/floatuntidf.c: Likewise.
25781 * soft-fp/floatuntisf.c: Likewise.
25782 * soft-fp/floatuntitf.c: Likewise.
25783 * soft-fp/trunctfxf2.c: Likewise.
25785 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25786 * soft-fp/fixdfti.c: Likewise.
25787 * soft-fp/fixsfti.c: Likewise.
25788 * soft-fp/fixtfti.c: Likewise.
25789 * soft-fp/fixunsdfti.c: Likewise.
25790 * soft-fp/fixunssfti.c: Likewise.
25791 * soft-fp/fixunstfti.c: Likewise.
25792 * soft-fp/floattidf.c: Likewise.
25793 * soft-fp/floattisf.c: Likewise.
25794 * soft-fp/floattitf.c: Likewise.
25795 * soft-fp/floatuntidf.c: Likewise.
25796 * soft-fp/floatuntisf.c: Likewise.
25797 * soft-fp/floatuntitf.c: Likewise.
25798 * soft-fp/trunctfxf2.c: Likewise.
25800 2013-10-10 David S. Miller <davem@davemloft.net>
25802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25804 2013-10-10 Joseph Myers <joseph@codsourcery.com>
25806 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25807 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25808 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25809 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25810 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25811 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25812 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25815 for NaNs before doing comparisons on argument.
25816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25819 2013-10-10 Will Newton <will.newton@linaro.org>
25821 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25822 passed to _int_memalign does not overflow.
25824 2013-10-10 Torvald Riegel <triegel@redhat.com>
25826 * scripts/bench.pl: Add include-sources directive.
25827 * benchtests/README: Update documentation.
25829 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25831 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25832 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25833 instead of FP_INIT_ROUNDMODE.
25834 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25835 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25838 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25839 copy class of input value.
25840 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25841 not handle exceptions.
25842 * soft-fp/negsf2.c (__negsf2): Likewise.
25843 * soft-fp/negtf2.c (__negtf2): Likewise.
25844 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25846 2013-10-09 Joseph Myers <joseph@codesourcery.com>
25848 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25849 semicolon. From Linux kernel.
25851 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25853 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25855 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25858 * manual/socket.texi: Added statement about buffer
25859 for gethostbyname2_r.
25861 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
25863 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25864 Use .p2align directive instead, throughout.
25865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25866 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25867 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25870 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25871 * sysdeps/x86_64/strchr.S: Likewise.
25872 * sysdeps/x86_64/strrchr.S: Likewise.
25874 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25876 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25878 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25880 * sysdeps/generic/math_private.h (__mpsin1): Remove
25882 (__mpcos1): Likewise.
25883 (__mpsin): New argument __range_reduce.
25884 (__mpcos): Likewise.
25885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25886 (slow): Use __mpsin and __mpcos.
25890 (sloww1): Likewise.
25891 (sloww2): Likewise.
25892 (bsloww): Likewise.
25893 (bsloww1): Likewise.
25894 (bsloww2): Likewise.
25895 (cslow2): Likewise.
25896 (csloww): Likewise.
25897 (csloww1): Likewise.
25898 (csloww2): Likewise.
25899 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25900 range_reduce. Merge in __mpsin1.
25901 (__mpcos): Likewise.
25902 (__mpsin1): Remove.
25903 (__mpcos1): Likewise.
25905 2013-10-07 Joseph Myers <joseph@codesourcery.com>
25907 * locale/loadlocale.c (_nl_intern_locale_data): Use
25909 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25910 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25911 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25912 obstack data is appropriately aligned.
25913 (obstack_int32_grow_fast): Likewise.
25914 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25915 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25916 (add_locale_uint32_array): Likewise.
25918 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25920 * benchtests/Makefile: Remove ARGLIST and RET variables.
25921 ($(objpfx)bench-%.c): Pass only function name to the script.
25922 * benchtests/README: Update documentation.
25923 * benchtests/acos-inputs: Add new directives.
25924 * benchtests/acosh-inputs: Likewise.
25925 * benchtests/asin-inputs: Likewise.
25926 * benchtests/asinh-inputs: Likewise.
25927 * benchtests/atan-inputs: Likewise.
25928 * benchtests/atanh-inputs: Likewise.
25929 * benchtests/cos-inputs: Likewise.
25930 * benchtests/cosh-inputs: Likewise.
25931 * benchtests/exp-inputs: Likewise.
25932 * benchtests/log-inputs: Likewise.
25933 * benchtests/pow-inputs: Likewise.
25934 * benchtests/rint-inputs: Likewise.
25935 * benchtests/sin-inputs: Likewise.
25936 * benchtests/sinh-inputs: Likewise.
25937 * benchtests/tan-inputs: Likewise.
25938 * benchtests/tanh-inputs: Likewise.
25939 * scripts/bench.pl: Add support for new directives.
25941 2013-10-07 Alan Modra <amodra@gmail.com>
25943 * README: Fix careless merge.
25945 2013-10-05 Alan Modra <amodra@gmail.com>
25947 * NEWS: Mention powerpc64le support and bugs fixed.
25948 * README: Both big-endian and little-endian powerpc64 supported.
25950 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25952 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25953 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25954 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25955 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25957 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25959 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25962 2013-10-04 Joseph Myers <joseph@codesourcery.com>
25964 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25965 Move -mhard-float appending from
25966 ports/sysdeps/powerpc/powerpc32/Makefile.
25967 [$(with-fp) = yes] (ASFLAGS): Likewise.
25968 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25969 * sysdeps/powerpc/nofpu: Move directory from
25970 ports/sysdeps/powerpc/nofpu.
25971 * sysdeps/powerpc/soft-fp: Move directory from
25972 ports/sysdeps/powerpc/soft-fp.
25973 * sysdeps/powerpc/powerpc32/405: Move directory from
25974 ports/sysdeps/powerpc/powerpc32/405.
25975 * sysdeps/powerpc/powerpc32/440: Move directory from
25976 ports/sysdeps/powerpc/powerpc32/440.
25977 * sysdeps/powerpc/powerpc32/464: Move directory from
25978 ports/sysdeps/powerpc/powerpc32/464.
25979 * sysdeps/powerpc/powerpc32/476: Move directory from
25980 ports/sysdeps/powerpc/powerpc32/476.
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25982 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25984 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25986 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25991 * README: Update for powerpc-*-linux-gnu software floating point
25994 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25995 case to powerpc/powerpc32*.
25996 * sysdeps/unix/sysv/linux/configure: Regenerated.
25998 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25999 (_FPU_MASK_OM): Define as 0x04.
26000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26008 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26011 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26014 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26015 and setcontext_e500.
26017 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26019 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26021 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26023 * manual/threads.texi (Default Thread Attributes): Fix typo.
26025 2013-10-04 Will Newton <will.newton@linaro.org>
26027 * malloc/Makefile: Add tst-memalign.
26028 * malloc/tst-memalign.c: New file.
26030 * malloc/tst-posix_memalign.c: Add comments.
26031 (do_test): Add comments and call free on all potentially
26032 allocated pointers. Add space after cast.
26034 * malloc/tst-pvalloc.c: Add comments.
26035 (do_test): Add comments and call free on all potentially
26036 allocated pointers. Remove duplicate check for NULL pointer.
26037 Add space after cast.
26039 * malloc/tst-valloc.c: Add comments.
26040 (do_test): Add comments and call free on all potentially
26041 allocated pointers. Remove duplicate check for NULL pointer.
26042 Add space after cast.
26044 2013-10-04 Alan Modra <amodra@gmail.com>
26046 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26047 Use stdint types in rather than __attribute__((mode())).
26048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26050 2013-10-04 Alan Modra <amodra@gmail.com>
26052 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26053 Correct handling of unaligned relocs for little-endian.
26054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26056 2013-10-04 Alan Modra <amodra@gmail.com>
26058 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26059 * configure: Regenerate.
26060 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26061 * shlib-versions: Likewise.
26063 2013-10-04 Alan Modra <amodra@gmail.com>
26065 * string/tester.c (test_memrchr): Increment reported test cycle.
26067 2013-10-04 Alan Modra <amodra@gmail.com>
26069 * string/test-memcpy.c (do_one_test): When reporting errors, print
26070 string address and don't overrun end of string.
26072 2013-10-04 Alan Modra <amodra@gmail.com>
26074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26075 insrdi. Make better use of reg selection to speed exit slightly.
26076 Schedule entry path a little better. Remove useless "are we done"
26077 checks on entry to main loop. Handle wrapping around zero address.
26078 Correct main loop count. Handle single left-over word from main
26079 loop inline rather than by using loop_small. Remove extra word
26080 case in loop_small caused by wrong loop count. Add little-endian
26082 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26087 support. Avoid rlwimi.
26088 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26090 2013-10-04 Alan Modra <amodra@gmail.com>
26092 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26093 insrdi. Formatting.
26094 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26095 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26096 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26098 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26099 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26101 2013-10-04 Alan Modra <amodra@gmail.com>
26103 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26104 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26106 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26107 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26109 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26112 use of regs. Use power7 mtocrf. Tidy function tails.
26114 2013-10-04 Alan Modra <amodra@gmail.com>
26116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26117 Formatting. Consistently use rXXX register defines or rN defines.
26118 Use early exit labels that avoid restoring unused non-volatile regs.
26119 Make cr field use more consistent with rWORDn compares. Rename
26120 regs used as shift registers for unaligned loop, using rN defines
26121 for short lifetime/multiple use regs.
26122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26123 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26124 addi 1,1,64 to pop stack frame. Simplify return value code.
26125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26127 2013-10-04 Alan Modra <amodra@gmail.com>
26129 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26130 support. Correct typos, formatting. Optimize tail. Use insrdi
26131 rather than rlwimi.
26132 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26134 little-endian support. Correct typos.
26135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26136 rather than rlwimi.
26137 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26138 in loop and entry code to keep "and." results.
26139 (strchr): Add little-endian support. Comment. Move cntlzd
26141 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26143 2013-10-04 Alan Modra <amodra@gmail.com>
26145 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26146 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26148 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26150 2013-10-04 Alan Modra <amodra@gmail.com>
26152 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26153 (rTMP): Define as r11.
26154 (strcmp): Add little-endian support. Optimise tail.
26155 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26156 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26157 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26163 2013-10-04 Alan Modra <amodra@gmail.com>
26165 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26166 little-endian support. Remove unnecessary "are we done" tests.
26167 Handle "s" wrapping around zero and extremely large "size".
26168 Correct main loop count. Handle single left-over word from main
26169 loop inline rather than by using small_loop. Correct comments.
26170 Delete "zero" tail, use "end_max" instead.
26171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26173 2013-10-04 Alan Modra <amodra@gmail.com>
26175 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26176 support. Don't branch over align.
26177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26179 support. Rearrange tmp reg use to suit. Comment.
26180 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26182 2013-10-04 Alan Modra <amodra@gmail.com>
26184 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26186 2013-10-04 Alan Modra <amodra@gmail.com>
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26189 conditional form of branch and link when obtaining pc.
26190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26192 2013-10-04 Alan Modra <amodra@gmail.com>
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26199 2013-10-04 Alan Modra <amodra@gmail.com>
26201 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26202 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26203 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26204 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26205 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26206 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26207 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26208 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26209 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26210 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26212 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26213 Alistair Popple <alistair@ozlabs.au.ibm.com>
26214 Alan Modra <amodra@gmail.com>
26217 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26218 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26219 _dl_hwcap access for little-endian.
26220 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26221 destroy vmx regs when saving unaligned.
26222 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26224 destroy vmx regs when saving unaligned.
26226 2013-10-04 Alan Modra <amodra@gmail.com>
26228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26229 Don't use a union to pack hi/low value.
26231 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26233 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26235 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26237 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26238 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26239 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26241 2013-10-04 Alan Modra <amodra@gmail.com>
26243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26244 constants to usual value for .cst8 section, and remove redundant
26246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26247 constant for 0x1p52. Load little-endian words of double from
26248 correct stack offsets.
26250 2013-10-04 Alan Modra <amodra@gmail.com>
26252 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26253 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26254 words of double from correct stack offsets.
26255 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26256 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26257 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26258 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26262 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26267 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26268 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26269 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26271 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26273 2013-10-04 Alan Modra <amodra@gmail.com>
26275 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26276 64-bit int/double union.
26277 (_FPU_SETCW): Likewise.
26278 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26279 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26281 2013-10-04 Alan Modra <amodra@gmail.com>
26283 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26284 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26286 2013-10-04 Alan Modra <amodra@gmail.com>
26288 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26289 use vector int constants.
26290 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26292 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26294 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26295 array with long long.
26296 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26297 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26298 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26299 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26300 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26301 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26302 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26303 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26304 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26305 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26306 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26307 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26308 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26310 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26312 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26313 (__signbit): Likewise. Correct for little-endian.
26314 (__signbitl): Call __signbit.
26315 (lrint): Correct for little-endian.
26316 (lrintf): Call lrint.
26318 2013-10-04 Alan Modra <amodra@gmail.com>
26320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26321 union 32-bit int array member with 64-bit int array.
26322 (t515, tm256): Double rather than long double.
26323 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26325 2013-10-04 Alan Modra <amodra@gmail.com>
26327 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26329 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26331 version of math_ldbl.h.
26333 2013-10-04 Alan Modra <amodra@gmail.com>
26335 [BZ #15734], [BZ #15735]
26336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26337 all uses of ieee875 long double macros and unions. Simplify test
26338 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26339 ldbl_extract_mantissa value for ix,iy exponents. Properly
26340 normalize after ldbl_extract_mantissa, and don't add hidden bit
26341 already handled. Don't treat low word of ieee854 mantissa like
26342 low word of IBM long double and mask off bit when testing for
26344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26345 all uses of ieee875 long double macros and unions. Simplify tests
26346 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26347 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26348 two1022, instead use their values. Recognise that tests for large
26349 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26350 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26351 Rewrite all uses of ieee875 long double macros and unions. Simplify
26352 test for 0.0L and nan. Correct negation.
26353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26354 ieee875 long double macros and unions. Correct output for large
26355 magnitude x. Correct absolute value calculation.
26356 (__erfcl): Likewise.
26357 * math/libm-test.inc: Add tests for errors discovered in IBM long
26358 double versions of fmodl, remainderl, erfl and erfcl.
26360 2013-10-04 Alan Modra <amodra@gmail.com>
26362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26363 all uses of ieee854 long double macros and unions. Simplify tests
26364 for long doubles that are fully specified by the high double.
26365 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26367 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26368 Remove dead code too.
26369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26370 (__ieee754_ynl): Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26374 Remove dead code too.
26375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26376 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26377 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26378 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26382 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26385 Comment on variable precision.
26386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26389 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26393 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26395 2013-10-04 Alan Modra <amodra@gmail.com>
26397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26399 all uses of ieee854 long double macros and unions.
26400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26413 Simplify sign and nan test too.
26414 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26419 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26423 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26426 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26429 2013-10-04 Alan Modra <amodra@gmail.com>
26431 * stdio-common/printf_size.c (__printf_size): Don't use
26432 union ieee854_long_double in fpnum union.
26433 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26434 signbit macro to retrieve sign from long double.
26435 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26436 retrieve sign from long double.
26437 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26438 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26439 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26440 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26441 * math/test-misc.c (main): Don't use union ieee854_long_double.
26443 2013-10-04 Alan Modra <amodra@gmail.com>
26446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26447 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26448 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26449 calculation. Remove unnecessary test for denormal exponent.
26450 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26451 Correct handling of denormals. Avoid undefined shift behaviour.
26452 Correct normalisation of low mantissa when low double is denormal.
26453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26454 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26455 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26456 Correct normalisation of low mantissa. Test for overflow of high
26457 mantissa and normalise.
26458 (ldbl_nearbyint): Use more readable constant for two52.
26459 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26460 (__mpn_construct_long_double): Fix test for overflow of high
26461 mantissa and correct normalisation. Avoid undefined shift.
26463 2013-10-04 Alan Modra <amodra@gmail.com>
26465 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26466 (union ibm_extended_long_double): Define as an array of ieee754_double.
26467 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26468 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26469 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26470 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26474 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26479 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26481 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26482 page size instead of calling getpagesize.
26484 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26485 (LOCFILE_ALIGN_MASK): Likewise.
26486 (LOCFILE_ALIGN_UP): Likewise.
26487 (LOCFILE_ALIGNED_P): Likewise.
26488 * locale/programs/ld-collate.c (collate_output): Use the new
26489 macros instead of __alignof__ (int32_t).
26490 * locale/weight.h (findidx): Likewise.
26492 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26495 * manual/string.texi: Fix strncat and wcsncat.
26497 2013-10-03 Brooks Moses <bmoses@google.com>
26500 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26501 * Makerules: ...here, and adjust associated comments.
26503 2013-10-02 Will Newton <will.newton@linaro.org>
26505 * malloc/Makefile: Add tst-pvalloc.
26506 * malloc/tst-pvalloc.c: New file.
26508 2013-10-02 Will Newton <will.newton@linaro.org>
26510 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26511 improve test coverage.
26513 2013-10-02 Will Newton <will.newton@linaro.org>
26515 * malloc/Makefile: Add tst-posix_memalign.
26516 * malloc/tst-posix_memalign.c: New file.
26518 2013-10-01 Eric Blake <eblake@redhat.com>
26520 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26521 Use __THROWNL rather than __THROW on static functions.
26523 2013-09-30 Petr Machata <pmachata@redhat.com>
26525 * elf/elf.h (R_AARCH64_ABS16): New macro.
26526 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26527 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26528 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26529 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26530 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26531 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26532 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26533 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26534 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26535 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26536 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26537 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26538 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26539 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26540 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26541 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26542 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26543 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26544 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26545 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26546 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26547 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26548 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26549 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26550 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26551 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26552 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26553 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26554 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26555 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26556 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26557 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26558 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26559 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26560 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26561 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26562 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26563 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26564 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26565 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26566 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26567 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26568 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26569 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26570 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26571 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26572 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26573 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26574 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26575 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26576 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26577 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26578 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26579 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26580 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26581 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26582 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26583 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26584 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26585 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26586 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26587 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26588 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26589 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26590 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26591 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26592 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26593 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26594 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26595 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26596 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26597 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26598 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26599 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26600 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26601 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26602 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26603 (R_AARCH64_TLSDESC_LDR): Likewise.
26604 (R_AARCH64_TLSDESC_ADD): Likewise.
26605 (R_AARCH64_TLSDESC_CALL): Likewise.
26607 2013-09-30 Andreas Schwab <schwab@suse.de>
26610 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26611 the nss database lookup.
26612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26615 2013-09-28 Mike Frysinger <vapier@gentoo.org>
26617 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26619 2013-09-28 P. J. McDermott <pj@pehjota.net>
26621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26622 ${Bash-specific parameter/pattern/string} parameter expansion.
26623 * sysdeps/unix/make-syscalls.sh: Likewise.
26625 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26627 * sysdeps/sh/stackguard-macros.h: New file.
26629 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
26631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26633 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26636 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26638 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26640 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26641 Fix thread ID register.
26643 2013-09-25 Joseph Myers <joseph@codesourcery.com>
26645 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26646 [POSIX || UNIX98]: Require rather than permitting all symbols from
26648 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26649 element of struct sched_param.
26650 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26651 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26652 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26653 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26656 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26658 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26659 argument calculation.
26661 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26663 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26665 [POSIX] (pthread_attr_t): Do not require type.
26666 [POSIX] (pthread_cond_t): Likewise.
26667 [POSIX] (pthread_condattr_t): Likewise.
26668 [POSIX] (pthread_key_t): Likewise.
26669 [POSIX] (pthread_mutex_t): Likewise.
26670 [POSIX] (pthread_mutexattr_t): Likewise.
26671 [POSIX] (pthread_once_t): Likewise.
26672 [POSIX] (pthread_t): Likewise.
26673 [POSIX-based standards] (pthread_atfork): Expect function.
26675 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26676 Richard Sandiford <richard@codesourcery.com>
26678 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26679 (swap_endianness_p): New extern variable.
26680 (set_big_endian): New inline function.
26681 (maybe_swap_uint32): Likewise.
26682 (maybe_swap_uint32_array): Likewise.
26683 (maybe_swap_uint32_obstack): Likewise.
26684 * locale/programs/locfile.c: Include <stdbool.h>.
26685 (swap_endianness_p): New variable.
26686 (add_locale_uint32): Call maybe_swap_uint32.
26687 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26688 (write_locale_data): Call maybe_swap_uint32_array.
26689 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26691 (obstack_int32_grow_fast): Likewise.
26692 (output_weightwc): Call maybe_swap_uint32_obstack.
26693 (collate_output): Likewise.
26694 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26695 (OPT_LITTLE_ENDIAN): Likewise.
26696 (options): Add --little-endian and --big-endian options.
26697 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26698 * locale/programs/locarchive.c: Include "locfile.h".
26702 (create_archive): Use the new macros to access fields of
26703 structures directly mapped from or written to locale archives.
26704 (oldlocrecentcmp): Likewise.
26705 (enlarge_archive): Likewise.
26706 (insert_name): Likewise.
26707 (add_alias): Likewise.
26708 (add_locale): Likewise.
26709 (delete_locales_from_archive): Likewise.
26710 (show_archive_content): Likewise.
26711 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26714 2013-09-24 Roland McGrath <roland@hack.frob.com>
26716 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26717 http://www.gnu.org/doc/freemanuals.texi.
26718 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26720 2013-09-24 Will Newton <will.newton@linaro.org>
26722 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26725 2013-09-23 Joseph Myers <joseph@codesourcery.com>
26727 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26730 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26732 * manual/threads.texi (POSIX Threads): Fix a typo.
26734 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26737 * string/tst-strcoll-overflow.c: New test case.
26738 * string/Makefile (xtests): Add tst-strcoll-overflow.
26739 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26740 cache if string sizes may cause integer overflow.
26743 * string/strcoll_l.c (coll_seq): New members rule, idx,
26744 save_idx and back_us.
26745 (get_next_seq_nocache): New function.
26746 (do_compare_nocache): New function.
26747 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26750 2013-09-23 Carlos O'Donell <carlos@redhat.com>
26753 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26754 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26755 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26758 * elf/Makefile (tests): Add tst-ptrguard1.
26759 (tests-static): Add tst-ptrguard1-static.
26760 (tst-ptrguard1-ARGS): Define.
26761 (tst-ptrguard1-static-ARGS): Define.
26762 * elf/tst-ptrguard1.c: New file.
26763 * elf/tst-ptrguard1-static.c: New file.
26764 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26765 * sysdeps/i386/stackguard-macros.h: Likewise.
26766 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26767 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26768 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26769 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26770 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26771 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26773 2013-09-23 Hector Marco <hecmargi@upv.es>
26774 Ismael Ripoll <iripoll@disca.upv.es>
26775 Carlos O'Donell <carlos@redhat.com>
26778 * sysdeps/generic/stackguard-macros.h: Define
26779 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26780 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26781 Define __pointer_chk_guard_local.
26782 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26783 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26785 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26788 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26790 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26792 * include/string.h (__ffs): Declare as hidden.
26793 * string/ffs.c (__ffs): Define as hidden.
26794 * sysdeps/i386/ffs.c (__ffs): Likewise.
26795 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26796 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26797 * sysdeps/s390/ffs.c (__ffs): Likewise.
26798 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26800 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
26802 * NEWS: Mention malloc probes.
26804 * malloc/arena.c (new_heap): New memory_heap_new probe.
26805 (grow_heap): New memory_heap_more probe.
26806 (shrink_heap): New memory_heap_less probe.
26807 (heap_trim): New memory_heap_free probe.
26808 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26809 (systrim): New memory_sbrk_less probe.
26810 * manual/probes.texi: Document them.
26812 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26813 * manual/probes.texi: Document it.
26815 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26816 (__libc_realloc): Add memory_realloc_retry probe.
26817 (__libc_memalign): Add memory_memalign_retry probe.
26818 (__libc_valloc): Add memory_valloc_retry probe.
26819 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26820 (__libc_calloc): Add memory_calloc_retry probe.
26821 * manual/probes.texi: Document them.
26823 * malloc/arena.c (get_free_list): Add probe
26824 memory_arena_reuse_free_list.
26825 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26826 and memory_arena_reuse.
26827 (arena_get2) [!PER_THREAD]: Likewise.
26828 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26829 memory_arena_reuse_realloc.
26830 * manual/probes.texi: Document them.
26832 * malloc/malloc.c (__libc_free): Add
26833 memory_mallopt_free_dyn_thresholds probe.
26834 (__libc_mallopt): Add multiple memory_mallopt probes.
26835 * manual/probes.texi: Document them.
26837 * malloc/malloc.c: Include stap-probe.h.
26838 (__libc_mallopt): Add memory_mallopt probe.
26839 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26840 * manual/probes.texi: New.
26841 * manual/Makefile (chapters): Add probes.
26842 * manual/threads.texi: Set next node.
26844 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
26846 [BZ #15963, #13985]
26847 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26848 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26849 Add `Chinese' to `nan' entry name.
26851 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26853 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26854 (POLYNOMIAL): Likewise.
26855 (TAYLOR_SINCOS): Likewise.
26856 (TAYLOR_SLOW): Likewise.
26857 (__sin): Use TAYLOR_SINCOS.
26859 (slow): Use TAYLOR_SLOW.
26861 (bsloww): Likewise.
26862 (csloww): Likewise.
26864 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26866 * stdlib/strtod_l.c: Fix buffer overrun.
26868 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26870 * benchtests/Makefile (bench): Add sincos.
26871 * benchtests/bench-sincos.c: New file.
26873 * math/libm-test.inc (cos_test_data): New test inputs.
26874 (sin_test_data): Likewise.
26876 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26882 (sloww1): Likewise.
26883 (sloww2): Likewise.
26884 (bsloww1): Likewise.
26885 (bsloww2): Likewise.
26886 (cslow2): Likewise.
26887 (csloww1): Likewise.
26888 (csloww2): Likewise.
26890 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26899 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26901 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26902 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26903 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26904 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26905 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26906 * elf/cache.c (print_entry): Handle the new cache flags.
26908 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26909 Aldy Hernandez <aldyh@redhat.com>
26911 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26912 Change condition to [_SOFT_FLOAT].
26913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26925 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26928 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26931 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26933 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26934 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26935 (__longjmp): Use LOAD_GP to load saved GPRs.
26936 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26937 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26938 (__sigsetjmp): Use SAVE_GP to save GPRs.
26940 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26941 Do not append -msoft-float.
26942 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26944 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26946 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26948 2013-09-17 Joseph Myers <joseph@codesourcery.com>
26951 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26952 (_FPU_GETCW): Use initial "__" on variable and field names but not
26953 on macro parameter name.
26954 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26955 parentheses around reference to macro parameter.
26957 2013-09-13 Richard Sandiford <richard@codesourcery.com>
26959 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26961 (ctype_startup): Use uint32_t in cast and sizeof for
26964 2013-09-11 Jia Liu <proljc@gmail.com>
26966 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26968 [__FreeBSD__]: Likewise.
26970 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
26972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26973 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26974 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26975 (strchr): Remove __strchr_sse42 ifunc selection.
26976 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26977 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26979 2013-09-11 Will Newton <will.newton@linaro.org>
26981 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26982 parameter to RES. Remove hardcoded 1000 value.
26983 * benchtests/bench-skeleton.c (main): Pass RES parameter
26984 to TIMING_INIT and multiply result by 1000.
26986 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26990 2013-09-11 Andreas Schwab <schwab@suse.de>
26992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26994 (O_TMPFILE) [__USE_GNU]: Define.
26995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26998 2013-09-11 Will Newton <will.newton@linaro.org>
27001 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27004 2013-09-11 Will Newton <will.newton@linaro.org>
27007 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27010 2013-09-11 Will Newton <will.newton@linaro.org>
27013 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27016 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27018 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27024 2013-09-10 Allan McRae <allan@archlinux.org>
27027 * manual/arith.texi (Parsing of Floats): Clarify
27031 * manual/install.texi (Running make install): Mention
27033 * INSTALL: Regenerated.
27035 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27037 * csu/init-first.c (_init): Remove the !SHARED condition around
27038 FPU control word initialization.
27039 * elf/dl-support.c (_dl_fpu_control): New variable.
27040 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27041 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27042 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27043 * math/test-fpucw-static.c: New file.
27044 * math/test-fpucw-ieee.c: New file.
27045 * math/test-fpucw-ieee-static.c: New file.
27046 * math/Makefile (tests): Add `test-fpucw-ieee' and
27048 (tests-static): New variable.
27049 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27051 [($(build-shared),yes)]
27052 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27054 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27057 2013-09-09 Allan McRae <allan@archlinux.org>
27060 * manual/string.texi (Collation Functions): Fix typo in
27062 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27065 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27068 * libio/memstream.c (open_memstream): Fix memory leak.
27069 * libio/wmemstream.c (open_wmemstream): Likewise.
27072 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27074 2013-09-09 Will Newton <will.newton@linaro.org>
27076 * malloc/Makefile: Add tst-realloc to tests.
27077 * malloc/tst-realloc.c: New file.
27079 2013-09-09 Allan McRae <allan@archlinux.org>
27082 * COPYING: Update from GNU website to fix FSF address.
27083 * COPYING.LIB: Likewise.
27085 2013-09-06 David S. Miller <davem@davemloft.net>
27087 * po/zh_TW.po: Update Chinese (traditional) translation from
27088 translation project.
27090 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27091 Joseph Myers <joseph@codesourcery.com>
27093 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27095 (obstack_chunk_alloc): New macro.
27096 (obstack_chunk_free): Likewise.
27097 (record_offset): New function.
27098 (init_locale_data): Likewise.
27099 (align_locale_data): Likewise.
27100 (add_locale_empty): Likewise.
27101 (add_locale_raw_data): Likewise.
27102 (add_locale_raw_obstack): Likewise.
27103 (add_locale_string): Likewise.
27104 (add_locale_wstring): Likewise.
27105 (add_locale_uint32): Likewise.
27106 (add_locale_uint32_array): Likewise.
27107 (add_locale_char): Likewise.
27108 (start_locale_structure): Likewise.
27109 (end_locale_structure): Likewise.
27110 (start_locale_prelude): Likewise.
27111 (end_locale_prelude): Likewise.
27112 (write_locale_data): Take locale_file structure rather than an
27114 * locale/programs/locfile.h: Include "obstack.h".
27115 (struct locale_file): Change to store locale file contents instead
27117 (init_locale_data): New prototype.
27118 (align_locale_data): Likewise.
27119 (add_locale_empty): Likewise.
27120 (add_locale_raw_data): Likewise.
27121 (add_locale_raw_obstack): Likewise.
27122 (add_locale_string): Likewise.
27123 (add_locale_wstring): Likewise.
27124 (add_locale_uint32): Likewise.
27125 (add_locale_uint32_array): Likewise.
27126 (add_locale_char): Likewise.
27127 (start_locale_structure): Likewise.
27128 (end_locale_structure): Likewise.
27129 (start_locale_prelude): Likewise.
27130 (end_locale_prelude): Likewise.
27131 (write_locale_data): Update prototype.
27132 * locale/programs/3level.h (struct TABLE): Remove result field.
27133 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27134 Use new locale_file interface.
27135 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27136 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27137 * locale/programs/ld-address.c (address_output): Use new
27138 locale_file interface.
27139 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27141 (collate_finish): Don't call collseq_table_finalize.
27142 (collate_output): Use new locale_file interface.
27143 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27145 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27146 (TABLE): Move defines earlier in file.
27147 (ELEMENT): Likewise.
27148 (DEFAULT): Likewise.
27149 (wctrans_table_add): Move macro and inline function earlier in
27151 (struct wctype_table): Move type earlier in file.
27152 (add_locale_wctype_table): New static prototype.
27153 (struct locale_ctype_t): Use logical types instead of struct iovec
27154 pointers for members.
27155 (ctype_output): Use new locale_file interface.
27156 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27157 new locale_file interface.
27158 (allocate_arrays): Update for use of new locale_file interface.
27159 * locale/programs/ld-identification.c (identification_output): Use
27160 new locale_file interface.
27161 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27162 * locale/programs/ld-messages.c (messages_output): Likewise.
27163 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27164 * locale/programs/ld-name.c (name_output): Likewise.
27165 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27166 * locale/programs/ld-paper.c (paper_output): Likewise.
27167 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27168 * locale/programs/ld-time.c (time_output): Likewise.
27170 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27172 * benchtests/Makefile: Add memrchr benchmark.
27173 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27174 benchmark as memrchr.
27175 * benchtests/bench-memrchr-ifunc.c: New file.
27176 * benchtests/bench-memrchr.c: New file.
27178 2013-09-06 Will Newton <will.newton@linaro.org>
27180 * benchtests/Makefile (string-bench): Add memcpy.
27182 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27183 Cong Wang <amwang@redhat.com>
27186 * sysdeps/unix/sysv/linux/bits/in.h
27187 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27188 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27189 before __USE_KERNEL_IPV6_DEFS uses.
27190 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27192 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27193 sockaddr_in6, or ipv6_mreq.
27195 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27197 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27198 memory access for final bytes in some large inputs.
27199 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27201 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27203 * string/test-memrchr.c: New file.
27204 * string/test-memrchr-ifunc.c: New file.
27205 * string/Makefile: Add new memrchr testcase.
27207 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27209 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27210 fanotify_init returns EPERM.
27212 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27214 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27216 (top level): Treat second token from macro or constant entries for
27217 allowed headers as allowed.
27218 * include/complex.h: Condition internal declarations on
27220 * include/fenv.h: Condition include of <stdbool.h> and internal
27221 declarations on [!_ISOMAC].
27223 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27226 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27228 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27230 * configure.in (--enable-versioning): Remove configure option.
27231 (libc_cv_asm_symver_directive): Remove configure test.
27232 (libc_cv_ld_version_script_option): Likewise.
27233 (VERSIONING): Remove variable and AC_SUBST.
27234 (DO_VERSIONING): Remove AC_DEFINE.
27235 * configure: Regenerated.
27236 * config.h.in (DO_VERSIONING): Remove macro.
27237 * Makerules [$(versioning) = yes]: Change conditionals to
27238 [$(build-shared) = yes].
27239 * config.make.in (versioning): Remove variable.
27240 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27241 [$(build-shared) = yes].
27242 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27243 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27244 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27245 [$(build-shared) = yes].
27246 * extra-lib.mk [$(versioning) = yes]: Likewise.
27247 * hurd/Makefile [$(versioning) = yes]: Likewise.
27248 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27250 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27252 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27253 [SHARED && !NO_HIDDEN].
27254 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27256 [SHARED && DO_VERSIONING]: Likewise..
27257 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27258 [$(build-shared) = yes].
27259 * manual/install.texi (--disable-versioning): Remove
27261 * INSTALL: Regenerated.
27262 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27264 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27265 [$(build-shared) = yes].
27266 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27267 * sysdeps/i386/i686/multiarch/strstr-c.c
27268 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27269 [SHARED && !NO_HIDDEN].
27270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27271 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27272 * sysdeps/powerpc/powerpc32/dl-machine.c
27273 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27274 * sysdeps/powerpc/powerpc32/sysdep.h
27275 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27276 to [SHARED && PIC && !NO_HIDDEN].
27277 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27278 conditional to [SHARED].
27280 2013-09-04 Will Newton <will.newton@linaro.org>
27282 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27283 * benchtests/bench-string.h: Include bench-timing.h instead
27284 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27285 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27286 call to HP_TIMING_DIFF_INIT.
27287 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27288 instead of hp-timing.h macros.
27289 * benchtests/bench-memchr.c: Likewise.
27290 * benchtests/bench-memcmp.c: Likewise.
27291 * benchtests/bench-memcpy.c: Likewise.
27292 * benchtests/bench-memmem.c: Likewise.
27293 * benchtests/bench-memmove.c: Likewise.
27294 * benchtests/bench-memset.c: Likewise.
27295 * benchtests/bench-rawmemchr.c: Likewise.
27296 * benchtests/bench-strcasecmp.c: Likewise.
27297 * benchtests/bench-strcasestr.c: Likewise.
27298 * benchtests/bench-strcat.c: Likewise.
27299 * benchtests/bench-strchr.c: Likewise.
27300 * benchtests/bench-strcmp.c: Likewise.
27301 * benchtests/bench-strcpy.c: Likewise.
27302 * benchtests/bench-strcpy_chk.c: Likewise.
27303 * benchtests/bench-strlen.c: Likewise.
27304 * benchtests/bench-strncasecmp.c: Likewise.
27305 * benchtests/bench-strncat.c: Likewise.
27306 * benchtests/bench-strncmp.c: Likewise.
27307 * benchtests/bench-strncpy.c: Likewise.
27308 * benchtests/bench-strnlen.c: Likewise.
27309 * benchtests/bench-strpbrk.c: Likewise.
27310 * benchtests/bench-strrchr.c: Likewise.
27311 * benchtests/bench-strspn.c: Likewise.
27312 * benchtests/bench-strstr.c: Likewise.
27314 2013-09-04 Will Newton <will.newton@linaro.org>
27316 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27318 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27321 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27322 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27323 * math/libm-test.inc (lgamma_test_data): Add more tests.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27329 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27333 Add strcmp-sse2-unaligned
27334 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27336 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27338 * Versions.def (libc): Add GLIBC_2.19.
27340 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27342 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27343 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27345 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27349 intermediate calculations in recurrence.
27350 (__ieee754_ynf): Likewise.
27351 * math/libm-test.inc (jn_test_data): Do not allow spurious
27352 underflow exception. Add more tests.
27353 (yn_test_data): Add more tests.
27354 * sysdeps/i386/fpu/libm-test-ulps: Update.
27355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27357 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27359 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27361 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27363 * csu/init-first.c: Fix then/than typos.
27364 * locale/programs/ld-collate.c: Likewise.
27365 * locale/programs/linereader.h: Likewise.
27366 * manual/charset.texi: Likewise.
27367 * manual/filesys.texi: Likewise.
27368 * manual/stdio.texi: Likewise.
27369 * manual/string.texi: Likewise.
27370 * stdlib/fmtmsg.c: Likewise.
27371 * sysdeps/i386/stpncpy.S: Likewise.
27372 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27373 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27374 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27377 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27379 * elf/dl-open.c: Fix typos.
27380 * iconvdata/gbbig5.c: Likewise.
27381 * iconvdata/iso-2022-jp.c: Likewise.
27382 * iconv/gconv_int.h: Likewise.
27383 * iconv/loop.c: Likewise.
27384 * nis/rpcsvc/nis.h: Likewise.
27385 * resolv/ns_name.c: Likewise.
27386 * stdio-common/vfscanf.c: Likewise.
27387 * streams/stropts.h: Likewise.
27388 * sunrpc/rpc_thread.c: Likewise.
27389 * sysdeps/i386/strpbrk.S: Likewise.
27390 * sysdeps/ieee754/k_standard.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27393 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27394 * sysdeps/mach/hurd/profil.c: Likewise.
27395 * sysdeps/s390/dl-procinfo.h: Likewise.
27396 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27398 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27399 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27402 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27404 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27407 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27409 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27410 aix specific files.
27411 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27412 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27414 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27415 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27416 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27417 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27418 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27420 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27421 Roland McGrath <roland@hack.frob.com>
27423 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27424 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27426 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27428 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27429 __executable_start symbol instead of _start.
27431 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27433 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27434 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27436 * sysdeps/gnu/ldsodefs.h: ... this new file.
27438 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27439 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27440 instead of ELFOSABI_LINUX.
27442 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27443 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27444 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27445 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27447 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27448 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27451 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27452 (ibm_extended_long_double): Add ieee_nan member.
27453 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27454 (do_test): New function.
27456 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27458 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27459 functions, renamed from truncdfsf_test, trunctfsf_test,
27461 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27463 (do_test): Run all these.
27465 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27467 * argp/argp-help.c: Fix typos.
27468 * argp/argp-parse.c: Likewise.
27469 * debug/backtracesyms.c: Likewise.
27470 * elf/elf.h: Likewise.
27471 * malloc/malloc.c: Likewise.
27472 * nis/nis_print.c: Likewise.
27473 * resolv/res_comp.c: Likewise.
27474 * stdlib/stdlib.h: Likewise.
27475 * sunrpc/clnt_tcp.c: Likewise.
27476 * sunrpc/clnt_udp.c: Likewise.
27477 * sunrpc/clnt_unix.c: Likewise.
27478 * sysdeps/unix/bsd/ptsname.c: Likewise.
27479 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27487 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27489 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27491 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27494 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27497 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27498 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27499 ($(objpfx)bug-dl-leaf): New rule.
27500 ($(objpfx)bug-dl-leaf.so): Likewise.
27501 ($(objpfx)bug-dl-leaf.out): Likewise.
27502 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27503 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27504 * dlfcn/bug-dl-leaf.c: New test.
27505 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27506 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27507 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27508 (dlclose): Likewise.
27509 (dlmopen): Likewise.
27511 2013-08-27 Roland McGrath <roland@hack.frob.com>
27513 * include/netdb.h [!_ISOMAC]:
27514 Don't include <tls.h>.
27515 (h_errno, __libc_h_errno): Move declaration and macros out of
27518 * include/resolv.h [_RESOLV_H_]:
27519 Don't include <tls.h>.
27520 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27521 * resolv/res_libc.c: Don't include <tls.h>.
27522 (_res): Use __attribute__ ((nocommon)) in place of
27523 __attribute__ ((section (".bss"))).
27525 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27526 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27528 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27530 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27531 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27533 * resolv/res_mkquery.c: Include <sys/time.h>.
27535 * inet/ifreq.c: Moved to ...
27536 * sysdeps/unix/ifreq.c: ... here.
27537 * inet/ifreq.c: New file, true stub version.
27539 * socket/sa_len.c: New file.
27540 * socket/Makefile (aux): Add it.
27541 * sysdeps/unix/sysv/linux/Makefile
27542 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27543 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27544 and #include <socket/sa_len.c>.
27545 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27546 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27549 * bits/socket.h: ... here.
27551 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27552 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27553 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27555 2013-08-27 Andreas Schwab <schwab@suse.de>
27558 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27559 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27560 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27561 * string/test-strcasecmp.c (test_main): Run tests in several
27563 * string/test-strncasecmp.c (test_main): Likewise.
27565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27566 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27567 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27569 (__strncasecmp_ssse3) [PIC]: Likewise.
27571 2013-08-26 Roland McGrath <roland@hack.frob.com>
27573 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27575 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27576 instead of explicitly declaring xdecrypt.
27577 * nis/nss_nis/nis-publickey.c: Likewise.
27579 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27582 * nscd/aicache.c: Include res_hconf.h.
27583 (addhstaiX): Initialize res_hconf.
27585 2013-08-26 Andreas Schwab <schwab@suse.de>
27587 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27588 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27590 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27592 * nscd/aicache.c (addhstaiX): Fix indentation.
27594 2013-08-25 Mike Frysinger <vapier@gentoo.org>
27596 * configure.ac: Quote $build_pt_chown test.
27597 * configure: Regenerated.
27599 2013-08-23 Joseph Myers <joseph@codesourcery.com>
27602 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27603 * math/s_cexpf.c (__cexpf): Likewise.
27604 * math/s_cexpl.c (__cexpl): Likewise.
27605 * math/libm-test.inc (cexp_test_data): Correct expected return
27606 value for NaN + i0. Add another test.
27608 2013-08-22 David S. Miller <davem@davemloft.net>
27610 * po/ca.po: Update Catalan translation from translation project.
27611 * po/uk.po: Add Ukrainian translations from translation project.
27613 2013-08-21 Joseph Myers <joseph@codesourcery.com>
27616 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27617 is infinite, not alongside NaN test.
27618 * math/s_fdimf.c (__fdimf): Likewise.
27619 * math/s_fdiml.c (__fdiml): Likewise.
27620 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27621 errno is unchanged.
27623 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
27625 * argp/argp-help.c: Fix typos.
27626 * crypt/speeds.c: Likewise.
27627 * csu/check_fds.c: Likewise.
27628 * elf/dl-load.c: Likewise.
27629 * elf/dl-open.c: Likewise.
27630 * elf/reldep3.c: Likewise.
27631 * elf/reldep.c: Likewise.
27632 * elf/sprof.c: Likewise.
27633 * iconv/iconv_charmap.c: Likewise.
27634 * iconv/skeleton.c: Likewise.
27635 * iconv/strtab.c: Likewise.
27636 * io/lockf64.c: Likewise.
27637 * libio/libioP.h: Likewise.
27638 * resolv/gai_notify.c: Likewise.
27639 * resolv/ns_name.c: Likewise.
27640 * resolv/ns_samedomain.c: Likewise.
27641 * resolv/res_send.c: Likewise.
27642 * stdlib/random.c: Likewise.
27643 * sunrpc/rpc/xdr.h: Likewise.
27644 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27645 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27649 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27652 * sysdeps/mach/hurd/check_fds.c: Likewise.
27653 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27654 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27655 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27656 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27657 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27658 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27659 * sysdeps/pthread/aio_notify.c: Likewise.
27660 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27661 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27662 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27664 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27666 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27668 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27669 version if bit_Slow_SSE4_2 is set.
27670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27673 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27676 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27677 trampoline stack frame information.
27678 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27680 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27681 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27682 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27683 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27684 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27685 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27687 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27688 interrupting a syscall and set with option SA_SIGINFO.
27690 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27693 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27694 argument is infinite.
27695 * math/s_cprojf.c (__cprojf): Likewise.
27696 * math/s_cprojl.c (__cprojl): Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27698 * math/libm-test.inc (cproj_test_data): Add more tests.
27700 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27702 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27703 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27704 size. Use __ffs to determine corresponding shift.
27706 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27707 Roland McGrath <roland@hack.frob.com>
27709 * Makefile (INSTALL): Remove trailing blank lines from output of
27712 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27714 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27715 Align 32 bit compat elf_greg to 8 bytes.
27717 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27719 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27721 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27723 * string/strcoll_l.c (coll_seq): New structure.
27724 (get_next_seq_cached): New function.
27725 (get_next_seq): New function.
27726 (do_compare): New function.
27727 (STRCOLL): Use GNU style definition. Simplify implementation
27728 by using get_next_seq, get_next_seq_cached and do_compare.
27730 2013-08-16 Florian Weimer <fweimer@redhat.com>
27734 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27736 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27738 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27739 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27740 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27742 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27743 GETDENTS_64BIT_ALIGNED.
27744 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27745 * manual/filesys.texi (Reading/Closing Directory): Document
27746 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27748 * manual/conf.texi (Limits for Files): Add portability note to
27749 NAME_MAX, PATH_MAX.
27750 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27752 2013-08-13 Andreas Schwab <schwab@suse.de>
27755 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27757 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27758 LDBL_MAX_EXP >= 16384]: Add tests for it.
27760 2013-08-12 David S. Miller <davem@davemloft.net>
27762 * version.h (RELEASE): Set to "development".
27763 (VERSION): Set to "2.18.90".
27764 * NEWS: Add 2.19 section.
27766 2013-08-03 David S. Miller <davem@davemloft.net>
27768 * po/ko.po: Update Korean translation from translation project.
27770 2013-08-01 David S. Miller <davem@davemloft.net>
27772 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27773 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27776 2013-07-30 David S. Miller <davem@davemloft.net>
27778 * po/fr.po: Update French translation from translation project.
27780 2013-07-28 David S. Miller <davem@davemloft.net>
27782 * po/cs.po: Update Czech translation from translation project.
27784 * po/sv.po: Update Swedish translation from translation project.
27786 2013-07-27 David S. Miller <davem@davemloft.net>
27788 * po/eo.po: Update Esperanto translation from translation project.
27790 * po/vi.po: Update Vietnamese translation from translation project.
27792 * po/de.po: Update German translation from translation project.
27794 2013-07-26 David S. Miller <davem@davemloft.net>
27796 * po/bg.po: Update Bulgarian translation from translation project.
27798 * po/nl.po: Update Dutch translation from translation project.
27799 * po/pl.po: Update Polish translation from translation project.
27800 * po/ru.po: Update Russian translation from translation project.
27802 2013-07-24 David S. Miller <davem@davemloft.net>
27804 * po/libc.pot: Update.
27806 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27808 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27809 variable page size.
27810 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27811 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27812 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27814 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27816 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27818 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27819 Andreas Schwab <schwab@suse.de>
27820 Roland McGrath <roland@hack.frob.com>
27821 Joseph Myers <joseph@codesourcery.com>
27822 Carlos O'Donell <carlos@redhat.com>
27825 * config.h.in: Define HAVE_PT_CHOWN.
27826 * config.make.in (build-pt-chown): New variable.
27827 * configure.in (--enable-pt_chown): New configure option.
27828 * configure: Regenerate.
27829 * login/Makefile: Include Makeconfig. Build pt_chown only if
27830 build-pt-chown is enabled.
27831 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27832 pt_chown to fix pty ownership.
27833 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27835 * manual/install.texi (Configuring and compiling): Mention
27836 --enable-pt_chown. Add @findex for grantpt.
27837 * INSTALL: Regenerate.
27839 2013-07-20 David S. Miller <davem@davemloft.net>
27841 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27842 difference between 32-bit and 64-bit.
27844 2013-07-15 Carlos O'Donell <carlos@redhat.com>
27847 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27848 Avoid system header dependency with -ffreestanding.
27849 ($(objpfx)bits/syscall%d): Likewise.
27851 2013-07-13 David S. Miller <davem@davemloft.net>
27853 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27854 underflows from atanl/atan2l due to bug 15319.
27855 (casinh_test_data): Likewise.
27857 2013-07-07 David S. Miller <davem@davemloft.net>
27859 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27861 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27863 * sysdeps/i386/fpu/libm-test-ulps: Update.
27864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27866 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27868 * configure.in (--enable-lock-elision): Fix message text.
27869 * INSTALL: Regenerate.
27870 * configure: Regenerate.
27872 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27876 2013-07-03 Andreas Jaeger <aj@suse.de>
27878 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27880 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27881 (ptrace_peeksiginfo_args): Add.
27882 (__ptrace_peeksiginfo_flags): Add.
27883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27885 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27887 2013-07-03 Allan McRae <allan@archlinux.org>
27889 * sysdeps/i386/fpu/libm-test-ulps: Update.
27891 2013-07-02 David S. Miller <davem@davemloft.net>
27893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27895 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27899 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27901 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27904 2013-07-02 Andi Kleen <ak@linux.intel.com>
27906 * config.h.in (ENABLE_LOCK_ELISION): Add.
27907 * configure.in (--enable-lock-elision): Add option.
27908 * manual/install.texi: Document --enable lock elision.
27909 * configure: Regenerate
27910 * INSTALL: Regenerate.
27912 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27914 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27915 SSE4.2 strcasecmp for libc.a.
27916 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27918 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27921 * soft-fp/op-common.h (_FP_FMA): New macro.
27922 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27923 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27924 (_FP_MUL_MEAT_1_imm): ... here.
27925 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27926 (_FP_MUL_MEAT_1_wide): ... here.
27927 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27928 (_FP_MUL_MEAT_1_hard): ... here.
27929 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27930 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27931 (_FP_MUL_MEAT_2_wide): ... here.
27932 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27933 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27934 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27935 (_FP_MUL_MEAT_2_gmp): ... here.
27936 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27937 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27938 (_FP_MUL_MEAT_4_wide): ... here.
27939 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27940 (_FP_MUL_MEAT_4_gmp): ... here.
27941 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27942 (_FP_WFRACBITS_DW_S): Likewise.
27943 (_FP_WFRACXBITS_DW_S): Likewise.
27944 (_FP_HIGHBIT_DW_S): Likewise.
27945 (FP_FMA_S): Likewise.
27946 (_FP_FRAC_HIGH_DW_S): Likewise.
27947 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27948 (_FP_WFRACBITS_DW_D): Likewise.
27949 (_FP_WFRACXBITS_DW_D): Likewise.
27950 (_FP_HIGHBIT_DW_D): Likewise.
27951 (FP_FMA_D): Likewise.
27952 (_FP_FRAC_HIGH_DW_D): Likewise.
27953 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27954 (_FP_WFRACBITS_DW_E): Likewise.
27955 (_FP_WFRACXBITS_DW_E): Likewise.
27956 (_FP_HIGHBIT_DW_E): Likewise.
27957 (FP_FMA_E): Likewise.
27958 (_FP_FRAC_HIGH_DW_E): Likewise.
27959 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27960 (_FP_WFRACBITS_DW_Q): Likewise.
27961 (_FP_WFRACXBITS_DW_Q): Likewise.
27962 (_FP_HIGHBIT_DW_Q): Likewise.
27963 (FP_FMA_Q): Likewise.
27964 (_FP_FRAC_HIGH_DW_Q): Likewise.
27965 * soft-fp/fmasf4.c: New file.
27966 * soft-fp/fmadf4.c: Likewise.
27967 * soft-fp/fmatf4.c: Likewise.
27969 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27972 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27976 (index_Slow_SSE4_2): Likewise.
27977 (index_Prefer_PMINUB_for_stringop): Likewise.
27978 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27979 bit_Slow_SSE4_2 is set.
27980 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27983 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27985 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27986 rtld_global._dl_hwcap2.
27987 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27990 POWER8 feature descriptions defined in _dl_hwcap2.
27991 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27992 string handling for POWER8 feature bits.
27993 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27994 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27995 _dl_powerpc_cap_flags.
27996 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27997 * sysdeps/powerpc/rtld-global-offsets.sym
27998 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27999 _dl_hwcap2 in the rtld_global_ro structure.
28001 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28003 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28004 hardware capabilities in support of AT_HWCAP2.
28005 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28006 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28008 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28009 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28010 explicitly the unknown a_type display mechanism is used.
28011 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28012 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28014 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28015 to macro prototype for AT_HWCAP2 support.
28016 * sysdeps/i386/dl-procinfo.h: Likewise.
28017 * sysdeps/s390/dl-procinfo.h: Likewise.
28018 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28019 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28020 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28021 return -1 for unknown a_type display fallback.
28022 * sysdeps/sparc/dl-procinfo.h: Likewise.
28023 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28024 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28026 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28029 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28031 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28034 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28035 mprotect making __stack_prot writable.
28037 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28038 Joseph Myers <joseph@codesourcery.com>
28040 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28041 as being properly aligned.
28043 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28045 * dlfcn/modstatic5.c: New file.
28046 * dlfcn/tststatic5.c: New file.
28047 * dlfcn/Makefile (tests): Add tststatic5.
28048 (tests-static): Likewise.
28049 (modules-names): Add modstatic5.
28050 (tststatic5-ENV): New variable.
28051 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28054 * elf/dl-support.c (_dl_main_map): New variable.
28055 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28056 (_dl_nns, _dl_load_adds): Set to 1.
28057 (_dl_initial_searchlist): Refer to _dl_main_map.
28058 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28059 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28060 call to _dl_get_origin.
28061 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28063 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28064 * dlfcn/modstatic3.c: New file.
28065 * dlfcn/tststatic3.c: New file.
28066 * dlfcn/tststatic4.c: New file.
28067 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28068 (tests-static): Likewise.
28069 (modules-names): Add modstatic3.
28070 (tststatic3-ENV, tststatic4-ENV): New variables.
28071 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28072 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28074 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28076 * configure.in (CC): Require GCC version 4.4 or later.
28077 * configure: Regenerated.
28078 * manual/install.texi (Tools for Compilation): Update GCC version
28080 * INSTALL: Regenerated.
28082 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28085 * string/test-memcmp.c (check2): New.
28086 (main): Call check2.
28088 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28090 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28093 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28095 (dl_open_worker) [!SHARED]: ... here.
28097 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28099 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28101 2013-06-25 Richard Henderson <rth@redhat.com>
28103 * locale/programs/locarchive.c: Include <libc-internal.h>
28105 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28107 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28108 trailing whitespace removed.
28110 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28113 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28114 * locale/programs/locarchive.c: Include libc-mmap.h.
28115 (prepare_address_space): Take two new outputs (the mmap base and len).
28116 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28118 (create_archive): Declare new mmap base and len values for
28119 prepare_address_space, and store the result in ah.
28120 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28121 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28122 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28123 Declare new mmap base and len values for
28124 prepare_address_space, and store the result in new_ah.
28125 (open_archive): Declare new mmap base and len values for
28126 prepare_address_space, and store the result in ah.
28127 (close_archive): If ah->mmap_base is not NULL, use that and
28128 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28129 * sysdeps/generic/libc-mmap.h: New file.
28131 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28133 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28134 (ALIGN_UP): Likewise.
28135 (PTR_ALIGN_DOWN): Likewise.
28136 (PTR_ALIGN_UP): Likewise.
28138 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28140 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28141 entry mapped to PPC_PLATFORM_POWER8.
28142 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28144 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28145 (_dl_string_platform): Add case for exporting platform position for
28147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28148 search path to sysdeps/powerpc/powerpc32/power8 directory.
28149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28150 search path to sysdeps/powerpc/powerpc64/power8 directory.
28151 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28152 power7 directories.
28153 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28154 power7 directories.
28156 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28158 * INSTALL: Regenerate.
28160 * nscd/connections.c (nscd_init): Fix comment.
28162 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28164 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28167 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28168 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28170 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28172 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28174 (DL_DST_REQ_STATIC): Remove macro.
28176 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28179 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28180 with a shift of 0 bits.
28182 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28184 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28187 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28190 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28192 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28194 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28195 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28196 accepts -fno-tree-loop-distribute-patterns.
28197 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28198 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28200 * string/memset.c (memset): Likewise.
28201 * string/test-memmove.c (simple_memmove): Disable loop transformation
28203 * string/test-memset.c (simple_memset): Likewise.
28204 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28205 * benchtests/bench-memset.c (simple_memset): Likewise.
28206 * configure: Regenerated.
28208 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28210 * math/test-misc.c (main): Ignore fesetround failure when failures
28211 of subsequent rounding tests would be ignored.
28214 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28215 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28216 * math/fegetenv.c (__fegetenv): Return 0.
28217 * math/fegetexcept.c (fegetexcept): Return 0.
28218 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28220 * math/feholdexcpt.c (feholdexcept): Return 0.
28221 * math/fesetenv.c (__fesetenv): Return 0.
28222 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28223 argument FE_TONEAREST.
28224 * math/feupdateenv.c (__feupdateenv): Return 0.
28225 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28227 2013-06-18 Roland McGrath <roland@hack.frob.com>
28229 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28230 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28231 ($(objpfx)rtld-%.os rules): Use them.
28233 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28235 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28238 2013-06-17 Roland McGrath <roland@hack.frob.com>
28240 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28241 length of target pattern, then descending length of dependency pattern.
28242 * configure.in (AWK): Require gawk 3.1.2 or newer.
28243 * manual/install.texi (Tools for Compilation): Say that we do.
28244 * configure: Regenerated.
28246 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28247 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28248 * scripts/sysd-rules.awk: ... this new script.
28249 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28250 than a glob-style pattern.
28252 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28254 * math/test-misc.c (main): Do not treat incorrectly rounded
28255 conversions as failure unless ROUNDING_TESTS passes.
28257 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28261 restore exception state around main square root computation, then
28262 check for inexactness explicitly.
28264 * math/libm-test.inc (fma_test_data): Add another test.
28266 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28268 * manual/threads.texi (Non-POSIX Extensions): New document
28269 node. Document pthread_getattr_default_np and
28270 pthread_setattr_default_np.
28272 * Versions.def (libpthread): Add GLIBC_2.18.
28273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28282 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28293 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28296 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28298 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28299 H.J. Lu <hjl.tools@gmail.com>
28302 * sysdeps/x86_64/rtld-memset.c: Remove file.
28303 * sysdeps/x86_64/rtld-memset.S: New file.
28305 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28307 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28308 (test_in_one_mode): Take arguments for whether the rounding mode
28309 is supported for each floating-point type.
28310 (do_test): Pass new arguments to test_in_one_mode using
28313 2013-06-13 Roland McGrath <roland@hack.frob.com>
28315 * posix/tst-waitid.c (do_test): Distinguish different instances of
28316 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28317 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28318 before entering the kernel for waitpid.
28320 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28322 * NEWS: Fix note on clock function precision. Text by Roland
28325 2013-06-13 Roland McGrath <roland@hack.frob.com>
28327 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28328 it into place only when and if the sanity check passes.
28330 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28332 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28333 output for whether conversion result is exact. Take argument
28334 indicating whether type is IBM long double.
28335 (round_for_all): Change need_exact field to ibm_ld.
28336 * stdlib/tst-strtod-round.c (struct exactness): New type.
28337 (struct test): Change bool ld_ok field to struct exactness exact.
28338 (TEST): Update all definitions for change to field.
28339 (tests): Regenerate array contents.
28340 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28341 field value. Check for IBM long double here.
28342 (do_test): Update calls to test_in_one_mode.
28344 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28347 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28348 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28350 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28353 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28354 generated by the compiler on loop optimizations.
28355 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28356 general definitions.
28358 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28360 * math/bug-nextafter.c: Include <math-tests.h>.
28361 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28363 * math/bug-nexttoward.c: Include <math-tests.h>.
28364 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28366 * math/test-misc.c: Include <math-tests.h>.
28367 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28370 2013-06-12 Andreas Jaeger <aj@suse.de>
28372 * po/ia.po: Update Interlingua translation from translation
28375 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28377 * include/fenv.h: Include stdbool.h.
28378 (struct rm_ctx): New structure.
28379 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28381 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28382 (SET_RESTORE_ROUNDF): Likewise.
28383 (SET_RESTORE_ROUNDL): Likewise.
28384 (SET_RESTORE_ROUND_NOEX): Likewise.
28385 (SET_RESTORE_ROUND_NOEXF): Likewise.
28386 (SET_RESTORE_ROUND_NOEXL): Likewise.
28387 (SET_RESTORE_ROUND_53BIT): Likewise.
28388 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28389 (libc_feresetround_noexf_ctx): Likewise.
28390 (libc_feresetround_noexl_ctx): Likewise.
28391 (libc_feholdsetround_53bit_ctx): Likewise.
28392 (libc_feresetround_53bit_ctx): Likewise.
28393 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28394 (libc_feholdexcept_setround_sse_ctx): New function.
28395 (libc_fesetenv_sse_ctx): Likewise.
28396 (libc_feupdateenv_sse_ctx): Likewise.
28397 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28398 (libc_feholdexcept_setround_387_ctx): Likewise.
28399 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28400 (libc_feholdsetround_387_prec_ctx): Likewise.
28401 (libc_feholdsetround_387_ctx): Likewise.
28402 (libc_feholdsetround_387_53bit_ctx): Likewise.
28403 (libc_feholdsetround_sse_ctx): Likewise.
28404 (libc_feresetround_sse_ctx): Likewise.
28405 (libc_feresetround_387_ctx): Likewise.
28406 (libc_feupdateenv_387_ctx): Likewise.
28407 (libc_feholdexcept_setroundf_ctx): Define macro.
28408 (libc_fesetenvf_ctx): Likewise.
28409 (libc_feupdateenvf_ctx): Likewise.
28410 (libc_feholdsetroundf_ctx): Likewise.
28411 (libc_feresetroundf_ctx): Likewise.
28412 (libc_feholdexcept_setround_ctx): Likewise.
28413 (libc_fesetenv_ctx): Likewise.
28414 (libc_feupdateenv_ctx): Likewise.
28415 (libc_feholdsetround_ctx): Likewise.
28416 (libc_feresetround_ctx): Likewise.
28417 (libc_feholdexcept_setroundl_ctx): Likewise.
28418 (libc_feupdateenvl_ctx): Likewise.
28419 (libc_feholdsetroundl_ctx): Likewise.
28420 (libc_feresetroundl_ctx): Likewise.
28421 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28422 (libc_feresetround_53bit_ctx): Likewise.
28424 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28426 * locale/iso-639.def: Convert to UTF-8.
28428 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28430 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28431 (EXCEPTION_TESTS_double): Likewise.
28432 (EXCEPTION_TESTS_long_double): Likewise.
28433 (EXCEPTION_TESTS): Likewise.
28434 * math/libm-test.inc (test_exceptions): Only test exceptions if
28435 EXCEPTION_TESTS (FLOAT).
28437 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28439 * benchtests/Makefile (string-bench): Add strcpy_chk and
28441 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28442 * benchtests/bench-stpcpy_chk.c: New file.
28443 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28444 * benchtests/bench-strcpy_chk.c: New file.
28445 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28447 (do_test): Likewise.
28449 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28451 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28452 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28453 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28454 with tabs where appropriate.
28455 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28457 [PPC_PLATFORM_PPC440]: Likewise.
28458 [PPC_PLATFORM_PPC464]: Likewise.
28459 [PPC_PLATFORM_PPC476]: Likewise.
28460 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28461 ppc464, and ppc476 platform strings merging from ports/
28464 2013-06-11 Andreas Schwab <schwab@suse.de>
28467 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28468 (from_ucs4_idx): Regenerate.
28469 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28470 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28471 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28472 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28473 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28474 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28475 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28476 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28477 from FROM_LOOP and TO_LOOP specific macros.
28478 (BODY): Handle combining characters.
28479 * iconvdata/BIG5HKSCS.irreversible: Update.
28480 * iconvdata/BIG5HKSCS.precomposed: New file.
28481 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28483 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28485 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28487 * include/sys/time.h: Fix indentation and add copyright header.
28489 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28490 (do_test): Likewise.
28491 * string/test-memchr.c (do_one_test): Likewise.
28492 (do_test): Likewise.
28493 * string/test-memcmp.c (do_one_test): Likewise.
28494 (do_test): Likewise.
28495 * string/test-memcpy.c (do_one_test): Likewise.
28496 (do_test): Likewise.
28497 * string/test-memmem.c (do_one_test): Likewise.
28498 (do_test): Likewise.
28499 (do_random_tests): Likewise.
28500 * string/test-memmove.c (do_one_test): Likewise.
28501 (do_test): Likewise.
28502 * string/test-memset.c (do_one_test): Likewise.
28503 (do_test): Likewise.
28504 * string/test-rawmemchr.c (do_one_test): Likewise.
28505 (do_test): Likewise.
28506 * string/test-strcasecmp.c (do_one_test): Likewise.
28507 (do_test): Likewise.
28508 * string/test-strcasestr.c (do_one_test): Likewise.
28509 (do_test): Likewise.
28510 * string/test-strcat.c (do_one_test): Likewise.
28511 (do_test): Likewise.
28512 * string/test-strchr.c (do_one_test): Likewise.
28513 (do_test): Likewise.
28514 * string/test-strcmp.c (do_one_test): Likewise.
28515 (do_test): Likewise.
28516 * string/test-strcpy.c (do_one_test): Likewise.
28517 (do_test): Likewise.
28518 * string/test-string.h: Likewise.
28519 (test_init): Likewise.
28520 * string/test-strlen.c (do_one_test): Likewise.
28521 (do_test): Likewise.
28522 * string/test-strncasecmp.c (do_one_test): Likewise.
28523 (do_test): Likewise.
28524 * string/test-strncat.c (do_one_test): Likewise.
28525 (do_test): Likewise.
28526 * string/test-strncmp.c (do_one_test): Likewise.
28527 (do_test_limit): Likewise.
28528 (do_test): Likewise.
28529 * string/test-strncpy.c (do_one_test): Likewise.
28530 (do_test): Likewise.
28531 * string/test-strnlen.c (do_one_test): Likewise.
28532 (do_test): Likewise.
28533 * string/test-strpbrk.c (do_one_test): Likewise.
28534 (do_test): Likewise.
28535 * string/test-strrchr.c (do_one_test): Likewise.
28536 (do_test): Likewise.
28537 * string/test-strspn.c (do_one_test): Likewise.
28538 (do_test): Likewise.
28539 * string/test-strstr.c (do_one_test): Likewise.
28540 (do_test): Likewise.
28542 * benchtests/Makefile (string-bench): Add string benchmarks.
28543 * benchtests/bench-bcopy-ifunc.c: New file.
28544 * benchtests/bench-bcopy.c: New file.
28545 * benchtests/bench-bzero-ifunc.c: New file.
28546 * benchtests/bench-bzero.c: New file.
28547 * benchtests/bench-memccpy-ifunc.c: New file.
28548 * benchtests/bench-memccpy.c: New file.
28549 * benchtests/bench-memchr-ifunc.c: New file.
28550 * benchtests/bench-memchr.c: New file.
28551 * benchtests/bench-memcmp-ifunc.c: New file.
28552 * benchtests/bench-memcmp.c: New file.
28553 * benchtests/bench-memmem-ifunc.c: New file.
28554 * benchtests/bench-memmem.c: New file.
28555 * benchtests/bench-memmove-ifunc.c: New file.
28556 * benchtests/bench-memmove.c: New file.
28557 * benchtests/bench-mempcpy-ifunc.c: New file.
28558 * benchtests/bench-mempcpy.c: New file.
28559 * benchtests/bench-memset-ifunc.c: New file.
28560 * benchtests/bench-memset.c: New file.
28561 * benchtests/bench-rawmemchr-ifunc.c: New file.
28562 * benchtests/bench-rawmemchr.c: New file.
28563 * benchtests/bench-stpcpy-ifunc.c: New file.
28564 * benchtests/bench-stpcpy.c: New file.
28565 * benchtests/bench-stpncpy-ifunc.c: New file.
28566 * benchtests/bench-stpncpy.c: New file.
28567 * benchtests/bench-strcasecmp-ifunc.c: New file.
28568 * benchtests/bench-strcasecmp.c: New file.
28569 * benchtests/bench-strcasestr-ifunc.c: New file.
28570 * benchtests/bench-strcasestr.c: New file.
28571 * benchtests/bench-strcat-ifunc.c: New file.
28572 * benchtests/bench-strcat.c: New file.
28573 * benchtests/bench-strchr-ifunc.c: New file.
28574 * benchtests/bench-strchr.c: New file.
28575 * benchtests/bench-strchrnul-ifunc.c: New file.
28576 * benchtests/bench-strchrnul.c: New file.
28577 * benchtests/bench-strcmp-ifunc.c: New file.
28578 * benchtests/bench-strcmp.c: New file.
28579 * benchtests/bench-strcpy-ifunc.c: New file.
28580 * benchtests/bench-strcpy.c: New file.
28581 * benchtests/bench-strcspn-ifunc.c: New file.
28582 * benchtests/bench-strcspn.c: New file.
28583 * benchtests/bench-strlen-ifunc.c: New file.
28584 * benchtests/bench-strlen.c: New file.
28585 * benchtests/bench-strncasecmp-ifunc.c: New file.
28586 * benchtests/bench-strncasecmp.c: New file.
28587 * benchtests/bench-strncat-ifunc.c: New file.
28588 * benchtests/bench-strncat.c: New file.
28589 * benchtests/bench-strncmp-ifunc.c: New file.
28590 * benchtests/bench-strncmp.c: New file.
28591 * benchtests/bench-strncpy-ifunc.c: New file.
28592 * benchtests/bench-strncpy.c: New file.
28593 * benchtests/bench-strnlen-ifunc.c: New file.
28594 * benchtests/bench-strnlen.c: New file.
28595 * benchtests/bench-strpbrk-ifunc.c: New file.
28596 * benchtests/bench-strpbrk.c: New file.
28597 * benchtests/bench-strrchr-ifunc.c: New file.
28598 * benchtests/bench-strrchr.c: New file.
28599 * benchtests/bench-strspn-ifunc.c: New file.
28600 * benchtests/bench-strspn.c: New file.
28601 * benchtests/bench-strstr-ifunc.c: New file.
28602 * benchtests/bench-strstr.c: New file.
28604 * benchtests/Makefile: Disable parallel execution of targets.
28605 (string-bench): Add memcpy.
28606 (benchset): New variable to store a list of benchmark sets.
28607 (bench-func): Renamed from bench.
28608 (bench-set): New target.
28609 (bench): Depend on bench-func and bench-set.
28610 * benchtests/README: Add section on benchmark sets.
28611 * benchtests/bench-memcpy-ifunc.c: New file.
28612 * benchtests/bench-memcpy.c: New file.
28613 * benchtests/bench-string.h: New file.
28615 2013-06-11 Andreas Schwab <schwab@suse.de>
28618 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28619 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28620 values in the triple.
28621 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28622 terminator in the group key.
28624 2013-06-11 Andreas Jaeger <aj@suse.de>
28626 * po/zh_TW.po: Update Chinese (traditional) translation from
28627 translation project.
28629 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28631 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28632 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28633 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28635 (clock_getcpuclockid): Likewise.
28636 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28637 Add weak_alias and libc_hidden_def.
28638 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28639 * rt/clock_gettime.c (clock_gettime): Rename to
28640 __clock_gettime. Add weak_alias and libc_hidden_def.
28641 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28642 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28643 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28644 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28645 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28647 * rt/clock_settime.c (clock_settime): Rename to
28648 __clock_settime. Add weak_alias and libc_hidden_def.
28649 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28651 2013-06-10 Joseph Myers <joseph@codesourcery.com>
28653 * mach/err_boot.sub: Remove trailing whitespace.
28654 * mach/err_ipc.sub: Likewise.
28655 * mach/err_mach.sub: Likewise.
28657 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28658 (ROUNDING_TESTS_double): Likewise.
28659 (ROUNDING_TESTS_long_double): Likewise.
28660 (ROUNDING_TESTS): Likewise.
28661 * math/libm-test.inc: Include <math-tests.h>.
28662 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28663 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28664 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28665 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28667 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28669 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28672 2013-06-08 Joseph Myers <joseph@codesourcery.com>
28674 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28675 otherwise empty TRANS lines.
28676 * sysdeps/gnu/errlist.c: Regenerated.
28678 * catgets/gencat.c (error_print): Use (void) in function
28680 * crypt/crypt_util.c (__init_des): Likewise.
28681 * crypt/speeds.c (Stop): Likewise.
28683 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28684 * inet/ruserpass.c (token): Likewise.
28685 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28686 * intl/localealias.c (extend_alias_table): Likewise.
28687 * intl/plural-exp.c (init_germanic_plural): Likewise.
28688 * libio/fcloseall.c (__fcloseall): Likewise.
28689 * libio/genops.c (_IO_flush_all): Likewise.
28690 (_IO_flush_all_linebuffered): Likewise.
28691 (_IO_cleanup): Likewise.
28692 (_IO_iter_begin): Likewise.
28693 (_IO_iter_end): Likewise.
28694 (_IO_list_lock): Likewise.
28695 (_IO_list_unlock): Likewise.
28696 (_IO_list_resetlock): Likewise.
28697 * libio/getchar.c (getchar): Likewise.
28698 * libio/getchar_u.c (getchar_unlocked): Likewise.
28699 * libio/getwchar.c (getwchar): Likewise.
28700 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28701 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28702 * login/getpt.c (__getpt): Likewise.
28703 * login/tst-utmp.c (main): Likewise.
28704 * malloc/hooks.c (__malloc_check_init): Likewise.
28705 * malloc/malloc.c (__malloc_stats): Likewise.
28706 * malloc/mtrace.c (tr_break): Likewise.
28707 (mtrace): Likewise.
28708 (muntrace): Likewise.
28709 * misc/fstab.c (endfsent): Likewise.
28710 * misc/getclktck.c (__getclktck): Likewise.
28711 * misc/getdtsz.c (__getdtablesize): Likewise.
28712 * misc/gethostid.c (gethostid): Likewise.
28713 * misc/getpagesize.c (__getpagesize): Likewise.
28714 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28715 (__get_nprocs): Likewise.
28716 (__get_phys_pages): Likewise.
28717 (__get_avphys_pages): Likewise.
28718 * misc/getttyent.c (getttyent): Likewise.
28719 (setttyent): Likewise.
28720 (endttyent): Likewise.
28721 * misc/getusershell.c (getusershell): Likewise.
28722 (endusershell): Likewise.
28723 (setusershell): Likewise.
28724 (initshells): Likewise.
28725 * misc/hsearch.c (__hdestroy): Likewise.
28726 * misc/sync.c (sync): Likewise.
28727 * misc/syslog.c (closelog_internal): Likewise.
28728 (closelog): Likewise.
28729 * misc/ttyslot.c (ttyslot): Likewise.
28730 * misc/vhangup.c (vhangup): Likewise.
28731 * posix/fork.c (__fork): Likewise.
28732 * posix/getegid.c (__getegid): Likewise.
28733 * posix/geteuid.c (__geteuid): Likewise.
28734 * posix/getgid.c (__getgid): Likewise.
28735 * posix/getpid.c (__getpid): Likewise.
28736 * posix/getppid.c (__getppid): Likewise.
28737 * posix/getuid.c (__getuid): Likewise.
28738 * posix/pause.c (pause): Likewise.
28739 * posix/setpgrp.c (setpgrp): Likewise.
28740 * posix/setsid.c (__setsid): Likewise.
28741 * posix/test-vfork.c (noop): Likewise.
28742 * resolv/gethnamaddr.c (_endhtent): Likewise.
28743 (_gethtent): Likewise.
28744 (ht_endhostent): Likewise.
28745 (gethostent): Likewise.
28746 (dns_service): Likewise.
28747 * stdlib/drand48.c (drand48): Likewise.
28748 * stdlib/lrand48.c (lrand48): Likewise.
28749 * stdlib/mrand48.c (mrand48): Likewise.
28750 * stdlib/rand.c (rand): Likewise.
28751 * stdlib/random.c (__random): Likewise.
28752 * stdlib/setenv.c (clearenv): Likewise.
28753 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28754 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28755 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28756 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28757 (__get_nprocs): Likewise.
28758 (__get_phys_pages): Likewise.
28759 (__get_avphys_pages): Likewise.
28760 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28761 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28762 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28763 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28764 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28765 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28766 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28767 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28768 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28769 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28770 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28771 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28772 * sysdeps/posix/clock.c (clock): Likewise.
28773 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28774 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28775 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28776 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28777 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28779 (__get_nprocs_conf): Likewise.
28780 (__get_phys_pages): Likewise.
28781 (__get_avphys_pages): Likewise.
28782 * time/clock.c (clock): Likewise.
28783 * time/tzset.c (__tzname_max): Likewise.
28785 2013-06-07 Joseph Myers <joseph@codesourcery.com>
28787 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28788 (__bswap_32): Do not use "register".
28789 * crypt/crypt.c (_ufc_doit_r): Likewise.
28790 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28791 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28792 * gmon/gmon.c (__monstartup): Likewise.
28793 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28794 * hurd/hurdmalloc.c (more_memory): Likewise.
28795 (malloc): Likewise.
28797 (realloc): Likewise.
28798 (malloc_fork_prepare): Likewise.
28799 (malloc_fork_parent): Likewise.
28800 (malloc_fork_child): Likewise.
28801 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28802 (_svcauth_des): Likewise.
28803 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28804 * inet/inet_net.c (inet_network): Likewise.
28805 * inet/inet_netof.c (inet_netof): Likewise.
28806 * inet/rcmd.c (__validuser2_sa): Likewise.
28807 * io/fts.c (fts_open): Likewise.
28808 (fts_load): Likewise.
28809 (fts_close): Likewise.
28810 (fts_read): Likewise.
28811 (fts_children): Likewise.
28812 (fts_build): Likewise.
28813 (fts_stat): Likewise.
28814 (fts_sort): Likewise.
28815 (fts_alloc): Likewise.
28816 (fts_lfree): Likewise.
28817 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28818 (_IO_file_xsgetn): Likewise.
28819 (_IO_file_xsgetn_mmap): Likewise.
28820 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28821 (_IO_cookie_write): Likewise.
28822 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28823 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28824 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28825 * malloc/obstack.c (_obstack_begin): Likewise.
28826 (_obstack_begin_1): Likewise.
28827 (_obstack_newchunk): Likewise.
28828 (_obstack_allocated_p): Likewise.
28829 (obstack_free): Likewise.
28830 (_obstack_memory_used): Likewise.
28831 * misc/getttyent.c (getttynam): Likewise.
28832 (getttyent): Likewise.
28835 * misc/getusershell.c (initshells): Likewise.
28836 * misc/syslog.c (__vsyslog_chk): Likewise.
28837 * misc/ttyslot.c (ttyslot): Likewise.
28838 * nis/nis_hash.c (__nis_hash): Likewise.
28839 * posix/fnmatch_loop.c (FCT): Likewise.
28840 * posix/getconf.c (print_all): Likewise.
28842 * posix/getopt.c (exchange): Likewise.
28843 * posix/glob.c (globfree): Likewise.
28844 (prefix_array): Likewise.
28845 (__glob_pattern_type): Likewise.
28846 * resolv/arpa/nameser.h (NS_GET16): Likewise.
28847 (NS_GET32): Likewise.
28848 (NS_PUT16): Likewise.
28849 (NS_PUT32): Likewise.
28850 * resolv/gethnamaddr.c (getanswer): Likewise.
28851 (gethostbyname2): Likewise.
28852 (gethostbyaddr): Likewise.
28853 (_gethtent): Likewise.
28854 (_gethtbyname2): Likewise.
28855 (_gethtbyaddr): Likewise.
28856 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28857 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28858 * resolv/res_init.c (__res_vinit): Likewise.
28859 (net_mask): Likewise.
28860 * resolv/res_mkquery.c (outchar): Likewise.
28862 * stdio-common/printf_fp.c (outchar): Likewise.
28864 * stdio-common/printf_fphex.c (outchar): Likewise.
28866 * stdio-common/printf_size.c (outchar): Likewise.
28868 * stdio-common/test_rdwr.c (main): Likewise.
28869 * stdio-common/tfformat.c (matches): Likewise.
28870 * stdio-common/vfprintf.c (outchar): Likewise.
28871 (printf_unknown): Likewise.
28872 (buffered_vfprintf): Likewise.
28873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28874 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28875 (ReadFile): Likewise.
28876 * stdlib/qsort.c (SWAP): Likewise.
28877 (_quicksort): Likewise.
28878 * stdlib/setenv.c (__add_to_environ): Likewise.
28879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28880 * stdlib/strtol_l.c (__strtol_l): Likewise.
28881 * stdlib/tst-strtod.c (main): Likewise.
28882 * stdlib/tst-strtol.c (main): Likewise.
28883 * stdlib/tst-strtoll.c (main): Likewise.
28884 * string/bits/string2.h (__strcmp_cc): Likewise.
28885 (__strcmp_cg): Likewise.
28886 (__strcspn_c1): Likewise.
28887 (__strcspn_c2): Likewise.
28888 (__strcspn_c3): Likewise.
28889 (__strspn_c1): Likewise.
28890 (__strspn_c2): Likewise.
28891 (__strspn_c3): Likewise.
28892 (__strsep_1c): Likewise.
28893 (__strsep_2c): Likewise.
28894 (__strsep_3c): Likewise.
28895 * string/memccpy.c (__memccpy): Likewise.
28896 * string/stpcpy.c (__stpcpy): Likewise.
28897 * string/strcmp.c (strcmp): Likewise.
28898 * string/strrchr.c (strrchr): Likewise.
28899 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28901 * sysdeps/mach/hurd/getcwd.c
28902 (_hurd_canonicalize_directory_name_internal): Likewise.
28903 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28904 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28906 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28907 Likewise, in both definitions.
28908 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28910 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28911 64] (__bswap_64): Likewise.
28912 * time/test_time.c (main): Likewise.
28913 * time/tzfile.c (__tzfile_read): Likewise.
28914 (__tzfile_compute): Likewise.
28915 * time/tzset.c (__tzset_parse_tz): Likewise.
28916 (tzset_internal): Likewise.
28917 (compute_change): Likewise.
28918 * wcsmbs/wcscat.c (__wcscat): Likewise.
28919 * wcsmbs/wcschr.c (wcschr): Likewise.
28920 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28921 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28922 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28923 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28924 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28925 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28926 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28927 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28928 * wcsmbs/wmemset.c (wmemset): Likewise.
28930 2013-06-06 Joseph Myers <joseph@codesourcery.com>
28932 * scripts/config.guess: Update to version 2013-05-16.
28933 * scripts/config.sub: Update to version 2013-04-24.
28934 * scripts/install-sh: Update to version 2011-11-20.07.
28935 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28936 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28938 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
28940 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28941 * elf/sln.c: Likewise.
28942 * hurd/hurd/ioctl.h: Likewise.
28943 * hurd/hurdmalloc.c: Likewise.
28944 * hurd/xattr.c: Likewise.
28945 * include/shlib-compat.h: Likewise.
28946 * inet/ruserpass.c: Likewise.
28947 * libio/iofgets_u.c: Likewise.
28948 * libio/iofgetws_u.c: Likewise.
28949 * locale/programs/ld-identification.c: Likewise.
28950 * locale/programs/ld-time.c: Likewise.
28951 * mach/msg-destroy.c: Likewise.
28952 * nss/nss_files/files-netgrp.c: Likewise.
28953 * resolv/res_data.c: Likewise.
28954 * soft-fp/op-1.h: Likewise.
28955 * soft-fp/op-2.h: Likewise.
28956 * soft-fp/op-4.h: Likewise.
28957 * soft-fp/op-common.h: Likewise.
28958 * stdio-common/printf_fphex.c: Likewise.
28959 * stdlib/strtod_l.c: Likewise.
28960 * sunrpc/rpc/clnt.h: Likewise.
28961 * sysdeps/generic/framestate.c: Likewise.
28962 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28963 * sysdeps/i386/bsd-setjmp.S: Likewise.
28964 * sysdeps/i386/__longjmp.S: Likewise.
28965 * sysdeps/i386/setjmp.S: Likewise.
28966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28967 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28984 * sysdeps/ieee754/support.c: Likewise.
28985 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28986 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28987 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28988 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28989 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28990 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28991 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28992 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28993 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28994 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28995 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28996 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28997 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28998 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28999 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29000 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29001 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29004 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29006 * posix/transbug.c: Remove executable mode.
29008 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29010 * crypt/speeds.c: Remove trailing whitespace.
29011 * dlfcn/default.c: Likewise.
29012 * elf/ifuncdep2.c: Likewise.
29013 * elf/ifuncmain1.c: Likewise.
29014 * elf/ifuncmain1vis.c: Likewise.
29015 * elf/testobj.h: Likewise.
29016 * elf/tst-stackguard1.c: Likewise.
29017 * gmon/sys/gmon.h: Likewise.
29018 * hurd/hurdmsg.c: Likewise.
29019 * hurd/new-fd.c: Likewise.
29020 * hurd/ports-get.c: Likewise.
29021 * iconvdata/ibm1008_420.c: Likewise.
29022 * inet/tst-getni1.c: Likewise.
29023 * inet/tst-getni2.c: Likewise.
29024 * libio/ioungetc.c: Likewise.
29025 * libio/wfiledoalloc.c: Likewise.
29026 * manual/libm-err-tab.pl: Likewise.
29027 * math/w_dremf.c: Likewise.
29028 * misc/ftruncate.c: Likewise.
29029 * posix/bug-glob2.c: Likewise.
29030 * posix/tst-pcre.c: Likewise.
29031 * posix/wait4.c: Likewise.
29032 * resolv/README: Likewise.
29033 * resolv/res_debug.h: Likewise.
29034 * resolv/tst-inet_ntop.c: Likewise.
29035 * setjmp/bug269-setjmp.c: Likewise.
29036 * soft-fp/extended.h: Likewise.
29037 * soft-fp/op-1.h: Likewise.
29038 * soft-fp/op-2.h: Likewise.
29039 * soft-fp/op-4.h: Likewise.
29040 * soft-fp/op-8.h: Likewise.
29041 * soft-fp/testit.c: Likewise.
29042 * stdio-common/bug16.c: Likewise.
29043 * stdlib/random.c: Likewise.
29044 * sunrpc/rpcsvc/rquota.x: Likewise.
29045 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29046 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29048 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29049 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29050 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29052 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29053 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29074 * sysdeps/ieee754/s_lib_version.c: Likewise.
29075 * sysdeps/mach/hurd/check_fds.c: Likewise.
29076 * sysdeps/mach/hurd/getsockname.c: Likewise.
29077 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29078 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29079 * sysdeps/powerpc/bits/link.h: Likewise.
29080 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29081 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29082 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29083 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29084 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29085 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29086 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29087 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29088 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29089 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29090 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29091 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29092 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29093 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29094 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29095 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29097 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29099 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29100 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29101 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29102 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29103 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29104 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29107 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29112 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29113 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29114 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29115 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29116 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29117 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29118 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29119 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29120 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29121 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29122 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29123 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29124 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29125 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29126 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29127 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29128 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29129 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29135 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29136 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29139 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29140 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29141 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29142 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29143 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29144 * sysdeps/powerpc/sysdep.h: Likewise.
29145 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29146 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29147 * sysdeps/sh/dl-trampoline.S: Likewise.
29148 * sysdeps/sh/memset.S: Likewise.
29149 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29150 * sysdeps/sh/strlen.S: Likewise.
29151 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29152 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29153 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29154 * sysdeps/sparc/sparc32/rem.S: Likewise.
29155 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29156 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29157 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29158 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29159 * sysdeps/sparc/sparc32/urem.S: Likewise.
29160 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29162 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29163 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29165 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29166 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29167 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29168 * sysdeps/unix/bsd/times.c: Likewise.
29169 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29170 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29174 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29175 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29176 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29178 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29179 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29180 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29181 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29182 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29184 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29186 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29187 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29188 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29189 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29190 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29191 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29192 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29193 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29194 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29195 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29196 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29197 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29198 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29199 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29200 * sysdeps/x86_64/strcspn.S: Likewise.
29202 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29204 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29205 generated file. Regenerate properly from gen-translit.pl.
29206 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29207 locale/C-translit.h.
29209 2013-06-05 Andreas Schwab <schwab@suse.de>
29212 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29213 week as 6 instead of -1.
29214 * time/tst-strptime.c (day_tests): Add test case.
29216 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29218 * sysdeps/generic/math_private.h
29219 (libc_feholdexcept_setround_53bit): Replace with
29220 libc_feholdsetround_53bit.
29221 (libc_feupdateenv_53bit): Replace with
29222 libc_feresetround_53bit.
29223 (SET_RESTORE_ROUND_53BIT): Adjust.
29225 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29227 * string/test-strchrnul.c: Add copyright header.
29229 * posix/tst-getaddrinfo4.c: Increase test timeout.
29231 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29234 * math/libm-test.inc (MAX_EXP): Remove
29236 (ulp): Use MIN_EXP - MANT_DIG.
29237 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29239 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29241 * po/be.po: Revert last change.
29242 * po/zh_CN.po: Likewise.
29243 * po/header.pot: Likewise.
29245 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29247 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29248 link-libc-deps to empty as target-specific variable.
29249 * Makerules (link-libc-args): New variable.
29250 (libc-for-link): Likewise.
29251 (link-libc-deps): Likewise.
29252 (lib%.so): Depend on $(link-libc-deps). Link with
29254 (build-module): Link with $(link-libc-args).
29255 (build-module-asneeded): Likewise.
29256 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29258 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29259 target-specific variable.
29260 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29261 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29262 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29264 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29266 ($(objpfx)libpcprofile.so): Likewise.
29267 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29269 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29270 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29271 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29273 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29274 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29275 * login/Makefile ($(objpfx)libutil.so): Likewise.
29276 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29277 * math/Makefile ($(objpfx)libm.so): Likewise.
29278 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29279 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29280 variable instead of depending directly on libc.
29281 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29282 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29284 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29286 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29287 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29288 ($(objpfx)libanl.so): Likewise.
29289 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29291 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29293 * sysdeps/i386/fpu/Makefile: Remove file.
29294 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29295 ($(objpfx)libm.so): Remove dependency on ld.so.
29297 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29300 * nis/yp_xdr.c (XDRMAXNAME): Define.
29301 (XDRMAXRECORD): Define.
29302 (xdr_domainname): Use XDRMAXNAME.
29303 (xdr_mapname): Likewise.
29304 (xdr_peername): Likewise.
29305 (xdr_keydat): Use XDRMAXRECORD.
29306 (xdr_valdat): Likewise.
29308 2013-05-30 Jeff Law <law@redhat.com>
29311 * manual/errno.texi (ESTALE): Update to account for more than
29312 just NFS file systems.
29313 * sysdeps/gnu/errlist.c: Regenerated.
29315 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29318 * elf/Makefile (tests): Add tst-null-argv.
29319 (modules-names): Add tst-null-argv-lib.
29320 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29321 (tst-null-argv-ENV): Set environment for tst-null-argv.
29322 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29323 (RTLD_PROGNAME): New macro.
29324 * elf/tst-null-argv.c: New test case.
29325 * elf/tst-null-argv-lib.c: Library for test case.
29326 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29327 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29328 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29329 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29330 * elf/dl-init.c (call_init): Likewise.
29331 (_dl_init): Likewise.
29332 * elf/dl-load.c (print_search_path): Likewise.
29333 (_dl_map_object): Likewise.
29334 * elf/dl-lookup.c (do_lookup_x): Likewise.
29335 (add_dependency): Likewise.
29336 (_dl_lookup_symbol_x): Likewise.
29337 (_dl_debug_bindings): Likewise.
29338 * elf/dl-open.c (_dl_show_scope): Likewise.
29339 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29340 * elf/dl-version.c (match_symbol): Likewise.
29341 (_dl_check_map_versions): Likewise.
29342 * elf/rtld.c (dl_main): Likewise.
29343 (print_unresolved): Use RTLD_PROGNAME.
29344 (print_missing_version): Likewise.
29345 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29346 (elf_machine_rela): Likewise.
29347 * sysdeps/powerpc/powerpc32/dl-machine.c
29348 (__process_machine_rela): Likewise.
29349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29355 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29362 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29364 * po/be.po: Add descriptive title.
29365 * po/zh_CN.po: Likewise.
29366 * po/header.pot: Likewise.
29368 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29370 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29372 (enlarge_archive): Likewise.
29374 2013-05-28 Ben North <ben@redfrontdoor.org>
29376 * manual/arith.texi (frexp): It is the magnitude of the return
29377 value which lies in [0.5, 1), not the return value itself.
29379 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29383 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29385 * stdio-common/bug26.c (main): Correct fscanf template.
29387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29388 declare _dl_skip_args.
29390 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29393 * manual/platform.texi: Add missing @end deftypefun.
29395 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29398 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29399 bit of mantissa of 2^16382.
29400 * math/libm-test.inc (hypot_test_data): Add more tests.
29402 * math/libm-test.inc: Add drem and pow10 to list of tested
29404 (pow10_test): New function.
29405 (drem_test): Likewise.
29406 (drem_test_tonearest): Likewise.
29407 (drem_test_towardzero): Likewise.
29408 (drem_test_downward): Likewise.
29409 (drem_test_upward): Likewise.
29410 (main): Call the new functions.
29412 * math/libm-test.inc (finite_test_data): Remove.
29413 (finite_test): Run tests from isfinite_test_data.
29414 (gamma_test_data): Remove.
29415 (gamma_test): Run tests from lgamma_test_data.
29416 * sysdeps/i386/fpu/libm-test-ulps: Update.
29417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29419 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29421 * manual/platform.texi: Add PowerPC PPR function set documentation.
29422 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29425 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29427 * math/libm-test.inc (MAX_EXP): Define.
29429 (ulp): New function.
29430 (check_float_internal): Use ULPDIFF.
29431 (cpow_test): Disable failing test.
29432 (check_ulp): Test ulp() implemetnation.
29433 (main): Call check_ulp before starting tests.
29435 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29437 * math/gen-libm-test.pl (generate_testfile): Do not handle
29438 START_DATA and END_DATA.
29439 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29441 (acos_tonearest_test_data): Likewise.
29442 (acos_towardzero_test_data): Likewise.
29443 (acos_downward_test_data): Likewise.
29444 (acos_upward_test_data): Likewise.
29445 (acosh_test_data): Likewise.
29446 (asin_test_data): Likewise.
29447 (asin_tonearest_test_data): Likewise.
29448 (asin_towardzero_test_data): Likewise.
29449 (asin_downward_test_data): Likewise.
29450 (asin_upward_test_data): Likewise.
29451 (asinh_test_data): Likewise.
29452 (atan_test_data): Likewise.
29453 (atanh_test_data): Likewise.
29454 (atan2_test_data): Likewise.
29455 (cabs_test_data): Likewise.
29456 (cacos_test_data): Likewise.
29457 (cacosh_test_data): Likewise.
29458 (carg_test_data): Likewise.
29459 (casin_test_data): Likewise.
29460 (casinh_test_data): Likewise.
29461 (catan_test_data): Likewise.
29462 (catanh_test_data): Likewise.
29463 (cbrt_test_data): Likewise.
29464 (ccos_test_data): Likewise.
29465 (ccosh_test_data): Likewise.
29466 (ceil_test_data): Likewise.
29467 (cexp_test_data): Likewise.
29468 (cimag_test_data): Likewise.
29469 (clog_test_data): Likewise.
29470 (clog10_test_data): Likewise.
29471 (conj_test_data): Likewise.
29472 (copysign_test_data): Likewise.
29473 (cos_test_data): Likewise.
29474 (cos_tonearest_test_data): Likewise.
29475 (cos_towardzero_test_data): Likewise.
29476 (cos_downward_test_data): Likewise.
29477 (cos_upward_test_data): Likewise.
29478 (cosh_test_data): Likewise.
29479 (cosh_tonearest_test_data): Likewise.
29480 (cosh_towardzero_test_data): Likewise.
29481 (cosh_downward_test_data): Likewise.
29482 (cosh_upward_test_data): Likewise.
29483 (cpow_test_data): Likewise.
29484 (cproj_test_data): Likewise.
29485 (creal_test_data): Likewise.
29486 (csin_test_data): Likewise.
29487 (csinh_test_data): Likewise.
29488 (csqrt_test_data): Likewise.
29489 (ctan_test_data): Likewise.
29490 (ctan_tonearest_test_data): Likewise.
29491 (ctan_towardzero_test_data): Likewise.
29492 (ctan_downward_test_data): Likewise.
29493 (ctan_upward_test_data): Likewise.
29494 (ctanh_test_data): Likewise.
29495 (ctanh_tonearest_test_data): Likewise.
29496 (ctanh_towardzero_test_data): Likewise.
29497 (ctanh_downward_test_data): Likewise.
29498 (ctanh_upward_test_data): Likewise.
29499 (erf_test_data): Likewise.
29500 (erfc_test_data): Likewise.
29501 (exp_test_data): Likewise.
29502 (exp_tonearest_test_data): Likewise.
29503 (exp_towardzero_test_data): Likewise.
29504 (exp_downward_test_data): Likewise.
29505 (exp_upward_test_data): Likewise.
29506 (exp10_test_data): Likewise.
29507 (exp2_test_data): Likewise.
29508 (expm1_test_data): Likewise.
29509 (fabs_test_data): Likewise.
29510 (fdim_test_data): Likewise.
29511 (finite_test_data): Likewise.
29512 (floor_test_data): Likewise.
29513 (fma_test_data): Likewise.
29514 (fma_towardzero_test_data): Likewise.
29515 (fma_downward_test_data): Likewise.
29516 (fma_upward_test_data): Likewise.
29517 (fmax_test_data): Likewise.
29518 (fmin_test_data): Likewise.
29519 (fmod_test_data): Likewise.
29520 (fpclassify_test_data): Likewise.
29521 (frexp_test_data): Likewise.
29522 (gamma_test_data): Likewise.
29523 (hypot_test_data): Likewise.
29524 (ilogb_test_data): Likewise.
29525 (isfinite_test_data): Likewise.
29526 (isgreater_test_data): Likewise.
29527 (isgreaterequal_test_data): Likewise.
29528 (isinf_test_data): Likewise.
29529 (isless_test_data): Likewise.
29530 (islessequal_test_data): Likewise.
29531 (islessgreater_test_data): Likewise.
29532 (isnan_test_data): Likewise.
29533 (isnormal_test_data): Likewise.
29534 (issignaling_test_data): Likewise.
29535 (isunordered_test_data): Likewise.
29536 (j0_test_data): Likewise.
29537 (j1_test_data): Likewise.
29538 (jn_test_data): Likewise.
29539 (ldexp_test_data): Likewise.
29540 (lgamma_test_data): Likewise.
29541 (lrint_test_data): Likewise.
29542 (lrint_tonearest_test_data): Likewise.
29543 (lrint_towardzero_test_data): Likewise.
29544 (lrint_downward_test_data): Likewise.
29545 (lrint_upward_test_data): Likewise.
29546 (llrint_test_data): Likewise.
29547 (llrint_tonearest_test_data): Likewise.
29548 (llrint_towardzero_test_data): Likewise.
29549 (llrint_downward_test_data): Likewise.
29550 (llrint_upward_test_data): Likewise.
29551 (log_test_data): Likewise.
29552 (log10_test_data): Likewise.
29553 (log1p_test_data): Likewise.
29554 (log2_test_data): Likewise.
29555 (logb_test_data): Likewise.
29556 (logb_downward_test_data): Likewise.
29557 (lround_test_data): Likewise.
29558 (llround_test_data): Likewise.
29559 (modf_test_data): Likewise.
29560 (nearbyint_test_data): Likewise.
29561 (nextafter_test_data): Likewise.
29562 (nexttoward_test_data): Likewise.
29563 (pow_test_data): Likewise.
29564 (pow_tonearest_test_data): Likewise.
29565 (pow_towardzero_test_data): Likewise.
29566 (pow_downward_test_data): Likewise.
29567 (pow_upward_test_data): Likewise.
29568 (remainder_test_data): Likewise.
29569 (remainder_tonearest_test_data): Likewise.
29570 (remainder_towardzero_test_data): Likewise.
29571 (remainder_downward_test_data): Likewise.
29572 (remainder_upward_test_data): Likewise.
29573 (remquo_test_data): Likewise.
29574 (rint_test_data): Likewise.
29575 (rint_tonearest_test_data): Likewise.
29576 (rint_towardzero_test_data): Likewise.
29577 (rint_downward_test_data): Likewise.
29578 (rint_upward_test_data): Likewise.
29579 (round_test_data): Likewise.
29580 (scalb_test_data): Likewise.
29581 (scalbn_test_data): Likewise.
29582 (scalbln_test_data): Likewise.
29583 (signbit_test_data): Likewise.
29584 (sin_test_data): Likewise.
29585 (sin_tonearest_test_data): Likewise.
29586 (sin_towardzero_test_data): Likewise.
29587 (sin_downward_test_data): Likewise.
29588 (sin_upward_test_data): Likewise.
29589 (sincos_test_data): Likewise.
29590 (sinh_test_data): Likewise.
29591 (sinh_tonearest_test_data): Likewise.
29592 (sinh_towardzero_test_data): Likewise.
29593 (sinh_downward_test_data): Likewise.
29594 (sinh_upward_test_data): Likewise.
29595 (sqrt_test_data): Likewise.
29596 (tan_test_data): Likewise.
29597 (tan_tonearest_test_data): Likewise.
29598 (tan_towardzero_test_data): Likewise.
29599 (tan_downward_test_data): Likewise.
29600 (tan_upward_test_data): Likewise.
29601 (tanh_test_data): Likewise.
29602 (tgamma_test_data): Likewise.
29603 (trunc_test_data): Likewise.
29604 (y0_test_data): Likewise.
29605 (y1_test_data): Likewise.
29606 (yn_test_data): Likewise.
29607 (significand_test_data): Likewise.
29609 * math/gen-libm-test.pl (@functions): Remove variable.
29610 (generate_testfile): Don't handle START and END lines.
29611 * math/libm-test.inc (START): New macro.
29613 (END_COMPLEX): Likewise.
29614 (acos_test): Use END macro without arguments.
29615 (acos_test_tonearest): Likewise.
29616 (acos_test_towardzero): Likewise.
29617 (acos_test_downward): Likewise.
29618 (acos_test_upward): Likewise.
29619 (acosh_test): Likewise.
29620 (asin_test): Likewise.
29621 (asin_test_tonearest): Likewise.
29622 (asin_test_towardzero): Likewise.
29623 (asin_test_downward): Likewise.
29624 (asin_test_upward): Likewise.
29625 (asinh_test): Likewise.
29626 (atan_test): Likewise.
29627 (atanh_test): Likewise.
29628 (atan2_test): Likewise.
29629 (cabs_test): Likewise.
29630 (cacos_test): Use END_COMPLEX macro without arguments.
29631 (cacosh_test): Likewise.
29632 (carg_test): Use END macro without arguments.
29633 (casin_test): Use END_COMPLEX macro without arguments.
29634 (casinh_test): Likewise.
29635 (catan_test): Likewise.
29636 (catanh_test): Likewise.
29637 (cbrt_test): Use END macro without arguments.
29638 (ccos_test): Use END_COMPLEX macro without arguments.
29639 (ccosh_test): Likewise.
29640 (ceil_test): Use END macro without arguments.
29641 (cexp_test): Use END_COMPLEX macro without arguments.
29642 (cimag_test): Use END macro without arguments.
29643 (clog_test): Use END_COMPLEX macro without arguments.
29644 (clog10_test): Likewise.
29645 (conj_test): Likewise.
29646 (copysign_test): Use END macro without arguments.
29647 (cos_test): Likewise.
29648 (cos_test_tonearest): Likewise.
29649 (cos_test_towardzero): Likewise.
29650 (cos_test_downward): Likewise.
29651 (cos_test_upward): Likewise.
29652 (cosh_test): Likewise.
29653 (cosh_test_tonearest): Likewise.
29654 (cosh_test_towardzero): Likewise.
29655 (cosh_test_downward): Likewise.
29656 (cosh_test_upward): Likewise.
29657 (cpow_test): Use END_COMPLEX macro without arguments.
29658 (cproj_test): Likewise.
29659 (creal_test): Use END macro without arguments.
29660 (csin_test): Use END_COMPLEX macro without arguments.
29661 (csinh_test): Likewise.
29662 (csqrt_test): Likewise.
29663 (ctan_test): Likewise.
29664 (ctan_test_tonearest): Likewise.
29665 (ctan_test_towardzero): Likewise.
29666 (ctan_test_downward): Likewise.
29667 (ctan_test_upward): Likewise.
29668 (ctanh_test): Likewise.
29669 (ctanh_test_tonearest): Likewise.
29670 (ctanh_test_towardzero): Likewise.
29671 (ctanh_test_downward): Likewise.
29672 (ctanh_test_upward): Likewise.
29673 (erf_test): Use END macro without arguments.
29674 (erfc_test): Likewise.
29675 (exp_test): Likewise.
29676 (exp_test_tonearest): Likewise.
29677 (exp_test_towardzero): Likewise.
29678 (exp_test_downward): Likewise.
29679 (exp_test_upward): Likewise.
29680 (exp10_test): Likewise.
29681 (exp2_test): Likewise.
29682 (expm1_test): Likewise.
29683 (fabs_test): Likewise.
29684 (fdim_test): Likewise.
29685 (finite_test): Likewise.
29686 (floor_test): Likewise.
29687 (fma_test): Likewise.
29688 (fma_test_towardzero): Likewise.
29689 (fma_test_downward): Likewise.
29690 (fma_test_upward): Likewise.
29691 (fmax_test): Likewise.
29692 (fmin_test): Likewise.
29693 (fmod_test): Likewise.
29694 (fpclassify_test): Likewise.
29695 (frexp_test): Likewise.
29696 (gamma_test): Likewise.
29697 (hypot_test): Likewise.
29698 (ilogb_test): Likewise.
29699 (isfinite_test): Likewise.
29700 (isgreater_test): Likewise.
29701 (isgreaterequal_test): Likewise.
29702 (isinf_test): Likewise.
29703 (isless_test): Likewise.
29704 (islessequal_test): Likewise.
29705 (islessgreater_test): Likewise.
29706 (isnan_test): Likewise.
29707 (isnormal_test): Likewise.
29708 (issignaling_test): Likewise.
29709 (isunordered_test): Likewise.
29710 (j0_test): Likewise.
29711 (j1_test): Likewise.
29712 (jn_test): Likewise.
29713 (ldexp_test): Likewise.
29714 (lgamma_test): Likewise.
29715 (lrint_test): Likewise.
29716 (lrint_test_tonearest): Likewise.
29717 (lrint_test_towardzero): Likewise.
29718 (lrint_test_downward): Likewise.
29719 (lrint_test_upward): Likewise.
29720 (llrint_test): Likewise.
29721 (llrint_test_tonearest): Likewise.
29722 (llrint_test_towardzero): Likewise.
29723 (llrint_test_downward): Likewise.
29724 (llrint_test_upward): Likewise.
29725 (log_test): Likewise.
29726 (log10_test): Likewise.
29727 (log1p_test): Likewise.
29728 (log2_test): Likewise.
29729 (logb_test): Likewise.
29730 (logb_test_downward): Likewise.
29731 (lround_test): Likewise.
29732 (llround_test): Likewise.
29733 (modf_test): Likewise.
29734 (nearbyint_test): Likewise.
29735 (nextafter_test): Likewise.
29736 (nexttoward_test): Likewise.
29737 (pow_test): Likewise.
29738 (pow_test_tonearest): Likewise.
29739 (pow_test_towardzero): Likewise.
29740 (pow_test_downward): Likewise.
29741 (pow_test_upward): Likewise.
29742 (remainder_test): Likewise.
29743 (remainder_test_tonearest): Likewise.
29744 (remainder_test_towardzero): Likewise.
29745 (remainder_test_downward): Likewise.
29746 (remainder_test_upward): Likewise.
29747 (remquo_test): Likewise.
29748 (rint_test): Likewise.
29749 (rint_test_tonearest): Likewise.
29750 (rint_test_towardzero): Likewise.
29751 (rint_test_downward): Likewise.
29752 (rint_test_upward): Likewise.
29753 (round_test): Likewise.
29754 (scalb_test): Likewise.
29755 (scalbn_test): Likewise.
29756 (scalbln_test): Likewise.
29757 (signbit_test): Likewise.
29758 (sin_test): Likewise.
29759 (sin_test_tonearest): Likewise.
29760 (sin_test_towardzero): Likewise.
29761 (sin_test_downward): Likewise.
29762 (sin_test_upward): Likewise.
29763 (sincos_test): Likewise.
29764 (sinh_test): Likewise.
29765 (sinh_test_tonearest): Likewise.
29766 (sinh_test_towardzero): Likewise.
29767 (sinh_test_downward): Likewise.
29768 (sinh_test_upward): Likewise.
29769 (sqrt_test): Likewise.
29770 (tan_test): Likewise.
29771 (tan_test_tonearest): Likewise.
29772 (tan_test_towardzero): Likewise.
29773 (tan_test_downward): Likewise.
29774 (tan_test_upward): Likewise.
29775 (tanh_test): Likewise.
29776 (tgamma_test): Likewise.
29777 (trunc_test): Likewise.
29778 (y0_test): Likewise.
29779 (y1_test): Likewise.
29780 (yn_test): Likewise.
29781 (significand_test): Likewise.
29783 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
29786 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29788 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29791 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29792 __ppc_mdoio and __ppc_mdoom.
29793 * manual/platform.texi: Document new functions __ppc_yield,
29794 __ppc_mdoio and __ppc_mdoom.
29796 2013-05-22 Carlos O'Donell <carlos@redhat.com>
29798 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29799 (main): Mention "tls" pseudo-hwcap is legacy.
29800 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29802 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29804 * math/gen-libm-test.pl (parse_args): Output only string of
29805 arguments as text for test name, not full call or descriptions of
29806 tests for extra outputs.
29807 (generate_testfile): Do not pass function name to parse_args.
29808 Generate this_func variable from START.
29809 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29811 (struct test_ff_f_data): Likewise.
29812 (test_ff_f_data_nexttoward): Likewise.
29813 (struct test_fi_f_data): Likewise.
29814 (struct test_fl_f_data): Likewise.
29815 (struct test_if_f_data): Likewise.
29816 (struct test_fff_f_data): Likewise.
29817 (struct test_c_f_data): Likewise.
29818 (struct test_f_f1_data): Likewise. Remove field extra_name.
29819 (struct test_fF_f1_data): Likewise.
29820 (struct test_ffI_f1_data): Likewise.
29821 (struct test_c_c_data): Rename test_name field to arg_str.
29822 (struct test_cc_c_data): Likewise.
29823 (struct test_f_i_data): Likewise.
29824 (struct test_ff_i_data): Likewise.
29825 (struct test_f_l_data): Likewise.
29826 (struct test_f_L_data): Likewise.
29827 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29829 (COMMON_TEST_SETUP): New macro.
29830 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29831 (COMMON_TEST_CLEANUP): Likewise.
29832 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29833 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29835 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29836 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29838 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29839 (RUN_TEST_fff_f): Take argument string. Call new setup and
29841 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29842 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29844 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29845 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
29847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29848 (RUN_TEST_fF_f1): Take argument string. Call new setup and
29850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29851 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29854 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29857 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29859 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29860 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29862 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29863 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29865 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29866 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29868 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29869 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29871 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29872 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29874 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29875 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29877 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29878 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29880 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29881 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29883 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29884 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29886 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29888 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29890 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29891 to _sifields.sigfault.
29892 (si_addr_lsb): Define new macro.
29893 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29897 2013-05-03 Carlos O'Donell <carlos at redhat.com>
29900 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29902 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29904 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29905 loading the domain.
29907 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29909 * math/gen-libm-test.pl (parse_args): Do not include expected
29910 result in test name.
29911 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29913 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29914 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29918 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29920 * benchtests/Makefile: Sort function entries.
29922 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29923 tanh, asinh, acosh, atanh.
29924 * benchtests/acos-inputs: New file.
29925 * benchtests/acosh-inputs: New file.
29926 * benchtests/asin-inputs: New file.
29927 * benchtests/asinh-inputs: New file.
29928 * benchtests/atanh-inputs: New file.
29929 * benchtests/cosh-inputs: New file.
29930 * benchtests/log-inputs: New file.
29931 * benchtests/sinh-inputs: New file.
29932 * benchtests/tanh-inputs: New file.
29934 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29937 * posix/tst-getaddrinfo4.c: New test.
29938 * posix/Makefile (tests): Add it.
29940 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29943 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29944 when no services were used.
29945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29946 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29948 2013-05-21 Andreas Schwab <schwab@suse.de>
29951 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29952 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29954 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29955 redundant variable declarations and reallocation of buffer when
29956 parsing as IPv6 address. Always set NSS status when called from
29957 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29958 buffer too small. Correct computation of needed size.
29959 * nss/Makefile (tests): Add test-digits-dots.
29960 * nss/test-digits-dots.c: New test.
29962 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29964 * benchtests/Makefile: Remove instructions for adding
29966 * benchtests/README: New file to explain how to execute and
29967 enhance the benchmark tests.
29969 2013-05-21 Andreas Schwab <schwab@suse.de>
29972 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29973 * setjmp/tst-sigsetjmp.c: New test.
29975 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29977 * sysdeps/x86_64/memset.S (memset): New implementation.
29978 (__bzero): Likewise.
29979 (__memset_tail): New function.
29981 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29983 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29984 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29985 __memcpy_sse2_unaligned ifunc selection.
29986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29987 Add memcpy-sse2-unaligned.S.
29988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29989 Add: __memcpy_sse2_unaligned.
29991 2013-05-19 Joseph Myers <joseph@codesourcery.com>
29994 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29995 math_force_eval before restoring floating-point envrionment.
29996 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29999 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30001 (__nearbyintl): Use math_force_eval before restoring
30002 floating-point environment.
30003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30005 * math/gen-libm-test.pl (special_functions): Remove.
30006 (parse_args): Don't handle TEST_extra. Handle functions with no
30008 * math/libm-test.inc (struct test_sincos_data): Replace with
30009 struct test_fFF_11_data.
30010 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30011 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30012 (sincos_test_data): Change element type to struct
30013 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30014 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30015 RUN_TEST_LOOP_sincos.
30016 * math/README.libm-test: Don't mention special handling of
30017 individual functions.
30018 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30020 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025 * math/gen-libm-test.pl (get_variable): Remove function.
30026 (parse_args): Don't show pointer parameters to call in test
30027 names. Use "extra output N" in test names for extra outputs
30028 rather than naming variables.
30030 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30033 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30034 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30035 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30037 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30039 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30042 * math/gen-libm-test.pl (@tests): Remove variable.
30043 ($count): Likewise.
30044 (new_test): Remove function.
30045 (show_exceptions): New function.
30046 (special_functions): Use show_exceptions instead of new_test.
30047 (parse_args): Likewise.
30048 (generate_testfile): Pass only function name in generated call to
30049 print_max_error or print_complex_max_error.
30050 (get_ulps): Do not handle complex tests specially.
30051 (output_test): Rename to ...
30052 (get_all_ulps_for_test): ... this. Return a string rather than
30053 printing to a file. Require ulps to be present.
30054 (output_ulps): Generate arrays rather than #defines.
30055 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30056 (struct ulp_data): New type.
30057 (BUILD_COMPLEX_ULP): Remove macro.
30058 (compare_ulp_data): New function.
30059 (find_ulps): Likewise.
30060 (find_test_ulps): Likewise.
30061 (find_function_ulps): Likewise.
30062 (find_complex_function_ulps): Likewise.
30063 (print_max_error): Determine allowed ulps using
30064 find_function_ulps.
30065 (print_complex_max_error): Determine allowed ulps using
30066 find_complex_function_ulps.
30067 (check_float_internal): Determine max ulps using find_test_ulps.
30068 (check_float): Do not take max_ulp parameter. Update call to
30069 check_float_internal.
30070 (check_complex): Likewise.
30071 (check_int): Do not take max_ulp parameter.
30072 (check_long): Likewise.
30073 (check_bool): Likewise.
30074 (check_longlong): Likewise.
30075 (struct test_f_f_data): Remove max_ulp field.
30076 (struct test_ff_f_data): Likewise.
30077 (struct test_ff_f_data_nexttoward): Likewise.
30078 (struct test_fi_f_data): Likewise.
30079 (struct test_fl_f_data): Likewise.
30080 (struct test_if_f_data): Likewise.
30081 (struct test_fff_f_data): Likewise.
30082 (struct test_c_f_data): Likewise.
30083 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30084 (struct test_fF_f1_data): Likewise.
30085 (struct test_ffI_f1_data): Likewise.
30086 (struct test_c_c_data): Remove max_ulp field.
30087 (struct test_cc_c_data): Likewise.
30088 (struct test_f_i_data): Likewise.
30089 (struct test_ff_i_data): Likewise.
30090 (struct test_f_l_data): Likewise.
30091 (struct test_f_L_data): Likewise.
30092 (struct test_sincos_data): Likewise.
30093 (RUN_TEST_f_f): Do not handle ulps.
30094 (RUN_TEST_LOOP_f_f): Likewise.
30095 (RUN_TEST_2_f): Likewise.
30096 (RUN_TEST_LOOP_2_f): Likewise.
30097 (RUN_TEST_fff_f): Likewise.
30098 (RUN_TEST_LOOP_fff_f): Likewise.
30099 (RUN_TEST_c_f): Likewise.
30100 (RUN_TEST_LOOP_c_f): Likewise.
30101 (RUN_TEST_f_f1): Likewise.
30102 (RUN_TEST_LOOP_f_f1): Likewise.
30103 (RUN_TEST_fF_f1): Likewise.
30104 (RUN_TEST_LOOP_fF_f1): Likewise.
30105 (RUN_TEST_fI_f1): Likewise.
30106 (RUN_TEST_LOOP_fI_f1): Likewise.
30107 (RUN_TEST_ffI_f1): Likewise.
30108 (RUN_TEST_LOOP_ffI_f1): Likewise.
30109 (RUN_TEST_c_c): Likewise.
30110 (RUN_TEST_LOOP_c_c): Likewise.
30111 (RUN_TEST_cc_c): Likewise.
30112 (RUN_TEST_LOOP_cc_c): Likewise.
30113 (RUN_TEST_f_i): Likewise.
30114 (RUN_TEST_LOOP_f_i): Likewise.
30115 (RUN_TEST_f_i_tg): Likewise.
30116 (RUN_TEST_LOOP_f_i_tg): Likewise.
30117 (RUN_TEST_ff_i_tg): Likewise.
30118 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30119 (RUN_TEST_f_b): Likewise.
30120 (RUN_TEST_LOOP_f_b): Likewise.
30121 (RUN_TEST_f_b_tg): Likewise.
30122 (RUN_TEST_LOOP_f_b_tg): Likewise.
30123 (RUN_TEST_f_l): Likewise.
30124 (RUN_TEST_LOOP_f_l): Likewise.
30125 (RUN_TEST_f_L): Likewise.
30126 (RUN_TEST_LOOP_f_L): Likewise.
30127 (RUN_TEST_sincos): Likewise.
30128 (RUN_TEST_LOOP_sincos): Likewise.
30130 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30134 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30135 main case of finite arguments, set rounding mode to FE_TONEAREST
30136 and discard exceptions.
30137 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30139 (remainder_tonearest_test_data): New variable.
30140 (remainder_test_tonearest): New function.
30141 (remainder_towardzero_test_data): New variable.
30142 (remainder_test_towardzero): New function.
30143 (remainder_downward_test_data): New variable.
30144 (remainder_test_downward): New function.
30145 (remainder_upward_test_data): New variable.
30146 (remainder_test_upward): New function.
30147 (main): Call the new test functions.
30149 * math/libm-test.inc (struct test_f_f1_data): Remove field
30151 (struct test_fF_f1_data): Likewise.
30152 (struct test_ffI_f1_data): Likewise.
30153 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30154 based on value of EXTRA_EXPECTED.
30155 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30156 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30157 EXTRA_VAR based on value of EXTRA_EXPECTED.
30158 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30159 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30160 EXTRA_VAR based on value of EXTRA_EXPECTED.
30161 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30162 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30163 EXTRA_VAR based on value of EXTRA_EXPECTED.
30164 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30165 * math/gen-libm-test.pl (parse_args): Don't output initializers
30166 for extra output values.
30168 * math/libm-test.inc (check_int): Expect result to be exactly
30169 equal to expected value and do not handle ulps.
30170 (check_long): Likewise.
30171 (check_longlong): Likewise.
30173 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30175 (cimag_test_data): Likewise.
30176 (conj_test_data): Likewise.
30177 (copysign_test_data): Likewise.
30178 (cproj_test_data): Likewise.
30179 (creal_test_data): Likewise.
30180 (fabs_test_data): Likewise.
30181 (fdim_test_data): Likewise.
30182 (finite_test_data): Likewise.
30183 (floor_test_data): Likewise.
30184 (fmax_test_data): Likewise.
30185 (fmin_test_data): Likewise.
30186 (fmod_test_data): Likewise.
30187 (fpclassify_test_data): Likewise.
30188 (frexp_test_data): Likewise.
30189 (ilogb_test_data): Likewise.
30190 (isfinite_test_data): Likewise.
30191 (isgreater_test_data): Likewise.
30192 (isgreaterequal_test_data): Likewise.
30193 (isinf_test_data): Likewise.
30194 (isless_test_data): Likewise.
30195 (islessequal_test_data): Likewise.
30196 (islessgreater_test_data): Likewise.
30197 (isnan_test_data): Likewise.
30198 (isnormal_test_data): Likewise.
30199 (issignaling_test_data): Likewise.
30200 (isunordered_test_data): Likewise.
30201 (ldexp_test_data): Likewise.
30202 (lrint_test_data): Likewise.
30203 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30204 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30205 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30206 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30207 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30208 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30210 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30211 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30212 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30213 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30215 (lrint_downward_test_data): Test for "inexact" exceptions.
30216 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30217 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30218 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30220 (lrint_upward_test_data): Test for "inexact" exceptions.
30221 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30223 (llrint_test_data): Test for "inexact" exceptions.
30224 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30225 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30226 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30227 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30228 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30229 (llrint_downward_test_data): Test for "inexact" exceptions.
30230 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30231 (llrint_upward_test_data): Test for "inexact" exceptions.
30232 (logb_test_data): Likewise.
30233 (logb_downward_test_data): Likewise.
30234 (nextafter_test_data): Likewise.
30235 (nexttoward_test_data): Likewise.
30236 (remainder_test_data): Likewise.
30237 (remquo_test_data): Likewise.
30238 (scalbn_test_data): Likewise.
30239 (scalbln_test_data): Likewise.
30240 (signbit_test_data): Likewise.
30241 (sqrt_test_data): Likewise.
30242 (significand_test_data): Likewise.
30244 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30247 * benchtests/bench-modf.c (struct args): Mark arg0 as
30249 * scripts/bench.pl: Mark members of struct args as volatile.
30251 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30254 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30255 negative infinity on POWER6 or lower.
30256 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30258 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30261 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30262 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30263 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30264 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30265 (_FP_SETQNAN): New macro.
30266 (_FP_SETQNAN_SEMIRAW): Likewise.
30267 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30268 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30269 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30270 (FP_EXTEND): Use _FP_FRAC_SNANP.
30271 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30272 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30276 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30279 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30281 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30282 with DIVIDE_BY_ZERO_EXCEPTION.
30283 (gamma_test_data): Likewise.
30284 (lgamma_test_data): Likewise.
30285 (log_test_data): Likewise.
30286 (log10_test_data): Likewise.
30287 (log2_test_data): Likewise.
30288 (tgamma_test_data): Likewise.
30290 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30291 (acos_test_tonearest): Likewise.
30292 (acos_test_towardzero): Likewise.
30293 (acos_test_downward): Likewise.
30294 (acos_test_upward): Likewise.
30295 (acosh_test): Likewise.
30296 (asin_test): Likewise.
30297 (asin_test_tonearest): Likewise.
30298 (asin_test_towardzero): Likewise.
30299 (asin_test_downward): Likewise.
30300 (asin_test_upward): Likewise.
30301 (asinh_test): Likewise.
30302 (atan_test): Likewise.
30303 (atanh_test): Likewise.
30304 (atan2_test): Likewise.
30305 (cabs_test): Likewise.
30306 (cacos_test): Likewise.
30307 (cacosh_test): Likewise.
30308 (casin_test): Likewise.
30309 (casinh_test): Likewise.
30310 (catan_test): Likewise.
30311 (catanh_test): Likewise.
30312 (cbrt_test): Likewise.
30313 (ccos_test): Likewise.
30314 (ccosh_test): Likewise.
30315 (cexp_test): Likewise.
30316 (clog_test): Likewise.
30317 (clog10_test): Likewise.
30318 (cos_test): Likewise.
30319 (cos_test_tonearest): Likewise.
30320 (cos_test_towardzero): Likewise.
30321 (cos_test_downward): Likewise.
30322 (cos_test_upward): Likewise.
30323 (cosh_test): Likewise.
30324 (cosh_test_tonearest): Likewise.
30325 (cosh_test_towardzero): Likewise.
30326 (cosh_test_downward): Likewise.
30327 (cosh_test_upward): Likewise.
30328 (cpow_test): Likewise.
30329 (csin_test): Likewise.
30330 (csinh_test): Likewise.
30331 (csqrt_test): Likewise.
30332 (ctan_test): Likewise.
30333 (ctan_test_tonearest): Likewise.
30334 (ctan_test_towardzero): Likewise.
30335 (ctan_test_downward): Likewise.
30336 (ctan_test_upward): Likewise.
30337 (ctanh_test): Likewise.
30338 (ctanh_test_tonearest): Likewise.
30339 (ctanh_test_towardzero): Likewise.
30340 (ctanh_test_downward): Likewise.
30341 (ctanh_test_upward): Likewise.
30342 (erf_test): Likewise.
30343 (erfc_test): Likewise.
30344 (exp_test): Likewise.
30345 (exp_test_tonearest): Likewise.
30346 (exp_test_towardzero): Likewise.
30347 (exp_test_downward): Likewise.
30348 (exp_test_upward): Likewise.
30349 (exp10_test): Likewise.
30350 (exp2_test): Likewise.
30351 (expm1_test): Likewise.
30352 (fmod_test): Likewise.
30353 (gamma_test): Likewise.
30354 (hypot_test): Likewise.
30355 (j0_test): Likewise.
30356 (j1_test): Likewise.
30357 (jn_test): Likewise.
30358 (lgamma_test): Likewise.
30359 (log_test): Likewise.
30360 (log10_test): Likewise.
30361 (log1p_test): Likewise.
30362 (log2_test): Likewise.
30363 (logb_test_downward): Likewise.
30364 (pow_test): Likewise.
30365 (pow_test_tonearest): Likewise.
30366 (pow_test_towardzero): Likewise.
30367 (pow_test_downward): Likewise.
30368 (pow_test_upward): Likewise.
30369 (remainder_test): Likewise.
30370 (remquo_test): Likewise.
30371 (sin_test): Likewise.
30372 (sin_test_tonearest): Likewise.
30373 (sin_test_towardzero): Likewise.
30374 (sin_test_downward): Likewise.
30375 (sin_test_upward): Likewise.
30376 (sincos_test): Likewise.
30377 (sinh_test): Likewise.
30378 (sinh_test_tonearest): Likewise.
30379 (sinh_test_towardzero): Likewise.
30380 (sinh_test_downward): Likewise.
30381 (sinh_test_upward): Likewise.
30382 (sqrt_test): Likewise.
30383 (tan_test): Likewise.
30384 (tan_test_tonearest): Likewise.
30385 (tan_test_towardzero): Likewise.
30386 (tan_test_downward): Likewise.
30387 (tan_test_upward): Likewise.
30388 (tanh_test): Likewise.
30389 (tgamma_test): Likewise.
30390 (y0_test): Likewise.
30391 (y1_test): Likewise.
30392 (yn_test): Likewise.
30394 * math/gen-libm-test.pl (adjust_arg): Remove function.
30395 (special_function): Remove argument $in_func. Only handle
30396 generating output for tables of tests, not inside functions.
30397 (parse_args): Likewise.
30398 (generate_testfile): Remove variable $in_func. Update call to
30400 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30401 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30402 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30403 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30404 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30405 (MAX_VALUE_INIT): Rename macro to max_value.
30406 (MIN_VALUE_INIT): Rename macro to min_value.
30407 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30408 (plus_zero): Remove variable.
30409 (minus_zero): Likewise.
30410 (plus_infty): Likewise.
30411 (minus_infty): Likewise.
30412 (qnan_value): Likewise.
30413 (max_value): Likewise.
30414 (min_value): Likewise.
30415 (min_subnorm_value): Likewise.
30417 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30419 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30420 uint64_t or uint32_t usage.
30421 * crypt/sha256-block.c: Likewise.
30422 * crypt/sha256-crypt.c: Likewise.
30423 * crypt/sha256.c: Likewise.
30424 * crypt/sha512-block.c: Likewise.
30425 * crypt/sha512-crypt.c: Likewise.
30426 * crypt/sha512.c: Likewise.
30427 * debug/backtrace-tst.c: Likewise.
30428 * debug/pcprofiledump.c: Likewise.
30429 * elf/cache.c: Likewise.
30430 * elf/dl-cache.c: Likewise.
30431 * elf/dl-misc.c: Likewise.
30432 * elf/dl-profile.c: Likewise.
30433 * elf/dl-support.c: Likewise.
30434 * elf/ldconfig.c: Likewise.
30435 * elf/sprof.c: Likewise.
30436 * iconv/dummy-repertoire.c: Likewise.
30437 * iconv/iconv_charmap.c: Likewise.
30438 * iconv/skeleton.c: Likewise.
30439 * iconvdata/8bit-generic.c: Likewise.
30440 * iconvdata/cp737.h: Likewise.
30441 * iconvdata/cp775.h: Likewise.
30442 * iconvdata/ibm1008.h: Likewise.
30443 * iconvdata/ibm1025.h: Likewise.
30444 * iconvdata/ibm1046.h: Likewise.
30445 * iconvdata/ibm1097.h: Likewise.
30446 * iconvdata/ibm1112.h: Likewise.
30447 * iconvdata/ibm1122.h: Likewise.
30448 * iconvdata/ibm1123.h: Likewise.
30449 * iconvdata/ibm1124.h: Likewise.
30450 * iconvdata/ibm1129.h: Likewise.
30451 * iconvdata/ibm1130.h: Likewise.
30452 * iconvdata/ibm1132.h: Likewise.
30453 * iconvdata/ibm1133.h: Likewise.
30454 * iconvdata/ibm1137.h: Likewise.
30455 * iconvdata/ibm1140.h: Likewise.
30456 * iconvdata/ibm1141.h: Likewise.
30457 * iconvdata/ibm1142.h: Likewise.
30458 * iconvdata/ibm1143.h: Likewise.
30459 * iconvdata/ibm1144.h: Likewise.
30460 * iconvdata/ibm1145.h: Likewise.
30461 * iconvdata/ibm1146.h: Likewise.
30462 * iconvdata/ibm1147.h: Likewise.
30463 * iconvdata/ibm1148.h: Likewise.
30464 * iconvdata/ibm1149.h: Likewise.
30465 * iconvdata/ibm1153.h: Likewise.
30466 * iconvdata/ibm1154.h: Likewise.
30467 * iconvdata/ibm1155.h: Likewise.
30468 * iconvdata/ibm1156.h: Likewise.
30469 * iconvdata/ibm1157.h: Likewise.
30470 * iconvdata/ibm1158.h: Likewise.
30471 * iconvdata/ibm1160.h: Likewise.
30472 * iconvdata/ibm1161.h: Likewise.
30473 * iconvdata/ibm1162.h: Likewise.
30474 * iconvdata/ibm1163.h: Likewise.
30475 * iconvdata/ibm1164.h: Likewise.
30476 * iconvdata/ibm1166.h: Likewise.
30477 * iconvdata/ibm1167.h: Likewise.
30478 * iconvdata/ibm12712.h: Likewise.
30479 * iconvdata/ibm1390.h: Likewise.
30480 * iconvdata/ibm1399.h: Likewise.
30481 * iconvdata/ibm16804.h: Likewise.
30482 * iconvdata/ibm4517.h: Likewise.
30483 * iconvdata/ibm4899.h: Likewise.
30484 * iconvdata/ibm4909.h: Likewise.
30485 * iconvdata/ibm4971.h: Likewise.
30486 * iconvdata/ibm5347.h: Likewise.
30487 * iconvdata/ibm803.h: Likewise.
30488 * iconvdata/ibm856.h: Likewise.
30489 * iconvdata/ibm901.h: Likewise.
30490 * iconvdata/ibm902.h: Likewise.
30491 * iconvdata/ibm9030.h: Likewise.
30492 * iconvdata/ibm9066.h: Likewise.
30493 * iconvdata/ibm921.h: Likewise.
30494 * iconvdata/ibm922.h: Likewise.
30495 * iconvdata/ibm9448.h: Likewise.
30496 * iconvdata/isiri-3342.h: Likewise.
30497 * iconvdata/jis0201.h: Likewise.
30498 * include/link.h: Likewise.
30499 * include/netdb.h: Likewise.
30500 * inet/check_native.c: Likewise.
30501 * inet/check_pf.c: Likewise.
30502 * inet/getipv4sourcefilter.c: Likewise.
30503 * inet/getnameinfo.c: Likewise.
30504 * inet/getsourcefilter.c: Likewise.
30505 * inet/htonl.c: Likewise.
30506 * inet/setipv4sourcefilter.c: Likewise.
30507 * inet/setsourcefilter.c: Likewise.
30508 * inet/test-inet6_opt.c: Likewise.
30509 * inet/tst-network.c: Likewise.
30510 * locale/C-collate.c: Likewise.
30511 * locale/C-ctype.c: Likewise.
30512 * locale/C-time.c: Likewise.
30513 * locale/C-translit.h: Likewise.
30514 * locale/loadarchive.c: Likewise.
30515 * locale/programs/3level.h: Likewise.
30516 * locale/programs/charmap.c: Likewise.
30517 * locale/programs/charmap.h: Likewise.
30518 * locale/programs/ld-address.c: Likewise.
30519 * locale/programs/ld-collate.c: Likewise.
30520 * locale/programs/ld-ctype.c: Likewise.
30521 * locale/programs/ld-identification.c: Likewise.
30522 * locale/programs/ld-measurement.c: Likewise.
30523 * locale/programs/ld-messages.c: Likewise.
30524 * locale/programs/ld-monetary.c: Likewise.
30525 * locale/programs/ld-name.c: Likewise.
30526 * locale/programs/ld-numeric.c: Likewise.
30527 * locale/programs/ld-paper.c: Likewise.
30528 * locale/programs/ld-telephone.c: Likewise.
30529 * locale/programs/ld-time.c: Likewise.
30530 * locale/programs/linereader.c: Likewise.
30531 * locale/programs/locale.c: Likewise.
30532 * locale/programs/locarchive.c: Likewise.
30533 * locale/programs/locfile.h: Likewise.
30534 * locale/programs/repertoire.c: Likewise.
30535 * locale/programs/simple-hash.c: Likewise.
30536 * locale/programs/simple-hash.h: Likewise.
30537 * malloc/memusage.c: Likewise.
30538 * malloc/memusagestat.c: Likewise.
30539 * nis/nis_defaults.c: Likewise.
30540 * nis/nis_hash.c: Likewise.
30541 * nis/nis_print.c: Likewise.
30542 * nis/nis_xdr.c: Likewise.
30543 * nscd/connections.c: Likewise.
30544 * nscd/hstcache.c: Likewise.
30545 * nscd/nscd_gethst_r.c: Likewise.
30546 * nscd/nscd_getserv_r.c: Likewise.
30547 * nscd/nscd_helper.c: Likewise.
30548 * nscd/servicescache.c: Likewise.
30549 * nss/makedb.c: Likewise.
30550 * nss/nss_db/db-XXX.c: Likewise.
30551 * nss/nss_db/db-initgroups.c: Likewise.
30552 * nss/nss_db/db-netgrp.c: Likewise.
30553 * nss/nss_files/files-network.c: Likewise.
30554 * nss/nss_files/files-parse.c: Likewise.
30555 * posix/bug-regex5.c: Likewise.
30556 * posix/fnmatch_loop.c: Likewise.
30557 * posix/regcomp.c: Likewise.
30558 * posix/regexec.c: Likewise.
30559 * posix/tst-rfc3484-2.c: Likewise.
30560 * posix/tst-rfc3484-3.c: Likewise.
30561 * posix/tst-rfc3484.c: Likewise.
30562 * resolv/nss_dns/dns-canon.c: Likewise.
30563 * resolv/nss_dns/dns-network.c: Likewise.
30564 * resolv/res_init.c: Likewise.
30565 * resolv/res_mkquery.c: Likewise.
30566 * resolv/tst-aton.c: Likewise.
30567 * stdlib/cxa_atexit.c: Likewise.
30568 * stdlib/cxa_finalize.c: Likewise.
30569 * stdlib/gen-fpioconst.c: Likewise.
30570 * stdlib/strtol_l.c: Likewise.
30571 * string/tst-endian.c: Likewise.
30572 * sunrpc/auth_des.c: Likewise.
30573 * sunrpc/clnt_udp.c: Likewise.
30574 * sunrpc/rtime.c: Likewise.
30575 * sunrpc/svcauth_des.c: Likewise.
30576 * sunrpc/xdr.c: Likewise.
30577 * sunrpc/xdr_intXX_t.c: Likewise.
30578 * sunrpc/xdr_rec.c: Likewise.
30579 * sysdeps/generic/ldconfig.h: Likewise.
30580 * sysdeps/generic/ldsodefs.h: Likewise.
30581 * sysdeps/generic/memusage.h: Likewise.
30582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30591 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30592 * sysdeps/posix/getaddrinfo.c: Likewise.
30593 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30594 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30595 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30596 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30597 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30598 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30599 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30600 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30601 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30602 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30604 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30605 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30606 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30607 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30608 * sysdeps/x86_64/dl-tls.h: Likewise.
30609 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30610 * time/alt_digit.c: Likewise.
30611 * time/era.c: Likewise.
30612 * wcsmbs/tst-c16c32-1.c: Likewise.
30614 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30616 * math/libm-test.inc (struct test_sincos_data): New type.
30617 (RUN_TEST_LOOP_sincos): New macro.
30618 (sincos_test_data): New variable.
30619 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30621 2013-05-16 Richard Henderson <rth@redhat.com>
30623 * math/atest-exp2.c (LIMB64): New macro.
30624 (CONSTSZ): New macro.
30625 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30627 (print_mpn_fp): ... to function scope.
30628 (read_mpn_hex): Remove.
30629 (get_log2): Remove.
30630 (exp2_mpn): Use mp_log2.
30631 (main): Use mp_exp1.
30633 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30635 * math/libm-test.inc: Remove comment about not testing "inexact"
30637 (INEXACT_EXCEPTION): New macro.
30638 (NO_INEXACT_EXCEPTION): Likewise.
30639 (INVALID_EXCEPTION_OK): Update value.
30640 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30641 (OVERFLOW_EXCEPTION_OK): Likewise.
30642 (UNDERFLOW_EXCEPTION_OK): Likewise.
30643 (IGNORE_ZERO_INF_SIGN): Likewise.
30644 (ERRNO_UNCHANGED): Likewise.
30645 (ERRNO_EDOM): Likewise.
30646 (ERRNO_ERANGE): Likewise.
30647 (test_exceptions): Handle testing "inexact" exceptions.
30648 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30649 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30650 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30651 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30653 (rint_towardzero_test_data): Likewise.
30654 (rint_downward_test_data): Likewise.
30655 (rint_upward_test_data): Likewise.
30657 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30658 with OVERFLOW_EXCEPTION.
30659 (exp10_test_data): Likewise.
30660 (exp2_test_data): Likewise.
30661 (expm1_test_data): Likewise.
30662 (lgamma_test_data): Likewise.
30663 (pow_test_data): Likewise.
30664 (tgamma_test_data): Likewise.
30665 (yn_test_data): Remove duplicate test of overflow.
30667 * math/libm-test.inc (struct test_cc_c_data): New type.
30668 (RUN_TEST_LOOP_cc_c): New macro.
30669 (cpow_test_data): New variable.
30670 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30672 * math/libm-test.inc (struct test_f_L_data): New type.
30673 (RUN_TEST_LOOP_f_L): New macro.
30674 (llrint_test_data): New variable.
30675 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30676 (llrint_tonearest_test_data): New variable.
30677 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30678 (llrint_towardzero_test_data): New variable.
30679 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30680 (llrint_downward_test_data): New variable.
30681 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30682 (llrint_upward_test_data): New variable.
30683 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30684 (llround_test_data): New variable.
30685 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30687 2013-05-13 Peter Collingbourne <pcc@google.com>
30689 * math/atest-exp2.c (get_log2): Remove const attribute.
30691 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30693 * math/libm-test.inc (struct test_f_l_data): New type.
30694 (RUN_TEST_LOOP_f_l): New macro.
30695 (lrint_test_data): New variable.
30696 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30697 (lrint_tonearest_test_data): New variable.
30698 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30699 (lrint_towardzero_test_data): New variable.
30700 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30701 (lrint_downward_test_data): New variable.
30702 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30703 (lrint_upward_test_data): New variable.
30704 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30705 (lround_test_data): New variable.
30706 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30708 2013-05-15 Peter Collingbourne <pcc@google.com>
30710 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30711 (EXTRACT_WORDS64) Use where appropriate.
30712 (INSERT_WORDS64) Likewise.
30714 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30715 constraints with x constraints.
30716 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30718 * malloc/obstack.c (_obstack_compat): Add initializer.
30720 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30723 si_trapno and add si_addr_lsb to _sifields.sigfault.
30724 (si_trapno): Remove macro.
30725 (si_addr_lsb): Define new macro.
30726 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30728 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30730 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30731 instead of TEST_f_l.
30732 (llrint_test_tonearest): Likewise.
30733 (llrint_test_towardzero): Likewise.
30734 (llrint_test_downward): Likewise.
30735 (llrint_test_upward): Likewise.
30736 (llround_test): Likewise.
30738 * math/libm-test.inc (struct test_f_i_data): Add comment.
30739 (RUN_TEST_LOOP_f_b): New macro.
30740 (RUN_TEST_LOOP_f_b_tg): Likewise.
30741 (finite_test_data): New variable.
30742 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30743 (isfinite_test_data): New variable.
30744 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30745 (isinf_test_data): New variable.
30746 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30747 (isnan_test_data): New variable.
30748 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30749 (isnormal_test_data): New variable.
30750 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30751 (issignaling_test_data): New variable.
30752 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30753 (signbit_test_data): New variable.
30754 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30756 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30757 with INVALID_EXCEPTION.
30758 (acosh_test_data): Likewise.
30759 (asin_test_data): Likewise.
30760 (atanh_test_data): Likewise.
30761 (fmod_test_data): Likewise.
30762 (log_test_data): Likewise.
30763 (log10_test_data): Likewise.
30764 (log2_test_data): Likewise.
30765 (pow_test_data): Likewise.
30766 (sqrt_test_data): Likewise.
30767 (y0_test_data): Likewise.
30768 (y1_test_data): Likewise.
30769 (yn_test_data): Likewise.
30771 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30774 * math/libm-test.inc (struct test_ff_i_data): New type.
30775 (RUN_TEST_LOOP_ff_i_tg): New macro.
30776 (isgreater_test_data): New variable.
30777 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30778 (isgreaterequal_test_data): New variable.
30779 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30780 (isless_test_data): New variable.
30781 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30782 (islessequal_test_data): New variable.
30783 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30784 (islessgreater_test_data): New variable.
30785 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30786 (isunordered_test_data): New variable.
30787 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30789 2013-05-14 David S. Miller <davem@davemloft.net>
30791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30793 2013-05-14 Joseph Myers <joseph@codesourcery.com>
30795 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30797 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30799 (struct test_f_i_data): Change type of max_ulp to int.
30801 * math/libm-test.inc (test_ffI_f1_data): New type.
30802 (RUN_TEST_LOOP_ffI_f1): New macro.
30803 (remquo_test_data): New variable.
30804 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30806 * setjmp/tst-setjmp-fp.c: New file.
30807 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30808 (link-libm): New variable.
30809 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30811 * math/libm-test.inc (struct test_f_i_data): New type.
30812 (RUN_TEST_LOOP_f_i): New macro.
30813 (RUN_TEST_LOOP_f_i_tg): Likewise.
30814 (fpclassify_test_data): New variable.
30815 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30816 (ilogb_test_data): New variable.
30817 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30819 * math/libm-test.inc (scalbln_test): Correct function name in END
30822 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30823 (RUN_TEST_LOOP_fI_f1): New macro.
30824 (frexp_test_data): New variable.
30825 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30827 * math/libm-test.inc (struct test_fF_f1_data): New type.
30828 (RUN_TEST_LOOP_fF_f1): New macro.
30829 (modf_test_data): New variable.
30830 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30832 * math/libm-test.inc (struct test_f_f1_data): New type.
30833 (RUN_TEST_LOOP_f_f1): New macro.
30834 (gamma_test_data): New variable.
30835 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30836 (lgamma_test_data): New variable.
30837 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30839 2013-05-13 Carlos O'Donell <carlos@redhat.com>
30841 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30842 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30843 (main): Comment "tls" pseudo-hwcap.
30845 2013-05-13 Joseph Myers <joseph@codesourcery.com>
30847 * math/libm-test.inc (struct test_fl_f_data): New type.
30848 (RUN_TEST_LOOP_fl_f): New variable.
30849 (scalbln_test_data): New variable.
30850 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30852 * math/libm-test.inc (struct test_fi_f_data): New type.
30853 (RUN_TEST_LOOP_fi_f): New macro.
30854 (ldexp_test_data): New variable.
30855 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30856 (scalbn_test_data): New variable.
30857 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30859 * math/libm-test.inc (struct test_c_f_data): New type.
30860 (RUN_TEST_LOOP_c_f): New macro.
30861 (cabs_test_data): New variable.
30862 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30863 (carg_test_data): New variable.
30864 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30865 (cimag_test_data): New variable.
30866 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30867 (creal_test_data): New variable.
30868 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30870 * math/libm-test.inc (struct test_if_f_data): New type.
30871 (RUN_TEST_LOOP_if_f): New macro.
30872 (jn_test_data): New variable.
30873 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30874 (yn_test_data): New variable.
30875 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30877 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30879 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30881 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30882 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30884 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30886 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30887 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30888 (bench-deps): Add bench-timing.h.
30889 * benchtests-bench-skeleton.c: Include bench-timing.h.
30890 (main): Use TIMING_* macros instead of clock_gettime.
30891 * benchtests/bench-timing.h: New file.
30894 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30895 Renamed from _LIB_VERSION.
30896 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30898 2013-05-12 Joseph Myers <joseph@codesourcery.com>
30900 * math/libm-test.inc (struct test_fff_f_data): New type.
30901 (RUN_TEST_LOOP_fff_f): New macro.
30902 (fma_test_data): New variable.
30903 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30904 (fma_towardzero_test_data): New variable.
30905 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30906 (fma_downward_test_data): New variable.
30907 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30908 (fma_upward_test_data): New variable.
30909 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30911 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30912 (struct test_c_c_data): New type.
30913 (RUN_TEST_LOOP_c_c): New macro.
30914 (cacos_test_data): New variable.
30915 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30916 (cacosh_test_data): New variable.
30917 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30918 (casin_test_data): New variable.
30919 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30920 (casinh_test_data): New variable.
30921 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30922 (catan_test_data): New variable.
30923 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30924 (catanh_test_data): New variable.
30925 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30926 (ccos_test_data): New variable.
30927 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30928 (ccosh_test_data): New variable.
30929 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30930 (cexp_test_data): New variable.
30931 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30932 (clog_test_data): New variable.
30933 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30934 (clog10_test_data): New variable.
30935 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30936 (conj_test_data): New variable.
30937 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30938 (cproj_test_data): New variable.
30939 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30940 (csin_test_data): New variable.
30941 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30942 (csinh_test_data): New variable.
30943 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30944 (csqrt_test_data): New variable.
30945 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30946 (ctan_test_data): New variable.
30947 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30948 (ctan_tonearest_test_data): New variable.
30949 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30950 (ctan_towardzero_test_data): New variable.
30951 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30952 (ctan_downward_test_data): New variable.
30953 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30954 (ctan_upward_test_data): New variable.
30955 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30956 (ctanh_test_data): New variable.
30957 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30958 (ctanh_tonearest_test_data): New variable.
30959 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30960 (ctanh_towardzero_test_data): New variable.
30961 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30962 (ctanh_downward_test_data): New variable.
30963 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30964 (ctanh_upward_test_data): New variable.
30965 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30966 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30969 * math/libm-test.inc (struct test_ff_f_data): New type.
30970 (struct test_ff_f_data_nexttoward): Likewise.
30971 (RUN_TEST_LOOP_2_f): New macro.
30972 (RUN_TEST_LOOP_ff_f): Likewise.
30973 (atan2_test_data): New variable.
30974 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30975 (copysign_test_data): New variable.
30976 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30977 (fdim_test_data): New variable.
30978 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30979 (fmax_test_data): New variable.
30980 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30981 (fmin_test_data): New variable.
30982 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30983 (fmod_test_data): New variable.
30984 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30985 (hypot_test_data): New variable.
30986 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30987 (nextafter_test_data): New variable.
30988 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30989 (nexttoward_test_data): New variable.
30990 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30991 (pow_test_data): New variable.
30992 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30993 (pow_tonearest_test_data): New variable.
30994 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30995 (pow_towardzero_test_data): New variable.
30996 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30997 (pow_downward_test_data): New variable.
30998 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30999 (pow_upward_test_data): New variable.
31000 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31001 (remainder_test_data): New variable.
31002 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31003 (scalb_test_data): New variable.
31004 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31005 * sysdeps/i386/fpu/libm-test-ulps: Update.
31007 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31009 * math/libm-test.inc (fma_test): Use max_value instead of local
31011 (nextafter_test): Likewise.
31013 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31014 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31015 (acos_downward_test_data): New variable.
31016 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31017 (acos_upward_test_data): New variable.
31018 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31019 (acosh_test_data): New variable.
31020 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31021 (asin_test_data): New variable.
31022 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31023 (asin_tonearest_test_data): New variable.
31024 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31025 (asin_towardzero_test_data): New variable.
31026 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31027 (asin_downward_test_data): New variable.
31028 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31029 (asin_upward_test_data): New variable.
31030 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31031 (asinh_test_data): New variable.
31032 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31033 (atan_test_data): New variable.
31034 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31035 (atanh_test_data): New variable.
31036 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31037 (cbrt_test_data): New variable.
31038 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31039 (ceil_test_data): New variable.
31040 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31041 (cos_test_data): New variable.
31042 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31043 (cos_tonearest_test_data): New variable.
31044 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31045 (cos_towardzero_test_data): New variable.
31046 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31047 (cos_downward_test_data): New variable.
31048 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31049 (cos_upward_test_data): New variable.
31050 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31051 (cosh_test_data): New variable.
31052 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31053 (cosh_tonearest_test_data): New variable.
31054 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31055 (cosh_towardzero_test_data): New variable.
31056 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31057 (cosh_downward_test_data): New variable.
31058 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31059 (cosh_upward_test_data): New variable.
31060 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31061 (erf_test_data): New variable.
31062 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31063 (erfc_test_data): New variable.
31064 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31065 (exp_test_data): New variable.
31066 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31067 (exp_tonearest_test_data): New variable.
31068 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31069 (exp_towardzero_test_data): New variable.
31070 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31071 (exp_downward_test_data): New variable.
31072 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31073 (exp_upward_test_data): New variable.
31074 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31075 (exp10_test_data): New variable.
31076 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31077 (exp2_test_data): New variable.
31078 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31079 (expm1_test_data): New variable.
31080 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31081 (fabs_test_data): New variable.
31082 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31083 (floor_test_data): New variable.
31084 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31085 (j0_test_data): New variable.
31086 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31087 (j1_test_data): New variable.
31088 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31089 (log_test_data): New variable.
31090 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31091 (log10_test_data): New variable.
31092 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31093 (log1p_test_data): New variable.
31094 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31095 (log2_test_data): New variable.
31096 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31097 (logb_test_data): New variable.
31098 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31099 (logb_downward_test_data): New variable.
31100 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31101 (nearbyint_test_data): New variable.
31102 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31103 (rint_test_data): New variable.
31104 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31105 (rint_tonearest_test_data): New variable.
31106 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31107 (rint_towardzero_test_data): New variable.
31108 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31109 (rint_downward_test_data): New variable.
31110 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31111 (rint_upward_test_data): New variable.
31112 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31113 (round_test_data): New variable.
31114 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31115 (sin_test_data): New variable.
31116 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31117 (sin_tonearest_test_data): New variable.
31118 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31119 (sin_towardzero_test_data): New variable.
31120 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31121 (sin_downward_test_data): New variable.
31122 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31123 (sin_upward_test_data): New variable.
31124 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31125 (sinh_test_data): New variable.
31126 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31127 (sinh_tonearest_test_data): New variable.
31128 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31129 (sinh_towardzero_test_data): New variable.
31130 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31131 (sinh_downward_test_data): New variable.
31132 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31133 (sinh_upward_test_data): New variable.
31134 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31135 (sqrt_test_data): New variable.
31136 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31137 (tan_test_data): New variable.
31138 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31139 (tan_tonearest_test_data): New variable.
31140 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31141 (tan_towardzero_test_data): New variable.
31142 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31143 (tan_downward_test_data): New variable.
31144 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31145 (tan_upward_test_data): New variable.
31146 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31147 (tanh_test_data): New variable.
31148 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31149 (tgamma_test_data): New variable.
31150 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31151 (trunc_test_data): New variable.
31152 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31153 (y0_test_data): New variable.
31154 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31155 (y1_test_data): New variable.
31156 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31157 (significand_test_data): New variable.
31158 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31160 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31163 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31165 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31167 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31169 2013-05-10 Andreas Jaeger <aj@suse.de>
31172 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31173 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31175 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31177 * math/gen-libm-test.pl (adjust_arg): New function.
31178 (special_functions): Handle generating output in both functions
31180 (parse_args): Likewise.
31181 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31182 $in_func argument to parse_args.
31183 * math/libm-test.inc (struct test_f_f_data): New type.
31184 (IF_ROUND_INIT_): New macro.
31185 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31186 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31187 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31188 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31189 (ROUND_RESTORE_): Likewise.
31190 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31191 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31192 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31193 (ROUND_RESTORE_FE_UPWARD): Likewise.
31194 (RUN_TEST_LOOP_f_f): New macro.
31195 (acos_test_data): New variable.
31196 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31197 (acos_tonearest_test_data): New variable.
31198 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31200 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31202 * benchtests/bench-skeleton.c (startup): Fix coding style.
31204 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31207 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31208 negative infinity argument.
31209 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31210 negative infinity argument.
31211 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31212 negative infinity argument.
31213 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31216 2013-05-10 Florian Weimer <fweimer@redhat.com>
31218 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31219 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31220 * iconv/iconv_prog.c (main): Likewise.
31221 * locale/programs/charmap-dir.c (charmap_readdir)
31222 (fopen_uncompressed): Likewise.
31223 * locale/programs/locfile.c (siblings_uncached)
31224 (write_locale_data): Use lstat64 instead of lstat.
31225 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31228 2013-05-10 Andreas Jaeger <aj@suse.de>
31231 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31233 Include <locale.h>.
31235 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31237 * elf/dl-close.c (_dl_close_worker): Add comments.
31239 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31244 (__ieee754_rem_pio2l): Update comments.
31247 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31249 (__ieee754_rem_pio2l): Update comments.
31251 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31252 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31254 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31257 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31258 (M_PI_34_LOG10El): Likewise.
31259 (M_PI2_LOG10El): Likewise.
31260 (M_PI4_LOG10El): Likewise.
31261 (M_PI_LOG10El): Likewise.
31263 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31267 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31269 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31270 (MINUS_ZERO_INIT): Likewise.
31271 (PLUS_INFTY_INIT): Likewise.
31272 (MINUS_INFTY_INIT): Likewise.
31273 (QNAN_VALUE_INIT): Likewise.
31274 (MAX_VALUE_INIT): Likewise.
31275 (MIN_VALUE_INIT): Likewise.
31276 (MIN_SUBNORM_VALUE_INIT): Likewise.
31277 (plus_zero): Initialize with PLUS_ZERO_INIT.
31278 (minus_zero): Initialize with MINUS_ZERO_INIT.
31279 (plus_infty): Initialize with PLUS_INFTY_INIT.
31280 (minus_infty): Initialize with MINUS_INFTY_INIT.
31281 (qnan_value): Initialize with QNAN_VALUE_INIT.
31282 (max_value): Initialize with MAX_VALUE_INIT.
31283 (min_value): Initialize with MIN_VALUE_INIT.
31284 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31286 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31287 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31288 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31289 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31291 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31292 (RUN_TEST_2_f): Likewise.
31293 (RUN_TEST_ff_f): Likewise.
31294 (RUN_TEST_fi_f): Likewise.
31295 (RUN_TEST_fl_f): Likewise.
31296 (RUN_TEST_fff_f): Likewise.
31297 (RUN_TEST_c_f): Likewise.
31298 (RUN_TEST_f_f1): Likewise.
31299 (RUN_TEST_fF_f1): Likewise.
31300 (RUN_TEST_fI_f1): Likewise.
31301 (RUN_TEST_ffI_f1): Likewise.
31302 (RUN_TEST_c_c): Likewise.
31303 (RUN_TEST_cc_c): Likewise.
31304 (RUN_TEST_f_i): Likewise.
31305 (RUN_TEST_f_i_tg): Likewise.
31306 (RUN_TEST_ff_i_tg): Likewise.
31307 (RUN_TEST_f_b): Likewise.
31308 (RUN_TEST_f_b_tg): Likewise.
31309 (RUN_TEST_f_l): Likewise.
31310 (RUN_TEST_f_L): Likewise.
31311 (RUN_TEST_sincos): Likewise.
31312 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31313 whether to show exceptions. Do not include ");\n" in return
31315 (special_functions): Output call to RUN_TEST_sincos instead of
31316 check_float calls. Update calls to new_test.
31317 (parse_args): Output call to single RUN_TEST_* macro instead of
31318 check_* calls and other assignments. Update calls to new_test.
31324 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31325 input to result for tgamma overflow.
31326 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31327 (gamma_coeff): New variable.
31328 (NCOEFF): New macro.
31329 (gamma_positive): New function.
31330 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31331 underflow here. Use gamma_positive instead of exp (lgamma) for
31333 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31334 (gamma_coeff): New variable.
31335 (NCOEFF): New macro.
31336 (gammaf_positive): New function.
31337 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31338 underflow here. Use gamma_positive instead of exp (lgamma) for
31340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31341 (gamma_coeff): New variable.
31342 (NCOEFF): New macro.
31343 (gammal_positive): New function.
31344 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31345 underflow here. Use gamma_positive instead of exp (lgamma) for
31347 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31348 (gamma_coeff): New variable.
31349 (NCOEFF): New macro.
31350 (gammal_positive): New function.
31351 (__ieee754_gammal_r): Handle positive infinity, overflow and
31352 underflow here. Handle NaN the same as positive infinity. Remove
31353 check x < 0xffffffff for negative integers. Use gamma_positive
31354 instead of exp (lgamma) for other arguments.
31355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31356 (gamma_coeff): New variable.
31357 (NCOEFF): New macro.
31358 (gammal_positive): New function.
31359 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31360 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31364 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31365 * sysdeps/generic/math_private.h (__gamma_productf): New
31367 (__gamma_product): Likewise.
31368 (__gamma_productl): Likewise.
31369 * math/Makefile (libm-calls): Add gamma_product.
31370 * math/libm-test.inc (tgamma_test): Add more tests.
31371 * sysdeps/i386/fpu/libm-test-ulps: Update.
31372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31374 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31376 * benchtests/bench-skeleton.c (main): Preheat CPU.
31378 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31380 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31382 2013-05-07 Roland McGrath <roland@hack.frob.com>
31384 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31385 and _dl_skip_args_internal.
31387 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31389 * manual/message.texi (Message Translation): Talk about users.
31390 Message to key mapping impacts design.
31392 2013-05-06 Roland McGrath <roland@hack.frob.com>
31394 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31396 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31398 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31399 * sysdeps/wordsize-64/glob64.c: ... here.
31401 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31402 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31405 * debug/getlogin_r_chk.c: Moved to ...
31406 * login/getlogin_r_chk.c: ... here.
31407 * debug/Makefile (routines): Move getlogin_r_chk to ...
31408 * login/Makefile (routines): ... here.
31409 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31410 * login/Versions (libc: GLIBC_2.4): ... here.
31412 * io/poll.c (__poll): Renamed from poll.
31413 Add libc_hidden_def.
31414 (poll): Define as weak alias.
31416 * debug/ptsname_r_chk.c: Moved to ...
31417 * login/ptsname_r_chk.c: ... here.
31418 * debug/Makefile (routines): Move ptsname_r_chk to ...
31419 * login/Makefile (routines): ... here.
31420 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31421 * login/Versions (libc: GLIBC_2.4): ... here.
31423 * posix/getlogin.c: Moved to ...
31424 * login/getlogin.c: ... here.
31425 * posix/getlogin_r.c: Moved to ...
31426 * login/getlogin_r.c: ... here.
31427 * posix/getlogin_r.c: Moved to ...
31428 * login/getlogin_r.c: ... here.
31429 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31430 * login/Makefile (routines): ... here.
31431 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31432 * login/Versions (libc: GLIBC_2.0): ... here.
31434 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31435 (setrlimit): Define as weak alias.
31437 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31438 Call __ names for open, ftruncate, and close.
31439 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31440 (truncate): Define as weak alias.
31442 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31444 * math/gen-libm-test.pl (parse_args): Initialize x before each
31445 test of frexp, modf and remquo.
31447 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31448 test signgam value.
31450 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31454 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31456 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31458 2013-05-06 Roland McGrath <roland@hack.frob.com>
31460 * elf/dl-writev.h: New file.
31461 * elf/dl-misc.c: Include it.
31462 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31463 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31465 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31467 * math/libm-test.inc (noXFails): Remove variable.
31468 (noXPasses): Likewise.
31469 (BUILD_COMPLEX_INT): Remove macro.
31470 (print_screen): Remove xfail argument.
31471 (print_screen_max_error): Likewise.
31472 (update_stats): Likewise.
31473 (print_max_error): Likewise. Update calls to other affected
31475 (print_complex_max_error): Likewise.
31476 (test_single_exception): Update calls to print_screen.
31477 (test_single_errno): Likewise.
31478 (check_float_internal): Remove xfail argument. Update calls to
31479 other affected functions.
31480 (check_float): Likewise.
31481 (check_complex): Likewise.
31482 (check_int): Likewise.
31483 (check_long): Likewise.
31484 (check_bool): Likewise.
31485 (check_longlong): Likewise.
31486 (main): Don't print noXFails and noXPasses.
31487 * math/gen-libm-test.pl (top level): Don't mention expected
31488 failure handling in comment.
31489 (new_test): Don't handle expected failures.
31490 (parse_args): Don't mention expected failure handling in comment.
31491 (generate_testfile): Don't handle expected failures.
31492 (parse_ulps): Likewise.
31493 (print_ulps_file): Likewise.
31494 (get_failure): Remove function.
31495 (output_test): Don't handle expected failures.
31496 * make/README.libm-test: Don't mention expected failure handling.
31498 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31499 (minus_zero): Likewise.
31500 (plus_infty): Likewise.
31501 (minus_infty): Likewise.
31502 (qnan_value): Likewise.
31503 (max_value): Likewise.
31504 (min_value): Likewise.
31505 (min_subnorm_value): Likewise.
31506 (initialize): Do not initialize those variables dynamically.
31508 2013-05-03 Roland McGrath <roland@hack.frob.com>
31510 * io/open.c (__open_2): Moved to ...
31511 * io/open_2.c: ... this new file.
31512 * io/open64.c (__open64_2): Moved to ...
31513 * io/open64_2.c: ... this new file.
31514 * io/openat.c (__openat_2): Moved to ...
31515 * io/openat_2.c: ... this new file.
31516 * io/openat64.c (__openat64_2): Moved to ...
31517 * io/openat64_2.c: ... this new file.
31518 * io/Makefile (routines): Add them.
31519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31520 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31521 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31522 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31523 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31524 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31525 (__openat64): Add hidden_ver.
31526 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31527 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31529 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31530 Separately conditionalize setting of GLRO(dl_sysinfo) so
31531 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31532 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31534 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31536 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31537 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31539 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31540 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31541 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31542 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31543 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31545 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31547 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31548 test signgam value.
31550 * math/libm-test.inc (hypot_test): Do not use
31551 IGNORE_ZERO_INF_SIGN.
31553 2013-05-03 Andreas Jaeger <aj@suse.de>
31555 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31557 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31558 (PF_MAX): Adjust for VSOCK change.
31560 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31564 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31567 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31568 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31569 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31571 2013-05-02 David S. Miller <davem@davemloft.net>
31573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31575 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31577 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31579 2013-05-01 Roland McGrath <roland@hack.frob.com>
31581 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31583 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31586 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31587 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31588 Use __attribute__ ((__gnu_inline__)).
31589 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31590 Don't use __attribute__ ((__gnu_inline__)).
31592 2013-05-01 Joseph Myers <joseph@codesourcery.com>
31595 * math/s_catan.c (__catan): Handle small real or imaginary part of
31596 input specially to avoid spurious underflow.
31597 * math/s_catanf.c (__catanf): Likewise.
31598 * math/s_catanh.c (__catanh): Likewise.
31599 * math/s_catanhf.c (__catanhf): Likewise.
31600 * math/s_catanhl.c (__catanhl): Likewise.
31601 * math/s_catanl.c (__catanl): Likewise.
31602 * math/libm-test.inc (catan_test): Add more tests.
31603 (catanh_test): Likewise.
31604 * sysdeps/i386/fpu/libm-test-ulps: Update.
31605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31607 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31611 2013-04-30 Joseph Myers <joseph@codesourcery.com>
31614 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31615 accurately for denominator in atan2.
31616 * math/s_catanf.c (__catanf): Likewise.
31617 * math/s_catanh.c (__catanh): Likewise.
31618 * math/s_catanhf.c (__catanhf): Likewise.
31619 * math/s_catanhl.c (__catanhl): Likewise.
31620 * math/s_catanl.c (__catanl): Likewise.
31621 * math/libm-test.inc (catan_test): Add more tests.
31622 (catanh_test): Likewise.
31623 * sysdeps/i386/fpu/libm-test-ulps: Update.
31624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31626 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31628 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31630 * benchtests/Makefile (bench): Remove slow benchmarks.
31631 * benchtests/atan-inputs: Add slow benchmark inputs.
31632 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31633 (BENCH_FUNC): Accept variant offset.
31635 * benchtests/bench-skeleton.c (main): Run benchmark for each
31637 * benchtests/cos-inputs: Add slow benchmark inputs.
31638 * benchtests/exp-inputs: Likewise.
31639 * benchtests/pow-inputs: Likewise.
31640 * benchtests/sin-inputs: Likewise.
31641 * benchtests/slowatan-inputs: Remove.
31642 * benchtests/slowatan.c: Remove.
31643 * benchtests/slowcos-inputs: Remove.
31644 * benchtests/slowcos.c: Remove.
31645 * benchtests/slowexp-inputs: Remove.
31646 * benchtests/slowexp.c: Remove.
31647 * benchtests/slowpow-inputs: Remove.
31648 * benchtests/slowpow.c: Remove.
31649 * benchtests/slowsin-inputs: Remove.
31650 * benchtests/slowsin.c: Remove.
31651 * benchtests/slowtan-inputs: Remove.
31652 * benchtests/slowtan.c: Remove.
31653 * benchtests/tan-inputs: Add slow benchmark inputs.
31654 * scripts/bench.pl: Parse comments and directives.
31656 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31658 ($(objpfx)bench-%.c): Remove *-ITER.
31659 * benchtests/bench-modf.c: Remove definition of ITER.
31660 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31661 (main): Loop for DURATION seconds instead of fixed number of
31663 * scripts/bench.pl: Don't expect iterations in parameters.
31665 2013-04-29 Roland McGrath <roland@hack.frob.com>
31667 * io/fchdir.c (__fchdir): Renamed from fchdir.
31668 (fchdir): Define as weak alias.
31670 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31672 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31673 (ERRNO_EDOM): Likewise.
31674 (ERRNO_ERANGE): Likewise.
31675 (noErrnoTests): New variable.
31676 (init_max_error): Set errno to 0.
31677 (test_single_errno): New function.
31678 (test_errno): Likewise.
31679 (check_float_internal): Call test_errno. Set errno to 0.
31680 (check_complex): Refer to errno tests in comment.
31681 (check_int): Call test_errno. Set errno to 0.
31682 (check_long): Likewise.
31683 (check_bool): Likewise.
31684 (check_longlong): Likewise.
31685 (cos_test): Use ERRNO_* flags for errno tests instead of
31687 (expm1_test): Likewise.
31688 (fmod_test): Likewise.
31689 (ilogb_test): Likewise.
31690 (lgamma_test): Likewise.
31691 (pow_test): Likewise.
31692 (remainder_test): Likewise.
31693 (sin_test): Likewise.
31694 (tan_test): Likewise.
31695 (yn_test): Likewise.
31696 (initialize): Set errno to 0.
31697 (main): Print number of errno tests.
31698 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31700 2013-04-29 Andreas Jaeger <aj@suse.de>
31703 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31707 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31708 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31712 * stdlib/random.c (__initstate): Return NULL if
31716 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31717 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31720 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31724 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31726 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31727 of individual tests.
31728 (casin_test): Likewise.
31729 (casinh_test): Likewise.
31731 2013-04-27 Joseph Myers <joseph@codesourcery.com>
31734 * math/s_catan.c (__catan): Handle arguments with large real or
31735 imaginary part separately without squaring.
31736 * math/s_catanf.c (__catanf): Likewise.
31737 * math/s_catanh.c (__catanh): Likewise.
31738 * math/s_catanhf.c (__catanhf): Likewise.
31739 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31741 (__catanhl): Handle arguments with large real or imaginary part
31742 separately without squaring.
31743 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31745 (__catanl): Handle arguments with large real or imaginary part
31746 separately without squaring.
31747 * math/libm-test.inc (catan_test): Add more tests.
31748 (catanh_test): Likewise.
31749 * sysdeps/i386/fpu/libm-test-ulps: Update.
31750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31752 2013-04-27 Andreas Jaeger <aj@suse.de>
31755 * stdlib/stdlib.h: Update guards for qecvt.
31756 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31759 2013-04-27 Allan McRae <allan@archlinux.org>
31761 * sysdeps/i386/fpu/libm-test-ulps: Update.
31763 2013-04-26 Joseph Myers <joseph@codesourcery.com>
31766 * math/s_catan.c: Include <float.h>.
31767 (__catan): Ensure underflow exception occurs for underflowed
31769 * math/s_catanf.c: Include <float.h>.
31770 (__catanf): Ensure underflow exception occurs for underflowed
31772 * math/s_catanh.c: Include <float.h>.
31773 (__catanh): Ensure underflow exception occurs for underflowed
31775 * math/s_catanhf.c: Include <float.h>.
31776 (__catanhf): Ensure underflow exception occurs for underflowed
31778 * math/s_catanhl.c: Include <float.h>.
31779 (__catanhl): Ensure underflow exception occurs for underflowed
31781 * math/s_catanl.c: Include <float.h>.
31782 (__catanl): Ensure underflow exception occurs for underflowed
31784 * math/libm-test.inc (catan_test): Add more tests.
31785 (catanh_test): Likewise.
31788 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31789 underflowed result.
31790 * math/s_ccoshf.c (__ccoshf): Likewise.
31791 * math/s_ccoshl.c (__ccoshl): Likewise.
31792 * math/s_csin.c (__csin): Likewise.
31793 * math/s_csinf.c (__csinf): Likewise.
31794 * math/s_csinh.c (__csinh): Likewise.
31795 * math/s_csinhf.c (__csinhf): Likewise.
31796 * math/s_csinhl.c (__csinhl): Likewise.
31797 * math/s_csinl.c (__csinl): Likewise.
31798 * math/libm-test.inc (ccos_test): Add more tests.
31799 (ccosh_test): Likewise.
31800 (csin_test): Likewise.
31801 (csinh_test): Likewise.
31803 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31805 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31806 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31807 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31808 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31809 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31810 powerpc/power5+/fpu folders.
31811 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31814 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31818 2013-04-25 Joseph Myers <joseph@codesourcery.com>
31820 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31821 additions to variable.
31822 [$(config-machine) = x86_64] (modules-names): Likewise.
31823 ($(objpfx)tst-audit3): Remove dependency.
31824 ($(objpfx)tst-audit3.out): Likewise.
31825 ($(objpfx)tst-audit4): Likewise.
31826 ($(objpfx)tst-audit4.out): Likewise.
31827 ($(objpfx)tst-audit5): Likewise.
31828 ($(objpfx)tst-audit5.out): Likewise.
31829 ($(objpfx)tst-audit6): Likewise.
31830 ($(objpfx)tst-audit6.out): Likewise.
31831 ($(objpfx)tst-audit7): Likewise.
31832 ($(objpfx)tst-audit7.out): Likewise.
31833 (tst-audit3-ENV): Remove variable.
31834 (tst-audit4-ENV): Likewise.
31835 (tst-audit5-ENV): Likewise.
31836 (tst-audit6-ENV): Likewise.
31837 (tst-audit7-ENV): Likewise.
31838 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31839 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31840 addition to variable.
31841 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31842 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31843 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31844 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31845 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31846 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31847 tst-audit3, tst-audit4 and tst-audit5.
31848 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31849 tst-audit6 and tst-audit7.
31850 [$(subdir) = elf] (modules-names): Add audit modules for those
31852 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31853 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31854 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31855 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31856 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31857 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31858 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31859 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31860 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31861 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31862 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31863 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31864 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31865 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31866 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31867 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31869 [$(subdir) = elf && $(config-cflags-avx) = yes]
31870 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31871 [$(subdir) = elf && $(config-cflags-avx) = yes]
31872 (CFLAGS-tst-auditmod4a.c): Likewise.
31873 [$(subdir) = elf && $(config-cflags-avx) = yes]
31874 (CFLAGS-tst-auditmod4b.c): Likewise.
31875 [$(subdir) = elf && $(config-cflags-avx) = yes]
31876 (CFLAGS-tst-auditmod6b.c): Likewise.
31877 [$(subdir) = elf && $(config-cflags-avx) = yes]
31878 (CFLAGS-tst-auditmod6c.c): Likewise.
31879 [$(subdir) = elf && $(config-cflags-avx) = yes]
31880 (CFLAGS-tst-auditmod7b.c): Likewise.
31881 * elf/tst-audit3.c: Move to ...
31882 * sysdeps/x86_64/tst-audit3.c: ... here.
31883 * elf/tst-audit4.c: Move to ...
31884 * sysdeps/x86_64/tst-audit4.c: ... here.
31885 * elf/tst-audit5.c: Move to ...
31886 * sysdeps/x86_64/tst-audit5.c: ... here.
31887 * elf/tst-audit6.c: Move to ...
31888 * sysdeps/x86_64/tst-audit6.c: ... here.
31889 * elf/tst-audit7.c: Move to ...
31890 * sysdeps/x86_64/tst-audit7.c: ... here.
31891 * elf/tst-auditmod3a.c: Move to ...
31892 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31893 * elf/tst-auditmod3b.c: Move to ...
31894 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31895 * elf/tst-auditmod4a.c: Move to ...
31896 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31897 * elf/tst-auditmod4b.c: Move to ...
31898 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31899 * elf/tst-auditmod5a.c: Move to ...
31900 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31901 * elf/tst-auditmod5b.c: Move to ...
31902 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31903 * elf/tst-auditmod6a.c: Move to ...
31904 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31905 * elf/tst-auditmod6b.c: Move to ...
31906 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31907 * elf/tst-auditmod6c.c: Move to ...
31908 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31909 * elf/tst-auditmod7a.c: Move to ...
31910 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31911 * elf/tst-auditmod7b.c: Move to ...
31912 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31914 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31917 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31918 define unconditionally.
31919 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31920 define unconditionally.
31921 (INT8_C, INT16_C, etc.): Likewise.
31923 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31925 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31926 __ehdr_start with hidden visibility.
31928 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31930 2013-04-24 Carlos O'Donell <carlos@redhat.com>
31932 * math/libm-test.inc (cos_test): Use accurate hex constants.
31933 (sincost_test): Likewise.
31935 2013-04-24 Joseph Myers <joseph@codesourcery.com>
31937 * math/libm-test.inc (catan_test): Add more tests.
31938 (catanh_test): Likewise.
31940 * math/s_catanf.c (__catanf): Use suffixed floating-point
31942 * math/s_catanhf.c (__catanhf): Likewise.
31943 * math/s_catanhl.c (__catanhl): Likewise.
31944 * math/s_catanl.c (__catanl): Likewise.
31947 * math/s_catan.c (__catan): Calculate imaginary part of result
31948 with log1p not log unless computing log of number close to 0.
31949 * math/s_catanf.c (__catanf): Likewise.
31950 * math/s_catanl.c (__catanl): Likewise.
31951 * math/s_catanh.c (__catanh): Calculate real part of result with
31952 log1p not log unless computing log of number close to 0.
31953 * math/s_catanhf.c (__catanhf): Likewise.
31954 * math/s_catanhl.c (__catanhl): Likewise.
31955 * math/libm-test.inc (catan_test): Add more tests.
31956 (catanh_test): Likewise.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31960 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31962 * benchtests/Makefile: Mention files in which fast and slow
31963 paths of math functions are implemented.
31965 2013-04-23 Roland McGrath <roland@hack.frob.com>
31967 * sysdeps/posix/timespec_get.c: New file.
31969 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31971 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31973 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31975 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31976 powerpc/power5/fpu folders.
31977 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31978 * benchtests/Makefile: Add modf testcase.
31979 * benchtests/bench-modf.c: New file: Benchmark test for mo
31981 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31984 * time/Makefile (tests): Add tst-strptime-whitespace.
31985 * time/strptime_l.c (get_number): Use ISSPACE.
31986 (__strptime_internal): Likewise.
31987 * time/tst-strptime-whitespace.c: New test case.
31989 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31991 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31993 (_nss_files_init): Set it here.
31995 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31997 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31998 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32001 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32003 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32005 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32007 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32010 2013-04-21 David S. Miller <davem@davemloft.net>
32012 * po/ru.po: Update Russion translation from translation project.
32014 2013-04-17 Adam Conrad <adconrad@0c3.net>
32016 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32019 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32021 * configure.in: Remove i386 configure warning. Remove i386 case.
32022 * configure: Regenerate.
32023 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32024 Add example to error message.
32025 * sysdeps/i386/configure: Regenerate.
32027 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32029 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32031 * benchtests/cos-inputs: New file.
32032 * benchtests/slowcos-inputs: New file.
32033 * benchtests/slowcos.c: New file.
32034 * benchtests/slowtan-inputs: New file.
32035 * benchtests/slowtan.c: New file.
32036 * benchtests/tan-inputs: New file.
32038 2013-04-16 Roland McGrath <roland@hack.frob.com>
32040 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32043 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32045 * benchtests/Makefile: Include cppflags-iterator.mk to add
32046 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32048 * Makefile.in (bench-clean): New target.
32049 * benchtests/Makefile (bench-clean): Likewise.
32051 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32053 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32055 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32057 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32059 2013-04-15 Andreas Schwab <schwab@suse.de>
32061 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32063 * nscd/pwdcache.c (cache_addpw): Likewise.
32064 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32067 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32069 * benchtests/Makefile (bench): Write all output to
32070 bench-out.tmp together.
32072 2013-04-15 Andreas Schwab <schwab@suse.de>
32074 * nscd/nscd.c (main): Don't fork again after closing files.
32076 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32078 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32080 * benchtests/Rules (bench-deps): Collect dependencies into a
32081 single variable. Add Makefile to dependencies.
32082 ($(objpfx)bench-%.c): Depend on bench-deps.
32084 2013-04-12 Roland McGrath <roland@hack.frob.com>
32085 Xavier Roche <roche+kml2@exalead.com>
32088 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32089 just that it's a file descriptor.
32090 * manual/llio.texi (Synchronizing AIO Operations): Update description
32091 for EBADF error from aio_fsync.
32093 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32095 * Rules (bench): Move target definition...
32096 * benchtests/Makefile: ... here.
32098 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32100 * math/libm-test.inc (cos_test): Fix PI/2 test.
32101 (sincos_test): Likewise.
32102 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32103 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32105 2013-04-11 Andreas Schwab <schwab@suse.de>
32108 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32109 accept exponent character only when digits were seen.
32110 * stdio-common/Makefile (tests): Add bug26.
32111 * stdio-common/bug26.c: New file.
32114 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32117 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32119 * Makeconfig (rtld-prefix): Define built linker prefix.
32120 * Rules (run-bench): Use it.
32121 * math/Makefile (run-regen-ulps): Likewise.
32123 * Rules (bench): Remove eval.
32125 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32126 Roland McGrath <roland@hack.frob.com>
32127 Ondrej Bilka <neleai@seznam.cz>
32130 * time/getdate.c: Include ctype.h and alloca.h.
32131 (__getdate_r): Trim leading and trailing spaces of input.
32132 * time/tst-getdate.c (tests): Add tests with leading and
32135 2013-04-08 Roland McGrath <roland@hack.frob.com>
32138 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32139 when computing value.
32141 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32143 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32144 Use testrun.sh to run libm tests.
32147 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32149 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32152 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32154 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32156 * Makefile.in (regen-ulps): New target.
32157 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32158 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32159 [ifneq (no,$(PERL)] (regen-ulps): New target.
32160 [ifeq (no,$(PERL)] (regen-ulps): New target.
32161 * math/libm-test.inc (ulps_file_name): Define.
32162 (output_dir): New variable.
32163 (options): Add "output-dir" option.
32164 (parse_opt): Handle 'o' case.
32165 (main): If output_dir is non-NULL use it as a prefix
32167 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32169 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32171 [BZ #10060, #10062]
32172 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32173 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32174 fail configure if __sync_val_compare_and_swap is not inlined.
32175 * sysdeps/i386/configure: Regenerate.
32176 * configure.in: Build for i686 when configured for i386.
32177 * configure: Regenerate.
32178 * README: Remove i386 reference.
32180 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32182 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32185 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32187 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32188 (lmsnanval): New variables.
32189 (F): Add conversion tests.
32190 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32191 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32193 * stdio-common/tstdiomisc.c (F): Properly collect individual
32196 [BZ #14686, #15336]
32197 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32199 Instead, use input NaN values or generate a qNaN by arithmetic
32200 operation. Also fix bugs to comply with the standard.
32201 * math/libm-test.inc (remainder_test): Add more tests.
32203 [BZ #15335, #15342]
32204 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32206 input NaN values or generate a qNaN by arithmetic operation.
32208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32211 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32214 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32217 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32218 underflowed result.
32219 * math/s_cexpf.c (__cexpf): Likewise.
32220 * math/s_cexpl.c (__cexpl): Likewise.
32221 * math/libm-test.inc (cexp_test): Add more tests.
32223 2013-04-03 Andreas Schwab <schwab@suse.de>
32226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32227 order arrays from heap if bigger than alloca cutoff.
32229 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32231 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32232 (SNAN_TESTS_double): Refer to GCC PR56831.
32233 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32236 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32238 * Rules (bench): Move bench.out after the run is complete.
32240 * Rules (bench): Echo currently running benchmark.
32242 * benchtests/Makefile (bench): Add atan and slowatan.
32243 * benchtests/atan-inputs: New file.
32244 * benchtests/slowatan-inputs: New file.
32245 * benchtests/slowatan.c: New file.
32247 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32252 * sysdeps/unix/sysv/linux/kernel-features.h
32253 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32254 __ASSUME_XFS_RESTRICTED_CHOWN.
32255 * sysdeps/unix/sysv/linux/pathconf.c
32256 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32257 Save and restore errno.
32259 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32262 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32263 arguments using __kernel_casinh.
32264 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32265 arguments using __kernel_casinhf.
32266 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32267 arguments using __kernel_casinhl.
32268 * math/libm-test.inc (cacosh_test): Add more tests.
32269 * sysdeps/i386/fpu/libm-test-ulps: Update.
32270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32272 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32274 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32277 * bench/Makefile (bench): Add sin and slowsin.
32278 * benchtests/sin-inputs: New file.
32279 * benchtests/slowsin-inputs: New file.
32280 * benchtests/slowsin.c: New file.
32282 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32283 (bench): Add slowexp and slowpow.
32284 (exp-ITER): Increase iterations.
32285 (pow-ITER): Likewise.
32286 * benchtests/exp-inputs: Change input.
32287 * benchtests/pow-inputs: Likewise.
32288 * benchtests/slowexp-inputs: New file.
32289 * benchtests/slowexp.c: New file.
32290 * benchtests/slowpow-inputs: New file.
32291 * benchtests/slowpow.c: New file.
32293 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32295 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32297 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32298 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32299 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32300 * benchtests/Makefile: Add rint benchtest.
32301 * benchtests/rint-inputs: Input for rint benchtest.
32303 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32305 * Versions.def (libm): Add GLIBC_2.18.
32306 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32307 hidden libm prototypes.
32308 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32309 * math/Makefile (libm-calls): Add s_issignaling.
32310 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32311 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32312 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32314 * math/math.h [__USE_GNU] (issignaling): New macro.
32315 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32316 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32318 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32319 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32320 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32321 * manual/arith.texi (issignaling): New section.
32322 * manual/libm-err-tab.pl (@all_functions): Update comment.
32323 * math/gen-libm-test.pl (parse_args): Apply special handling for
32325 * math/libm-test.inc (print_float, issignaling_test): New
32327 (check_float_internal): Add issignaling checks.
32328 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32329 default definition.
32330 * sysdeps/powerpc/math-tests.h: New file.
32331 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32333 * math/test-snan.c (TEST_FUNC): Likewise.
32335 2013-03-30 David S. Miller <davem@davemloft.net>
32337 * po/de.po: Update from translation team.
32339 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32342 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32343 imaginary part less than 1.0 and real part less than 0.5
32345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32347 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32348 (cacos_test): Add more tests.
32349 (casin_test): Likewise.
32350 (casinh_test): Likewise.
32351 * sysdeps/i386/fpu/libm-test-ulps: Update.
32352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32354 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32356 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32357 ONE with its value.
32359 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32360 (__pow_mp): Replace ONE and MONE with their values.
32361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32362 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32364 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32365 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32366 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32368 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32370 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32371 (__pow_mp): Replace ZERO and MZERO with their values.
32372 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32374 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32376 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32377 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32380 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32382 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32384 2013-03-28 Roland McGrath <roland@hack.frob.com>
32386 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32387 Declare with __attribute__ ((weak)).
32388 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32389 Call __call_tls_dtors only if it's not NULL.
32391 2013-03-28 Roland McGrath <roland@hack.frob.com>
32393 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32394 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32395 magic __ehdr_start linker symbol if it's defined.
32396 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32397 them up here if it was already done.
32399 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32400 (_dl_aux_init): Use const in cast when setting it.
32401 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32402 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32403 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32405 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32407 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32408 * csu/libc-tls.c: Nor here.
32409 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32411 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32412 (__libc_message): Never call vsyslog.
32414 2013-03-28 Alan Modra <amodra@gmail.com>
32416 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32418 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32421 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32428 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32431 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32432 Don't add gid passed as argument.
32434 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32436 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32439 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32440 imaginary part between 1.0 and 1.5 and real part less than 0.5
32442 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32443 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32444 * math/libm-test.inc (cacos_test): Add more tests.
32445 (casin_test): Likewise.
32446 (casinh_test): Likewise.
32447 * sysdeps/i386/fpu/libm-test-ulps: Update.
32448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32450 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32452 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32455 (denorm): Likewise.
32456 (__dbl_mp): Likewise.
32457 (add_magnitudes): Likewise.
32458 (sub_magnitudes): Likewise.
32466 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32468 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32469 (__dubcos): Likewise.
32470 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32471 (__ieee754_acos): Likewise.
32472 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32474 (__exp1): Likewise.
32475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32478 (my_log2): Likewise.
32479 (checkint): Likewise.
32480 * sysdeps/ieee754/dbl-64/e_remainder.c
32481 (__ieee754_remainder): Likewise.
32482 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32484 (bsloww): Likewise.
32485 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32487 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32489 MANTISSA_STORE_T to store computations on mantissa. Use
32490 macros for rounding and division.
32491 (denorm): Likewise.
32492 (__dbl_mp): Likewise.
32493 (add_magnitudes): Likewise.
32494 (sub_magnitudes): Likewise.
32497 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32498 powers of two in terms of TWOPOW macro.
32499 (mp_no): Make type of mantissa as MANTISSA_T.
32500 [!RADIXI]: Define RADIXI.
32501 [!TWO52]: Define TWO52.
32502 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32504 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32506 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32507 llroundl symbol when building for PPC32.
32509 2013-03-24 Mark H Weaver <mhw@netris.org>
32511 * manual/arith.texi (Normalization Functions): Fix prototypes for
32512 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32514 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32518 high value to check if expl overflow.
32519 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32520 to check for underflow and overflow.
32521 * math/libm-test.inc: Add exp test.
32523 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32526 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32529 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32531 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32534 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32536 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32537 wrap blocks consisting of several statements.
32539 * sysdeps/generic/math-tests.h: New file.
32540 * sysdeps/i386/fpu/math-tests.h: Likewise.
32541 * math/test-snan.c: Include it.
32542 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32544 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32547 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32548 (__ieee754_j0l): Do not improve calculations using cos of twice
32549 input for inputs above LDBL_MAX / 2.0L.
32550 (__ieee754_y0l): Likewise.
32551 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32552 (__ieee754_j1l): Do not improve calculations using cos of twice
32553 input for inputs above LDBL_MAX / 2.0L.
32554 (__ieee754_y1l): Likewise.
32555 * math/libm-test.inc (j0_test): Add another test.
32556 (j1_test): Likewise.
32557 (y0_test): Likewise.
32558 (y1_test): Likewise.
32559 * sysdeps/i386/fpu/libm-test-ulps: Update.
32561 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32563 * Rules ($(objpfx)bench-%.c): Include code from a C source
32566 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32569 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32570 imaginary part 1.0 and real part less than 0.5 specially.
32571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32573 * math/libm-test.inc (cacos_test): Add more tests.
32574 (casin_test): Likewise.
32575 (casinh_test): Likewise.
32576 * sysdeps/i386/fpu/libm-test-ulps: Update.
32577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32579 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32581 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32582 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32584 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32586 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32587 * config.make.in (config-cflags-sse4): Remove variable.
32588 (config-cflags-avx): Likewise.
32589 (config-cflags-sse2avx): Likewise.
32590 (config-cflags-novzeroupper): Likewise.
32591 (config-asflags-i686): Likewise.
32592 (have-mfma4): Likewise.
32593 (have-as-vis3): Likewise.
32595 * configure.in (MIG): Do not AC_SUBST.
32596 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32597 (libc_cv_cc_sse4): Do not AC_SUBST.
32598 (libc_cv_cc_avx): Likewise.
32599 (libc_cv_cc_sse2avx): Likewise.
32600 (libc_cv_cc_novzeroupper): Likewise.
32601 (libc_cv_cc_fma4): Likewise.
32602 (libc_cv_as_i686): Likewise.
32603 (libc_cv_sparc_as_vis3): Likewise.
32604 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32606 (config-asflags-i686): Likewise.
32607 (config-cflags-avx): Likewise.
32608 (config-cflags-sse2avx): Likewise.
32609 (have-mfma4): Likewise.
32610 (config-cflags-novzeroupper): Likewise.
32611 * sysdeps/mach/configure.in (MIG): Likewise.
32612 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32613 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32615 (config-cflags-avx): Likewise.
32616 (config-cflags-sse2avx): Likewise.
32617 (have-mfma4): Likewise.
32618 (config-cflags-novzeroupper): Likewise.
32619 * configure: Regenerated.
32620 * sysdeps/i386/configure: Likewise.
32621 * sysdeps/mach/configure: Likewise.
32622 * sysdeps/sparc/configure: Likewise.
32623 * sysdeps/x86_64/configure: Likewise.
32625 2013-03-20 Roland McGrath <roland@hack.frob.com>
32628 * locale/programs/localedef.c (options): Put N_ translation marker
32629 on argument names, not just descriptions.
32631 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32633 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32635 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
32638 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32640 2013-03-19 Roland McGrath <roland@hack.frob.com>
32642 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32643 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32644 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32645 [!BEFORE_ABORT] (before_abort): New function.
32646 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32647 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32648 (writev_for_fatal): New function.
32649 (WRITEV_FOR_FATAL): New macro; call that.
32650 (backtrace_and_maps): New function.
32651 (BEFORE_ABORT): New macro; call that.
32652 (struct str_list): Type removed.
32653 (__libc_message, __libc_fatal): Functions removed.
32654 Include <sysdeps/posix/libc_fatal.c> instead.
32656 2013-03-19 Joseph Myers <joseph@codesourcery.com>
32658 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32660 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32663 2013-03-19 Andreas Schwab <schwab@suse.de>
32665 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32666 * sysdeps/gnu/configure: Regenerate.
32668 * configure.in: Substitute libc_cv_rtlddir.
32669 * configure: Regenerate.
32670 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32671 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32672 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32673 * elf/Makefile (install-others, CFLAGS-interp.c)
32674 (ldso_install, common-ldd-rewrite): Likewise.
32675 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32676 $(inst_slibdir)/$(rtld-installed-name).
32677 * scripts/rellns-sh: Add -p option.
32678 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32681 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32683 * manual/nptl.texi: Renamed to ...
32684 * manual/threads.texi: ... this.
32685 * manual/Makefile (chapters): Update.
32687 2013-03-18 Roland McGrath <roland@hack.frob.com>
32690 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32691 on argument names, not just descriptions.
32692 * malloc/memusagestat.c (options): Likewise.
32693 * nss/getent.c (options): Likewise.
32695 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
32698 * iconv/iconv_prog.c (options): Put N_ translation marker
32699 on argument names, not just descriptions.
32700 * iconv/iconvconfig.c (options): Likewise.
32702 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
32704 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32705 implementation which is faster on all x86_64 architectures.
32706 Tested on AMD, Intel Nehalem, SNB, IVB.
32707 * sysdeps/x86_64/strnlen.S: Likewise.
32709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32710 Remove all multiarch strlen and strnlen versions.
32711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32712 Remove strlen and strnlen related parts.
32714 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32715 Inline strlen part.
32716 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32718 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32719 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32720 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32721 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32722 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32723 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32725 2013-03-17 Carlos O'Donell <carlos@redhat.com>
32727 * manual/memory.texi (Malloc Tunable Parameters):
32728 Sort parameters alphabetically. Add comments for missing entries.
32730 2013-03-17 David S. Miller <davem@davemloft.net>
32732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32734 2013-03-16 Joseph Myers <joseph@codesourcery.com>
32737 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32738 for arguments at most half maximum finite value.
32739 * math/libm-test.inc (j0_test): Add more tests.
32740 (j1_test): Likewise.
32741 (y0_test): Likewise.
32742 (y1_test): Likewise.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32747 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32748 1 / x and functions P and Q for arguments above 0x1p256L.
32749 (__ieee754_y0l): Likewise.
32750 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32751 (__ieee754_y1l): Likewise.
32752 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32753 (j1_test): Likewise.
32754 (y0_test): Likewise.
32755 (y1_test): Likewise.
32757 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32759 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32762 2013-03-15 Roland McGrath <roland@hack.frob.com>
32764 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32765 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32766 zero since it's initialized to EXEC_PAGESIZE.
32768 * sysdeps/unix/sysv/linux/ldsodefs.h
32769 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32770 * sysdeps/generic/ldsodefs.h: ... here.
32772 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32774 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32776 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32778 * math/test-snan.c: Renamed from
32779 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32780 * math/Makefile (tests): Add test-snan.
32781 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32784 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32785 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32787 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32788 __builtin_nan family of functions.
32789 * math/libm-test.inc (initialize): Initialize qnan_value with
32790 __builtin_nan family of functions.
32791 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32793 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32795 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32796 storage class. Initialize qNaN_var and sNaN_var with
32797 __builtin_nan and __builtin_nans families of functions,
32800 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32801 (sqrt_test): Remove duplicate test with qNaN input.
32802 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32803 (round_test, signbit_test, significand_test): Note missing +/-Inf
32804 as well as qNaN tests.
32806 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32807 qNaN_var. Fix a few strings, too.
32808 * math/libm-test.inc (nan_value): Rename to qnan_value.
32809 * math/gen-libm-test.pl (%beautify): Adjust to that.
32810 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32811 * math/test-misc.c (main): Likewise.
32812 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32813 to __qnan_bytes, and __qnan_union, respectively.
32814 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32816 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32817 and lqnanval, respectively.
32818 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32819 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32820 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32821 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32823 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32824 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32827 * math/test-misc.c (main): Fix copy'n'pastos.
32828 * misc/tst-efgcvt.c (special): Likewise.
32830 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32831 Remove declarations.
32833 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32835 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32836 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32837 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32838 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32840 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32843 macro to return vdso values correctly in IFUNC implementations.
32844 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32845 Optimization by using IFUNC.
32847 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32848 Richard Henderson <rth@redhat.com>
32849 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32851 * Makefile.in (bench): New target.
32852 * NEWS: Mention the benchmark framework.
32853 * Rules (bench): Likewise.
32854 (binaries-bench): Generate binaries for functions to
32856 * benchtests/Makefile: New makefile for benchmark tests.
32857 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32859 * benchtests/exp-inputs: New input file for EXP function.
32860 * benchtests/pow-inputs: New input file for POW function.
32861 * scripts/bench.pl: New script to generate source files for
32862 benchmark programs.
32864 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32866 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32867 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32868 computations on mantissa. Use macros for rounding and
32870 (denorm): Likewise.
32871 (__dbl_mp): Likewise.
32872 (add_magnitudes): Likewise.
32873 (sub_magnitudes): Likewise.
32876 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32877 powers of two in terms of TWOPOW macro.
32878 (mp_no): Make type of mantissa as MANTISSA_T.
32879 [!RADIXI]: Define RADIXI.
32880 [!TWO52]: Define TWO52.
32881 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32883 * manual/nptl.texi (cindex): Modify threads to pthreads.
32885 2013-03-15 Joseph Myers <joseph@codesourcery.com>
32887 * sysdeps/x86_64/preconfigure: Regenerated.
32889 2013-03-14 Joseph Myers <joseph@codesourcery.com>
32892 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32894 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32895 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32897 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32898 * math/libm-test.inc (j0_test): Do not allow one spurious
32899 underflow exception.
32900 (y1_test): Likewise.
32902 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32904 * manual/Makefile (chapters): Add nptl.
32905 * manual/debug.texi (Debugging Support): Add link to Threads
32907 * manual/nptl.texi: New file.
32909 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32911 2013-03-14 Petr Baudis <pasky@ucw.cz>
32913 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32914 for non-NULL pointer before the memory validity test. Pointed
32915 out by Holger Brunck <holger.brunck@keymile.com>.
32917 2013-03-13 Andreas Schwab <schwab@suse.de>
32919 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32922 2013-03-13 Joseph Myers <joseph@codesourcery.com>
32924 * timezone/zic.c: Update from tzcode 2013b.
32926 2013-03-12 Carlos O'Donell <carlos@redhat.com>
32928 * manual/install.texi (Configuring and compiling):
32929 Mention i686 and i586.
32930 * INSTALL: Regenerate.
32932 2013-03-12 Roland McGrath <roland@hack.frob.com>
32934 * sysdeps/init_array/elf-init.c: New file.
32936 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32937 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32939 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32940 __gmon_start__ as global, but as static with a .preinit_array pointer.
32941 * sysdeps/init_array/gmon-start.c: New file. Use that.
32942 * sysdeps/init_array/crti.S: New file, empty except for comments.
32943 * sysdeps/init_array/crtn.S: Likewise.
32945 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
32947 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32950 Remove Prefer_SSE_for_memop.
32951 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32952 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32953 HAS_PREFER_SSE_FOR_MEMOP.
32954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32957 Remove bzero, memset ifunc support.
32958 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32959 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32960 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32961 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32963 2013-03-11 Andreas Schwab <schwab@suse.de>
32966 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32969 (GLIBC_2.16): Remove pthread_atfork.
32971 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32973 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32974 (ptestcases.h): Likewise.
32976 2013-03-08 Roland McGrath <roland@hack.frob.com>
32978 * Makeconfig ($(common-objpfx)config.status): Depend on
32979 sysdeps/*/preconfigure{,.in} too.
32981 2013-03-08 Joseph Myers <joseph@codesourcery.com>
32983 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32984 (__free_hook): Use void * instead of __malloc_ptr_t.
32985 (__malloc_hook): Likewise.
32986 (__realloc_hook): Likewise.
32987 (__memalign_hook): Likewise.
32988 (__after_morecore_hook): Likewise.
32989 * malloc/arena.c (save_malloc_hook): Likewise.
32990 (save_free_hook): Likewise.
32991 * malloc/hooks.c (malloc_hook_ini): Likewise.
32992 (realloc_hook_ini): Likewise.
32993 (memalign_hook_ini): Likewise.
32994 * malloc/malloc.c (malloc_hook_ini): Likewise.
32995 (realloc_hook_ini): Likewise.
32996 (memalign_hook_ini): Likewise.
32997 (__free_hook): Likewise.
32998 (__malloc_hook): Likewise.
32999 (__realloc_hook): Likewise.
33000 (__memalign_hook): Likewise.
33001 (__libc_malloc): Likewise.
33002 (__libc_free): Likewise.
33003 (__libc_realloc): Likewise.
33004 (__libc_memalign): Likewise.
33005 (__libc_valloc): Likewise.
33006 (__libc_pvalloc): Likewise.
33007 (__libc_calloc): Likewise.
33008 (__posix_memalign): Likewise.
33009 * malloc/morecore.c (__sbrk): Likewise.
33010 (__default_morecore): Likewise.
33012 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33014 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33015 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33016 __malloc_ptrdiff_t.
33018 * malloc/malloc.h (__malloc_size_t): Remove macro.
33019 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33021 (old_memalign_hook): Likewise.
33022 (old_realloc_hook): Likewise.
33023 (struct hdr): Likewise.
33025 (mallochook): Likewise.
33026 (memalignhook): Likewise.
33027 (reallochook): Likewise.
33028 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33029 (tr_old_realloc_hook): Likewise.
33030 (tr_old_memalign_hook): Likewise.
33031 (tr_mallochook): Likewise.
33032 (tr_reallochook): Likewise.
33033 (tr_memalignhook): Likewise.
33035 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33038 default_ldbl_pack and using as default implementation.
33039 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33041 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33042 redundant definition.
33043 (ldbl_insert_mantissa): Likewise.
33044 (ldbl_canonicalize): Likewise.
33045 (ldbl_nearbyint): Likewise.
33046 (ldbl_pack): Rename to ldbl_pack_ppc.
33047 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33048 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33049 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33051 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33054 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33055 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33056 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33058 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33059 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33060 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33062 2013-03-07 Andreas Jaeger <aj@suse.de>
33064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33067 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33069 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33070 Include mpa.h and declare __MPEXP.
33071 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33072 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33073 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33074 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33076 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33077 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33079 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33080 (__slowpow): Use long double EXPL and LOGL functions to
33082 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33083 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33085 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33086 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33090 intermediate variable to calculate exponent.
33092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33096 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33097 [!NO__SQR]: Define __sqr.
33098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33099 and NO__SQR. Remove all code except __mul and __sqr. Include
33100 sysdeps/ieee754/dbl-64/mpa.c.
33101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33104 * posix/Makefile (tests): Add tst-pathconf.
33105 * posix/tst-pathconf.c: New test case.
33106 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33110 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33112 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33114 2013-03-06 Andreas Jaeger <aj@suse.de>
33116 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33117 definition via __MAP_ANONYMOUS.
33119 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33120 it's not part of Linux headers.
33122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33123 (MAP_HUGE_MASK): Define.
33125 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33131 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33138 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33139 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33140 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33141 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33142 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33143 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33149 Handle f2fs and efivarfs.
33151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33154 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33155 (EFIVARFS_MAGIC): Add.
33156 (F2FS_LINK_MAX): Add.
33158 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33160 * stdio-common/vfprintf.c: Replace __builtin_expect with
33163 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33166 * sysdeps/generic/bp-sym.h: Remove file.
33167 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33168 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33169 <bp-sym.h> and <bp-asm.h>.
33170 (__longjmp): Don't use BP_SYM.
33171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33173 (memcpy): Don't use BP_SYM.
33174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33175 <bp-sym.h> and <bp-asm.h>.
33176 (memcpy): Don't use BP_SYM.
33177 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33179 (memcpy): Don't use BP_SYM.
33180 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33182 (memset): Don't use BP_SYM.
33183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33185 (__bzero): Don't use BP_SYM.
33186 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33187 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33188 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33189 <bp-sym.h> and <bp-asm.h>.
33190 (memcmp): Don't use BP_SYM. Remove comment about bounded
33192 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33193 <bp-sym.h> and <bp-asm.h>.
33194 (memcpy): Don't use BP_SYM.
33195 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33196 <bp-sym.h> and <bp-asm.h>.
33197 (memset): Don't use BP_SYM.
33198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33200 (__bzero): Don't use BP_SYM.
33201 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33202 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33203 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33204 <bp-sym.h> and <bp-asm.h>.
33205 (strncmp): Don't use BP_SYM. Remove comment about bounded
33207 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33208 <bp-sym.h> and <bp-asm.h>.
33209 (memcpy): Don't use BP_SYM.
33210 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33211 <bp-sym.h> and <bp-asm.h>.
33212 (memset): Don't use BP_SYM.
33213 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33214 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33215 (__bzero): Don't use BP_SYM.
33216 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33217 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33218 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33219 <bp-sym.h> and <bp-asm.h>.
33220 (__memchr): Don't use BP_SYM.
33221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33222 <bp-sym.h> and <bp-asm.h>.
33223 (memcmp): Don't use BP_SYM. Remove comment about bounded
33225 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33226 <bp-sym.h> and <bp-asm.h>.
33227 (memcpy): Don't use BP_SYM.
33228 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33229 <bp-sym.h> and <bp-asm.h>.
33230 (__mempcpy): Don't use BP_SYM.
33231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33232 <bp-sym.h> and <bp-asm.h>.
33233 (__memrchr): Don't use BP_SYM.
33234 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33235 <bp-sym.h> and <bp-asm.h>.
33236 (memset): Don't use BP_SYM.
33237 (__bzero): Likewise.
33238 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33239 <bp-sym.h> and <bp-asm.h>.
33240 (__rawmemchr): Don't use BP_SYM.
33241 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33242 <bp-sym.h> and <bp-asm.h>.
33243 (__STRCMP): Don't use BP_SYM.
33244 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33245 <bp-sym.h> and <bp-asm.h>.
33246 (strchr): Don't use BP_SYM.
33247 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33248 <bp-sym.h> and <bp-asm.h>.
33249 (__strchrnul): Don't use BP_SYM.
33250 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33251 <bp-sym.h> and <bp-asm.h>.
33252 (strlen): Don't use BP_SYM.
33253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33254 <bp-sym.h> and <bp-asm.h>.
33255 (strncmp): Don't use BP_SYM. Remove comment about bounded
33257 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33258 <bp-sym.h> and <bp-asm.h>.
33259 (__strnlen): Don't use BP_SYM.
33260 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33261 <bp-sym.h> and <bp-asm.h>.
33262 (__GI__setjmp): Don't use BP_SYM.
33263 (_setjmp): Likewise.
33264 (__sigsetjmp): Likewise.
33265 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33266 (L(start_addresses)): Don't use BP_SYM.
33267 (_start): Likewise.
33268 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33270 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33271 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33272 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33273 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33274 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33276 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33277 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33278 about bounded pointers.
33279 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33280 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33281 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33283 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33284 about bounded pointers. Remove GKM FIXME comments.
33285 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33286 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33288 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33289 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33290 Remove GKM FIXME comments.
33291 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33292 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33293 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33295 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33296 about bounded pointers. Remove GKM FIXME comment.
33297 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33299 (strncmp): Don't use BP_SYM. Remove comment about bounded
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33302 <bp-sym.h> and <bp-asm.h>.
33303 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33305 <bp-sym.h> and <bp-asm.h>.
33306 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33309 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33311 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33314 2013-03-05 David S. Miller <davem@davemloft.net>
33316 * po/es.po: Update from translation team.
33318 2013-03-05 Andreas Jaeger <aj@suse.de>
33320 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33321 <bits/mman-linux.h>.
33322 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33325 <bits/mman-linux.h> to end of file.
33326 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33329 <bits/mman-linux.h> to end of file.
33330 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33333 <bits/mman-linux.h> to end of file.
33335 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33336 (MCL_CURRENT, MCL_FUTURE): Define here.
33338 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33345 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33347 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33348 fourth parameter needed for rt_sigprocmask syscall.
33349 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33350 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33351 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33352 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33353 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33354 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33356 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33360 comment about bounded pointers.
33361 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33362 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33364 2013-03-04 Andreas Jaeger <aj@suse.de>
33366 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33367 common definitions.
33369 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33370 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33372 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33376 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33380 __ieee754_sqrl instead of __sqrl.
33382 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33384 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33385 * sysdeps/powerpc/fpu_control.h: ... here.
33386 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33387 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33388 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33389 * sysdeps/powerpc/bits/mathinline.h: ... here.
33391 2013-03-01 Roland McGrath <roland@hack.frob.com>
33393 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33394 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33395 to just [NEED_DL_SYSINFO_DSO].
33396 * elf/dl-support.c: Likewise.
33397 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33398 * elf/rtld.c (dl_main): Likewise.
33399 * elf/setup-vdso.h (setup_vdso): Likewise.
33400 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33401 * sysdeps/unix/sysv/linux/dl-sysdep.c
33402 (_dl_discover_osversion): Likewise.
33404 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33406 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33407 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33409 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33411 * NEWS: Mention libm performance improvements and non-x86 PI
33414 * csu/libc-start.c (__pthread_initialize_minimal): Change
33415 function arguments.
33416 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33418 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33421 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33422 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33423 <bp-sym.h> and <bp-asm.h>.
33424 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33427 (memcpy): Don't use BP_SYM.
33428 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33430 (__mpn_add_n): Don't use BP_SYM.
33431 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33432 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33434 (__mpn_addmul_1): Don't use BP_SYM.
33435 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33436 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33438 (_setjmp): Don't use BP_SYM.
33439 (__novmx_setjmp): Likewise.
33440 (__GI__setjmp): Likewise.
33441 (__vmx_setjmp): Likewise.
33442 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33444 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33445 (__bzero): Don't use BP_SYM.
33446 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33447 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33448 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33449 <bp-sym.h> and <bp-asm.h>.
33450 (memcpy): Don't use BP_SYM.
33451 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33452 <bp-sym.h> and <bp-asm.h>.
33453 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33455 <bp-sym.h> and <bp-asm.h>.
33456 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33457 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33459 (__mpn_lshift): Don't use BP_SYM.
33460 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33461 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33463 (memset): Don't use BP_SYM.
33464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33466 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33468 (__mpn_mul_1): Don't use BP_SYM.
33469 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33471 <bp-sym.h> and <bp-asm.h>.
33472 (memcmp): Don't use BP_SYM.
33473 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33474 <bp-sym.h> and <bp-asm.h>.
33475 (memcpy): Don't use BP_SYM.
33476 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33477 <bp-sym.h> and <bp-asm.h>.
33478 (memset): Don't use BP_SYM.
33479 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33480 <bp-sym.h> and <bp-asm.h>.
33481 (strncmp): Don't use BP_SYM.
33482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33483 <bp-sym.h> and <bp-asm.h>.
33484 (memcpy): Don't use BP_SYM.
33485 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33486 <bp-sym.h> and <bp-asm.h>.
33487 (memset): Don't use BP_SYM.
33488 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33489 <bp-sym.h> and <bp-asm.h>.
33490 (__memchr): Don't use BP_SYM.
33491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33492 <bp-sym.h> and <bp-asm.h>.
33493 (memcmp): Don't use BP_SYM.
33494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33495 <bp-sym.h> and <bp-asm.h>.
33496 (memcpy): Don't use BP_SYM.
33497 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33498 <bp-sym.h> and <bp-asm.h>.
33499 (__mempcpy): Don't use BP_SYM.
33500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33501 <bp-sym.h> and <bp-asm.h>.
33502 (__memrchr): Don't use BP_SYM.
33503 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33504 <bp-sym.h> and <bp-asm.h>.
33505 (memset): Don't use BP_SYM.
33506 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33507 <bp-sym.h> and <bp-asm.h>.
33508 (__rawmemchr): Don't use BP_SYM.
33509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33510 <bp-sym.h> and <bp-asm.h>.
33511 (__STRCMP): Don't use BP_SYM.
33512 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33513 <bp-sym.h> and <bp-asm.h>.
33514 (strchr): Don't use BP_SYM.
33515 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33516 <bp-sym.h> and <bp-asm.h>.
33517 (__strchrnul): Don't use BP_SYM.
33518 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33519 <bp-sym.h> and <bp-asm.h>.
33520 (strlen): Don't use BP_SYM.
33521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33522 <bp-sym.h> and <bp-asm.h>.
33523 (strncmp): Don't use BP_SYM.
33524 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33525 <bp-sym.h> and <bp-asm.h>.
33526 (__strnlen): Don't use BP_SYM.
33527 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33529 (__mpn_rshift): Don't use BP_SYM.
33530 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33531 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33532 <bp-sym.h> and <bp-asm.h>.
33533 (__sigsetjmp): Don't use BP_SYM.
33534 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33535 (L(start_addresses)): Don't use BP_SYM.
33536 (_start): Likewise.
33537 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33539 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33540 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33541 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33542 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33544 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33545 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33546 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33547 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33549 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33551 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33552 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33554 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33556 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33557 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33558 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33560 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33562 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33564 (strncmp): Don't use BP_SYM,
33565 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33567 (__mpn_sub_n): Don't use BP_SYM.
33568 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33569 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33571 (__mpn_submul_1): Don't use BP_SYM.
33572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33574 <bp-sym.h> and <bp-asm.h>.
33575 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33577 <bp-sym.h> and <bp-asm.h>.
33578 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33581 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33584 Use ZK to minimize writes to Z.
33585 (sub_magnitudes): Simplify code a bit.
33586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33587 Use ZK to minimize writes to Z.
33588 (sub_magnitudes): Simplify code a bit.
33590 2013-02-27 Roland McGrath <roland@hack.frob.com>
33592 * csu/gmon-start.c: Add special exception to license text.
33594 2013-02-27 Richard Henderson <rth@redhat.com>
33596 * scripts/config.guess: Update from config.git.
33597 * scripts/config.sub: Likewise.
33599 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33601 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33603 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33605 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33607 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33609 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33611 2013-02-26 Roland McGrath <roland@hack.frob.com>
33613 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33614 [$(build-shared = yes].
33616 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33618 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33619 (__mul): Reduce iterations for calculating mantissa.
33621 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33623 (__mpranred): Likewise.
33626 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33627 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33629 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33631 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33632 Define __attribute__.
33634 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33636 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33638 * posix/regex_internal.h (__attribute): Remove.
33639 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33640 (re_string_context_at): Likewise.
33641 (bitset_not): Use __attribute__ and mark function as possibly
33643 (bitset_merge): Likewise.
33644 (bitset_mask): Likewise.
33645 (re_string_char_size_at): Likewise.
33646 (re_string_wchar_at): Likewise.
33647 (re_string_elem_size_at): Likewise.
33649 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33651 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33655 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33659 (denorm): Likewise.
33660 (__dbl_mp): Likewise.
33661 (add_magnitudes): Likewise.
33662 (sub_magnitudes): Likewise.
33666 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33669 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33672 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33676 up changes with default code.
33677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33680 2013-02-24 Allan McRae <allan@archlinux.org>
33682 * manual/socket.texi (The Internet Namespace): Order menu items
33683 to match that in the file.
33685 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33686 node listing of the info page menu.
33688 2013-02-21 Joseph Myers <joseph@codesourcery.com>
33691 * sysdeps/i386/bp-asm.h: Remove file.
33692 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33693 (PARMS): Do not use macros from bp-asm.h.
33697 (__mpn_add_n): Do not use BP_SYM
33698 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33700 (PARMS): Do not use macros from bp-asm.h.
33703 (__mpn_addmul_1): Do not use BP_SYM
33704 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33706 (PARMS): Do not use macros from bp-asm.h.
33707 (SIGMSK): Likewise.
33708 (_setjmp): Likewise. Do not use BP_SYM.
33709 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33711 (PARMS): Do not use macros from bp-asm.h.
33712 (SIGMSK): Likewise.
33713 (setjmp): Likewise. Do not use BP_SYM.
33714 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33716 (PARMS): Do not use macros from bp-asm.h.
33717 (__frexp): Do not use BP_SYM.
33719 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33721 (PARMS): Do not use macros from bp-asm.h.
33722 (__frexpf): Do not use BP_SYM.
33723 (frexpf): Likewise.
33724 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33726 (PARMS): Do not use macros from bp-asm.h.
33727 (__frexpl): Do not use BP_SYM.
33728 (frexpl): Likewise.
33729 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33731 (PARMS): Do not use macros from bp-asm.h.
33732 (__remquo): Do not use BP_SYM.
33733 (remquo): Likewise.
33734 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33736 (PARMS): Do not use macros from bp-asm.h.
33737 (__remquof): Do not use BP_SYM.
33738 (remquof): Likewise.
33739 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33741 (PARMS): Do not use macros from bp-asm.h.
33742 (__remquol): Do not use BP_SYM.
33743 (remquol): Likewise.
33744 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33746 (PARMS): Do not use macros from bp-asm.h.
33749 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33750 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33752 (PARMS): Do not use macros from bp-asm.h.
33753 (strlen): Do not use BP_SYM.
33754 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33756 (PARMS): Do not use macros from bp-asm.h.
33760 (__mpn_add_n): Do not use BP_SYM.
33761 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33763 (PARMS): Do not use macros from bp-asm.h.
33766 (__mpn_addmul_1): Do not use BP_SYM.
33767 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33770 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33772 (PARMS): Do not use macros from bp-asm.h.
33775 (__mpn_lshift): Do not use BP_SYM.
33776 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33778 (PARMS): Do not use macros from bp-asm.h.
33782 (memcpy): Likewise. Do not use BP_SYM.
33783 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33784 libc_hidden_def and weak_alias.
33785 (mempcpy): Do not use BP_SYM in weak_alias.
33786 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33788 (PARMS): Do not use macros from bp-asm.h.
33791 [!BZERO_P] (CHR): Likewise.
33792 (memset): Likewise. Do not use BP_SYM.
33793 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33795 (PARMS): Do not use macros from bp-asm.h.
33798 (__mpn_mul_1): Do not use BP_SYM.
33799 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33801 (PARMS): Do not use macros from bp-asm.h.
33804 (__mpn_rshift): Do not use BP_SYM.
33805 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33807 (PARMS): Do not use macros from bp-asm.h.
33810 (strchr): Likewise. Do not use BP_SYM.
33811 (index): Do not use BP_SYM in weak_alias.
33812 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33814 (PARMS): Do not use macros from bp-asm.h.
33817 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33818 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33820 (PARMS): Do not use macros from bp-asm.h.
33821 (strlen): Do not use BP_SYM.
33822 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33824 (PARMS): Do not use macros from bp-asm.h.
33828 (__mpn_sub_n): Do not use BP_SYM.
33829 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33831 (PARMS): Do not use macros from bp-asm.h.
33834 (__mpn_submul_1): Do not use BP_SYM.
33835 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33837 (PARMS): Do not use macros from bp-asm.h.
33841 (__mpn_add_n): Do not use BP_SYM.
33842 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33845 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33847 (PARMS): Do not use macros from bp-asm.h.
33850 (memcmp): Do not use BP_SYM.
33851 (bcmp): Do not use BP_SYM in weak_alias.
33852 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33854 (PARMS): Do not use macros from bp-asm.h.
33858 (memcpy): Likewise. Do not use BP_SYM.
33859 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33861 (PARMS): Do not use macros from bp-asm.h.
33865 (memmove): Likewise. Do not use BP_SYM.
33866 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33868 (PARMS): Do not use macros from bp-asm.h.
33872 (__mempcpy): Likewise. Do not use BP_SYM.
33873 (mempcpy): Do not use BP_SYM in weak_alias.
33874 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33876 (PARMS): Do not use macros from bp-asm.h.
33879 [!BZERO_P] (CHR): Likewise.
33880 (memset): Likewise. Do not use BP_SYM.
33881 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33883 (PARMS): Do not use macros from bp-asm.h.
33885 (strcmp): Do not use BP_SYM.
33886 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33888 (PARMS): Do not use macros from bp-asm.h.
33891 [USE_AS_STRTOK_R] (SAVE): Likewise.
33892 (FUNCTION): Likewise. Do not use BP_SYM.
33893 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33895 (strtok_r): Likewise.
33896 (__GI___strtok_r): Likewise.
33897 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33898 (PARMS): Do not use macros from bp-asm.h.
33901 (__mpn_lshift): Do not use BP_SYM.
33902 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33903 (PARMS): Do not use macros from bp-asm.h.
33906 (__memchr): Do not use BP_SYM.
33907 (memchr): Do not use BP_SYM in weak_alias.
33908 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33909 (PARMS): Do not use macros from bp-asm.h.
33912 (memcmp): Do not use BP_SYM.
33913 (bcmp): Do not use BP_SYM in weak_alias.
33914 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33915 (PARMS): Do not use macros from bp-asm.h.
33918 (__mpn_mul_1): Do not use BP_SYM.
33919 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33921 (PARMS): Do not use macros from bp-asm.h.
33924 (__rawmemchr): Do not use BP_SYM.
33925 (rawmemchr): Do not use BP_SYM in weak_alias.
33926 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33927 (PARMS): Do not use macros from bp-asm.h.
33930 (__mpn_rshift): Do not use BP_SYM.
33931 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33932 (PARMS): Do not use macros from bp-asm.h.
33933 (SIGMSK): Likewise.
33934 (__sigsetjmp): Likewise. Do not use BP_SYM.
33935 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33936 (_start): Do not use BP_SYM.
33937 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33938 (PARMS): Do not use macros from bp-asm.h.
33941 (__stpcpy): Likewise. Do not use BP_SYM.
33942 (stpcpy): Do not use BP_SYM in weak_alias.
33943 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33945 (PARMS): Do not use macros from bp-asm.h.
33949 (__stpncpy): Likewise. Do not use BP_SYM.
33950 (stpncpy): Do not use BP_SYM in weak_alias.
33951 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33952 (PARMS): Do not use macros from bp-asm.h.
33955 (strchr): Likewise. Do not use BP_SYM.
33956 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33958 (PARMS): Do not use macros from bp-asm.h.
33961 (__strchrnul): Likewise. Do not use BP_SYM.
33962 (strchrnul): Do not use BP_SYM in weak_alias.
33963 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33965 (PARMS): Do not use macros from bp-asm.h.
33967 (strcspn): Do not use BP_SYM.
33968 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33970 (PARMS): Do not use macros from bp-asm.h.
33973 (strpbrk): Likewise. Do not use BP_SYM.
33974 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33976 (PARMS): Do not use macros from bp-asm.h.
33979 (strrchr): Likewise. Do not use BP_SYM.
33980 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33981 (PARMS): Do not use macros from bp-asm.h.
33983 (strspn): Do not use BP_SYM.
33984 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33985 (PARMS): Do not use macros from bp-asm.h.
33989 (FUNCTION): Likewise. Do not use BP_SYM.
33990 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33992 (strtok_r): Likewise.
33993 (__GI___strtok_r): Likewise.
33994 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33995 (PARMS): Do not use macros from bp-asm.h.
33999 (__mpn_sub_n): Do not use BP_SYM.
34000 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34002 (PARMS): Do not use macros from bp-asm.h.
34005 (__mpn_submul_1): Do not use BP_SYM.
34006 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34008 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34010 (PARMS): Do not use macros from bp-asm.h.
34015 (__clone): Do not use BP_SYM.
34016 (clone): Do not use BP_SYM in weak_alias.
34017 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34019 (PARMS): Do not use macros from bp-asm.h.
34021 (__mmap64): Do not use BP_SYM.
34022 (mmap64): Do not use BP_SYM in weak_alias.
34023 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34024 <bp-sym.h> and <bp-asm.h>.
34025 (PARMS): Do not use macros from bp-asm.h.
34026 (__posix_fadvise64_l64): Do not use BP_SYM.
34027 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34028 (PARMS): Do not use macros from bp-asm.h.
34030 (semtimedop): Do not use BP_SYM.
34031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34034 2013-02-21 Allan McRae <allan@archlinux.org>
34036 * manual/message.texi (Charset conversion in gettext):
34037 Move @end statement to beginning of line.
34039 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34047 (denorm): Likewise.
34048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34051 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34053 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34054 tail-call to the resolved function if pltexit isn't needed.
34056 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34059 or Y being zero as being unlikely.
34060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34063 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34065 * manual/nss.texi (System Databases and Name Service Switch):
34066 Remove frobnicate @pxref.
34068 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34070 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34071 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34073 2013-02-20 Petr Machata <pmachata@redhat.com>
34075 * elf/elf.h (R_ARM_TARGET1): New macro.
34076 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34077 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34078 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34079 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34080 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34081 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34082 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34083 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34084 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34085 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34086 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34087 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34088 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34089 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34090 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34091 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34092 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34093 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34094 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34095 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34096 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34097 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34098 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34099 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34100 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34101 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34102 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34103 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34104 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34105 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34106 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34107 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34108 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34109 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34110 (R_ARM_THM_GOT_BREL12): Likewise.
34111 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34112 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34113 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34114 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34115 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34116 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34117 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34118 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34119 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34121 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34123 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34124 __attribute_used__ to __attribute__ ((unused)).
34126 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34128 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34131 comment formatting.
34132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34134 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34137 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34139 (ENTER): Remove both macro definitions.
34141 (CHECK_BOUNDS_LOW): Likewise.
34142 (CHECK_BOUNDS_HIGH): Likewise.
34143 (CHECK_BOUNDS_BOTH): Likewise.
34144 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34145 (RETURN_BOUNDED_POINTER): Likewise.
34146 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34147 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34148 (POP_ERRNO_LOCATION_RETURN): Likewise.
34149 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34151 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34153 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34154 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34155 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34156 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34157 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34158 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34159 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34160 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34161 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34162 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34163 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34164 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34165 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34166 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34168 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34169 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34171 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34172 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34173 * sysdeps/i386/i586/memset.S (memset): Likewise.
34174 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34175 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34176 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34178 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34179 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34180 Change uses of L(2) to L(out).
34181 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34182 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34183 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34184 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34185 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34187 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34188 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34190 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34191 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34192 (RETURN): Do not use macro LEAVE.
34193 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34194 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34195 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34196 * sysdeps/i386/i686/memset.S (memset): Likewise.
34197 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34198 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34199 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34200 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34202 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34203 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34204 L(1_2) and L(1_3) into L(1).
34205 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34206 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34207 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34208 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34209 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34210 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34211 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34212 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34213 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34215 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34216 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34217 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34218 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34219 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34220 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34221 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34222 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34223 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34224 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34225 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34226 * sysdeps/i386/strspn.S (strspn): Likewise.
34227 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34229 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34230 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34231 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34232 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34233 L(1_3) into L(1_1).
34234 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34235 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34236 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34238 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34240 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34242 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34245 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34247 * math/atest-exp.c (exp_mpn): Remove ROUND.
34248 * math/atest-exp2.c (exp_mpn): Likewise.
34249 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34251 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34252 * stdlib/tst-tls-atexit-lib.c: Likewise.
34253 * stdlib/tst-tls-atexit.c: Likewise.
34255 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34257 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34258 and __attribute_alloc_size__.
34260 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34262 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34263 __attribute_alloc_size__.
34264 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34265 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34267 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34269 * include/programs/xmalloc.h: New file.
34270 * catgets/gencat.c: Include it.
34271 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34272 * elf/pldd.c: Likewise.
34273 * iconv/iconv_charmap.c: Likewise.
34274 * iconv/iconvconfig.c: Likewise.
34275 * iconv/strtab.c: Likewise.
34276 * locale/programs/locale.c: Likewise.
34277 * locale/programs/localedef.h: Likewise.
34278 * locale/programs/simple-hash.c: Likewise.
34279 * nscd/nscd.h: Likewise.
34280 * nss/makedb.c: Likewise.
34281 * sysdeps/generic/ldconfig.h: Likewise.
34283 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34285 * Versions.def: Add GLIBC_2.18.
34286 * include/link.h (struct link_map): New member l_tls_dtor_count.
34287 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34288 (__call_tls_dtors): Likewise.
34289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34290 __cxa_thread_atexit_impl.
34291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34307 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34308 (tests): Add test case tst-tls-atexit.
34309 (modules-names): Add shared library for tst-tls-atexit.
34310 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34311 (GLIBC_PRIVATE): Add __call_tls_dtors.
34312 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34314 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34315 * stdlib/tst-tls-atexit.c: New test case.
34316 * stdlib/tst-tls-atexit-lib.c: New test case.
34318 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34320 * elf/Versions (ld): Add _dl_find_dso_for_object.
34321 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34322 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34323 (dl_open_worker): Use _dl_find_dso_for_object.
34324 * elf/dl-sym.c (do_sym): Likewise.
34325 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34327 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34329 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34330 Syntactic changes only.
34331 (_dl_runtime_profile): Do a tail-call to the resolved function.
34333 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34336 * sysdeps/x86_64/bp-asm.h: Remove file.
34337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34338 <bp-sym.h> and <bp-asm.h>.
34339 (__clone): Do not use BP_SYM.
34340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34341 <bp-sym.h> and <bp-asm.h>.
34342 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34343 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34345 (_setjmp): Do not use BP_SYM.
34346 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34348 (setjmp): Do not use BP_SYM.
34349 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34351 (mempcpy): Do not use BP_SYM in weak_alias.
34352 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34354 (strchr): Do not use BP_SYM.
34355 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34357 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34358 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34359 (_start): Do not use BP_SYM.
34360 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34362 (strcat): Do not use BP_SYM.
34363 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34365 (STRCMP): Do not use BP_SYM.
34366 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34368 (STRCPY): Do not use BP_SYM.
34369 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34371 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34373 (FUNCTION): Do not use BP_SYM.
34374 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34376 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34378 2013-02-17 Andreas Jaeger <aj@suse.de>
34380 * time/Versions: Sort entries.
34381 * string/Versions: Likewise.
34382 * resolv/Versions: Likewise.
34383 * posix/Versions: Likewise.
34384 * iconv/Versions: Likewise.
34385 * elf/Versions: Likewise.
34386 * wcsmbs/Versions: Likewise.
34388 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34390 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34391 loop termination condition.
34393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34394 variable to calculate EZ.
34397 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34398 the lower precision input.
34400 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34403 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34404 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34405 (run-via-rtld-prefix): Do not handle %-bp tests.
34406 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34407 (all-object-suffixes): Remove .ob.
34408 (bppfx): Remove variable.
34409 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34410 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34411 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34412 [$(build-bounded) = yes] (libtype.ob): Likewise.
34413 * Makerules (elide-routines.ob): Remove variable.
34414 (do-tests-clean): Do not handle *-bp.out.
34415 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34416 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34417 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34418 (tests): Do not include $(tests-bp.out).
34419 (xtests): Do not include $(xtests-bp.out).
34420 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34421 [$(build-bounded) = yes] ($(addprefix
34422 $(objpfx),$(binaries-bounded))): Remove rule.
34423 ($(objpfx)%-bp.out): Remove rule.
34424 * config.make.in (build-bounded): Remove variable.
34425 * crypt/Makefile [$(build-bounded) = yes]
34426 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34427 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34428 append to variable.
34429 [$(build-bounded) = yes] (install-lib): Likewise.
34430 [$(build-bounded) = yes] (generated): Likewise.
34431 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34433 * intl/Makefile [$(build-bounded) = yes]
34434 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34435 * math/Makefile [$(build-bounded) = yes]
34436 ($(tests:%=$(objpfx)%-bp): Likewise.
34437 * misc/Makefile [$(build-bounded) = yes]
34438 ($(objpfx)tst-tsearch-bp): Likewise.
34439 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34440 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34442 * string/Makefile (o-objects.ob): Remove variable.
34443 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34444 (CFLAGS-.ob): Remove variable.
34445 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34446 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34447 both definitions of variable.
34448 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34449 (ASFLAGS-.ob): Remove variable.
34451 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34454 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34455 Remove __BOUNDED_POINTERS__ from condition.
34456 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34457 * string/bits/string2.h [!__NO_STRING_INLINES &&
34458 !__BOUNDED_POINTERS__]: Likewise.
34459 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34461 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34462 Remove conditional code.
34463 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34464 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34465 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34469 * csu/libc-start.c: Do not include <bp-sym.h>.
34470 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34471 * elf/dl-open.c: Do not include <bp-sym.h>.
34472 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34473 * math/fegetenv.c: Do not include <bp-sym.h>.
34474 (fegetenv): Do not use BP_SYM in versioned symbols.
34475 * nptl/sysdeps/pthread/bits/libc-lockP.h
34476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34479 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34481 (__pthread_mutex_destroy): Likewise.
34482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34483 (__pthread_mutex_lock): Likewise.
34484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34485 (__pthread_mutex_trylock): Likewise.
34486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34487 (__pthread_mutex_unlock): Likewise.
34488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34489 (__pthread_mutexattr_init): Likewise.
34490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34491 (__pthread_mutexattr_destroy): Likewise.
34492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34493 (__pthread_mutexattr_settype): Likewise.
34494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34495 (__pthread_rwlock_init): Likewise.
34496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34497 (__pthread_rwlock_destroy): Likewise.
34498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34499 (__pthread_rwlock_rdlock): Likewise.
34500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34501 (__pthread_rwlock_tryrdlock): Likewise.
34502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34503 (__pthread_rwlock_wrlock): Likewise.
34504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34505 (__pthread_rwlock_trywrlock): Likewise.
34506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34507 (__pthread_rwlock_unlock): Likewise.
34508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34509 (__pthread_key_create): Likewise.
34510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34511 (__pthread_setspecific): Likewise.
34512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34513 (__pthread_getspecific): Likewise.
34514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34517 (_pthread_cleanup_push_defer): Likewise.
34518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34519 (_pthread_cleanup_pop_restore): Likewise.
34520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34521 (pthread_setcancelstate): Likewise.
34522 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34524 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34525 (memchr): Do not use BP_SYM in weak_alias.
34526 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34527 (fegetenv): Do not use BP_SYM in versioned symbols.
34528 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34529 (fesetenv): Do not use BP_SYM in versioned symbols.
34530 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34531 (feupdateenv): Do not use BP_SYM in versioned symbols.
34532 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34533 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34534 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34535 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34536 (open64): Do not use BP_SYM in weak_alias.
34537 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34538 (fegetenv): Do not use BP_SYM in versioned symbols.
34539 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34540 (fesetenv): Do not use BP_SYM in versioned symbols.
34541 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34542 (feupdateenv): Do not use BP_SYM in versioned symbols.
34543 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34544 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34545 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34546 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34547 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34548 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34551 (__libc_start_main): Do not use BP_SYM.
34553 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34556 redundant return line.
34558 (denorm): Likewise.
34559 (dbl_mp): Likewise.
34560 (sub_magnitudes): Likewise.
34566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34568 (denorm): Likewise.
34569 (dbl_mp): Likewise.
34570 (sub_magnitudes): Likewise.
34577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34579 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34580 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34584 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34586 of __mul for squares.
34587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34594 2013-02-13 Joseph Myers <joseph@codesourcery.com>
34597 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34599 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34600 prototype or function definition. Rename ubp_* variables and
34601 parameters. Remove argv definitions conditional on
34602 [__BOUNDED_POINTERS__].
34603 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34604 * elf/dl-runtime.c (_dl_fixup): Likewise.
34605 * include/set-hooks.h (RUN_HOOK): Likewise.
34606 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34608 * string/strcpy.c (strcpy): Do not use __unbounded.
34609 * sysdeps/generic/frame.h (struct layout): Likewise.
34610 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34611 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34612 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34613 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34614 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34615 (__backtrace): Likewise.
34616 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34618 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34619 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34620 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34622 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34623 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34624 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34625 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34626 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34627 Do not use __unbounded.
34628 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34629 Rename __unboundedrlimits parameter to rlimits in prototype.
34630 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34631 Do not use __unbounded.
34632 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34633 not use __ptrvalue.
34634 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34635 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34636 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34637 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34638 __ptrvalue or __unbounded.
34639 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34640 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34642 (__new_msgctl): Do not use __ptrvalue.
34643 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34645 (__libc_msgrcv): Do not use __ptrvalue.
34646 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34647 startup_info): Do not use __unbounded.
34648 (__libc_start_main): Likewise. Rename ubp_* variables and
34649 parameters. Remove argv definitions conditional on
34650 [__BOUNDED_POINTERS__].
34651 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34653 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34655 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34657 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34659 (__new_shmctl): Do not use __ptrvalue.
34660 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34661 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34663 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34665 (__libc_sigaction): Likewise.
34666 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34667 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34669 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34671 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
34673 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34675 * string/mempcpy.c: Implement by calling memcpy.
34677 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34685 values in the mantissa.
34687 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34688 minimize writes to Z.
34689 (sub_magnitudes): Simplify code a bit.
34691 2013-02-12 Roland McGrath <roland@hack.frob.com>
34693 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34694 from the message. The linker prefixes all warnings with that already.
34696 2013-02-12 Andreas Schwab <schwab@suse.de>
34699 * posix/regexec.c (extend_buffers): Add parameter min_len.
34700 (check_matching): Pass minimum needed length.
34701 (clean_state_log_if_needed): Likewise.
34702 (get_subexp): Likewise.
34703 * posix/Makefile (tests): Add bug-regex34.
34704 (bug-regex34-ENV): Define.
34705 * posix/bug-regex34.c: New file.
34708 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34709 elements compare against the byte sequence of it, not its name.
34710 * posix/Makefile (tests): Add bug-regex35.
34711 (bug-regex35-ENV): Define.
34712 * posix/bug-regex35.c: New file.
34714 2013-02-11 Tom de Vries <tom@codesourcery.com>
34716 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34718 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34719 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34720 (CHECK_EOL): Add undef.
34722 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
34724 * bits/stdlib-bsearch.h: New file.
34725 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34726 * stdlib/stdlib.h: Likewise.
34728 2013-02-11 Roland McGrath <roland@hack.frob.com>
34730 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34731 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34733 * manual/search.texi (Array Search Function): Add missing const in
34735 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34736 declaration to use rlim_t.
34737 (Basic Scheduling Functions): Remove erroneous const from
34738 sched_getparam prototype. Remove erroneous * from
34739 sched_get_priority_max and sched_get_priority_min prototypes.
34740 (Resource Usage): Fix summary @comment on vtimes to refer to
34741 sys/vtimes.h rather than vtimes.h.
34742 Add missing *s in vtimes prototype.
34743 (Limits on Resources): Fix ulimit prototype to return long int.
34744 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34745 prototypes to use long int rather than double.
34746 (BSD Random): Fix initstate and setstate to use char *, not void *.
34747 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34748 prototype to make second argument 'struct aiocb64 *const[]'.
34749 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34750 (Status of AIO Operations): Remove erroneous const in aio_return and
34751 aio_return64 prototypes.
34752 (Synchronizing I/O): Fix sync prototype to return void.
34753 * manual/startup.texi (Suboptions): Remove an erroneous const in
34754 getsubopt prototype.
34755 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34756 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34757 use size_t rather than int.
34758 (Scanning All Users): Likewise for getpwent_r.
34759 (Setting Groups): Add missing const to setgroups prototype.
34760 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34761 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34762 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34763 'const void *' rather than 'const char *'.
34764 (Host Address Functions): Likewise for inet_ntop.
34765 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34766 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34767 ssize_t for return value.
34768 (Sending Data): Likewise for send, sendto, sendmsg.
34769 (Socket Option Functions): Add a missing const in setsockopt prototype.
34770 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34771 use wchar_t for the argument.
34772 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34773 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34775 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34776 double/float/long double for second argument.
34777 Fix return types of significand, significandf, significandl.
34778 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34779 argument in fchmod prototype.
34780 (File Owner): Use uid_t and gid_t in fchown prototype.
34781 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34782 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34783 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34784 use 'const struct dirent **' as argument types to CMP function pointer
34786 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34787 (File Times): Fix summary magic @comment for struct utimbuf and utime
34788 to refer to utime.h, not time.h.
34789 * manual/string.texi (Argz Functions): Add missing const in
34790 argz_extract and argz_next prototypes.
34791 (Finding Tokens in a String): Likewise for basename.
34792 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34793 (Copying and Concatenation): Fix typo in wmemmove prototype.
34794 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34795 (Signal Stack): Remove erroneous const in sigstack prototype.
34796 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34798 (Simple Calendar Time): Likewise for stime.
34799 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34801 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34802 say sys/sysctl.h instead.
34803 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34804 and vsyslog prototypes.
34806 2013-02-11 Tom de Vries <tom@codesourcery.com>
34808 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34811 2013-02-11 Roland McGrath <roland@hack.frob.com>
34813 * misc/sys/mman.h: Fix typo in mremap comment.
34815 2013-02-08 Roland McGrath <roland@hack.frob.com>
34817 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34818 the '\0' terminator.
34820 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34823 * debug/segfault.c: Don't include <bp-checks.h>.
34824 * sysdeps/generic/bp-checks.h: Remove file.
34825 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34826 (__GETDENTS): Don't use CHECK_N.
34827 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34828 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34829 (__getgroups): Don't use CHECK_N.
34830 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34831 (setgroups): Don't use CHECK_N.
34832 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34833 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34834 (__libc_msgrcv): Don't use CHECK_N.
34835 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34836 (__libc_msgsnd): Don't use CHECK_N.
34837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34839 (__libc_pread): Don't use CHECK_N.
34840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34841 include <bp-checks.h>.
34842 (__libc_pread64): Don't use CHECK_N.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34844 include <bp-checks.h>.
34845 (__libc_pwrite): Don't use CHECK_N.
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34847 include <bp-checks.h>.
34848 (__libc_pwrite64): Don't use CHECK_N.
34849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34851 (__libc_pread): Don't use CHECK_N.
34852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34853 include <bp-checks.h>.
34854 (__libc_pread64): Don't use CHECK_N.
34855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34856 include <bp-checks.h>.
34857 (__libc_pwrite): Don't use CHECK_N.
34858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34859 include <bp-checks.h>.
34860 (__libc_pwrite64): Don't use CHECK_N.
34861 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34862 (do_pread): Don't use CHECK_N.
34863 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34864 (do_pread64): Don't use CHECK_N.
34865 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34866 (do_pwrite): Don't use CHECK_N.
34867 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34868 (do_pwrite64): Don't use CHECK_N.
34869 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34870 (__libc_readv): Don't use CHECK_N.
34871 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34872 (semop): Don't use CHECK_N.
34873 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34875 (semtimedop): Don't use CHECK_N.
34876 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34877 (__libc_pread): Don't use CHECK_N.
34878 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34880 (__libc_pread64): Don't use CHECK_N.
34881 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34883 (__libc_pwrite): Don't use CHECK_N.
34884 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34886 (__libc_pwrite64): Don't use CHECK_N.
34887 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34889 (__libc_msgrcv): Don't use CHECK_N.
34890 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34891 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34892 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34893 (__libc_writev): Don't use CHECK_N.
34895 2013-02-08 Roland McGrath <roland@hack.frob.com>
34897 * string/strcpy.c: Removed unused variable.
34899 * Makeconfig (+sysdep-includes): Define with := rather than =.
34900 Use an existing include/ subdir of each sysdeps dir before it.
34902 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34904 * nscd/connection.c (register_traced_file): Comment function.
34905 [HAVE_INOTIFY] (union __inev): Define.
34906 [HAVE_INOTIFY] (inotify_check_files): New function.
34907 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34908 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34910 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34912 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34914 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34915 loaded if not already and that a failure is permanent.
34917 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34920 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34921 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34923 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34926 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34927 (CHECK_1_NULL_OK): Likewise.
34928 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34929 (__fxstat): Do not use CHECK_1.
34930 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34932 (___fxstat64): Do not use CHECK_1.
34933 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34935 (__fxstatat): Do not use CHECK_1.
34936 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34938 (__fxstatat64): Do not use CHECK_1.
34939 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34941 (__fxstat): Do not use CHECK_1.
34942 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34944 (__fxstatat): Do not use CHECK_1.
34945 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34947 (__getresgid): Do not use CHECK_1.
34948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34950 (__getresuid): Do not use CHECK_1.
34951 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34953 (__lxstat): Do not use CHECK_1.
34954 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34956 (__old_msgctl): Do not use CHECK_1.
34957 (__new_msgctl): Likewise.
34958 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34960 (__new_setrlimit): Do not use CHECK_1.
34961 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34963 (__old_shmctl): Do not use CHECK_1.
34964 (__new_shmctl): Likewise.
34965 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34967 (__xstat): Do not use CHECK_1.
34968 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34969 (__lxstat): Do not use CHECK_1.
34970 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34972 (___lxstat64): Do not use CHECK_1.
34973 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34974 (__old_msgctl): Do not use CHECK_1.
34975 (__new_msgctl): Likewise.
34976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34978 (__gettimeofday): Do not use CHECK_1.
34979 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34980 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34981 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34983 (__gettimeofday): Do not use CHECK_1.
34984 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34985 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34986 (__new_shmctl): Do not use CHECK_1.
34987 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34989 (do_sigtimedwait): Do not use CHECK_1.
34990 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34992 (do_sigwaitinfo): Do not use CHECK_1.
34993 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34995 (msgctl): Do not use CHECK_1.
34996 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34998 (shmctl): Do not use CHECK_1.
34999 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35000 (ustat): Do not use CHECK_1.
35001 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35003 (__fxstat): Do not use CHECK_1.
35004 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35006 (__fxstatat): Do not use CHECK_1.
35007 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35009 (__lxstat): Do not use CHECK_1.
35010 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35012 (__xstat): Do not use CHECK_1.
35013 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35014 (__xstat): Do not use CHECK_1.
35015 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35016 (___xstat64): Do not use CHECK_1.
35019 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35021 (CHECK_BOUNDS_HIGH): Likewise.
35022 * string/strcpy.c: Do not include <bp-checks.h>.
35023 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35025 2013-02-07 Roland McGrath <roland@hack.frob.com>
35027 * nscd/nscd-client.h (__nscd_drop_map_ref):
35028 Add __attribute__ ((unused)).
35029 * nis/nss-nisplus.h (niserr2nss): Likewise.
35031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35032 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35034 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35035 Remove inline keyword.
35036 * include/rounding-mode.h (round_away): Likewise.
35037 * libio/wfileops.c (adjust_wide_data): Likewise.
35038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35039 (__m128i_strloadu_tolower): Likewise.
35040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35041 (__m128i_strloadu_tolower): Likewise.
35042 * time/mktime.c (ydhms_diff): Likewise.
35043 * locale/elem-hash.h (elem_hash): Likewise.
35044 * locale/setlocale.c (setdata): Likewise.
35045 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35046 (re_string_wchar_at): Likewise.
35047 (bitset_not, bitset_merge, bitset_mask): Likewise.
35048 [!(__GNUC__ > 3)] (inline): Remove macro.
35049 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35050 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35051 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35052 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35053 * string/memcmp.c (memcmp_bytes): Likewise.
35054 * locale/programs/locarchive.c (compute_hashval): Likewise.
35055 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35056 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35057 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35058 * nss/getent.c (print_rpc, print_protocols): Likewise.
35059 (print_passwd, print_group, print_aliases): Likewise.
35060 * nis/nss-nisplus.h (niserr2nss): Likewise.
35061 * nscd/connections.c (restart_p): Likewise.
35062 Change return type to bool.
35064 2013-02-05 Roland McGrath <roland@hack.frob.com>
35066 * Makeconfig (all-Depend-files): Add existing
35067 $(sorted-subdirs:=/Depend) files.
35068 (all-subdirs): Remove nss.
35069 * sysdeps/unix/inet/Subdirs: Add it here instead.
35070 * hesiod/Depend: New file.
35072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35073 instead of calling alloca.
35075 * io/lseek.c (__lseek): Rename to __libc_lseek.
35076 Define __lseek as an alias.
35078 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35080 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35082 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35083 else clause and remove check for non-standard endianness.
35085 2013-02-04 David S. Miller <davem@davemloft.net>
35087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35089 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35092 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35093 (__ubp_memchr): Remove prototype.
35094 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35095 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35096 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35097 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35098 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35100 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35101 (__ubp_memchr): Likewise.
35102 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35103 (__ubp_memchr): Likewise.
35104 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35105 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35106 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35107 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35109 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35110 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35111 (__getcwd): Do not use CHECK_STRING.
35112 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35114 (__real_chown): Do not use CHECK_STRING.
35115 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35117 (fchownat): Do not use CHECK_STRING.
35118 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35120 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35122 (__lchown): Do not use CHECK_STRING.
35123 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35124 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35125 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35126 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35128 include <bp-checks.h>.
35129 (truncate64): Do not use CHECK_STRING.
35130 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35132 (__real_chown): Do not use CHECK_STRING.
35133 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35135 (__lchown): Do not use CHECK_STRING.
35136 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35138 (__chown): Do not use CHECK_STRING.
35139 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35141 (truncate64): Do not use CHECK_STRING.
35142 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35144 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35145 (__xmknod): Do not use CHECK_STRING.
35146 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35148 (__xmknodat): Do not use CHECK_STRING.
35149 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35150 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35152 2013-02-04 Andreas Schwab <schwab@suse.de>
35155 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35156 * include/netdb.h: Likewise for h_errno.
35157 * elf/tst-stackguard1.c: Include <tls.h>.
35159 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35161 * elf/link.h (struct link_map): Extend the l_addr comment.
35162 * include/link.h (struct link_map): Likewise.
35164 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35167 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35168 (BOUNDED_1): Remove macro.
35169 * debug/backtrace.c: Don't include <bp-checks.h>.
35170 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35171 (__backtrace): Likewise.
35172 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35174 (__backtrace): Don't use BOUNDED_1.
35175 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35177 (__backtrace): Don't use BOUNDED_1.
35178 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35179 (__backtrace): Don't use BOUNDED_1.
35180 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35181 (shmat): Don't use BOUNDED_N.
35183 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35186 * sysdeps/generic/bp-start.h: Remove file.
35187 * csu/libc-start.c: Don't include <bp-start.h>.
35188 (LIBC_START_MAIN): Set up __environ directly instead of using
35189 INIT_ARGV_and_ENVIRON.
35190 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35194 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35196 (CHECK_FCNTL): Likewise.
35197 (CHECK_N_PAGES): Likewise.
35200 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35202 (CHECK_SIGSET_NULL_OK): Likewise.
35203 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35205 (sigpending): Don't use CHECK_SIGSET.
35206 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35208 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35209 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35211 (do_sigsuspend): Don't use CHECK_SIGSET.
35212 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35214 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35215 (do_sigwait): Don't use CHECK_SIGSET.
35216 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35219 include <bp-checks.h>.
35220 (sigpending): Don't use CHECK_SIGSET.
35221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35222 include <bp-checks.h>.
35223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35224 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35226 (sigpending): Don't use CHECK_SIGSET.
35227 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35229 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35232 * sysdeps/generic/bp-semctl.h: Remove file.
35233 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35234 <bp-checks.h> and <bp-semctl.h>.
35235 (__old_semctl): Don't use CHECK_SEMCTL.
35236 (__new_semctl): Likewise.
35237 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35239 (__old_semctl): Don't use CHECK_SEMCTL.
35240 (__new_semctl): Likewise.
35241 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35242 <bp-checks.h> and <bp-semctl.h>.
35243 (__old_semctl): Don't use CHECK_SEMCTL.
35244 (__new_semctl): Likewise.
35245 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35246 <bp-checks.h> and <bp-semctl.h>.
35247 (semctl): Don't use CHECK_SEMCTL.
35250 * Makerules (elide-bp-thunks): Remove variable.
35251 (elide-routines.oS): Don't use $(elide-bp-thunks).
35252 (elide-routines.os): Likewise.
35253 (elide-routines.o): Likewise.
35254 (elide-routines.op): Likewise.
35255 (elide-routines.og): Likewise.
35256 (objects): Don't use $(bp-thunks).
35257 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35259 (common-generated): Do not add s-proto-bp.d.
35260 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35263 Do not generate makefile rules for bounded-pointer thunks.
35264 * sysdeps/generic/bp-thunks.h: Remove file.
35265 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35266 * sysdeps/unix/s-proto-bp.S: Likewise.
35269 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35270 parts of result separately when argument is not close to line from
35271 -i to i and one part of argument is small.
35272 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35273 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35274 * math/libm-test.inc (cacos_test): Add more tests.
35275 (casin_test): Likewise.
35276 (casinh_test): Likewise.
35277 * sysdeps/i386/fpu/libm-test-ulps: Update.
35278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35280 2013-01-31 David S. Miller <davem@davemloft.net>
35282 * po/de.po: Update from translation team.
35284 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35286 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35288 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35290 * configure.in (_AC_PROG_CC_C89): New definition.
35291 * configure: Regenerate.
35293 * configure.in (AC_PROG_CPP): New definition.
35294 * configure: Regenerate.
35296 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35298 * debug/tst-backtrace.h: New file.
35299 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35300 (ret): Remove variable.
35302 (FAIL): Remove macro.
35303 (NO_INLINE): Likewise.
35304 (fn1): Use match function instead of strstr.
35305 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35306 (ret): Remove variable.
35308 (FAIL): Remove macro.
35309 (NO_INLINE): Likewise.
35310 (fn): Use match function instead of strstr.
35311 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35312 (ret): Remove variable.
35314 (FAIL): Remove macro.
35315 (NO_INLINE): Likewise.
35316 (handle_signal): Use match function instead of strstr.
35317 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35318 (ret): Remove variable.
35320 (FAIL): Remove macro.
35321 (NO_INLINE): Likewise.
35322 (handle_signal): Use match function instead of strstr.
35324 2013-01-23 Roland McGrath <roland@hack.frob.com>
35326 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35328 2013-01-23 David S. Miller <davem@davemloft.net>
35330 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35331 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35332 argument of CAS if possible.
35333 * sysdeps/sparc/sparc64/bits/atomic.h
35334 (__arch_compare_and_exchange_val_32_acq): Likewise.
35335 (__arch_compare_and_exchange_val_64_acq): Likewise.
35337 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35339 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35340 * sysdeps/posix/ulimit.c: ... this.
35341 Include <limits.h>.
35342 * sysdeps/unix/bsd/ulimit.c: Remove file.
35344 2013-01-23 Adam Conrad <adconrad@0c3.net>
35346 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35347 (LDFLAGS-tst-array5): Likewise.
35349 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35352 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35353 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35354 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35355 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35357 2013-01-21 David S. Miller <davem@davemloft.net>
35359 * sysdeps/sparc/backtrace.c: New file.
35360 * sysdeps/sparc/sparc32/backtrace.h: New file.
35361 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35362 * sysdeps/sparc/sparc64/backtrace.h: New file.
35363 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35364 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35367 2013-01-21 Andreas Schwab <schwab@suse.de>
35370 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35373 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35379 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35380 Mark Mitchell <mark@codesourcery.com>
35381 Tom de Vries <tom@codesourcery.com>
35382 Paul Pluzhnikov <ppluzhnikov@google.com>
35384 * debug/tst-backtrace2.c: New file.
35385 * debug/tst-backtrace3.c: Likewise.
35386 * debug/tst-backtrace4.c: Likewise.
35387 * debug/tst-backtrace5.c: Likewise.
35388 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35389 (CFLAGS-tst-backtrace3.c): Likewise.
35390 (CFLAGS-tst-backtrace4.c): Likewise.
35391 (CFLAGS-tst-backtrace5.c): Likewise.
35392 (LDFLAGS-tst-backtrace2): Likewise.
35393 (LDFLAGS-tst-backtrace3): Likewise.
35394 (LDFLAGS-tst-backtrace4): Likewise.
35395 (LDFLAGS-tst-backtrace5): Likewise.
35396 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35397 tst-backtrace4 and tst-backtrace5.
35399 2013-01-18 Anton Blanchard <anton@samba.org>
35400 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35403 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35405 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35407 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35408 "+r" and remove output regs list as redundant. Add explicit inline
35409 asm to specify register of return val to work around compiler codegen
35410 bug. Remove (int) cast on return value. Add return type parameter to
35411 use in macro so that this macro does not truncate return value for
35413 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35414 pass to INTERNAL_VSYSCALL_NCS.
35415 (INLINE_VSYSCALL): Add 'long int' as return type to
35416 INTERNAL_VSYSCALL_NCS macro invocation.
35417 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35418 INTERNAL_VSYSCALL_NCS macro invocation.
35419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35421 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35424 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35425 Fix application of SIMD FP exception mask.
35427 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35428 mp_no from a power of two.
35429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35430 __mpexp_twomm1. Use __pow_mp.
35432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35435 2013-01-17 David S. Miller <davem@davemloft.net>
35437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35439 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35442 * include/complex.h: Condition contents on [!_COMPLEX_H].
35443 (__kernel_casinhf): New prototype.
35444 (__kernel_casinh): Likewise.
35445 (__kernel_casinhl): Likewise.
35446 * math/Makefile (libm_calls): Add k_casinh.
35447 * math/k_casinh.c: New file.
35448 * math/k_casinhf.c: Likewise.
35449 * math/k_casinhl.c: Likewise.
35450 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35451 finite nonzero arguments.
35452 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35453 finite nonzero arguments.
35454 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35455 finite nonzero arguments.
35456 * math/s_casinh.c: Do not include <float.h>.
35457 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35458 * math/s_casinhf.c: Do not include <float.h>.
35459 (__casinhf): Move code for finite nonzero arguments to
35461 * math/s_casinhl.c: Do not include <float.h>.
35462 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35464 (__casinhl): Move code for finite nonzero arguments to
35466 * math/libm-test.inc (cacos_test): Add more tests.
35467 * sysdeps/i386/fpu/libm-test-ulps: Update.
35468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35470 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35472 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35473 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35474 [!HAVE_MREMAP]: Remove [defined linux] case.
35475 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35477 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35479 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35481 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35483 * elf/elf.h (R_386_SIZE32): New relocation.
35484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35486 (elf_machine_rela): Likewise.
35487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35488 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35490 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35492 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35493 (FP_FAST_FMA): Do not define.
35494 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35495 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35496 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35497 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35498 !_SOFT_FLOAT]: Likewise.
35499 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35500 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35502 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35503 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35504 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35505 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35506 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35507 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35510 2013-01-16 Andreas Schwab <schwab@suse.de>
35513 * include/stdlib.h (__mktemp): Add declaration.
35514 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35515 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35517 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35519 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35521 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35522 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35523 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35525 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35526 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35528 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35530 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35531 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35532 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35534 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35535 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35537 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35539 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35541 2013-01-15 David S. Miller <davem@davemloft.net>
35543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35544 trunc{,f} to libm-sysdep_routes.
35545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35555 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35556 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35557 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35558 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35559 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35560 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35563 nearbyint{,f} to libm-sysdep_routes.
35564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35578 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35580 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35581 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35582 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35585 libc_feholdexcept and libc_fesetenv.
35587 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35589 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35591 2013-01-14 David S. Miller <davem@davemloft.net>
35593 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35594 (SPARC_ASM_VIS2_IFUNC): Likewise.
35595 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35597 use of 'siam' instruction.
35598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35631 routines to libm-sysdep_routines.
35632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35635 fdim/fdimf to libm-sysdep_routines.
35636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35644 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35645 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35646 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35647 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35649 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35652 to optimize copies.
35654 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35659 local variable MPTWO.
35660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35663 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35665 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35668 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35670 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35672 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35674 * manual/pattern.texi (glob_t): Document gl_flags.
35675 (glob64_t): Likewise.
35677 2013-01-11 David S. Miller <davem@davemloft.net>
35679 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35680 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35681 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
35682 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35683 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35684 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35685 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35686 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35687 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35688 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35689 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35690 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35691 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35694 sparc V9 rather than using V8 code.
35695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35698 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35700 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35703 2013-01-11 Roland McGrath <roland@hack.frob.com>
35705 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35706 not in the main loop.
35707 * configure: Regenerated.
35709 2013-01-11 Joseph Myers <joseph@codesourcery.com>
35711 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35712 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35714 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35715 [!__GLIBC_HAVE_LONG_LONG] case.
35716 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35717 condition to just #else.
35718 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35719 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35720 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35721 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35723 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35724 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35725 #elif condition to just #else.
35726 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35727 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35728 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35729 #elif condition to just #else.
35731 2013-01-11 Steve Ellcey <sellcey@mips.com>
35733 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35734 (EF_MIPS_ARCH_64): Fix value.
35735 (EF_MIPS_ARCH_32R2): New.
35736 (EF_MIPS_ARCH_64R2): New.
35738 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35740 * Makeconfig (+link-pie-before-libc): New.
35741 (+link-pie-after-libc): Likewise.
35742 (+link-pie-tests): Likewise.
35743 (+link-pie): Rewritten.
35744 (link-before-libc): Remove $(config-LDFLAGS).
35745 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35746 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35747 (config-LDFLAGS): Renamed to ...
35748 (rtld-LDFLAGS): This.
35749 (rtld-tests-LDFLAGS): New macro.
35750 (link-libc-rpath-link): Likewise.
35751 (link-libc-tests-rpath-link): Likewise.
35752 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35753 (link-libc): Prepand $(link-libc-rpath-link).
35754 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35755 (test-program-prefix): New macro.
35756 (test-via-rtld-prefix): Likewise.
35757 (test-program-cmd): Likewise.
35758 (host-test-program-cmd): Likewise.
35759 * Makefile ($(common-objpfx)testrun.sh): Replace
35760 $(run-program-prefix) with $(test-program-prefix).
35761 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35763 ($(common-objpfx)shlib.lds): Likewise.
35764 (build-module-helper): Likewise.
35765 ($(common-objpfx)format.lds): Likewise.
35766 * Rules (binaries-pie-tests): New.
35767 (binaries-pie-notests): Likewise.
35768 (binaries-pie): Rewritten.
35769 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35770 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35771 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35772 (make-test-out): Replace $(host-built-program-cmd) with
35773 $(host-test-program-cmd).
35774 * config.make.in (build-hardcoded-path-in-tests): New variable.
35775 * configure.in (--enable-hardcoded-path-in-tests): New configure
35777 (hardcoded_path_in_tests): New AC_SUBST.
35778 * configure: Regenerated.
35779 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35780 $(built-program-cmd) with $(test-program-cmd).
35781 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35782 (test_program_cmd): This.
35783 * elf/Makefile ($(objpfx)order.out): Run test with
35784 $(test-program-prefix).
35785 ($(objpfx)order2.out): Likewise.
35786 ($(objpfx)tst-initorder.out): Likewise.
35787 ($(objpfx)tst-initorder2.out): Likewise.
35788 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35789 $(test-program-cmd).
35790 ($(objpfx)tst-array1-static.out): Likewise.
35791 ($(objpfx)tst-array2.out): Likewise.
35792 ($(objpfx)tst-array3.out): Likewise.
35793 ($(objpfx)tst-array4.out): Likewise.
35794 ($(objpfx)tst-array5.out): Likewise.
35795 ($(objpfx)tst-array5-static.out): Likewise.
35796 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35797 $(test-program-cmd).
35798 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35799 $(run-program-prefix) with $(test-program-prefix).
35800 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35801 (test_program_prefix): This.
35802 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35803 $(run-program-prefix) with $(test-program-prefix).
35804 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35805 (test_program_prefix): This.
35806 * iconvdata/tst-tables.sh: Likewise.
35807 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35808 $(run-program-prefix) with $(test-program-prefix).
35809 ($(objpfx)tst-translit.out): Likewise.
35810 ($(objpfx)tst-gettext2.out): Likewise.
35811 ($(objpfx)tst-gettext4.out): Likewise.
35812 ($(objpfx)tst-gettext6.out): Likewise.
35813 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35814 (test_program_prefix): This.
35815 * intl/tst-gettext2.sh: Likewise.
35816 * intl/tst-gettext4.sh Likewise.
35817 * intl/tst-gettext6.sh: Likewise.
35818 * intl/tst-translit.sh: Likewise.
35819 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35820 with $(test-program-cmd).
35821 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35822 $(run-program-prefix) with $(test-program-prefix).
35823 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35824 (test_program_prefix): This.
35825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35826 $(run-program-prefix) with $(test-program-prefix).
35827 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35828 (test_program_prefix): This.
35829 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35830 * posix/Makefile ($(objpfx)globtest.out): Replace
35831 $(run-via-rtld-prefix) and $(test-wrapper) with
35832 $(test-program-prefix) and $(test-via-rtld-prefix).
35833 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35834 $(test-program-prefix).
35835 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35836 $(host-test-program-cmd).
35837 (tst-spawn-ARGS): Likewise.
35838 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35839 $(test-program-prefix).
35840 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35841 (test_via_rtld_prefix): This.
35842 (test_wrapper): Renamed to ...
35843 (test_program_prefix): This.
35844 (run_program_prefix): Replaced by test_program_prefix.
35845 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35846 (test_program_prefix): This.
35847 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35848 with $(host-test-program-cmd).
35849 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35850 $(run-program-prefix) with $(test-program-prefix).
35851 ($(objpfx)tst-printf.out): Likewise.
35852 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35853 $(test-program-cmd).
35854 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35855 (test_program_prefix): This.
35856 * stdio-common/tst-unbputc.sh: Likewise.
35857 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35858 $(run-program-prefix) with $(test-program-prefix).
35859 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35860 (test_program_prefix): This.
35861 * string/Makefile ($(objpfx)tst-svc.out): Replace
35862 $(built-program-cmd) with $(test-program-cmd).
35864 2013-01-11 Andreas Jaeger <aj@suse.de>
35867 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35868 value. Sync with Linux 3.7.
35870 2013-01-10 David S. Miller <davem@davemloft.net>
35872 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35873 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35874 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35876 2013-01-10 Roland McGrath <roland@hack.frob.com>
35878 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35880 * configure: Regenerated.
35882 2013-01-10 David S. Miller <davem@davemloft.net>
35884 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35885 sparc V9 rather than using V8 code.
35886 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35887 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35889 2013-01-10 Roland McGrath <roland@hack.frob.com>
35891 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35892 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35893 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35894 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35895 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35896 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35897 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35898 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35899 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35900 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35901 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35902 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35903 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35904 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35905 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35906 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35907 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35908 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35909 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35910 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35911 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35912 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35913 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35914 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35915 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35916 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35917 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35919 2013-01-10 David S. Miller <davem@davemloft.net>
35921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35923 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35925 * posix/Makefile (tests-static): New variable.
35926 (tests): Add $(tests-static).
35927 (tst-exec-static-ARGS): New variable.
35928 (tst-spawn-static-ARGS): Likewise.
35929 * posix/tst-exec-static.c: New file.
35930 * posix/tst-spawn-static.c: Likewise.
35931 * posix/tst-exec.c: Support run directly.
35932 * posix/tst-spawn.c: Likewise.
35934 2013-01-10 Joseph Myers <joseph@codesourcery.com>
35936 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35938 * math/bits/mathcalls.h (llrint): Likewise.
35939 (llround): Likewise.
35940 * stdlib/stdlib.h (struct drand48_data): Likewise.
35941 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35942 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35943 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35945 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35947 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35948 (elf_greg_t): Likewise.
35949 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35950 (__jmp_buf): Likewise.
35951 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35953 (llrint): Likewise, for all definitions.
35954 (llrintl): Likewise.
35956 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35957 Remove [__GNUC__] condition.
35958 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35959 condition to just [__USE_ISOC99].
35960 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35962 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35965 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35966 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35968 (_POSIX_V6_ILP32_OFF32): Likewise.
35969 (_XBS5_ILP32_OFF32): Likewise.
35970 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35971 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35973 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35975 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35978 doubles __mpexp_twomm1. Adjust usage.
35979 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35982 2013-01-10 Andreas Schwab <schwab@suse.de>
35985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35986 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35988 2013-01-09 David S. Miller <davem@davemloft.net>
35991 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35992 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35993 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35994 (TCP_FASTOPEN): Define.
35995 (tcp_repair_opt): New structure.
35996 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35998 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35999 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36000 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36001 (tcp_cookie_transactions): New structure.
36003 2013-01-09 Anton Blanchard <anton@samba.org>
36005 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36006 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36008 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36010 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36012 * include/features.h (__USE_ANSI): Remove.
36014 2013-01-09 Roland McGrath <roland@hack.frob.com>
36016 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36018 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36020 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36022 * sysdeps/s390/fpu/libm-test-ulps: Update.
36024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36026 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36030 (denorm): Likewise.
36031 (__mp_dbl): Likewise.
36032 (__dbl_mp): Likewise.
36033 (add_magnitudes): Likewise.
36034 (sub_magnitudes): Likewise.
36040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36044 (denorm): Likewise.
36045 (__mp_dbl): Likewise.
36046 (__dbl_mp): Likewise.
36047 (add_magnitudes): Likewise.
36048 (sub_magnitudes): Likewise.
36054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36058 (denorm): Likewise.
36059 (__mp_dbl): Likewise.
36060 (__dbl_mp): Likewise.
36061 (add_magnitudes): Likewise.
36062 (sub_magnitudes): Likewise.
36069 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36071 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36072 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36073 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36074 2 && __USE_EXTERN_INLINES]: Likewise.
36076 2013-01-08 Andreas Jaeger <aj@suse.de>
36079 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36081 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36082 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36084 2013-01-07 Anton Blanchard <anton@samba.org>
36086 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36087 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36088 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36089 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36090 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36091 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36092 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36093 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36096 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36097 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36099 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36101 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36102 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36103 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36104 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36106 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36109 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36110 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36112 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36113 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36114 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36115 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36116 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36120 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36121 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36122 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36124 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36126 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36128 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36130 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36132 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36133 (__MALLOC_PMT): Likewise.
36134 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36135 [__GNUC__], only on [_LIBC].
36136 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36137 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36138 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36139 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36140 forward declaration.
36141 (realloc_hook_ini): Likewise.
36142 (memalign_hook_ini): Likewise.
36143 (__libc_memalign): Do not use __MALLOC_PMT in variable
36145 (__libc_valloc): Likewise.
36146 (__libc_pvalloc): Likewise.
36147 (__libc_calloc): Likewise.
36148 (__posix_memalign): Likewise.
36151 * math/s_casinh.c: Include <float.h>.
36152 (__casinh): Do not do computation with squaring and square root
36153 for large arguments.
36154 * math/s_casinhf.c: Include <float.h>.
36155 (__casinhf): Do not do computation with squaring and square root
36156 for large arguments.
36157 * math/s_casinhl.c: Include <float.h>.
36158 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36159 (__casinhl): Do not do computation with squaring and square root
36160 for large arguments.
36161 * math/libm-test.inc (casin_test): Add more tests.
36162 (casinh_test): Likewise.
36163 * sysdeps/i386/fpu/libm-test-ulps: Update.
36164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36166 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36169 (__x86_64_raw_data_cache_size): Likewise.
36170 (__x86_64_data_cache_size_half): Likewise.
36171 (__x86_64_raw_data_cache_size_half): Likewise.
36172 (__x86_64_shared_cache_size): Likewise.
36173 (__x86_64_raw_shared_cache_size): Likewise.
36174 (__x86_64_shared_cache_size_half): Likewise.
36175 (__x86_64_raw_shared_cache_size_half): Likewise.
36176 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36178 (__x86_data_cache_size): This.
36179 (__x86_64_raw_data_cache_size): Renamed to ...
36180 (__x86_raw_data_cache_size): This.
36181 (__x86_64_data_cache_size_half): Renamed to ...
36182 (__x86_data_cache_size_half): This.
36183 (__x86_64_raw_data_cache_size_half): Renamed to ...
36184 (__x86_raw_data_cache_size_half): This.
36185 (__x86_64_shared_cache_size): Renamed to ...
36186 (__x86_shared_cache_size): This.
36187 (__x86_64_raw_shared_cache_size): Renamed to ...
36188 (__x86_raw_shared_cache_size): This.
36189 (__x86_64_shared_cache_size_half): Renamed to ...
36190 (__x86_shared_cache_size_half): This.
36191 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36192 (__x86_raw_shared_cache_size_half): This.
36193 * sysdeps/x86_64/memcpy.S: Updated.
36194 * sysdeps/x86_64/memset.S: Likewise.
36195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36199 2013-01-04 David S. Miller <davem@davemloft.net>
36201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36203 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36205 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36206 1 to avoid redefinition warning.
36207 (__USE_GNU): Don't define.
36208 (init_signaling_nan): Protoize.
36210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36212 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36214 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36216 (__cpymn): Likewise.
36217 (norm): Remove commented code.
36218 (denorm): Likewise.
36219 (__mp_dbl): Likewise.
36221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36222 (__cpymn): Likewise.
36223 (norm): Remove commented code.
36224 (denorm): Likewise.
36225 (__mp_dbl): Likewise.
36228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36229 mp_no value for 1.0 and 2.0.
36230 (norm): Use RADIXI instead of radixi.d.
36231 (denorm): Likewise.
36232 (__mul): Use 0.0 instead of zero.d.
36233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36234 mp_no value for 1.0 and 2.0.
36235 (norm): Use RADIXI instead of radixi.d.
36236 (denorm): Likewise.
36237 (__mul): Use 0.0 instead of zero.d.
36239 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36242 * math/s_casinh.c (__casinh): Reduce finite argument to first
36243 quadrant then set signs of results at the end.
36244 * math/s_casinhf.c (__casinhf): Likewise.
36245 * math/s_casinhl.c (__casinhl): Likewise.
36246 * math/libm-test.inc (casin_test): Add more tests.
36247 (casinh_test): Likewise.
36248 * sysdeps/i386/fpu/libm-test-ulps: Update.
36249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36251 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36253 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36255 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36257 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36259 (denorm): Likewise.
36260 (__mp_dbl): Likewise.
36263 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36264 and adjust the header comment.
36266 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36267 variable name from declaration.
36269 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36272 Initialize COMMON_CPUID_INDEX_7 element.
36273 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36274 (CPUID_RTM): Likewise.
36275 (HAS_RTM): Likewise.
36276 (COMMON_CPUID_INDEX_7): New enum.
36278 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36281 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36282 size is zero, record memory as freed.
36284 2013-01-03 Andreas Jaeger <aj@suse.de>
36286 * po/ia.po: Add new Interlingua translation.
36288 2012-01-03 Allan McRae <allan@archlinux.org>
36290 * locale/programs/localedef.c: Fix description of '--posix' flag.
36292 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36294 * NEWS: Update dates in second copyright notice.
36295 * README: Update copyright dates in example.
36296 * manual/libc.texinfo: Update copyright dates.
36297 * scripts/test-installation.pl: Update copyright date in --version
36300 * hurd/ctty-input.c: Fix copyright notice formatting.
36301 * hurd/ctty-output.c: Likewise.
36302 * hurd/dtable.c: Likewise.
36303 * hurd/hurd-raise.c: Likewise.
36304 * hurd/hurdprio.c: Likewise.
36305 * hurd/msgportdemux.c: Likewise.
36306 * misc/sys/file.h: Likewise.
36307 * misc/sys/ioctl.h: Likewise.
36308 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36309 * sysdeps/mach/hurd/chdir.c: Likewise.
36310 * sysdeps/mach/hurd/fchdir.c: Likewise.
36311 * sysdeps/mach/hurd/rename.c: Likewise.
36312 * sysdeps/mach/hurd/rmdir.c: Likewise.
36313 * sysdeps/mach/hurd/seekdir.c: Likewise.
36314 * sysdeps/mach/hurd/setsid.c: Likewise.
36315 * sysdeps/posix/wait3.c: Likewise.
36317 * All files with FSF copyright notices: Update copyright dates
36318 using scripts/update-copyrights.
36319 * intl/plural.c: Regenerated.
36320 * locale/programs/charmap-kw.h: Likewise.
36321 * locale/programs/locfile-kw.h: Likewise.
36323 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36329 calculation loop and add branch prediction.
36331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36332 check access beyond bounds of m1np.
36334 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36336 (__inv): Remove local variable MPTWO to use the global
36338 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36342 MP3HALFS static const.
36344 2013-01-01 David S. Miller <davem@davemloft.net>
36346 * po/ca.po: Update from translation team.
36348 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36350 * scripts/update-copyrights: New file.
36351 * Makeconfig: Reformat copyright notice.
36352 * ctype/ctype.h: Likewise.
36353 * debug/swprintf_chk.c: Likewise.
36354 * elf/dl-cache.c: Likewise.
36355 * elf/dl-debug.c: Likewise.
36356 * elf/dl-object.c: Likewise.
36357 * grp/initgroups.c: Likewise.
36358 * hurd/Makefile: Likewise.
36359 * hurd/hurd/signal.h: Likewise.
36360 * hurd/hurdfault.c: Likewise.
36361 * hurd/hurdioctl.c: Likewise.
36362 * hurd/hurdlookup.c: Likewise.
36363 * hurd/intr-msg.c: Likewise.
36364 * iconv/gconv_open.c: Likewise.
36365 * libio/swprintf.c: Likewise.
36366 * locale/lc-ctype.c: Likewise.
36367 * locale/nl_langinfo.c: Likewise.
36368 * mach/Machrules: Likewise.
36369 * mach/Makefile: Likewise.
36370 * malloc/obstack.h: Likewise.
36371 * manual/Makefile: Likewise.
36372 * manual/tsort.awk: Likewise.
36373 * misc/bits/stab.def: Likewise.
36374 * nis/nis_print_group_entry.c: Likewise.
36375 * nis/nis_table.c: Likewise.
36376 * nis/nss_compat/compat-pwd.c: Likewise.
36377 * nis/nss_compat/compat-spwd.c: Likewise.
36378 * po/Makefile: Likewise.
36379 * posix/fnmatch.c: Likewise.
36380 * posix/regex.h: Likewise.
36381 * resolv/Makefile: Likewise.
36382 * resolv/nss_dns/dns-network.c: Likewise.
36383 * resolv/res_hconf.c: Likewise.
36384 * scripts/gen-sorted.awk: Likewise.
36385 * soft-fp/soft-fp.h: Likewise.
36386 * stdio-common/printf.h: Likewise.
36387 * stdlib/monetary.h: Likewise.
36388 * stdlib/random.c: Likewise.
36389 * stdlib/random_r.c: Likewise.
36390 * sysdeps/generic/Makefile: Likewise.
36391 * sysdeps/gnu/Makefile: Likewise.
36392 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36400 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36402 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36405 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36415 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36416 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36418 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36419 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36420 * sysdeps/mach/hurd/errnos.awk: Likewise.
36421 * sysdeps/mach/hurd/fork.c: Likewise.
36422 * sysdeps/mach/hurd/getcwd.c: Likewise.
36423 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36424 * sysdeps/mach/hurd/mmap.c: Likewise.
36425 * sysdeps/mach/hurd/utimes.c: Likewise.
36426 * sysdeps/mach/hurd/xmknod.c: Likewise.
36427 * sysdeps/posix/profil.c: Likewise.
36428 * sysdeps/posix/readdir_r.c: Likewise.
36429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36430 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36431 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36432 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36436 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36438 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36439 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36440 * sysdeps/pthread/lio_listio.c: Likewise.
36441 * sysdeps/sparc/dl-procinfo.h: Likewise.
36442 * sysdeps/unix/i386/sysdep.S: Likewise.
36443 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36444 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36445 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36446 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36448 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36449 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36450 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36451 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36452 * sysdeps/wordsize-32/divdi3.c: Likewise.
36453 * time/sys/time.h: Likewise.
36454 * wcsmbs/Makefile: Likewise.
36456 2013-01-01 David S. Miller <davem@davemloft.net>
36458 * po/fr.po: Update from translation team.
36460 * catgets/gencat.c: Update copyright year.
36461 * csu/version.c: Likewise.
36462 * debug/catchsegv.sh: Likewise.
36463 * debug/pcprofiledump.c: Likewise.
36464 * debug/xtrace.sh: Likewise.
36465 * elf/ldconfig.c: Likewise.
36466 * elf/ldd.bash.in: Likewise.
36467 * elf/pldd.c: Likewise.
36468 * elf/sotruss.ksh: Likewise.
36469 * elf/sprof.c: Likewise.
36470 * iconv/iconv_prog.c: Likewise.
36471 * iconv/iconvconfig.c: Likewise.
36472 * locale/programs/locale.c: Likewise.
36473 * locale/programs/localedef.c: Likewise.
36474 * login/programs/pt_chown.c: Likewise.
36475 * malloc/memusage.sh: Likewise.
36476 * malloc/memusagestat.c: Likewise.
36477 * malloc/mtrace.pl: Likewise.
36478 * nscd/nscd.c: Likewise.
36479 * nss/getent.c: Likewise.
36480 * nss/makedb.c: Likewise.
36481 * posix/getconf.c: Likewise.
36483 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36485 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36488 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36490 * math/bits/mathcalls.h (modf): Use __nonnull.
36492 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36494 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36495 (split): Use macro CN instead of the bare value.
36496 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36499 instead of the bare value.
36500 (power1): Likewise.
36502 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36504 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36506 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36508 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36510 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36512 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36513 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36515 2012-12-28 Andreas Jaeger <aj@suse.de>
36517 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36518 values are from Linux 3.7.
36520 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36521 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36523 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36525 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36528 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36530 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36531 variables with preprocessor constants.
36532 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36536 2012-12-27 Bruno Haible <bruno@clisp.org>
36539 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36542 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36545 and use variable directly.
36546 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36548 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36550 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36551 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36555 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36556 include directive. Remove local variable MPONE.
36557 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36558 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36561 2012-12-25 David S. Miller <davem@davemloft.net>
36563 * version.h (RELEASE): Set to "development".
36564 (VERSION): Set to "2.17.90".
36565 * NEWS: Add 2.18 section.
36567 2012-12-21 David S. Miller <davem@davemloft.net>
36569 * po/hr.po: Update from translation team.
36571 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36573 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36575 2012-12-19 Steve Ellcey <sellcey@mips.com>
36577 * NEWS: Mention new memcpy for MIPS.
36579 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36581 * manual/contrib.texi (Contributors): Spelling correction.
36583 2012-12-15 David S. Miller <davem@davemloft.net>
36585 * po/ru.po: Update from translation team.
36587 2012-12-13 David S. Miller <davem@davemloft.net>
36589 * NEWS: Mention IFUNC testsuite enhancements.
36591 * po/pl.po: Update from translation team.
36592 * po/bg.po: Likewise.
36594 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36595 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36597 2012-12-11 David S. Miller <davem@davemloft.net>
36599 * po/sv.po: Update from translation team.
36601 * po/vi.po: Update from translation team.
36603 * po/cs.po: Update from translation team.
36605 * po/de.po: Update from translation team.
36606 * po/eo.po: Likewise.
36607 * po/nl.po: Likewise.
36609 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36612 * manual/argp.texi (Argp Helper Functions): Move node to follow
36613 Argp Parsing State.
36616 * manual/conf.texi (Limits on File System Capacity): Mention if
36617 terminating null is included in the max size.
36619 2012-12-10 Andreas Jaeger <aj@suse.de>
36621 * po/cs.po: Update from translation team.
36623 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36625 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36626 void pointer and cast to uintptr_t.
36627 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36629 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36630 * sysdeps/s390/s390-64/memset.S: Likewise.
36632 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
36635 * menual/message.texi (Message Translation): Fix typos.
36636 (Helper programs for gettext): Likewise.
36638 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36641 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36644 2012-12-07 David S. Miller <davem@davemloft.net>
36646 * po/libc.pot: Update.
36648 2012-12-07 Richard Henderson <rth@redhat.com>
36651 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36652 normal/normal case to before the switch.
36653 (_FP_DIV): Likewise.
36655 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36656 Mike Frysinger <vapier@gentoo.org>
36658 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36659 check for __NR_fadvise64_64.
36661 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36663 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36664 0, not just to plain "0" as a statement.
36665 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36668 2012-12-06 Joseph Myers <joseph@codesourcery.com>
36670 * NEWS: Use sourceware.org in Bugzilla URL.
36672 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36675 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36677 * stdio-common/tst-put-error.c (do_test): Add newline to the
36678 padded test to ensure flush.
36680 2012-12-05 Jeff Law <law@redhat.com>
36682 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36684 2012-12-05 Joseph Myers <joseph@codesourcery.com>
36686 * README: Don't refer to ports add-on as distributed separately.
36687 Mention AArch64 in list of systems supported in the ports add-on.
36689 * LICENSES: Add more non-FSF copyright and license notices.
36691 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36696 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36697 10000 as width of padded output.
36699 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36701 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36704 variable LX with __attribute__ ((unused)).
36705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36707 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36710 with __attribute__ ((unused)).
36712 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
36714 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36716 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36718 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36719 (CFLAGS-nldbl-acos.c): New variable.
36720 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36721 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36722 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36723 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36724 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36725 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36726 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36727 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36728 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36729 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36730 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36731 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36732 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36733 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36734 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36735 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36736 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36737 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36738 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36739 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36740 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36741 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36742 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36743 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36744 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36745 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36746 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36747 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36748 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36749 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36750 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36751 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36752 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36753 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36754 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36755 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36756 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36757 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36758 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36759 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36760 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36761 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36762 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36763 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36764 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36765 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36766 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36767 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36768 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36769 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36770 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36771 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36772 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36773 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36774 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36775 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36776 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36777 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36778 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36779 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36780 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36781 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36782 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36783 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36784 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36785 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36786 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36787 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36788 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36789 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36790 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36791 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36792 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36793 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36794 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36795 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36796 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36797 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36798 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36799 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36800 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36801 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36802 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36803 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36804 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36805 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36806 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36807 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36808 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36809 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36810 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36811 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36812 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36813 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36814 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36815 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36816 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36819 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36823 whole low double instead of just low 47 bits when splitting values
36826 2012-12-03 Allan McRae <allan@archlinux.org>
36828 * manual/stdio.texi (Predefined Printf Handlers): Remove
36829 @hsep and @vsep usage.
36831 2012-12-03 Mike Frysinger <vapier@gentoo.org>
36833 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36834 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36836 2012-12-03 Jeff Law <law@redhat.com>
36838 * time/sys/time.h (settimeofday): Do not mark TV argument
36841 2012-12-01 Mike Frysinger <vapier@gentoo.org>
36843 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36844 when currently writing and seek to current position when not.
36845 * libio/Makefile (tests): Remove bug-fclose1.
36846 * libio/bug-fclose1.c: Delete.
36848 2012-12-01 Joseph Myers <joseph@codesourcery.com>
36850 * manual/arith.texi (feenableexcept): Fix typo.
36851 (fedisableexcept): Likewise.
36853 2012-11-30 Roland McGrath <roland@hack.frob.com>
36855 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36856 second, differently-typed declaration, rather than a cast.
36858 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36860 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36861 * include/rpc/svc.h: ... here.
36863 2012-11-30 Aurelien Jarno <aurel32@debian.org>
36866 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36867 depending n and resplen2 to catch cases where answer
36870 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36873 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36875 2012-11-29 Mike Frysinger <vapier@gentoo.org>
36877 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36879 2012-11-29 Roland McGrath <roland@hack.frob.com>
36881 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36883 2012-11-28 Jeff Law <law@redhat.com>
36886 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36887 dataset_temporary. Track alloca usage into alloca_used.
36888 If dataset is large allocate and release it via malloc/free.
36890 2012-06-04 Florian Weimer <fweimer@redhat.com>
36893 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36895 2012-11-28 David S. Miller <davem@davemloft.net>
36897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36899 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36902 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36903 of pi/2 rounded to nearest to 64 bits.
36904 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36905 nearest to 64 bits.
36906 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36909 2012-11-28 Jeff Law <law@redhat.com>
36910 Martin Osvald <mosvald@redhat.com>
36913 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36914 * sunrpc/svc.c: Include time.h.
36915 (__svc_accept_failed): New function.
36916 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36917 any reason other than EINTR, call __svc_accept_failed.
36918 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36919 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36921 2012-11-28 Andreas Schwab <schwab@suse.de>
36923 * scripts/abilist.awk: Also handle indirect functions in .opd
36926 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36929 * sysdeps/x86/fpu/powl_helper.c: New file.
36930 * sysdeps/x86/fpu/Makefile: Likewise.
36931 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36933 (__ieee754_powl): Use __powl_helper for finite arguments except
36934 integer exponents below 8.
36935 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36937 (__ieee754_powl): Use __powl_helper for finite arguments except
36938 integer exponents below 8.
36939 * math/libm-test.inc (pow_test): Add more tests and enable some
36940 previously disabled tests.
36941 * sysdeps/i386/fpu/libm-test-ulps: Update.
36942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36944 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36945 Carlos O'Donell <carlos_odonell@mentor.com>
36947 * nss/makedb.c (is_prime): Assert that input is odd and greater
36948 than 4. Note that fact in a comment too.
36949 (next_prime): Add 4 to input.
36951 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36954 * libio/Makefile (tests): Add test case tst-fwrite-error.
36955 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36956 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36957 * libio/tst-fwrite-error.c: New test case.
36959 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36961 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36962 before casting to void *.
36963 * include/libc-internal.h (__pointer_type): New macro.
36964 (__integer_if_pointer_type_sub): Likewise.
36965 (__integer_if_pointer_type): Likewise.
36966 (cast_to_integer): Likewise.
36967 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36968 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36969 before casting to atomic64_t.
36970 (atomic_exchange_acq): Likewise.
36971 (__arch_exchange_and_add_body): Likewise.
36972 (__arch_add_body): Likewise.
36973 (atomic_add_negative): Likewise.
36974 (atomic_add_zero): Likewise.
36976 2012-11-26 Joseph Myers <joseph@codesourcery.com>
36978 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36979 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36980 (add_fdes): Likewise.
36981 (linear_search_fdes): Likewise.
36982 (binary_search_unencoded_fdes): Likewise.
36984 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36986 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36988 2012-11-24 Adam Conrad <adconrad@0c3.net>
36990 * configure.in: Autodetect C++ header directories.
36991 * configure: Regenerated.
36993 2012-11-23 Mike Frysinger <vapier@gentoo.org>
36995 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36997 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37001 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37003 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37004 LDBL_MANT_DIG == 106]: Disable some tests.
37005 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37007 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37011 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37012 input for small inputs. Return +/- pi/2 for large inputs.
37013 * math/libm-test.inc (atan_test): Add more tests.
37015 * sysdeps/generic/unwind-dw2-fde-glibc.c
37016 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37017 __attribute__ ((unused)).
37020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37021 x * y if x and y are nonzero and z is zero.
37024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37025 nonzero exponents with absolute value below 0x1p-117 to +/-
37029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37030 up arguments below 2**-450, not just those below 2**-500.
37031 * math/libm-test.inc (hypot_test): Add another test.
37034 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37035 Return a+b for ratio over 2**120, not 2**60.
37036 * math/libm-test.inc (hypot_test): Add another test.
37038 * math/libm-test.inc (clog_test): Use
37039 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37040 (clog10_test): Likewise.
37043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37045 2012-11-22 Andreas Schwab <schwab@suse.de>
37047 * sysdeps/i386/fpu/libm-test-ulps: Update.
37049 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37051 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37052 printf output with newline.
37054 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37057 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37058 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37059 -z nodlopen, -z initfirst and -z execstack support.
37060 * configure: Regenerated.
37062 * elf/elf.h (DF_1_NODIRECT): New macro.
37063 (DF_1_IGNMULDEF): Likewise.
37064 (DF_1_NOKSYMS): Likewise.
37065 (DF_1_NOHDR): Likewise.
37066 (DF_1_EDITED): Likewise.
37067 (DF_1_NORELOC): Likewise.
37068 (DF_1_SYMINTPOSE): Likewise.
37069 (DF_1_GLOBAUDIT): Likewise.
37070 (DF_1_SINGLETON): Likewise.
37071 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37072 DT_1_SUPPORTED_MASK bits.
37073 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37075 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37077 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37079 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37081 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37084 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37085 (sendmmsg): Move declarations...
37086 * socket/sys/socket.h: ... here.
37087 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37088 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37090 * socket/recvmmsg.c: ... this new file.
37091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37092 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37093 definition of __sendmmsg hidden.
37094 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37095 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37096 Move ENOSYS stub into and include it from...
37097 * socket/sendmmsg.c: ... this new file.
37098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37099 (sysdep_routines): Move recvmmsg and sendmmsg...
37100 * socket/Makefile (routines): ... here.
37101 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37102 (GLIBC_PRIVATE): Add __sendmmsg.
37103 * include/sys/socket.h (__sendmmsg): Add declarations.
37104 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37107 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37110 variable I1 with __attribute__ ((unused)).
37111 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37113 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37115 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37116 DUMMY variables with __attribute__ ((unused)).
37118 * bits/byteswap.h: Include <bits/types.h>.
37119 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37121 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37123 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37124 string_t. Do not manually set errno.
37125 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37126 length with __strnlen. Make sure to both set errno and return it on
37129 2012-11-19 David S. Miller <davem@davemloft.net>
37131 With help from Joseph Myers.
37132 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37133 very large arguments properly.
37134 * math/libm-test.inc (atan_test): New tests.
37135 (atan2_test): New tests.
37136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37139 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37142 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37145 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37146 [POSIX] (EADDRNOTAVAIL): Likewise.
37147 [POSIX] (EAFNOSUPPORT): Likewise.
37148 [POSIX] (EALREADY): Likewise.
37149 [POSIX] (ECONNABORTED): Likewise.
37150 [POSIX] (ECONNREFUSED): Likewise.
37151 [POSIX] (ECONNRESET): Likewise.
37152 [POSIX] (EDESTADDRREQ): Likewise.
37153 [POSIX] (EDQUOT): Likewise.
37154 [POSIX] (EHOSTUNREACH): Likewise.
37155 [POSIX] (EIDRM): Likewise.
37156 [POSIX] (EISCONN): Likewise.
37157 [POSIX] (ELOOP): Likewise.
37158 [POSIX] (EMULTIHOP): Likewise.
37159 [POSIX] (ENETDOWN): Likewise.
37160 [POSIX] (ENETUNREACH): Likewise.
37161 [POSIX] (ENOBUFS): Likewise.
37162 [POSIX] (ENODATA): Likewise.
37163 [POSIX] (ENOLINK): Likewise.
37164 [POSIX] (ENOMSG): Likewise.
37165 [POSIX] (ENOPROTOOPT): Likewise.
37166 [POSIX] (ENOSR): Likewise.
37167 [POSIX] (ENOSTR): Likewise.
37168 [POSIX] (ENOTCONN): Likewise.
37169 [POSIX] (ENOTSOCK): Likewise.
37170 [POSIX] (EOPNOTSUPP): Likewise.
37171 [POSIX] (EOVERFLOW): Likewise.
37172 [POSIX] (EPROTO): Likewise.
37173 [POSIX] (EPROTONOSUPPORT): Likewise.
37174 [POSIX] (EPROTOTYPE): Likewise.
37175 [POSIX] (ESTALE): Likewise.
37176 [POSIX] (ETIME): Likewise.
37177 [POSIX] (ETXTBSY): Likewise.
37178 [POSIX] (EWOULDBLOCK): Likewise.
37179 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37180 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37181 [POSIX] (SEEK_CUR): Likewise.
37182 [POSIX] (SEEK_END): Likewise.
37183 [POSIX || UNIX98] (mode_t): Do not require.
37184 [POSIX] (off_t): Likewise.
37185 [POSIX] (pid_t): Likewise.
37186 [POSIX] (sys/stat.h): Do not allow header.
37187 [POSIX] (unistd.h): Likewise.
37188 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37189 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37190 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37191 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37193 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37194 sigevent): Specify elements.
37195 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37197 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37198 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37200 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37201 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37202 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37203 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37204 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37205 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37206 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37207 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37208 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37209 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37210 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37211 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37212 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37217 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37221 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37222 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37223 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37224 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37225 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37226 Specify lower bound on value.
37227 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37228 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37229 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37230 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37231 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37232 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37233 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37234 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37236 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37238 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37239 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37240 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37241 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37242 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37243 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37244 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37245 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37246 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37247 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37248 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37249 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37250 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37251 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37252 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37253 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37255 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37257 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37258 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37259 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37260 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37261 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37262 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37264 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37265 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37266 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37267 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37268 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37269 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37272 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37273 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37274 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37275 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37276 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37277 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37278 specify as optional.
37279 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37280 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37281 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37282 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37283 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37284 [XPG3] (NL_LANGMAX): Likewise.
37285 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37286 [POSIX || XPG3] (NL_NMAX): Likewise.
37287 [POSIX || XPG3] (NL_SETMAX): Likewise.
37288 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37289 [XPG3] (NZERO): Likewise.
37290 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37291 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37292 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37293 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37294 (REG_ERANGE): Expect.
37295 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37297 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37298 Use (void) in prototype.
37299 [POSIX] (*_t): Allow.
37300 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37301 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37302 (WRDE_BADVAL): Expect.
37304 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37306 [XPG3 || XPG4] (O_RSYNC): Likewise.
37307 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37309 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37310 [XPG3 || XPG4] (sigqueue): Likewise.
37311 [XPG3 || XPG4] (sigtimedwait): Likewise.
37312 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37313 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37314 [XPG3 || XPG4] (vsnprintf): Likewise.
37315 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37317 [XPG3 || XPG4] (blksize_t): Likewise.
37318 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37320 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37321 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37322 [XPG3 || XPG4] (struct itimerspec): Likewise.
37323 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37324 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37325 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37326 [XPG3 || XPG4] (clockid_t): Likewise.
37327 [XPG3 || XPG4] (timer_t): Likewise.
37328 [XPG3 || XPG4] (clock_getres): Likewise.
37329 [XPG3 || XPG4] (clock_gettime): Likewise.
37330 [XPG3 || XPG4] (clock_settime): Likewise.
37331 [XPG3 || XPG4] (nanosleep): Likewise.
37332 [XPG3 || XPG4] (timer_create): Likewise.
37333 [XPG3 || XPG4] (timer_delete): Likewise.
37334 [XPG3 || XPG4] (timer_gettime): Likewise.
37335 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37336 [XPG3 || XPG4] (timer_settime): Likewise.
37337 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37338 [XPG3 || XPG4] (getlogin_r): Likewise.
37339 [XPG3 || XPG4] (pread): Likewise.
37340 [XPG3 || XPG4] (pthread_atfork): Likewise.
37341 [XPG3 || XPG4] (pwrite): Likewise.
37344 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37347 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37349 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37350 finalizing MALLSTREAM.
37352 * sysdeps/mach/hurd/syncfs.c: New file.
37354 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37357 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37358 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37359 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37360 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37361 (_nss_dns_gethostbyname4_r): Likewise.
37362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37363 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37365 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37368 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37370 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37372 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37373 * elf/cache.c (print_entry): Print ",AArch64" for
37376 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37377 * elf/cache.c (print_entry): Print ",hard-float" for
37380 2012-11-18 David S. Miller <davem@davemloft.net>
37382 With help from Joseph Myers.
37383 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37385 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37387 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37388 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37390 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37391 * math/libm-test.inc (y0_test): New tests.
37392 (y1_test): New tests.
37393 * sysdeps/i386/fpu/libm-test-ulps: Update.
37394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37397 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37399 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37401 * configure: Regenerated.
37403 2012-11-17 David S. Miller <davem@davemloft.net>
37406 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37407 nonzero exponents with absolute value below 0x1p-128 to +/-
37410 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37412 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37414 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37416 * posix/getconf-speclist.c: New file.
37417 * posix/posix-envs.def: Likewise.
37418 * posix/confstr.c (START_ENV_GROUP): New macro.
37419 (END_ENV_GROUP): Likewise.
37420 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37421 (KNOWN_PRESENT_ENV_STRING): Likewise.
37422 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37423 (UNKNOWN_ENVIRONMENT): Likewise.
37424 (confstr): Include posix-envs.def instead of handling
37425 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37426 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37427 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37428 (END_ENV_GROUP): Likewise.
37429 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37430 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37431 (UNKNOWN_ENVIRONMENT): Likewise.
37432 (__sysconf): Include posix-envs.def instead of handling associated
37433 cases directly here.
37434 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37435 preprocessing getconf-speclist.c rather than running getconf or
37436 generating empty file.
37438 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37440 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37442 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37445 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37447 2012-11-16 David S. Miller <davem@davemloft.net>
37449 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37450 smaller than LDBL_EPSILON/2.0L, just return xm1.
37452 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37454 * elf/tst-array1.c (init): Set constructor priority to 1000.
37455 (fini): Set destructor priority to 1000.
37456 * elf/tst-array2dep.c: Likewise.
37458 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37461 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37462 (_IO_new_file_xsputn): Also return EOF if none of the input
37463 data was written when overflow failed.
37464 * libio/iopadn.c (_IO_padn): Likewise.
37465 * libio/iowpadn.c (_IO_wpadn): Likewise.
37466 * stdio-common/tst-put-error.c: Add copyright notice.
37467 (do_test): Add case for printing padded string.
37468 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37469 _IO_padn returned error.
37470 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37471 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37474 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37476 * libio/libioP.h: Add comment note that the references to C++
37477 bits are now obsolete.
37479 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37481 * math/libm-test.inc (check_complex): Use asprintf.
37483 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37485 * debug/pcprofiledump.c (print_version): Update copyright year.
37486 * malloc/memusagestat.c (print_version): Likewise.
37488 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37491 * elf/Makefile (tests): Add tst-audit8.
37492 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37493 ($(objpfx)tst-audit8.out): New target.
37494 (tst-audit8-ENV): New variable.
37495 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37496 audit if l_reloc_result is NULL.
37497 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37498 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37499 * elf/tst-audit8.c: New file.
37501 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37503 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37504 * misc/Makefile (CFLAGS-select.c): Define.
37505 * posix/Makefile (CFLAGS-pause.c): Define.
37507 2012-11-13 David S. Miller <davem@davemloft.net>
37509 * crypt/Makefile: Move test targets after toplevel Rules
37510 inclusion. Grab any necessary sysdep routines when linking.
37511 * crypt/md5.c (md5_process_block): Remove define, we will always
37512 name it __md5_process_block.
37513 (md5_finish_ctx): Update md5_process_block call.
37514 (md5_stream): Likewise.
37515 (md5_process_bytes): Likewise.
37516 (md5_process_block): Rename to __md5_process_block and move to ...
37517 * crypt/md5-block.c: ... here.
37518 * crypt/sha256.c (sha256_process_block): Move to ...
37519 * crypt/sha256-block.c: ... here.
37520 * crypt/sha512.c (sha512_process_block): Move to ...
37521 * crypt/sha512-block.c: ... here.
37522 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37524 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37525 * sysdeps/sparc/sparc64/multiarch/Makefile
37526 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37528 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37529 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37531 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37532 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37533 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37534 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37535 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37536 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37537 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37538 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37539 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37541 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37542 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37544 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37546 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37548 * timezone/tzselect.ksh: Update from tzcode git revision
37549 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37550 * timezone/zdump.c: Likewise.
37551 * timezone/zic.c: Likewise.
37552 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37553 in TZVERSION setting, not $(PKGVERSION).
37554 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37555 REPORT_BUGS_TO settings.
37558 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37561 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37563 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37564 detection to immediately after _FP_ROUND().
37565 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37568 2012-11-11 David S. Miller <davem@davemloft.net>
37570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37572 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37573 __close rather than their public counterparts.
37575 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37577 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37579 [UNIX98] (sem_timedwait): Do not expect.
37580 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37581 [XPG4 || UNIX98] (sockatmark): Do not expect.
37582 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37583 (clock_getcpuclockid): Do not expect.
37584 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37585 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37587 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37588 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37589 [UNIX98] (vwscanf): Likewise.
37590 [UNIX98] (vswscanf): Likewise.
37592 2012-11-09 Joseph Myers <joseph@codesourcery.com>
37594 * timezone/version.h: Remove file.
37595 * timezone/README: Do not refer to version.h.
37596 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37597 $(objpfx)version.h.
37598 ($(objpfx)zdump.o): Likewise.
37599 ($(objpfx)version.h): New target.
37601 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37603 * timezone/README: Don't mention modification to tzselect.ksh.
37604 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37605 work on unmodified tzselect.ksh. Substitute version numbers in
37608 * Makefile (format-me): Remove.
37609 (INSTALL): Adjust indentation. Use commands directly instead of
37610 using $(format-me).
37612 * aclocal.m4 (ACX_PKGVERSION): New macro.
37613 (ACX_BUGURL): Likewise.
37614 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37615 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37616 (REPORT_BUGS_TO): Likewise.
37617 * configure: Regenerated.
37618 * config.h.in (PKGVERSION): New macro.
37619 (REPORT_BUGS_TO): Likewise.
37620 * config.make.in (PKGVERSION): New variable.
37621 (PKGVERSION_TEXI): Likewise.
37622 (REPORT_BUGS_TO): Likewise.
37623 (REPORT_BUGS_TEXI): Likewise.
37624 * Makefile (format-me): Use -I$(common-objpfx)manual.
37625 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37626 ($(common-objpfx)manual/%): New target.
37627 (manual/%): Remove target.
37628 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37629 (print_version): Use PKGVERSION.
37630 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37631 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37632 and REPORT_BUGS_TO.
37633 ($(objpfx)xtrace): Likewise.
37634 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37635 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37636 (print_version): Use PKGVERSION.
37637 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37638 (do_version): Use PKGVERSION.
37639 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37641 (common-ldd-rewrite): Likewise.
37642 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37643 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37644 (print_version): Use PKGVERSION.
37645 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37646 * elf/pldd.c (argp_program_bug_address): Remove variable.
37647 (more_help): New function.
37648 (argp): Use more_help.
37649 (print_version): Use PKGVERSION.
37650 * elf/sln.c (main): Use PKGVERSION.
37651 (usage): Use REPORT_BUGS_TO.
37652 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37653 (top level): Use PKGVERSION.
37654 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37655 (print_version): Use PKGVERSION.
37656 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37657 (print_version): Use PKGVERSION.
37658 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37659 (print_version): Use PKGVERSION.
37660 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37661 (print_version): Use PKGVERSION.
37662 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37663 (print_version): Use PKGVERSION.
37664 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37665 (print_version): Use PKGVERSION.
37666 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37668 ($(objpfx)memusage): Likewise.
37669 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37670 (do_version): Use PKGVERSION.
37671 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37672 (print_version): Use PKGVERSION.
37673 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37674 ($PKGVERSION): New variable.
37675 ($REPORT_BUGS_TO): Likewise.
37676 (usage): Use $REPORT_BUGS_TO.
37677 (top level): Use $PKGVERSION.
37678 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37679 ($(objpfx)pkgvers.texi): New rule.
37680 ($(objpfx)stamp-pkgvers): Likewise.
37681 * manual/install.texi: Include pkgvers.texi.
37682 (--with-pkgversion): Document new configure option.
37683 (--with-bugurl): Likewise.
37684 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37685 than necessarily for this particular distribution. Use
37686 REPORT_BUGS_TO for where to report bugs.
37687 * INSTALL: Regenerated.
37688 * manual/libc.texinfo: Include pkgvers.texi.
37689 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37690 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37691 (print_version): Use PKGVERSION.
37692 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37693 (print_version): Use PKGVERSION.
37694 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37695 (print_version): Use PKGVERSION.
37696 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37697 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37699 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37700 (print_version): Use PKGVERSION.
37701 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37702 (print_version): Use PKGVERSION.
37703 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37706 * timezone/checktab.awk: Update from tzcode 2012i.
37707 * timezone/ialloc.c: Likewise.
37708 * timezone/private.h: Likewise.
37709 * timezone/scheck.c: Likewise.
37710 * timezone/tzfile.h: Likewise.
37711 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37712 (TZVERSION): Hardcode tzcode version number.
37713 * timezone/zdump.c: Update from tzcode 2012i.
37714 * timezone/zic.c: Likewise.
37715 * timezone/version.h: New file.
37716 * timezone/README: Describe version.h. Update upstream location.
37719 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37720 (mktemp): Enable declaration.
37721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37738 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37739 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37740 for copies of such integer values.
37741 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37742 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37744 2012-11-09 Andreas Jaeger <aj@suse.de>
37746 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37747 definitions and declarations that are provided by
37748 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37750 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37752 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37753 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37754 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37757 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37759 * elf/elf.h: Update comment before AArch64 relocations.
37761 2012-11-07 David S. Miller <davem@davemloft.net>
37763 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37765 (__start_context): Declare.
37766 (__makecontext_ret): Delete.
37767 (__makecontext): Hook up __start_context instead of
37769 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37770 (sysdep_routines): Add __start_context when in stdlib.
37772 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37774 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37775 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37776 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37778 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37779 (READELF): New variable. Use it instead of hardcoded "readelf".
37781 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37783 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37784 * sysdeps/x86/Makefile: Here.
37785 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37786 * sysdeps/x86/tst-xmmymm.sh: This.
37788 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37790 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37792 [UNIX98] (pthread_barrier_t): Do not expect.
37793 [UNIX98] (pthread_barrierattr_t): Likewise.
37794 [UNIX98] (pthread_spinlock_t): Likewise.
37795 [UNIX98] (pthread_barrier_destroy): Likewise.
37796 [UNIX98] (pthread_barrier_init): Likewise.
37797 [UNIX98] (pthread_barrier_wait): Likewise.
37798 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37799 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37800 [UNIX98] (pthread_barrierattr_init): Likewise.
37801 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37802 [UNIX98] (pthread_getcpuclockid): Likewise.
37803 [UNIX98] (pthread_mutex_timedlock): Likewise.
37804 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37805 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37806 [UNIX98] (pthread_sigmask): Likewise.
37807 [UNIX98] (pthread_spin_destroy): Likewise.
37808 [UNIX98] (pthread_spin_init): Likewise.
37809 [UNIX98] (pthread_spin_lock): Likewise.
37810 [UNIX98] (pthread_spin_trylock): Likewise.
37811 [UNIX98] (pthread_spin_unlock): Likewise.
37812 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37814 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37815 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37816 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37817 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37818 [XPG3 || XPG4] (pthread_key_t): Likewise.
37819 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37820 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37821 [XPG3 || XPG4] (pthread_once_t): Likewise.
37822 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37823 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37824 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37825 [XPG3 || XPG4] (pthread_t): Likewise.
37827 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37829 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37831 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37832 Change function return type to int.
37834 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37835 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37836 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37837 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37838 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37839 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37840 [!POSIX] (posix_madvise): Likewise.
37841 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37843 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37844 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37845 (mode_t): Likewise.
37846 (posix_mem_offset): Likewise.
37847 (posix_typed_mem_get_info): Likewise.
37848 (posix_typed_mem_open): Likewise.
37850 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37851 Change condition to [XOPEN2K8].
37853 * conform/conformtest.pl: Preprocess allow-header data with -x c
37854 instead of from stdin.
37855 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37856 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37857 [C99-based standards] (cerfc): Likewise.
37858 [C99-based standards] (cexp2): Likewise.
37859 [C99-based standards] (cexpm1): Likewise.
37860 [C99-based standards] (clog10): Likewise.
37861 [C99-based standards] (clog1p): Likewise.
37862 [C99-based standards] (clog2): Likewise.
37863 [C99-based standards] (clgamma): Likewise.
37864 [C99-based standards] (ctgamma): Likewise.
37865 [C99-based standards] (cerff): Likewise.
37866 [C99-based standards] (cerfcf): Likewise.
37867 [C99-based standards] (cexp2f): Likewise.
37868 [C99-based standards] (cexpm1f): Likewise.
37869 [C99-based standards] (clog10f): Likewise.
37870 [C99-based standards] (clog1pf): Likewise.
37871 [C99-based standards] (clog2f): Likewise.
37872 [C99-based standards] (clgammaf): Likewise.
37873 [C99-based standards] (ctgammaf): Likewise.
37874 [C99-based standards] (cerfl): Likewise.
37875 [C99-based standards] (cerfcl): Likewise.
37876 [C99-based standards] (cexp2l): Likewise.
37877 [C99-based standards] (cexpm1l): Likewise.
37878 [C99-based standards] (clog10l): Likewise.
37879 [C99-based standards] (clog1pl): Likewise.
37880 [C99-based standards] (clog2l): Likewise.
37881 [C99-based standards] (clgammal): Likewise.
37882 [C99-based standards] (ctgammal): Likewise.
37883 * conform/data/inttypes.h-data [C99-based standards]: Include
37884 stdint.h-data. Remove all expectations for stdint.h contents.
37885 [C99-based standards] (PRI*): Do not allow.
37886 [C99-based standards] (SCN*): Likewise.
37887 [C99-based standards] (*_t): Likewise.
37888 [C99-based-standards] (PRId8): Expect macro.
37889 [C99-based-standards] (PRIi8): Likewise.
37890 [C99-based-standards] (PRIo8): Likewise.
37891 [C99-based-standards] (PRIu8): Likewise.
37892 [C99-based-standards] (PRIx8): Likewise.
37893 [C99-based-standards] (PRIX8): Likewise.
37894 [C99-based-standards] (SCNd8): Likewise.
37895 [C99-based-standards] (SCNi8): Likewise.
37896 [C99-based-standards] (SCNo8): Likewise.
37897 [C99-based-standards] (SCNu8): Likewise.
37898 [C99-based-standards] (SCNx8): Likewise.
37899 [C99-based-standards] (PRIdLEAST8): Likewise.
37900 [C99-based-standards] (PRIiLEAST8): Likewise.
37901 [C99-based-standards] (PRIoLEAST8): Likewise.
37902 [C99-based-standards] (PRIuLEAST8): Likewise.
37903 [C99-based-standards] (PRIxLEAST8): Likewise.
37904 [C99-based-standards] (PRIXLEAST8): Likewise.
37905 [C99-based-standards] (SCNdLEAST8): Likewise.
37906 [C99-based-standards] (SCNiLEAST8): Likewise.
37907 [C99-based-standards] (SCNoLEAST8): Likewise.
37908 [C99-based-standards] (SCNuLEAST8): Likewise.
37909 [C99-based-standards] (SCNxLEAST8): Likewise.
37910 [C99-based-standards] (PRIdFAST8): Likewise.
37911 [C99-based-standards] (PRIiFAST8): Likewise.
37912 [C99-based-standards] (PRIoFAST8): Likewise.
37913 [C99-based-standards] (PRIuFAST8): Likewise.
37914 [C99-based-standards] (PRIxFAST8): Likewise.
37915 [C99-based-standards] (PRIXFAST8): Likewise.
37916 [C99-based-standards] (SCNdFAST8): Likewise.
37917 [C99-based-standards] (SCNiFAST8): Likewise.
37918 [C99-based-standards] (SCNoFAST8): Likewise.
37919 [C99-based-standards] (SCNuFAST8): Likewise.
37920 [C99-based-standards] (SCNxFAST8): Likewise.
37921 [C99-based-standards] (PRId16): Likewise.
37922 [C99-based-standards] (PRIi16): Likewise.
37923 [C99-based-standards] (PRIo16): Likewise.
37924 [C99-based-standards] (PRIu16): Likewise.
37925 [C99-based-standards] (PRIx16): Likewise.
37926 [C99-based-standards] (PRIX16): Likewise.
37927 [C99-based-standards] (SCNd16): Likewise.
37928 [C99-based-standards] (SCNi16): Likewise.
37929 [C99-based-standards] (SCNo16): Likewise.
37930 [C99-based-standards] (SCNu16): Likewise.
37931 [C99-based-standards] (SCNx16): Likewise.
37932 [C99-based-standards] (PRIdLEAST16): Likewise.
37933 [C99-based-standards] (PRIiLEAST16): Likewise.
37934 [C99-based-standards] (PRIoLEAST16): Likewise.
37935 [C99-based-standards] (PRIuLEAST16): Likewise.
37936 [C99-based-standards] (PRIxLEAST16): Likewise.
37937 [C99-based-standards] (PRIXLEAST16): Likewise.
37938 [C99-based-standards] (SCNdLEAST16): Likewise.
37939 [C99-based-standards] (SCNiLEAST16): Likewise.
37940 [C99-based-standards] (SCNoLEAST16): Likewise.
37941 [C99-based-standards] (SCNuLEAST16): Likewise.
37942 [C99-based-standards] (SCNxLEAST16): Likewise.
37943 [C99-based-standards] (PRIdFAST16): Likewise.
37944 [C99-based-standards] (PRIiFAST16): Likewise.
37945 [C99-based-standards] (PRIoFAST16): Likewise.
37946 [C99-based-standards] (PRIuFAST16): Likewise.
37947 [C99-based-standards] (PRIxFAST16): Likewise.
37948 [C99-based-standards] (PRIXFAST16): Likewise.
37949 [C99-based-standards] (SCNdFAST16): Likewise.
37950 [C99-based-standards] (SCNiFAST16): Likewise.
37951 [C99-based-standards] (SCNoFAST16): Likewise.
37952 [C99-based-standards] (SCNuFAST16): Likewise.
37953 [C99-based-standards] (SCNxFAST16): Likewise.
37954 [C99-based-standards] (PRId32): Likewise.
37955 [C99-based-standards] (PRIi32): Likewise.
37956 [C99-based-standards] (PRIo32): Likewise.
37957 [C99-based-standards] (PRIu32): Likewise.
37958 [C99-based-standards] (PRIx32): Likewise.
37959 [C99-based-standards] (PRIX32): Likewise.
37960 [C99-based-standards] (SCNd32): Likewise.
37961 [C99-based-standards] (SCNi32): Likewise.
37962 [C99-based-standards] (SCNo32): Likewise.
37963 [C99-based-standards] (SCNu32): Likewise.
37964 [C99-based-standards] (SCNx32): Likewise.
37965 [C99-based-standards] (PRIdLEAST32): Likewise.
37966 [C99-based-standards] (PRIiLEAST32): Likewise.
37967 [C99-based-standards] (PRIoLEAST32): Likewise.
37968 [C99-based-standards] (PRIuLEAST32): Likewise.
37969 [C99-based-standards] (PRIxLEAST32): Likewise.
37970 [C99-based-standards] (PRIXLEAST32): Likewise.
37971 [C99-based-standards] (SCNdLEAST32): Likewise.
37972 [C99-based-standards] (SCNiLEAST32): Likewise.
37973 [C99-based-standards] (SCNoLEAST32): Likewise.
37974 [C99-based-standards] (SCNuLEAST32): Likewise.
37975 [C99-based-standards] (SCNxLEAST32): Likewise.
37976 [C99-based-standards] (PRIdFAST32): Likewise.
37977 [C99-based-standards] (PRIiFAST32): Likewise.
37978 [C99-based-standards] (PRIoFAST32): Likewise.
37979 [C99-based-standards] (PRIuFAST32): Likewise.
37980 [C99-based-standards] (PRIxFAST32): Likewise.
37981 [C99-based-standards] (PRIXFAST32): Likewise.
37982 [C99-based-standards] (SCNdFAST32): Likewise.
37983 [C99-based-standards] (SCNiFAST32): Likewise.
37984 [C99-based-standards] (SCNoFAST32): Likewise.
37985 [C99-based-standards] (SCNuFAST32): Likewise.
37986 [C99-based-standards] (SCNxFAST32): Likewise.
37987 [C99-based-standards] (PRId64): Likewise.
37988 [C99-based-standards] (PRIi64): Likewise.
37989 [C99-based-standards] (PRIo64): Likewise.
37990 [C99-based-standards] (PRIu64): Likewise.
37991 [C99-based-standards] (PRIx64): Likewise.
37992 [C99-based-standards] (PRIX64): Likewise.
37993 [C99-based-standards] (SCNd64): Likewise.
37994 [C99-based-standards] (SCNi64): Likewise.
37995 [C99-based-standards] (SCNo64): Likewise.
37996 [C99-based-standards] (SCNu64): Likewise.
37997 [C99-based-standards] (SCNx64): Likewise.
37998 [C99-based-standards] (PRIdLEAST64): Likewise.
37999 [C99-based-standards] (PRIiLEAST64): Likewise.
38000 [C99-based-standards] (PRIoLEAST64): Likewise.
38001 [C99-based-standards] (PRIuLEAST64): Likewise.
38002 [C99-based-standards] (PRIxLEAST64): Likewise.
38003 [C99-based-standards] (PRIXLEAST64): Likewise.
38004 [C99-based-standards] (SCNdLEAST64): Likewise.
38005 [C99-based-standards] (SCNiLEAST64): Likewise.
38006 [C99-based-standards] (SCNoLEAST64): Likewise.
38007 [C99-based-standards] (SCNuLEAST64): Likewise.
38008 [C99-based-standards] (SCNxLEAST64): Likewise.
38009 [C99-based-standards] (PRIdFAST64): Likewise.
38010 [C99-based-standards] (PRIiFAST64): Likewise.
38011 [C99-based-standards] (PRIoFAST64): Likewise.
38012 [C99-based-standards] (PRIuFAST64): Likewise.
38013 [C99-based-standards] (PRIxFAST64): Likewise.
38014 [C99-based-standards] (PRIXFAST64): Likewise.
38015 [C99-based-standards] (SCNdFAST64): Likewise.
38016 [C99-based-standards] (SCNiFAST64): Likewise.
38017 [C99-based-standards] (SCNoFAST64): Likewise.
38018 [C99-based-standards] (SCNuFAST64): Likewise.
38019 [C99-based-standards] (SCNxFAST64): Likewise.
38020 [C99-based-standards] (PRIdMAX): Likewise.
38021 [C99-based-standards] (PRIiMAX): Likewise.
38022 [C99-based-standards] (PRIoMAX): Likewise.
38023 [C99-based-standards] (PRIuMAX): Likewise.
38024 [C99-based-standards] (PRIxMAX): Likewise.
38025 [C99-based-standards] (PRIXMAX): Likewise.
38026 [C99-based-standards] (SCNdMAX): Likewise.
38027 [C99-based-standards] (SCNiMAX): Likewise.
38028 [C99-based-standards] (SCNoMAX): Likewise.
38029 [C99-based-standards] (SCNuMAX): Likewise.
38030 [C99-based-standards] (SCNxMAX): Likewise.
38031 [C99-based-standards] (PRIdPTR): Likewise.
38032 [C99-based-standards] (PRIiPTR): Likewise.
38033 [C99-based-standards] (PRIoPTR): Likewise.
38034 [C99-based-standards] (PRIuPTR): Likewise.
38035 [C99-based-standards] (PRIxPTR): Likewise.
38036 [C99-based-standards] (PRIXPTR): Likewise.
38037 [C99-based-standards] (SCNdPTR): Likewise.
38038 [C99-based-standards] (SCNiPTR): Likewise.
38039 [C99-based-standards] (SCNoPTR): Likewise.
38040 [C99-based-standards] (SCNuPTR): Likewise.
38041 [C99-based-standards] (SCNxPTR): Likewise.
38042 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38044 * conform/data/stdint.h-data: Update comments to clarify
38046 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38048 [C99-based standards] (INT8_MAX): Likewise.
38049 [C99-based standards] (INT16_MIN): Likewise.
38050 [C99-based standards] (INT16_MAX): Likewise.
38051 [C99-based standards] (INT32_MIN): Likewise.
38052 [C99-based standards] (INT32_MAX): Likewise.
38053 [C99-based standards] (INT64_MIN): Likewise.
38054 [C99-based standards] (INT64_MAX): Likewise.
38055 [C99-based standards] (UINT8_MAX): Likewise.
38056 [C99-based standards] (UINT16_MAX): Likewise.
38057 [C99-based standards] (UINT32_MAX): Likewise.
38058 [C99-based standards] (UINT64_MAX): Likewise.
38059 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38060 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38061 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38062 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38063 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38064 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38065 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38066 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38067 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38068 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38069 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38070 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38071 [C99-based standards] (INT_FAST8_MIN): Likewise.
38072 [C99-based standards] (INT_FAST8_MAX): Likewise.
38073 [C99-based standards] (INT_FAST16_MIN): Likewise.
38074 [C99-based standards] (INT_FAST16_MAX): Likewise.
38075 [C99-based standards] (INT_FAST32_MIN): Likewise.
38076 [C99-based standards] (INT_FAST32_MAX): Likewise.
38077 [C99-based standards] (INT_FAST64_MIN): Likewise.
38078 [C99-based standards] (INT_FAST64_MAX): Likewise.
38079 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38080 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38081 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38082 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38083 [C99-based standards] (INTPTR_MIN): Likewise.
38084 [C99-based standards] (INTPTR_MAX): Likewise.
38085 [C99-based standards] (UINTPTR_MAX): Likewise.
38086 [C99-based standards] (INTMAX_MIN): Likewise.
38087 [C99-based standards] (INTMAX_MAX): Likewise.
38088 [C99-based standards] (UINTMAX_MAX): Likewise.
38089 [C99-based standards] (PTRDIFF_MIN): Likewise.
38090 [C99-based standards] (PTRDIFF_MAX): Likewise.
38091 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38092 [C99-based standards] (SIZE_MAX): Likewise.
38093 [C99-based standards] (WCHAR_MAX): Likewise.
38094 [C99-based standards] (WINT_MAX): Likewise.
38095 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38096 constraint on value.
38097 [C99-based standards] (WCHAR_MIN): Likewise.
38098 [C99-based standards] (WINT_MIN): Likewise.
38099 [C99-based standards] (*_t): Allow.
38100 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38101 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38102 Include math.h-data and complex.h-data. Remove all expectations
38103 of math.h and complex.h contents.
38104 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38106 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38107 (struct tm): Expect tag.
38108 [C99-based-standards] (wcstof): Expect function.
38109 [C99-based-standards] (wcstold): Likewise.
38110 [C99-based-standards] (wcstoll): Likewise.
38111 [C99-based-standards] (wcstoull): Likewise.
38112 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38113 macro-int-constant. Specify type.
38114 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38115 constraint on value.
38116 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38118 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38120 [ISO C standards]: Do not allow headers.
38121 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38122 wcs[abcdefghijklmnopqrstuvwxyz]*.
38123 [ISO C standards] (*_t): Do not allow.
38124 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38126 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38127 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38129 [ISO C standards]: Do not allow headers.
38130 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38131 is[abcdefghijklmnopqrstuvwxyz]*.
38132 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38133 to[abcdefghijklmnopqrstuvwxyz]*.
38134 [ISO C standards] (*_t): Do not allow.
38135 * conform/data/stdalign.h-data: New file.
38136 * conform/data/stdbool.h-data: Likewise.
38137 * conform/data/stdnoreturn.h-data: Likewise.
38139 2012-11-07 Roland McGrath <roland@hack.frob.com>
38142 * manual/filesys.texi (Directory Entries): Typo fix.
38143 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38145 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38147 * elf/elf.h (EM_AARCH64): New macro.
38148 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38149 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38150 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38151 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38152 (R_AARCH64_TLSDESC): Likewise.
38153 (NT_ARM_TLS): Likewise.
38154 (NT_ARM_HW_BREAK): Likewise.
38155 (NT_ARM_HW_WATCH): Likewise.
38157 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38160 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38161 (__ieee754_powl): Saturate nonzero exponents with absolute value
38162 below 0x1p-79 to +/- 0x1p-79.
38163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38164 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38165 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38166 nonzero exponents with absolute value below 0x1p-32 to +/-
38168 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38169 (__ieee754_powl): Saturate nonzero exponents with absolute value
38170 below 0x1p-79 to +/- 0x1p-79.
38171 * math/libm-test.inc (pow_test): Add more tests.
38173 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38175 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38176 _dl_s390_cap_flags with kernel. Increase string length.
38177 (_dl_s390_platforms): Add z196 and zEC12.
38179 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38181 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38182 Change XOPEN21K to XOPEN2K.
38184 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38186 * string/memmove.c: Use memcpy when possible.
38188 2012-11-06 Andreas Jaeger <aj@suse.de>
38190 * po/eo.po: Update from translation team.
38192 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38196 exponent and small x and y exponents, scale x or y up. Increase
38197 by 2 the exponent used in scaling up.
38198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38200 * math/libm-test.inc (fma_test): Add more tests.
38201 (fma_test_towardzero): Likewise.
38202 (fma_test_downward): Likewise.
38203 (fma_test_upward): Likewise.
38205 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38208 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38212 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38213 namespace for names of struct fields.
38214 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38216 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38217 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38219 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38222 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38224 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38226 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38230 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38233 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38237 definitely overflow as x * y not x * y + z.
38238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38240 * math/libm-test.inc (fma_test): Add more tests.
38241 (fma_test_towardzero): Likewise.
38242 (fma_test_downward): Likewise.
38243 (fma_test_upward): Likewise.
38245 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38249 * include/stub-tag.h: Remove file.
38250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38252 * manual/maint.texi (Porting): Don't reference it.
38253 * Makerules ($(objpfx)stubs): Likewise.
38254 * dirent/closedir.c: Don't include <stub-tag.h>.
38255 * dirent/dirfd.c: Likewise.
38256 * dirent/fdopendir.c: Likewise.
38257 * dirent/getdents.c: Likewise.
38258 * dirent/getdents64.c: Likewise.
38259 * dirent/opendir.c: Likewise.
38260 * dirent/readdir.c: Likewise.
38261 * dirent/readdir64.c: Likewise.
38262 * dirent/readdir64_r.c: Likewise.
38263 * dirent/readdir_r.c: Likewise.
38264 * dirent/rewinddir.c: Likewise.
38265 * dirent/seekdir.c: Likewise.
38266 * dirent/telldir.c: Likewise.
38267 * gmon/profil.c: Likewise.
38268 * grp/setgroups.c: Likewise.
38269 * inet/if_index.c: Likewise.
38270 * io/access.c: Likewise.
38271 * io/chdir.c: Likewise.
38272 * io/chmod.c: Likewise.
38273 * io/chown.c: Likewise.
38274 * io/close.c: Likewise.
38275 * io/dup.c: Likewise.
38276 * io/dup2.c: Likewise.
38277 * io/dup3.c: Likewise.
38278 * io/euidaccess.c: Likewise.
38279 * io/faccessat.c: Likewise.
38280 * io/fchdir.c: Likewise.
38281 * io/fchmod.c: Likewise.
38282 * io/fchmodat.c: Likewise.
38283 * io/fchown.c: Likewise.
38284 * io/fchownat.c: Likewise.
38285 * io/fcntl.c: Likewise.
38286 * io/flock.c: Likewise.
38287 * io/fstatfs.c: Likewise.
38288 * io/fstatfs64.c: Likewise.
38289 * io/fstatvfs.c: Likewise.
38290 * io/fstatvfs64.c: Likewise.
38291 * io/futimens.c: Likewise.
38292 * io/fxstat.c: Likewise.
38293 * io/fxstat64.c: Likewise.
38294 * io/fxstatat.c: Likewise.
38295 * io/fxstatat64.c: Likewise.
38296 * io/getcwd.c: Likewise.
38297 * io/isatty.c: Likewise.
38298 * io/lchmod.c: Likewise.
38299 * io/lchown.c: Likewise.
38300 * io/link.c: Likewise.
38301 * io/linkat.c: Likewise.
38302 * io/lseek.c: Likewise.
38303 * io/lseek64.c: Likewise.
38304 * io/lxstat64.c: Likewise.
38305 * io/mkdir.c: Likewise.
38306 * io/mkdirat.c: Likewise.
38307 * io/mkfifo.c: Likewise.
38308 * io/mkfifoat.c: Likewise.
38309 * io/open.c: Likewise.
38310 * io/open64.c: Likewise.
38311 * io/openat.c: Likewise.
38312 * io/openat64.c: Likewise.
38313 * io/pipe.c: Likewise.
38314 * io/pipe2.c: Likewise.
38315 * io/poll.c: Likewise.
38316 * io/posix_fadvise.c: Likewise.
38317 * io/posix_fadvise64.c: Likewise.
38318 * io/posix_fallocate.c: Likewise.
38319 * io/posix_fallocate64.c: Likewise.
38320 * io/read.c: Likewise.
38321 * io/readlink.c: Likewise.
38322 * io/readlinkat.c: Likewise.
38323 * io/rmdir.c: Likewise.
38324 * io/sendfile.c: Likewise.
38325 * io/sendfile64.c: Likewise.
38326 * io/statfs.c: Likewise.
38327 * io/statfs64.c: Likewise.
38328 * io/statvfs.c: Likewise.
38329 * io/statvfs64.c: Likewise.
38330 * io/symlink.c: Likewise.
38331 * io/symlinkat.c: Likewise.
38332 * io/ttyname.c: Likewise.
38333 * io/ttyname_r.c: Likewise.
38334 * io/umask.c: Likewise.
38335 * io/unlink.c: Likewise.
38336 * io/unlinkat.c: Likewise.
38337 * io/utime.c: Likewise.
38338 * io/utimensat.c: Likewise.
38339 * io/write.c: Likewise.
38340 * io/xmknod.c: Likewise.
38341 * io/xmknodat.c: Likewise.
38342 * io/xstat.c: Likewise.
38343 * io/xstat64.c: Likewise.
38344 * login/getpt.c: Likewise.
38345 * login/grantpt.c: Likewise.
38346 * login/unlockpt.c: Likewise.
38347 * math/e_acoshl.c: Likewise.
38348 * math/e_acosl.c: Likewise.
38349 * math/e_asinl.c: Likewise.
38350 * math/e_atan2l.c: Likewise.
38351 * math/e_atanhl.c: Likewise.
38352 * math/e_coshl.c: Likewise.
38353 * math/e_expl.c: Likewise.
38354 * math/e_fmodl.c: Likewise.
38355 * math/e_gammal_r.c: Likewise.
38356 * math/e_hypotl.c: Likewise.
38357 * math/e_j0l.c: Likewise.
38358 * math/e_j1l.c: Likewise.
38359 * math/e_jnl.c: Likewise.
38360 * math/e_lgammal_r.c: Likewise.
38361 * math/e_log10l.c: Likewise.
38362 * math/e_log2l.c: Likewise.
38363 * math/e_logl.c: Likewise.
38364 * math/e_powl.c: Likewise.
38365 * math/e_rem_pio2l.c: Likewise.
38366 * math/e_sinhl.c: Likewise.
38367 * math/e_sqrtl.c: Likewise.
38368 * math/fclrexcpt.c: Likewise.
38369 * math/fedisblxcpt.c: Likewise.
38370 * math/feenablxcpt.c: Likewise.
38371 * math/fegetenv.c: Likewise.
38372 * math/fegetexcept.c: Likewise.
38373 * math/fegetround.c: Likewise.
38374 * math/feholdexcpt.c: Likewise.
38375 * math/fesetenv.c: Likewise.
38376 * math/fesetround.c: Likewise.
38377 * math/feupdateenv.c: Likewise.
38378 * math/fgetexcptflg.c: Likewise.
38379 * math/fraiseexcpt.c: Likewise.
38380 * math/fsetexcptflg.c: Likewise.
38381 * math/ftestexcept.c: Likewise.
38382 * math/k_cosl.c: Likewise.
38383 * math/k_rem_pio2l.c: Likewise.
38384 * math/k_sinl.c: Likewise.
38385 * math/k_tanl.c: Likewise.
38386 * math/s_asinhl.c: Likewise.
38387 * math/s_atanl.c: Likewise.
38388 * math/s_cbrtl.c: Likewise.
38389 * math/s_erfl.c: Likewise.
38390 * math/s_expm1l.c: Likewise.
38391 * math/s_log1pl.c: Likewise.
38392 * math/s_tanhl.c: Likewise.
38393 * misc/acct.c: Likewise.
38394 * misc/brk.c: Likewise.
38395 * misc/chflags.c: Likewise.
38396 * misc/chroot.c: Likewise.
38397 * misc/fchflags.c: Likewise.
38398 * misc/fgetxattr.c: Likewise.
38399 * misc/flistxattr.c: Likewise.
38400 * misc/fremovexattr.c: Likewise.
38401 * misc/fsetxattr.c: Likewise.
38402 * misc/fsync.c: Likewise.
38403 * misc/ftruncate.c: Likewise.
38404 * misc/futimes.c: Likewise.
38405 * misc/futimesat.c: Likewise.
38406 * misc/getdomain.c: Likewise.
38407 * misc/getdtsz.c: Likewise.
38408 * misc/gethostid.c: Likewise.
38409 * misc/gethostname.c: Likewise.
38410 * misc/getloadavg.c: Likewise.
38411 * misc/getpagesize.c: Likewise.
38412 * misc/getsysstats.c: Likewise.
38413 * misc/getxattr.c: Likewise.
38414 * misc/gtty.c: Likewise.
38415 * misc/ioctl.c: Likewise.
38416 * misc/lgetxattr.c: Likewise.
38417 * misc/listxattr.c: Likewise.
38418 * misc/llistxattr.c: Likewise.
38419 * misc/lremovexattr.c: Likewise.
38420 * misc/lsetxattr.c: Likewise.
38421 * misc/lutimes.c: Likewise.
38422 * misc/madvise.c: Likewise.
38423 * misc/mincore.c: Likewise.
38424 * misc/mlock.c: Likewise.
38425 * misc/mlockall.c: Likewise.
38426 * misc/mmap.c: Likewise.
38427 * misc/mprotect.c: Likewise.
38428 * misc/msync.c: Likewise.
38429 * misc/munlock.c: Likewise.
38430 * misc/munlockall.c: Likewise.
38431 * misc/munmap.c: Likewise.
38432 * misc/preadv.c: Likewise.
38433 * misc/preadv64.c: Likewise.
38434 * misc/ptrace.c: Likewise.
38435 * misc/pwritev.c: Likewise.
38436 * misc/pwritev64.c: Likewise.
38437 * misc/readv.c: Likewise.
38438 * misc/reboot.c: Likewise.
38439 * misc/remap_file_pages.c: Likewise.
38440 * misc/removexattr.c: Likewise.
38441 * misc/revoke.c: Likewise.
38442 * misc/select.c: Likewise.
38443 * misc/setdomain.c: Likewise.
38444 * misc/setegid.c: Likewise.
38445 * misc/seteuid.c: Likewise.
38446 * misc/sethostid.c: Likewise.
38447 * misc/sethostname.c: Likewise.
38448 * misc/setregid.c: Likewise.
38449 * misc/setreuid.c: Likewise.
38450 * misc/setxattr.c: Likewise.
38451 * misc/sstk.c: Likewise.
38452 * misc/stty.c: Likewise.
38453 * misc/swapoff.c: Likewise.
38454 * misc/swapon.c: Likewise.
38455 * misc/sync.c: Likewise.
38456 * misc/syncfs.c: Likewise.
38457 * misc/syscall.c: Likewise.
38458 * misc/truncate.c: Likewise.
38459 * misc/ualarm.c: Likewise.
38460 * misc/usleep.c: Likewise.
38461 * misc/ustat.c: Likewise.
38462 * misc/utimes.c: Likewise.
38463 * misc/vhangup.c: Likewise.
38464 * misc/writev.c: Likewise.
38465 * posix/_exit.c: Likewise.
38466 * posix/alarm.c: Likewise.
38467 * posix/execve.c: Likewise.
38468 * posix/fexecve.c: Likewise.
38469 * posix/fork.c: Likewise.
38470 * posix/fpathconf.c: Likewise.
38471 * posix/getaddrinfo.c: Likewise.
38472 * posix/getegid.c: Likewise.
38473 * posix/geteuid.c: Likewise.
38474 * posix/getgid.c: Likewise.
38475 * posix/getgroups.c: Likewise.
38476 * posix/getlogin.c: Likewise.
38477 * posix/getlogin_r.c: Likewise.
38478 * posix/getpgid.c: Likewise.
38479 * posix/getpid.c: Likewise.
38480 * posix/getppid.c: Likewise.
38481 * posix/getresgid.c: Likewise.
38482 * posix/getresuid.c: Likewise.
38483 * posix/getsid.c: Likewise.
38484 * posix/getuid.c: Likewise.
38485 * posix/glob64.c: Likewise.
38486 * posix/nanosleep.c: Likewise.
38487 * posix/pathconf.c: Likewise.
38488 * posix/pause.c: Likewise.
38489 * posix/posix_madvise.c: Likewise.
38490 * posix/pread.c: Likewise.
38491 * posix/pread64.c: Likewise.
38492 * posix/pwrite.c: Likewise.
38493 * posix/pwrite64.c: Likewise.
38494 * posix/sched_getaffinity.c: Likewise.
38495 * posix/sched_getp.c: Likewise.
38496 * posix/sched_gets.c: Likewise.
38497 * posix/sched_primax.c: Likewise.
38498 * posix/sched_primin.c: Likewise.
38499 * posix/sched_rr_gi.c: Likewise.
38500 * posix/sched_setaffinity.c: Likewise.
38501 * posix/sched_setp.c: Likewise.
38502 * posix/sched_sets.c: Likewise.
38503 * posix/sched_yield.c: Likewise.
38504 * posix/setgid.c: Likewise.
38505 * posix/setlogin.c: Likewise.
38506 * posix/setpgid.c: Likewise.
38507 * posix/setresgid.c: Likewise.
38508 * posix/setresuid.c: Likewise.
38509 * posix/setsid.c: Likewise.
38510 * posix/setuid.c: Likewise.
38511 * posix/sleep.c: Likewise.
38512 * posix/spawni.c: Likewise.
38513 * posix/sysconf.c: Likewise.
38514 * posix/times.c: Likewise.
38515 * posix/wait.c: Likewise.
38516 * posix/wait3.c: Likewise.
38517 * posix/wait4.c: Likewise.
38518 * posix/waitpid.c: Likewise.
38519 * resolv/gai_sigqueue.c: Likewise.
38520 * resource/getpriority.c: Likewise.
38521 * resource/getrlimit.c: Likewise.
38522 * resource/getrusage.c: Likewise.
38523 * resource/nice.c: Likewise.
38524 * resource/setpriority.c: Likewise.
38525 * resource/setrlimit.c: Likewise.
38526 * resource/ulimit.c: Likewise.
38527 * rt/aio_cancel.c: Likewise.
38528 * rt/aio_fsync.c: Likewise.
38529 * rt/aio_read.c: Likewise.
38530 * rt/aio_sigqueue.c: Likewise.
38531 * rt/aio_suspend.c: Likewise.
38532 * rt/aio_write.c: Likewise.
38533 * rt/clock_getres.c: Likewise.
38534 * rt/clock_gettime.c: Likewise.
38535 * rt/clock_nanosleep.c: Likewise.
38536 * rt/clock_settime.c: Likewise.
38537 * rt/lio_listio.c: Likewise.
38538 * rt/mq_close.c: Likewise.
38539 * rt/mq_getattr.c: Likewise.
38540 * rt/mq_notify.c: Likewise.
38541 * rt/mq_open.c: Likewise.
38542 * rt/mq_receive.c: Likewise.
38543 * rt/mq_send.c: Likewise.
38544 * rt/mq_setattr.c: Likewise.
38545 * rt/mq_timedreceive.c: Likewise.
38546 * rt/mq_timedsend.c: Likewise.
38547 * rt/mq_unlink.c: Likewise.
38548 * rt/shm_open.c: Likewise.
38549 * rt/shm_unlink.c: Likewise.
38550 * rt/timer_create.c: Likewise.
38551 * rt/timer_delete.c: Likewise.
38552 * rt/timer_getoverr.c: Likewise.
38553 * rt/timer_gettime.c: Likewise.
38554 * rt/timer_settime.c: Likewise.
38555 * setjmp/__longjmp.c: Likewise.
38556 * setjmp/setjmp.c: Likewise.
38557 * signal/kill.c: Likewise.
38558 * signal/killpg.c: Likewise.
38559 * signal/raise.c: Likewise.
38560 * signal/sigaction.c: Likewise.
38561 * signal/sigaltstack.c: Likewise.
38562 * signal/sigblock.c: Likewise.
38563 * signal/sigignore.c: Likewise.
38564 * signal/sigintr.c: Likewise.
38565 * signal/signal.c: Likewise.
38566 * signal/sigpause.c: Likewise.
38567 * signal/sigpending.c: Likewise.
38568 * signal/sigqueue.c: Likewise.
38569 * signal/sigreturn.c: Likewise.
38570 * signal/sigset.c: Likewise.
38571 * signal/sigsetmask.c: Likewise.
38572 * signal/sigstack.c: Likewise.
38573 * signal/sigsuspend.c: Likewise.
38574 * signal/sigtimedwait.c: Likewise.
38575 * signal/sigvec.c: Likewise.
38576 * signal/sigwait.c: Likewise.
38577 * signal/sigwaitinfo.c: Likewise.
38578 * signal/sysv_signal.c: Likewise.
38579 * socket/accept.c: Likewise.
38580 * socket/accept4.c: Likewise.
38581 * socket/bind.c: Likewise.
38582 * socket/connect.c: Likewise.
38583 * socket/getpeername.c: Likewise.
38584 * socket/getsockname.c: Likewise.
38585 * socket/getsockopt.c: Likewise.
38586 * socket/isfdtype.c: Likewise.
38587 * socket/listen.c: Likewise.
38588 * socket/recv.c: Likewise.
38589 * socket/recvfrom.c: Likewise.
38590 * socket/recvmsg.c: Likewise.
38591 * socket/send.c: Likewise.
38592 * socket/sendmsg.c: Likewise.
38593 * socket/sendto.c: Likewise.
38594 * socket/setsockopt.c: Likewise.
38595 * socket/shutdown.c: Likewise.
38596 * socket/sockatmark.c: Likewise.
38597 * socket/socket.c: Likewise.
38598 * socket/socketpair.c: Likewise.
38599 * stdio-common/ctermid.c: Likewise.
38600 * stdio-common/cuserid.c: Likewise.
38601 * stdio-common/remove.c: Likewise.
38602 * stdio-common/rename.c: Likewise.
38603 * stdio-common/renameat.c: Likewise.
38604 * stdio-common/tempname.c: Likewise.
38605 * stdlib/getcontext.c: Likewise.
38606 * stdlib/makecontext.c: Likewise.
38607 * stdlib/setcontext.c: Likewise.
38608 * stdlib/swapcontext.c: Likewise.
38609 * stdlib/system.c: Likewise.
38610 * streams/fattach.c: Likewise.
38611 * streams/fdetach.c: Likewise.
38612 * streams/getmsg.c: Likewise.
38613 * streams/getpmsg.c: Likewise.
38614 * streams/putmsg.c: Likewise.
38615 * streams/putpmsg.c: Likewise.
38616 * sysdeps/unix/bsd/getpt.c: Likewise.
38617 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38618 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38619 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38622 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38623 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38624 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38625 * sysvipc/msgctl.c: Likewise.
38626 * sysvipc/msgget.c: Likewise.
38627 * sysvipc/msgrcv.c: Likewise.
38628 * sysvipc/msgsnd.c: Likewise.
38629 * sysvipc/semctl.c: Likewise.
38630 * sysvipc/semget.c: Likewise.
38631 * sysvipc/semop.c: Likewise.
38632 * sysvipc/semtimedop.c: Likewise.
38633 * sysvipc/shmat.c: Likewise.
38634 * sysvipc/shmctl.c: Likewise.
38635 * sysvipc/shmdt.c: Likewise.
38636 * sysvipc/shmget.c: Likewise.
38637 * termios/tcdrain.c: Likewise.
38638 * termios/tcflow.c: Likewise.
38639 * termios/tcflush.c: Likewise.
38640 * termios/tcgetattr.c: Likewise.
38641 * termios/tcgetpgrp.c: Likewise.
38642 * termios/tcsendbrk.c: Likewise.
38643 * termios/tcsetattr.c: Likewise.
38644 * termios/tcsetpgrp.c: Likewise.
38645 * time/adjtime.c: Likewise.
38646 * time/clock.c: Likewise.
38647 * time/getitimer.c: Likewise.
38648 * time/gettimeofday.c: Likewise.
38649 * time/setitimer.c: Likewise.
38650 * time/settimeofday.c: Likewise.
38651 * time/stime.c: Likewise.
38652 * time/time.c: Likewise.
38654 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
38656 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38659 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38661 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38663 2012-11-03 Joseph Myers <joseph@codesourcery.com>
38666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38667 FE_TONEAREST before applying Dekker multiplication and Knuth
38668 addition. Clear inexact exceptions and check for exact zero
38669 results afterwards.
38670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38673 * math/libm-test.inc (fma_test): Add more tests.
38674 (fma_test_towardzero): Likewise.
38675 (fma_test_downward): Likewise.
38676 (fma_test_upward): Likewise.
38677 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38679 (libc_fesetround): New macro.
38680 (libc_fesetroundf): Likewise.
38681 (libc_fesetroundl): Likewise.
38682 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38684 (libc_fesetround_387): Likewise.
38685 (libc_fesetroundf): New macro.
38686 (libc_fesetround): Likewise.
38687 (libc_fesetroundl): Likewise.
38688 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38690 (libc_fesetroundf): New macro.
38691 (libc_fesetround): Likewise.
38692 (libc_fesetroundl): Likewise.
38693 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38694 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38695 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38697 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38698 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38700 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38701 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38703 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38707 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38708 integer constant usable in #if and use that to give value to enum
38710 (FE_DIVBYZERO): Likewise.
38711 (FE_UNDERFLOW): Likewise.
38712 (FE_OVERFLOW): Likewise.
38713 (FE_INVALID): Likewise.
38714 (FE_INVALID_SNAN): Likewise.
38715 (FE_INVALID_ISI): Likewise.
38716 (FE_INVALID_IDI): Likewise.
38717 (FE_INVALID_ZDZ): Likewise.
38718 (FE_INVALID_IMZ): Likewise.
38719 (FE_INVALID_COMPARE): Likewise.
38720 (FE_INVALID_SOFTWARE): Likewise.
38721 (FE_INVALID_SQRT): Likewise.
38722 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38723 (FE_TONEAREST): Likewise.
38724 (FE_TOWARDZERO): Likewise.
38725 (FE_UPWARD): Likewise.
38726 (FE_DOWNWARD): Likewise.
38727 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38728 (FE_DIVBYZERO): Likewise.
38729 (FE_OVERFLOW): Likewise.
38730 (FE_UNDERFLOW): Likewise.
38731 (FE_INEXACT): Likewise.
38732 (FE_TONEAREST): Likewise.
38733 (FE_DOWNWARD): Likewise.
38734 (FE_UPWARD): Likewise.
38735 (FE_TOWARDZERO): Likewise.
38736 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38737 (FE_UNDERFLOW): Likewise.
38738 (FE_OVERFLOW): Likewise.
38739 (FE_DIVBYZERO): Likewise.
38740 (FE_INVALID): Likewise.
38741 (FE_TONEAREST): Likewise.
38742 (FE_TOWARDZERO): Likewise.
38743 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38744 (FE_OVERFLOW): Likewise.
38745 (FE_UNDERFLOW): Likewise.
38746 (FE_DIVBYZERO): Likewise.
38747 (FE_INEXACT): Likewise.
38748 (FE_TONEAREST): Likewise.
38749 (FE_TOWARDZERO): Likewise.
38750 (FE_UPWARD): Likewise.
38751 (FE_DOWNWARD): Likewise.
38752 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38753 (FE_DIVBYZERO): Likewise.
38754 (FE_OVERFLOW): Likewise.
38755 (FE_UNDERFLOW): Likewise.
38756 (FE_INEXACT): Likewise.
38757 (FE_TONEAREST): Likewise.
38758 (FE_DOWNWARD): Likewise.
38759 (FE_UPWARD): Likewise.
38760 (FE_TOWARDZERO): Likewise.
38762 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38764 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38766 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38768 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38769 commands. Quote $PWD.
38770 (blacklist_exports): Don't use remove_newlines. Replace "declare
38772 (remove_newlines): Remove.
38774 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38776 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38777 * stdlib/stdlib.h (atof): Moved to ...
38778 * include/bits/stdlib-float.h: Here. New file.
38779 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38780 * stdlib/bits/stdlib-float.h: New file.
38781 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38783 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38786 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38788 * conform/conformtest.pl (@headers): Add fenv.h.
38789 * conform/data/fenv.h-data: New file.
38790 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38791 include of <math/fenv.h>.
38793 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38794 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38795 && !UNIX98]. Enables tests for XOPEN2K8.
38796 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38797 POSIX2008]: Likewise.
38799 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38800 (struct rusage): Do not expect type or its members.
38803 * math/math.h (FP_NAN): Define macro to integer constant usable in
38804 #if and use that to give value to enum constant.
38805 (FP_INFINITE): Likewise.
38806 (FP_ZERO): Likewise.
38807 (FP_SUBNORMAL): Likewise.
38808 (FP_NORMAL): Likewise.
38810 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38812 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38813 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38816 2012-11-02 Roland McGrath <roland@hack.frob.com>
38818 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38819 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38820 autoconf-time if not.
38821 * configure.in: Remove AC_PREREQ.
38823 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38825 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38826 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38827 of the internal implementation.
38829 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38831 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38832 except include of <misc/sys/syslog.h>.
38834 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38837 function returns with a NULL context exit with zero.
38839 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38841 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38843 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38845 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38846 (run_program_cmd): This.
38847 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38848 (tst_langinfo): New variable. Use it.
38850 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
38852 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38853 floating point opcodes.
38855 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38857 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38860 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38862 * sysdeps/mach/hurd/powerpc: Remove directory.
38863 * sysdeps/mach/powerpc: Likewise.
38865 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38867 * scripts/check-local-headers.sh: Ignore c++ headers.
38869 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38871 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38872 __libc_cleanup_region_start argument.
38874 2012-11-01 Joseph Myers <joseph@codesourcery.com>
38878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38879 x * y using scaling, not as x * y + z.
38880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38882 * math/libm-test.inc (fma_test): Add more tests.
38883 (fma_test_towardzero): Likewise.
38884 (fma_test_downward): Likewise.
38885 (fma_test_upward): Likewise.
38887 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38889 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38891 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38893 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38896 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38898 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38900 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38907 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38910 Fix the order of the list for glibc 2.17.
38911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38914 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38918 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38921 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38922 for low part of x being zero before using __atanl (y).
38923 * math/libm-test.inc (atan2_test): Add another test.
38925 * manual/install.texi (Configuring and compiling): Document
38926 general use of test-wrapper and test-wrapper-env.
38927 * INSTALL: Regenerated.
38929 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38930 (__fma): Do not extract and scale down low bits on after-rounding
38931 systems when result rounded to normal precision would have normal
38933 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38934 (__fmal): Do not extract and scale down low bits on after-rounding
38935 systems when result rounded to normal precision would have normal
38937 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38938 (__fmal): Do not extract and scale down low bits on after-rounding
38939 systems when result rounded to normal precision would have normal
38941 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38943 (fma_test): Add more tests.
38944 (fma_test_towardzero): Likewise.
38945 (fma_test_downward): Likewise.
38946 (fma_test_upward): Likewise.
38948 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38950 * sysdeps/i386/tininess.h: Renamed to ...
38951 * sysdeps/x86/tininess.h: This.
38952 * sysdeps/x86_64/tininess.h: Removed.
38954 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38956 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38957 input. Use $(build-program-cmd).
38958 ($(objpfx)tst-array1-static.out): Likewise.
38959 ($(objpfx)tst-array2.out): Likewise.
38960 ($(objpfx)tst-array3.out): Likewise.
38961 ($(objpfx)tst-array4.out): Likewise.
38962 ($(objpfx)tst-array5.out): Likewise.
38963 ($(objpfx)tst-array5-static.out): Likewise.
38965 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38967 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38970 * nss/nsswitch.h (nss_interface_function): Provide new
38971 macro for use with NSS functions.
38972 * grp/initgroups.c: Use new macro.
38973 * nss/getXXbyYY.c: Likewise.
38974 * nss/getXXbyYY_r.c: Likewise.
38975 * nss/getXXent.c: Likewise.
38976 * nss/getXXent_r.c: Likewise.
38977 * sysdeps/posix/getaddrinfo.c: Likewise.
38979 2012-10-30 Andreas Jaeger <aj@suse.de>
38981 * po/ru.po: Update Russion translation from translation project.
38983 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38988 result and shift together with sticky bit instead of replicating
38989 round-to-nearest rounding.
38990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38992 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38993 missing underflow exceptions.
38994 (fma_test_towardzero): Add more tests.
38995 (fma_test_downward): Likewise.
38996 (fma_test_upward): Likewise.
38999 * sysdeps/generic/tininess.h: New file.
39000 * sysdeps/i386/tininess.h: Likewise.
39001 * sysdeps/sh/tininess.h: Likewise.
39002 * sysdeps/x86_64/tininess.h: Likewise.
39003 * stdlib/tst-strtod-underflow.c: Likewise.
39004 * stdlib/tst-tininess.c: Likewise.
39005 * stdlib/strtod_l.c: Include <tininess.h>.
39006 (round_and_return): Do not set errno for exact underflow cases.
39007 Force an underflow exception when setting errno for underflow.
39008 Determine underflow based on rounding to normal precision if
39009 TININESS_AFTER_ROUNDING.
39010 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39011 ERANGE for exact underflow cases.
39012 * stdlib/Makefile (tests): Add tst-tininess and
39013 tst-strtod-underflow.
39014 ($(objpfx)tst-tininess): Use $(link-libm).
39015 ($(objpfx)tst-strtod-underflow): Likewise.
39017 2012-10-30 Andreas Jaeger <aj@suse.de>
39020 * elf/Makefile (tests): Remove conditional for have-initfini-array
39021 since this is now always required and the variable does not exist
39023 (tests-static): Likewise.
39024 (modules-names): Likewise.
39026 * po/eo.po: Add Esperanto translation from translation project.
39028 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39029 merged with constructor/destructor.
39030 (init_array): Likewise.
39031 * elf/tst-array2dep.c (fini_array): Likewise.
39032 (init_array): Likewise.
39034 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39036 * manual/message.texi: Delete @cartouche tags.
39038 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39040 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39042 * sysdeps/mach/hurd/fsync.c: Likewise.
39044 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39045 [_POSIX_REALTIME_SIGNALS]: Change condition to
39046 [_POSIX_REALTIME_SIGNALS > 0].
39048 2012-10-27 Andreas Jaeger <aj@suse.de>
39050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39051 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39053 [__WORDSIZE != 64]: Likewise.
39055 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39057 * iconvdata/tst-table.sh: Remove ${SHELL}.
39058 * iconvdata/tst-tables.sh: Likewise.
39060 2012-10-25 David S. Miller <davem@davemloft.net>
39062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39063 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39069 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39070 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39073 2012-10-25 Roland McGrath <roland@hack.frob.com>
39075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39076 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39079 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39080 Jim Blandy <jimb@codesourcery.com>
39082 * scripts/cross-test-ssh.sh: New file.
39083 * manual/install.texi (Configuring and compiling): Document use of
39085 * INSTALL: Regenerated.
39087 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39089 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39092 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39094 * Makeconfig (run-program-prefix): Fix comment.
39096 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39097 Jim Blandy <jimb@codesourcery.com>
39099 * Makeconfig (test-wrapper): New variable,
39100 (test-wrapper-env): Likewise.
39101 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39102 (run-built-tests): Define to yes.
39103 (run-program-prefix): Use $(test-wrapper).
39104 (built-program-cmd): Likewise.
39105 * Rules (make-test-out): Use $(test-wrapper-env) and
39106 $(host-built-program-cmd).
39107 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39108 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39110 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39111 $(test-wrapper-env) to tst-rtld-load-self.sh.
39112 ($(objpfx)order2.out): Use $(test-wrapper).
39113 ($(objpfx)tst-initorder.out): Likewise.
39114 ($(objpfx)tst-initorder2.out): Likewise.
39115 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39116 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39117 (test_wrapper_env): New variable. Use it to run ld.so.
39118 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39119 Use it to run ld.so.
39120 (test_wrapper_env): Likewise.
39121 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39122 $(test-wrapper) to run-iconv-test.sh.
39123 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39124 (ICONV): Use $test_wrapper.
39125 * posix/Makefile ($(objpfx)globtest.out): Pass
39126 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39127 globtest.sh, not $(run-program-prefix).
39128 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39129 (test_wrapper): Likewise.
39130 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39131 set together with run_via_rtld_prefix.
39132 (run_program_prefix): Define in terms of test_wrapper and
39133 run_via_rtld_prefix.
39135 2012-10-24 Roland McGrath <roland@hack.frob.com>
39137 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39138 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39142 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39143 Declare __clock_getres, __clock_gettime, __clock_settime,
39144 __clock_nanosleep, and __clock_getcpuclockid.
39145 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39146 Remove librt_hidden_def (clock_gettime).
39147 * sysdeps/unix/clock_gettime.c: Likewise.
39148 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39149 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39150 * rt/clock_getres.c: Define __clock_getres as an alias.
39151 * sysdeps/posix/clock_getres.c: Likewise.
39152 * rt/clock_settime.c: Define __clock_settime as an alias.
39153 * sysdeps/unix/clock_settime.c: Likewise.
39154 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39155 * sysdeps/unix/clock_nanosleep.c: Likewise.
39156 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39157 * rt/clock-compat.c: New file.
39158 * rt/Makefile (librt-routines): Add clock-compat and move
39159 $(clock-routines) to ...
39160 (routines): ... here, new variable.
39161 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39162 Don't add get_clockfreq here.
39163 * rt/Versions (libc: GLIBC_2.17): New version set.
39164 Add clock_* symbols here.
39165 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39167 (GLIBC_2.17): Add clock_* symbols.
39168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39179 * NEWS: Mention the move.
39181 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39182 Use __open, __read, __close rather than their public counterparts.
39183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39184 (__get_clockfreq_via_cpuinfo): Likewise.
39185 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39186 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39188 * config.h.in (HAVE_IFUNC): New #undef.
39189 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39191 * configure: Regenerated.
39193 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39195 * configure.in: Move READELF check to start of file.
39196 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39197 libc_cv_asm_gnu_indirect_function in the process.
39198 * configure: Regenerated.
39200 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39202 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39203 send the output to /dev/null.
39204 (libc_cv_cc_with_libunwind): Likewise.
39205 (libc_cv_as_noexecstack): Likewise.
39206 * configure: Regenerate.
39208 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39210 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39212 * posix/globtest.sh (TMPDIR): Do not set.
39213 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39214 (testout): Likewise.
39216 2012-10-24 Andreas Jaeger <aj@suse.de>
39218 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39219 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39220 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39221 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39222 posix_fadvise64, posix_fallocate64.
39224 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39225 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39226 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39228 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39230 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39233 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39234 <bits/fcntl-linux.h>.
39235 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39238 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39239 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39240 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39241 [__WORDSIZE != 64]: Likewise.
39243 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39245 * Makeconfig (run-built-tests): New variable.
39246 * Rules [$(cross-compiling) = yes]: Change condition to
39247 [$(run-built-tests) = no].
39248 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39249 to [$(run-built-tests) = yes].
39250 * elf/Makefile [$(cross-compiling) = no]: Likewise
39251 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39252 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39253 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39254 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39255 * io/Makefile [$(cross-compiling) = no]: Likewise.
39256 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39257 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39258 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39259 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39260 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39261 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39262 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39263 * string/Makefile [$(cross-compiling) = no]: Likewise.
39265 * posix/Makefile ($(objpfx)globtest.out): Pass
39266 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39267 $(rtld-installed-name).
39268 * posix/globtest.sh (elf_objpfx): Remove variable.
39269 (rtld_installed_name): Likewise.
39270 (library_path): Likewise.
39271 (run_program_prefix): New variable. Use for running globtest
39274 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39275 Joseph Myers <joseph@codesourcery.com>
39277 * Makeconfig (host-built-program-cmd): New variable.
39278 * elf/Makefile (tst-stackguard1-ARGS): Use
39279 $(host-built-program-cmd).
39280 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39281 (tst-spawn-ARGS): Likewise.
39282 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39284 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39285 Jim Blandy <jimb@codesourcery.com>
39287 * Makeconfig (run-via-rtld-prefix): New variable.
39288 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39289 (built-program-cmd): Likewise.
39291 2012-10-22 Andreas Jaeger <aj@suse.de>
39293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39294 __O_RSYNC if it exists, otherwise to O_SYNC.
39296 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39297 Joseph Myers <joseph@codesourcery.com>
39299 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39301 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39303 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39306 2012-10-22 Andreas Jaeger <aj@suse.de>
39308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39313 bits/fcntl-linux.h.
39315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39316 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39323 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39324 Joseph Myers <joseph@codesourcery.com>
39326 * config.make.in (NM): New variable.
39328 2012-10-21 Andreas Jaeger <aj@suse.de>
39330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39331 definitions and declarations that are provided by
39332 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39334 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39337 * elf/Makefile (tests-static): Add tst-leaks1-static.
39338 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39339 ($(objpfx)tst-leaks1-static): New rule.
39340 ($(objpfx)tst-leaks1-static-mem): Likewise.
39341 (tst-leaks1-static-ENV): New macro.
39342 * elf/dl-open.c (dl_open_worker): Check the main application
39343 only if SHARED is defined.
39344 * elf/tst-leaks1-static.c: New file.
39346 2012-10-20 Andreas Jaeger <aj@suse.de>
39348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39349 generic values for Linux.
39350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39351 and declarations that are provided by <bits/fcntl-linux.h> and
39352 include <bits/fcntl-linux.h>.
39353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39356 2012-10-20 Roland McGrath <roland@hack.frob.com>
39358 * io/fcntl.h: Move include of <bits/types.h> to the top and
39359 include it unconditionally.
39361 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39363 * wcsmbs/Makefile (tests-ifunc): New variable.
39364 (tests): Add $(tests-ifunc).
39365 * wcsmbs/test-wcschr-ifunc.c: New file.
39366 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39367 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39368 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39369 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39370 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39372 * string/Makefile (tests-ifunc): New variable.
39373 (tests): Add $(tests-ifunc).
39374 * string/test-memccpy.c (TEST_NAME): New macro.
39375 * string/test-memchr.c (TEST_NAME): Likewise.
39376 * string/test-memcmp.c (TEST_NAME): Likewise.
39377 * string/test-memcpy.c (TEST_NAME): Likewise.
39378 * string/test-memmem.c (TEST_NAME): Likewise.
39379 * string/test-memmove.c (TEST_NAME): Likewise.
39380 * string/test-memset.c (TEST_NAME): Likewise.
39381 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39382 * string/test-stpcpy.c (TEST_NAME): Likewise.
39383 * string/test-stpncpy.c (TEST_NAME): Likewise.
39384 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39385 * string/test-strcasestr.c (TEST_NAME): Likewise.
39386 * string/test-strcat.c (TEST_NAME): Likewise.
39387 * string/test-strchr.c (TEST_NAME): Likewise.
39388 * string/test-strcmp.c(TEST_NAME): Likewise.
39389 * string/test-strcpy.c (TEST_NAME): Likewise.
39390 * string/test-strcspn.c (TEST_NAME): Likewise.
39391 * string/test-strlen.c (TEST_NAME): Likewise.
39392 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39393 * string/test-strncmp.c (TEST_NAME): Likewise.
39394 * string/test-strncpy.c (TEST_NAME): Likewise.
39395 * string/test-strnlen.c (TEST_NAME): Likewise.
39396 * string/test-strpbrk.c (TEST_NAME): Likewise.
39397 * string/test-strrchr.c (TEST_NAME): Likewise.
39398 * string/test-strspn.c (TEST_NAME): Likewise.
39399 * string/test-strstr.c (TEST_NAME): Likewise.
39400 * string/test-bcopy-ifunc.c: New file.
39401 * string/test-bzero-ifunc.c: Likewise.
39402 * string/test-memccpy-ifunc.c: Likewise.
39403 * string/test-memchr-ifunc.c: Likewise.
39404 * string/test-memcmp-ifunc.c: Likewise.
39405 * string/test-memcpy-ifunc.c: Likewise.
39406 * string/test-memmem-ifunc.c: Likewise.
39407 * string/test-memmove-ifunc.c: Likewise.
39408 * string/test-mempcpy-ifunc.c: Likewise.
39409 * string/test-memset-ifunc.c: Likewise.
39410 * string/test-rawmemchr-ifunc.c: Likewise.
39411 * string/test-stpcpy-ifunc.c: Likewise.
39412 * string/test-stpncpy-ifunc.c: Likewise.
39413 * string/test-strcasecmp-ifunc.c: Likewise.
39414 * string/test-strcasestr-ifunc.c: Likewise.
39415 * string/test-strcat-ifunc.c: Likewise.
39416 * string/test-strchr-ifunc.c: Likewise.
39417 * string/test-strchrnul-ifunc.c: Likewise.
39418 * string/test-strcmp-ifunc.c: Likewise.
39419 * string/test-strcpy-ifunc.c: Likewise.
39420 * string/test-strcspn-ifunc.c: Likewise.
39421 * string/test-strlen-ifunc.c: Likewise.
39422 * string/test-strncasecmp-ifunc.c: Likewise.
39423 * string/test-strncat-ifunc.c: Likewise.
39424 * string/test-strncmp-ifunc.c: Likewise.
39425 * string/test-strncpy-ifunc.c: Likewise.
39426 * string/test-strnlen-ifunc.c: Likewise.
39427 * string/test-strpbrk-ifunc.c: Likewise.
39428 * string/test-strrchr-ifunc.c: Likewise.
39429 * string/test-strspn-ifunc.c: Likewise.
39430 * string/test-strstr-ifunc.c: Likewise.
39432 * debug/Makefile (tests-ifunc): New variable.
39433 (tests): Add $(tests-ifunc).
39434 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39435 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39436 * debug/test-stpcpy_chk-ifunc.c: New file.
39437 * debug/test-strcpy_chk-ifunc.c: Likewise.
39439 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39442 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39443 header is not read in.
39445 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39447 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39448 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39449 directly. Pass built executable to script as
39450 $(built-program-cmd).
39451 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39452 $testprogram without using LD_LIBRARY_PATH and $ldso.
39454 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39455 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39456 $(rtld-installed-name).
39457 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39458 (rtld_installed_name): Likewise.
39459 (library_path): Likewise.
39460 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39462 $(run-program-prefix) to tst-tables.sh.
39463 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39464 it to run tst-table-from and tst-table-to.
39465 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39466 Pass it to tst-table.sh.
39467 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39468 $(run-program-prefix) to tst-gettext.sh.
39469 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39471 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39473 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39474 to run tst-gettext.
39475 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39476 to run tst-gettext2.
39477 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39478 to run tst-translit.
39479 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39480 $(run-program-prefix) to tst-mtrace.sh.
39481 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39483 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39484 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39485 $(rtld-installed-name).
39486 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39487 (rtld_installed_name): Likewise.
39488 (run_program_prefix): New variable. Use it to run wordexp-test.
39490 * Makeconfig (ARCH): Remove all definitions.
39491 (machine): Likewise.
39492 [ARCH]: Remove conditional code.
39493 [!objdir]: Give error.
39494 [!objdir] (objpfx): Remove.
39495 [!objdir] (common-objpfx): Likewise.
39496 [!objdir] (common-objdir): Likewise.
39497 * configure.in (config_makefile): Remove. Hardcode Makefile in
39498 AC_CONFIG_FILES call.
39499 * configure: Regenerated.
39502 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39504 (testout): Likewise.
39506 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39507 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39508 $(rtld-installed-name).
39509 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39510 (rtld_installed_name): Likwise.
39511 (runit): Remove function.
39512 (run_getconf): New variable, Use it for running getconf binary.
39514 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39517 * string/test-memmem.c (check_result): New function.
39518 (do_one_test): Use it.
39519 (check1): New function.
39520 (test_main): Use it.
39522 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39524 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39526 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39528 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39529 (_G_LSEEK64): Likewise.
39530 (_G_MMAP64): Likewise.
39531 (_G_FSTAT64): Likewise.
39532 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39533 (_G_LSEEK64): Likewise.
39534 (_G_MMAP64): Likewise.
39535 (_G_FSTAT64): Likewise.
39536 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39537 unconditional. Call __mmap64 directly.
39538 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39539 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39540 __lseek64 directly.
39541 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39542 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39544 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39545 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39546 __lseek64 directly.
39547 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39548 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39549 __lseek64 directly.
39550 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39551 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39552 __lseek64 directly.
39553 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39554 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39555 __fxstat64 directly.
39556 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39557 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39559 (freopen64) [!_G_OPEN64]: Remove conditional code.
39560 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39562 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39563 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39565 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39566 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39568 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39569 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39571 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39572 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39574 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39575 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39577 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39578 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39580 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39582 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39585 * manual/memory.texi (Malloc Tunable Parameters): Add note
39586 about free list pointers overwriting some perturb bytes.
39587 Wording suggested by Roland McGrath.
39589 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39591 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39592 (lgamma_test): Likewise.
39593 (tgamma_test): Likewise.
39595 2012-10-16 Florian Weimer <fweimer@redhat.com>
39598 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39599 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39601 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39603 * NEWS: Mention BZ #14716.
39604 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39605 when removing AVAILABLE1_USES_J macro.
39607 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39609 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39610 (__bswap_64): __uint64_t for unsigned 64-bit int.
39612 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39614 * include/string.h (memmem): Declare libc hidden alias.
39615 * string/memmem.c (memmem): Define libc hidden alias.
39616 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39617 __read, __close instead of open, read, close.
39619 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39622 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39624 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39625 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39626 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39628 (__rawmemchr_sse2): Likewise.
39629 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39630 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39631 (__strchr_sse2): Likewise.
39632 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39633 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39634 (__strcasecmp_sse2): Likewise.
39635 (__strncasecmp_sse2): Likewise.
39636 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39637 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39638 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39639 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39640 (__strrchr_sse2): Likewise.
39641 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39643 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39644 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39645 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39646 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39647 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39648 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39649 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39650 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39651 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39652 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39653 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39654 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39655 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39656 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39657 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39658 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39659 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39660 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39661 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39662 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39663 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39664 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39665 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39666 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39667 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39669 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39670 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39671 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39672 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39674 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39676 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39677 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39678 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39679 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39681 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39683 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39684 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39685 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39686 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39688 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39689 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39690 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39691 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39692 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39693 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39694 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39695 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39696 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39697 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39698 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39699 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39700 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39701 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39702 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39704 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39705 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39706 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39708 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39709 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39710 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39711 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39712 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39713 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39714 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39715 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39716 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39717 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39718 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39719 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39720 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39721 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39722 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39723 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39724 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39725 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39726 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39727 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39728 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39730 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39731 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39732 * include/ifunc-impl-list.h: New file.
39733 * misc/ifunc-impl-list.c: Likewise.
39734 * misc/Makefile (routines): Add ifunc-impl-list.
39735 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39736 * string/test-string.h: Include <ifunc-impl-list.h>.
39737 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39738 TEST_NAME]: New variables.
39739 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39741 (test_init): Call __libc_ifunc_impl_list to initialize
39742 func_list if TEST_IFUNC and TEST_NAME are defined.
39744 * string/Makefile (strop-tests): Add bcopy and bzero.
39745 * string/test-bcopy.c: New file.
39746 * string/test-bzero.c: Likewise.
39747 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39749 * string/test-memset.c: Support bzero test if TEST_BZERO is
39751 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39753 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39755 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39758 2012-10-10 Joseph Myers <joseph@codesourcery.com>
39760 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39761 * configure: Regenerated.
39763 * Makeconfig (+link-static-before-libc): Don't include
39764 $(link-static-libc).
39766 * libio/libio.h (_IO_pos_t): Remove.
39768 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39770 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39773 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39775 * crypt/crypt-entry.c: Include fips-private.h.
39776 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39777 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39778 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39779 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39781 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39783 * crypt/crypt-private.h: Include stdbool.h.
39784 (_ufc_setup_salt_r): Return bool.
39785 * crypt/crypt-entry.c: Include errno.h.
39786 (__crypt_r): Return NULL with EINVAL for bad salt.
39787 * crypt/crypt_util.c (bad_for_salt): New.
39788 (_ufc_setup_salt_r): Check that salt is long enough and within
39789 the specified alphabet.
39790 * crypt/badsalttest.c: New file.
39791 * crypt/Makefile (tests): Add it.
39792 ($(objpfx)badsalttest): New.
39794 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39796 * NEWS: Add entry for BZ #14602.
39798 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39800 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39802 * math/libm-test.inc: Update comment listing what functions and
39804 (isgreater_test): New function.
39805 (isgreaterequal_test): Likewise.
39806 (isless_test): Likewise.
39807 (islessequal_test): Likewise.
39808 (islessgreater_test): Likewise.
39809 (isunordered_test): Likewise.
39810 (main): Call the new functions.
39812 2012-10-09 Roland McGrath <roland@hack.frob.com>
39814 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39815 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39816 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39817 * sysdeps/i386/configure: Regenerated.
39818 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39819 * sysdeps/mach/configure: Regenerated.
39820 * sysdeps/mach/hurd/configure: Regenerated.
39821 * sysdeps/powerpc/configure: Regenerated.
39822 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39823 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39824 * sysdeps/s390/s390-32/configure: Regenerated.
39825 * sysdeps/s390/s390-64/configure: Regenerated.
39826 * sysdeps/sh/configure: Regenerated.
39827 * sysdeps/sparc/configure: Regenerated.
39828 * sysdeps/unix/sysv/linux/configure: Regenerated.
39829 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39830 * sysdeps/x86_64/configure: Regenerated.
39832 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39833 defined. Don't check if MAP is NULL.
39835 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39837 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39838 (_G_stat64): Likewise.
39839 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39840 (_G_stat64): Likewise.
39841 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39842 instead of struct _G_stat64.
39843 * libio/fileops.c (mmap_remap_check): Likewise.
39844 (decide_maybe_mmap): Likewise.
39845 (_IO_new_file_seekoff): Likewise.
39846 (_IO_file_stat): Likewise.
39847 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39849 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39850 instead of struct _G_stat64.
39851 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39853 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39856 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39858 (CHECK_EOL): New macro.
39859 (two_way_short_needle): Check beginning of haystack for EOL. Use
39861 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39862 Replace with CHECK_EOL.
39863 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39864 Replace with CHECK_EOL.
39866 2012-10-08 Joseph Myers <joseph@codesourcery.com>
39868 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39870 * math/libm-test.inc: Update comment listing what functions and
39872 (finite_test): New function.
39873 (isinf_test): Likewise.
39874 (isnan_test): Likewise.
39875 (fpclassify_test): Test subnormal input.
39876 (isfinite_test): Likewise.
39877 (isnormal_test): Likewise.
39878 (main): Call the new functions.
39880 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39883 * Makerules (%.dynsym): Force C locale when running
39884 $(OBJDUMP) --dynamic-syms.
39886 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39888 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39891 2012-10-06 David S. Miller <davem@davemloft.net>
39893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39894 upper 32-bits of the length value in %o2 since we use branch-on-register
39895 tests which consider the entire 64-bit register.
39897 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39899 * string/test-strstr.c (check2): Add a test for page boundary.
39901 2012-10-05 David S. Miller <davem@davemloft.net>
39903 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39904 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39906 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39908 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39909 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39910 and bzero when HWCAP_SPARC_CRYPTO is present.
39912 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39915 * string/test-strstr.c (check2): New function.
39916 (test_main): Call check2.
39918 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39920 * string/bug-strcasestr1.c (do_test): Moved to ...
39921 * string/test-strcasestr.c (check1): Here. New function.
39922 (do_one_test): Break out result checking code into ...
39923 (check_result): This. New function.
39924 (do_one_test): Call check_result.
39925 (test_main): Call check1.
39926 * string/bug-strchr1.c (do_test): Moved to ...
39927 * string/test-strchr.c (check1): Here. New function.
39928 (do_one_test): Break out result checking code into ...
39929 (check_result): This. New function.
39930 (do_one_test): Call check_result.
39931 (test_main): Call check1.
39932 * string/bug-strstr1.c (main): Moved to ...
39933 * string/test-strstr.c (check1): Here. New function.
39934 (do_one_test): Break out result checking code into ...
39935 (check_result): This. New function.
39936 (do_one_test): Call check_result.
39937 (test_main): Call check1.
39938 * string/bug-strcasestr1.c: Removed.
39939 * string/bug-strchr1.c: Likewise.
39940 * string/bug-strstr1.c: Likewise.
39942 * elf/Makefile (dl-routines): Add hwcaps.
39943 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39944 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39945 (_dl_important_hwcaps): Moved to ...
39946 * elf/dl-hwcaps.c: Here. New file.
39947 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39950 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39951 if IS_IN_rtld isn't defined.
39953 * elf/dl-support.c (_dl_sysinfo_map): New.
39954 Include "get-dynamic-info.h" and "setup-vdso.h".
39955 (_dl_non_dynamic_init): Call setup_vdso.
39956 * elf/dynamic-link.h: Don't include <assert.h>.
39957 (elf_get_dynamic_info): Moved to ...
39958 * elf/get-dynamic-info.h: Here. New file.
39959 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39960 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39961 * elf/setup-vdso.h: Here. New file.
39962 * elf/rtld.c: Include "setup-vdso.h".
39963 (dl_main): Call setup_vdso.
39965 2012-10-05 Joseph Myers <joseph@codesourcery.com>
39967 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39968 creal in comment listing functions tested. List finite, isinf,
39969 isnan, isless, islessequal, isgreater, isgreaterequal,
39970 islessgreater, isunordered, lgamma_r and pow10 as functions and
39971 macros not tested. Mention which functions not tested are aliases
39972 for other functions. Fix typo. Note that signs of NaNs are not
39975 * scripts/config.guess: Update from config.git.
39976 * scripts/config.sub: Likewise.
39978 2012-10-04 Roland McGrath <roland@hack.frob.com>
39980 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39981 * misc/madvise.c (madvise): Renamed to __madvise.
39982 Make madvise a weak alias.
39983 * include/sys/mman.h: Declare __madvise.
39984 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39985 * sysdeps/unix/syscalls.list
39986 (madvise): Make __madvise the strong name, and madvise a weak alias.
39987 * sysdeps/unix/sysv/linux/syscalls.list
39988 (madvise, mmap): Remove redundant entries.
39989 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39990 * malloc/malloc.c (mtrim): Likewise.
39991 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39993 2012-10-03 Roland McGrath <roland@hack.frob.com>
39995 * sysdeps/mach/hurd/dl-cache.c: File removed.
39996 * config.h.in (USE_LDCONFIG): New #undef.
39997 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39998 * configure: Regenerated.
39999 * elf/Makefile (dl-routines): Add dl-cache only under
40000 [$(use-ldconfig) = yes].
40001 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40002 cache on [USE_LDCONFIG].
40003 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40005 * elf/rtld.c (dl_main): Likewise.
40007 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40009 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40010 _SC_LEVEL4_CACHE_LINESIZE.
40012 2012-10-03 Roland McGrath <roland@hack.frob.com>
40014 * sysdeps/unix/bsd/confstr.h: File removed.
40016 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40018 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40021 2012-10-02 Roland McGrath <roland@hack.frob.com>
40023 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40024 Make 'mapoff' field ElfW(Off) rather than off_t.
40026 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40028 * nscd/Makefile: Remove nscd-cflags and all its users.
40029 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40030 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40033 * malloc.c (malloc_printerr): Clarify error message.
40035 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40039 Set bit_FMA_Usable if FMA is supported.
40040 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40042 (bit_FMA4_Usable): Updated.
40043 (index_FMA_Usable): New macro.
40044 (CPUID_FMA): Likewise
40045 (HAS_FMA): Defined with bit_FMA_Usable.
40047 2012-10-01 Roland McGrath <roland@hack.frob.com>
40049 * bits/types.h (__swblk_t): Type removed.
40050 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40051 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40053 (__SWBLK_T_TYPE): Likewise.
40054 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40055 (__SWBLK_T_TYPE): Likewise.
40056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40057 (__SWBLK_T_TYPE): Likewise.
40058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40059 (__SWBLK_T_TYPE): Likewise.
40061 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40062 Honza Horak <hhorak@redhat.com>
40064 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40065 (xdr_mapname): Use YPMAXMAP as maxsize.
40066 (xdr_peername): Use YPMAXPEER as maxsize.
40067 (xdr_keydat): Use YPAXRECORD as maxsize.
40068 (xdr_valdat): Use YPMAXRECORD as maxsize.
40070 2012-10-01 Roland McGrath <roland@hack.frob.com>
40072 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40074 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40075 * csu/init-first.c: ... here.
40076 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40077 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40078 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40079 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40080 * sysdeps/i386/init-first.c: File removed.
40081 * sysdeps/sh/init-first.c: File removed.
40083 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40087 if x * y might underflow to zero and z is zero.
40088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40090 * math/libm-test.inc (min_subnorm_value): New variable.
40091 (fma_test): Add more tests.
40092 (fma_test_towardzero): Likewise.
40093 (fma_test_downward): Likewise
40094 (fma_test_upward): Likewise.
40095 (initialize): Set min_subnorm_value.
40097 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40103 mode for addition resulting in exact zero.
40104 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40105 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40107 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40109 * math/libm-test.inc (fma_test): Add more tests.
40110 (fma_test_towardzero): New function.
40111 (fma_test_downward): Likewise.
40112 (fma_test_upward): Likewise.
40113 (main): Call the new functions.
40115 2012-09-28 David S. Miller <davem@davemloft.net>
40117 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40119 2012-09-28 Roland McGrath <roland@hack.frob.com>
40121 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40122 instead of SIGALRM.
40124 * sysdeps/gnu/_G_config.h: Moved to ...
40125 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40126 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40127 * sysdeps/generic/_G_config.h: ... here.
40129 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40131 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40133 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40134 Conditionalize target on [libnss_test1.so-version].
40136 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40138 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40139 (elfobjdir): Move out of conditionals.
40141 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40142 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40143 (__nss_lookup_function): Conditionalize label remove_from_tree on
40144 [!DO_STATIC_NSS || SHARED], matching its only use.
40146 2012-09-28 David S. Miller <davem@davemloft.net>
40148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40149 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40151 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40153 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40155 when HWCAP_SPARC_CRYPTO is present.
40157 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40159 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40161 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40164 * stdio-common/vfprintf.c (process_string_arg): Revert
40167 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40169 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40171 * stdio-common/tst-sprintf.c: Include <locale.h>
40172 (main): Test sprintf's handling of incomplete multibyte
40175 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40177 * elf/dl-runtime.c (VERSYMIDX): Removed.
40178 * elf/dl-version.c (VERSYMIDX): Likewise.
40179 * elf/do-rel.h (VERSYMIDX): Likewise.
40180 (VALIDX): Likewise.
40181 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40182 * elf/rtld.c (VALIDX): Likewise.
40183 (ADDRIDX): Likewise.
40184 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40185 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40186 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40187 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40188 (VALIDX): Likewise.
40189 (ADDRIDX): Likewise.
40191 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40193 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40195 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40198 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40200 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40201 addresses are in the same scope as 192.0.2/24.
40202 * posix/gai.conf: Document new scope table defaults.
40204 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40207 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40208 for ftell. Compute offsets from write pointers instead.
40209 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40211 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40214 * libio/Makefile (tests): New test case tst-fseek.
40215 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40216 combination works in wide mode.
40217 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40218 state when the external buffer state changes.
40220 2012-09-27 David S. Miller <davem@davemloft.net>
40223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40224 pass reloc->r_addend in as the 'high' argument to
40225 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40229 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40231 * rt/tst-aio2.c: Include <pthread.h>.
40232 * rt/tst-aio3.c: Likewise.
40234 2012-09-27 Steve Ellcey <sellcey@mips.com>
40236 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40238 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40240 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40241 contents on [SHARED].
40243 2012-09-26 Marek Polacek <polacek@redhat.com>
40247 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40248 for C++ and GCC <4.3 as well as for non GCC compilers.
40250 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40254 2012-09-25 Roland McGrath <roland@hack.frob.com>
40256 * Makefile.in (all, install): Declare with .PHONY.
40257 Reported by Michael Hope <michael.hope@linaro.org>.
40259 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40261 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40262 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40264 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40266 (sydep_routines): Add the new and the internal functions.
40267 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40268 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40270 (GLIBC_2.17): Add the new function.
40271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40272 (GLIBC_2.17): Likewise.
40273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40274 (GLIBC_2.17): Likewise.
40275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40276 (GLIBC_2.17): Likewise.
40277 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40279 2012-09-25 Alan Modra <amodra@gmail.com>
40281 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40282 Add release barrier before setting once_control to say
40283 initialisation is done. Add hints on lwarx. Use macro in
40285 (clear_once_control): Add release barrier.
40287 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40290 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40292 * math/s_clog10.c (__clog10): Likewise.
40293 * math/s_clog10f.c (__clog10f): Likewise.
40294 * math/s_clog10l.c (__clog10l): Likewise.
40295 * math/s_clogf.c (__clogf): Likewise.
40296 * math/s_clogl.c (__clogl): Likewise.
40297 * math/Makefile (libm-calls): Add x2y2m1.
40298 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40299 (__x2y2m1): Likewise.
40300 (__x2y2m1l): Likewise.
40301 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40302 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40306 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40307 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40308 * sysdeps/i386/fpu/libm-test-ulps: Update.
40309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40312 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40313 int as type of variable DEPTH.
40314 (glob): Use size_t instead of int as type of variables NEWCOUNT
40317 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40319 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40320 Add s_sincosf-sse2.
40321 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40322 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40323 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40324 macros for using routine as __sincosf_ia32.
40325 Use macro for function declaration and weak_alias.
40326 * sysdeps/i386/fpu/libm-test-ulps: Update.
40328 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40331 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40332 subnormal argument.
40333 * math/s_cexpf.c (__cexpf): Likewise.
40334 * math/s_csinf.c (__csinf): Likewise.
40335 * math/s_csinhf.c (__csinhf): Likewise.
40336 * math/s_ctanf.c (__ctanf): Likewise.
40337 * math/s_ctanhf.c (__ctanhf): Likewise.
40338 * math/s_ccosh.c (__ccoshf): Likewise.
40339 * math/s_cexp.c (__cexpl): Likewise.
40340 * math/s_csin.c (__csin): Likewise.
40341 * math/s_csinh.c (__csinh): Likewise.
40342 * math/s_ctan.c (__ctan): Likewise.
40343 * math/s_ctanh.c (ctanh): Likewise.
40344 * math/s_ccoshl.c (__ccoshl): Likewise.
40345 * math/s_cexpl.c (__cexpl): Likewise.
40346 * math/s_csinl.c (__csinl): Likewise.
40347 * math/s_csinhl.c (__csinhl): Likewise.
40348 * math/s_ctanl.c (__ctanl): Likewise.
40349 * math/s_ctanhl.c (__ctanhl): Likewise.
40351 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40353 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40354 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40355 (_IO_off_t): Define to __off_t, not _G_off_t.
40356 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40357 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40358 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40359 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40360 type of __dummy and __dummy2 fields.
40361 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40362 (_G_ssize_t): Likewise.
40363 (_G_off_t): Likewise.
40364 (_G_pid_t): Likewise.
40365 (_G_uid_t): Likewise.
40366 (_G_wchar_t): Likewise.
40367 (_G_wint_t): Likewise.
40368 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40369 (_G_ssize_t): Likewise.
40370 (_G_off_t): Likewise.
40371 (_G_pid_t): Likewise.
40372 (_G_uid_t): Likewise.
40373 (_G_wchar_t): Likewise.
40374 (_G_wint_t): Likewise.
40375 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40376 (_G_ssize_t): Likewise.
40377 (_G_off_t): Likewise.
40378 (_G_pid_t): Likewise.
40379 (_G_uid_t): Likewise.
40380 (_G_wchar_t): Likewise.
40381 (_G_wint_t): Likewise.
40383 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40385 * malloc/arena.c: Include malloc-sysdep.h.
40386 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40387 is sufficient to shrink the heap or an unmap is needed.
40388 * sysdeps/generic/malloc-sysdep.h: New file. Define
40389 new function check_may_shrink_heap.
40390 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40391 new function check_may_shrink_heap.
40393 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40395 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40398 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40400 * catgets/test-gencat.sh: Add "set -e".
40401 * elf/tst-pathopt.sh: Likewise.
40402 * grp/tst_fgetgrent.sh: Likewise.
40403 * iconvdata/run-iconv-test.sh: Likewise.
40404 * intl/tst-gettext.sh: Likewise.
40405 * intl/tst-gettext2.sh: Likewise.
40406 * intl/tst-gettext4.sh: Likewise.
40407 * intl/tst-gettext6.sh: Likewise.
40408 * intl/tst-translit.sh: Likewise.
40409 * io/ftwtest-sh: Likewise.
40410 * libio/test-freopen.sh: Likewise.
40411 * malloc/tst-mtrace.sh: Likewise.
40412 * posix/globtest.sh: Likewise.
40413 * posix/tst-getconf.sh: Likewise.
40414 * posix/wordexp-tst.sh: Likewise.
40415 * stdio-common/tst-printf.sh: Likewise.
40416 * stdio-common/tst-unbputc.sh: Likewise.
40417 * stdlib/tst-fmtmsg.sh: Likewise.
40418 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40419 * catgets/Makefile: Do not specify -e option when running
40420 testsuite shell scripts.
40421 * elf/Makefile: Likewise.
40422 * grp/Makefile: Likewise.
40423 * iconvdata/Makefile: Likewise.
40424 * intl/Makefile: Likewise.
40425 * io/Makefile: Likewise.
40426 * libio/Makefile: Likewise.
40427 * malloc/Makefile: Likewise.
40428 * posix/Makefile: Likewise.
40429 * stdio-common/Makefile: Likewise.
40430 * stdlib/Makefile: Likewise.
40431 * sysdeps/x86_64/Makefile: Likewise.
40433 * io/ftwtest-sh: Add copyright header.
40434 * posix/globtest.sh: Likewise.
40435 * posix/tst-getconf.sh: Likewise.
40436 * posix/wordexp-tst.sh: Likewise.
40437 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40439 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40442 * Makeconfig (+link): Defined as $(+link-static) if
40443 $(build-shared) isn't yes.
40444 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40446 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40448 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40451 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40452 new chunk size with MALLOC_ALIGN_MASK.
40454 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40457 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40459 (__printf_fphex): Determine rounding using get_rounding_mode and
40461 * stdio-common/tst-printf-round.c (struct hex_test): New
40463 (hex_tests): New variable.
40464 (test_hex_in_one_mode): New function.
40465 (do_test): Also run tests for hex float output.
40467 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40469 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40470 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40471 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40472 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40473 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40474 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40475 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40478 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40480 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40481 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40482 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40483 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40485 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40488 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40490 * elf/tst-rtld-load-self.sh: New test.
40491 * elf/Makefile: Run it.
40493 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40495 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40496 (tst-writev-ENV): Remove.
40497 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40499 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40501 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40503 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40505 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40507 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40509 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40510 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40511 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40514 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40517 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40518 * config.make.in (have-cpp-asm-debuginfo): Removed.
40519 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40520 * configure: Regenerated.
40522 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40525 * stdio-common/printf_fp.c: Include <stdbool.h> and
40527 (___printf_fp): Determine rounding using get_rounding_mode and
40529 * stdio-common/tst-printf-round.c: New file.
40530 * stdio-common/Makefile (tests): Add tst-printf-round.
40531 (link-libm): New variable.
40532 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40534 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40537 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40538 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40540 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40543 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40545 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40546 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40547 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40548 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40550 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40553 * include/rounding-mode.h: New file.
40554 * sysdeps/generic/get-rounding-mode.h: Likewise.
40555 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40556 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40557 (MAX_VALUE): New macro.
40558 (MIN_VALUE): Likewise.
40559 (overflow_value): New function.
40560 (underflow_value): Likewise.
40561 (round_and_return): Use overflow_value and underflow_value to
40562 determine return values in overflow and underflow cases. Use
40563 round_away to determine rounding depending on rounding mode.
40564 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40565 determine return values in overflow and underflow cases.
40566 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40567 (struct test_results): New structure.
40568 (struct test): Use struct test_results to store expected results
40569 for all rounding modes.
40570 (TEST): Include expected results for all rounding modes.
40571 (test_in_one_mode): New function.
40572 (do_test): Use test_in_one_mode to compute and check results.
40573 Check results for all rounding modes.
40574 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40577 2012-12-09 Allan McRae <allan@archlinux.org>
40579 * sysdeps/i386/fpu/libm-test-ulps: Update
40581 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40583 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40584 (_G_int32_t): Likewise.
40585 (_G_uint16_t): Likewise.
40586 (_G_uint32_t): Likewise.
40587 (_G_HAVE_BOOL): Likewise.
40588 (_G_HAVE_ATEXIT): Likewise.
40589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40590 (_G_HAVE_IO_FILE_OPEN): Likewise.
40591 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40592 (_G_int32_t): Likewise.
40593 (_G_uint16_t): Likewise.
40594 (_G_uint32_t): Likewise.
40595 (_G_HAVE_BOOL): Likewise.
40596 (_G_HAVE_ATEXIT): Likewise.
40597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40598 (_G_HAVE_IO_FILE_OPEN): Likewise.
40599 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40600 (_G_int32_t): Likewise.
40601 (_G_uint16_t): Likewise.
40602 (_G_uint32_t): Likewise.
40603 (_G_HAVE_BOOL): Likewise.
40604 (_G_HAVE_ATEXIT): Likewise.
40605 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40606 (_G_HAVE_IO_FILE_OPEN): Likewise.
40608 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40610 * csu/libc-tls.c: Update copyright years.
40612 2012-09-10 Joseph Myers <joseph@codesourcery.com>
40614 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40615 [!_G_USING_THUNKS]: Remove conditional code.
40616 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40617 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40619 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40620 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40621 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40622 (_G_VTABLE_LABEL_PREFIX): Likewise.
40623 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40624 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40626 (_G_VTABLE_LABEL_PREFIX): Likewise.
40627 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40628 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40629 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40630 (_G_VTABLE_LABEL_PREFIX): Likewise.
40631 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40633 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40635 * libio/Makefile: Include ../Makeconfig before tests.
40636 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40637 only if $(build-shared) is yes.
40639 * iconv/gconv_db.c: Update copyright years.
40641 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40643 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40644 unwind info if defined PIC. Fix special cases description.
40645 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40647 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40649 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40651 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40653 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40655 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40658 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40659 (LDLIBS-tst-chk4): This.
40660 (LDFLAGS-tst-chk5): Renamed to ...
40661 (LDLIBS-tst-chk5): This.
40662 (LDFLAGS-tst-chk6): Renamed to ...
40663 (LDLIBS-tst-chk6): This.
40664 (LDFLAGS-tst-lfschk4): Renamed to ...
40665 (LDLIBS-tst-lfschk4): This.
40666 (LDFLAGS-tst-lfschk5): Renamed to ...
40667 (LDLIBS-tst-lfschk5): This.
40668 (LDFLAGS-tst-lfschk6): Renamed to ...
40669 (LDLIBS-tst-lfschk6): This.
40671 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40672 on $(common-objpfx)soversions.mk.
40674 2012-09-07 Joseph Myers <joseph@codesourcery.com>
40677 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40680 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40682 * malloc/arena.c (arena_get_retry): New function that gets
40683 another arena for the caller to try its request on.
40684 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40685 current arena cannot fulfill the request.
40686 (__libc_memalign): Likewise.
40687 (__libc_memalign): Likewise.
40688 (__libc_pvalloc): Likewise.
40689 (__libc_calloc): Likewise.
40691 2012-09-05 John Tobey <john.tobey@gmail.com>
40694 * manual/arith.texi (Operations on Complex): Fix description
40695 of carg branch cut.
40697 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40700 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40704 * manual/memory.texi (Memory): Make order of menu items match
40707 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40709 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40710 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40711 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40713 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40715 * csu/libc-tls.c (static_dtv): Renamed to ...
40716 (_dl_static_dtv): This. Make it global.
40717 (_dl_initial_dtv): Removed.
40718 (__libc_setup_tls): Updated.
40719 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40720 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40723 2012-09-06 Petr Machata <pmachata@redhat.com>
40725 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40726 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40727 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40728 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40730 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40733 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40734 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40737 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40740 * Makeconfig (link-static-before-libc): Replace $(+prector)
40742 (link-static-after-libc): Replace $(+postctor) with
40744 (link-bounded): Replace $(+prector)/$(+postctor) with
40745 $(+prectorT)/$(+postctorT).
40746 (+prectorT): New macro.
40747 (+postctorT): Likewise.
40749 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40751 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40752 (round_str): Handle values above the maximum for IBM long double
40754 * stdlib/tst-strtod-round.c (tests): Regenerated.
40756 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40758 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40760 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40761 zarch_nohighgprs around the zarch optimized routines.
40762 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40763 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40767 2012-09-05 David S. Miller <davem@davemloft.net>
40769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40771 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40772 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40773 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40774 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40777 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40779 * malloc/arena.c: Fold copyright years.
40780 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40782 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40784 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40786 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40788 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40790 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40792 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40793 change internal state upon failure.
40795 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40797 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40798 * malloc/memusage.c (mmap): Likewise.
40799 (mmap64, mremap): Likewise. Adjust name in comment.
40801 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40803 * libio/fileops.c: Fix typos in comments.
40804 * libio/oldfileops.c: Likewise.
40805 * libio/wfileops.c: Likewise.
40807 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40810 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40811 (tst-malloc-usable-ENV): Set environment for test case.
40812 * malloc/hooks.c (malloc_check_get_size): New function to get
40814 * malloc/malloc.c (musable): Use malloc_check_get_size.
40815 * malloc/tst-malloc-usable.c: New test case.
40817 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40819 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40821 2012-09-05 Allan McRae <allan@archlinux.org>
40824 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40825 determine header location.
40826 * configure: Regenerated.
40828 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40830 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40832 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40833 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40835 (test): Regenerate.
40837 2012-09-04 David S. Miller <davem@davemloft.net>
40839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40841 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40843 2012-09-04 Florian Weimer <fweimer@redhat.com>
40845 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40848 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40850 2012-09-04 Joseph Myers <joseph@codesourcery.com>
40853 * libio/iogetdelim.c: Include <limits.h>.
40854 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40855 + len + 1 would overflow.
40857 2012-09-03 Andreas Jaeger <aj@suse.de>
40859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40860 * sysdeps/i386/fpu/libm-test-ulps: Update.
40862 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40864 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40865 Add s_sinf-sse2, s_conf-sse2.
40867 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40868 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40869 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40870 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40872 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40873 for using routine as __sinf_ia32.
40874 Use macro for function declaration and weak_alias.
40875 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40876 for using routine as __cosf_ia32.
40877 Use macro for function declaration and weak_alias.
40879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40880 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40882 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40883 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40886 * math/libm-test.inc (cos_test): Add more test cases.
40887 (sin_test): Likewise.
40888 (sincos_test): Likewise.
40890 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40893 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40897 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40900 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40901 first element of the GOT.
40902 (elf_machine_load_address): Return the difference between
40903 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40905 2012-09-01 Allan McRae <allan@archlinux.org>
40908 * configure.in (AWK): Require gawk version 3.0 or later.
40909 * configure: Regenerated.
40911 2012-09-01 Joseph Myers <joseph@codesourcery.com>
40913 * sysdeps/unix/sysv/linux/kernel-features.h
40914 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40915 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40916 [__NR_clock_getres]: Make code unconditional.
40917 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40918 (clock_getcpuclockid): Remove code left unreachable by removal of
40920 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40921 code unconditional.
40922 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40924 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40925 Make code unconditional.
40926 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40927 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40928 * sysdeps/unix/sysv/linux/clock_settime.c
40929 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40931 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40932 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40934 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40937 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40938 scripts/test-installation.pl.
40940 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40941 and $ld_so_version if it is set.
40943 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40946 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40947 failure if reading from procfs failed.
40948 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40950 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40952 * sysdeps/unix/sysv/linux/kernel-features.h
40953 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40954 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40955 Remove conditional code.
40956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40957 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40958 Remove conditional code.
40959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40960 * sysdeps/unix/sysv/linux/i386/fxstat.c
40961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40963 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40964 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40966 * sysdeps/unix/sysv/linux/i386/lxstat.c
40967 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40969 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40970 Remove conditional code.
40971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40972 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40973 Remove conditional code.
40974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40975 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40976 <kernel-features.h>.
40977 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40979 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40980 Remove conditional code.
40981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40982 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40983 Remove conditional.
40985 2012-08-27 Mike Frysinger <vapier@gentoo.org>
40988 * NEWS: Add fixed bug number.
40990 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40993 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40994 underflowing exponent in case of negative sign.
40995 * stdlib/tst-strtod-round-data: Add more tests.
40996 * stdlib/tst-strtod-round.c (tests): Regenerated.
40999 * stdlib/strtod_l.c (NDIG): Remove.
41000 (HEXNDIG): Likewise.
41001 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41002 smallest representable value.
41003 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41004 lie within an exact representation of 1/2 ulp of the result.
41005 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41007 (TENS_P9_IDX): Define unconditionally.
41008 (TENS_P9_SIZE): Likewise.
41009 (TENS_P10_IDX): Likewise.
41010 (TENS_P10_SIZE): Likewise.
41011 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41012 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41013 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41014 entries for 10^2^13 and 10^2^14.
41015 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41016 (TENS_P13_IDX): Define.
41017 (TENS_P13_SIZE): Likewise.
41018 (TENS_P14_IDX): Likewise.
41019 (TENS_P14_SIZE): Likewise.
41020 (_fpioconst_pow10): Change array size to
41021 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41023 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41024 1024]: Add entries for 10^2^13 and 10^2^14.
41025 [LAST_POW10 > _LAST_POW10]: Remove #error.
41026 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41027 (_fpioconst_pow10): Change array size to
41028 FPIOCONST_POW10_ARRAY_SIZE.
41029 * stdlib/gen-fpioconst.c: New file.
41030 * stdlib/gen-tst-strtod-round.c: Likewise.
41031 * stdlib/tst-strtod-round-data: Likewise.
41032 * stdlib/tst-strtod-round.c: Likewise.
41033 * stdlib/Makefile (tests): Add tst-strtod-round.
41036 * stdlib/strtod_l.c: Include <stdint.h>.
41037 (NDEBUG): Do not define.
41038 (round_and_return): Change EXPONENT parameter to type intmax_t.
41039 Rearrange calculations to avoid internal overflow possibilities.
41040 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41041 Rearrange calculations to avoid internal overflow possibilities.
41042 Assert that number fits inside MPNSIZE limbs.
41043 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41044 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41045 calculations and add assertions to avoid internal overflow
41046 possibilities. Add casts to avoid signed/unsigned operations.
41047 * stdlib/tst-strtod-overflow.c: New file.
41048 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41050 2012-08-25 Marek Polacek <polacek@redhat.com>
41052 * time/time.h: Fix some typos in comments.
41054 2012-08-23 Roland McGrath <roland@hack.frob.com>
41056 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41057 * posix/tst-rfc3484-2.c: Likewise.
41058 * posix/tst-rfc3484-3.c: Likewise.
41060 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41062 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41063 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41065 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41067 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41068 #include of fxstatat64.c.
41070 2012-08-22 Roland McGrath <roland@hack.frob.com>
41072 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41073 * shadow/getspent_r.c: Likewise.
41074 * shadow/getspnam.c: Likewise.
41075 * shadow/getspnam_r.c: Likewise.
41076 * gshadow/getsgent.c: Likewise.
41077 * gshadow/getsgent_r.c: Likewise.
41078 * gshadow/getsgnam.c: Likewise.
41079 * gshadow/getsgnam_r.c: Likewise.
41080 * inet/getnetbyad.c: Likewise.
41081 * inet/getnetbyad_r.c: Likewise.
41082 * inet/getnetbynm.c: Likewise.
41083 * inet/getnetbynm_r.c: Likewise.
41084 * inet/getnetent.c: Likewise.
41085 * inet/getnetent_r.c: Likewise.
41086 * inet/getproto.c: Likewise.
41087 * inet/getproto_r.c: Likewise.
41088 * inet/getprtent.c: Likewise.
41089 * inet/getprtent_r.c: Likewise.
41090 * inet/getprtname.c: Likewise.
41091 * inet/getprtname_r.c: Likewise.
41092 * inet/getrpcbyname.c: Likewise.
41093 * inet/getrpcbyname_r.c: Likewise.
41094 * inet/getrpcbynumber.c: Likewise.
41095 * inet/getrpcbynumber_r.c: Likewise.
41096 * inet/getrpcent.c: Likewise.
41097 * inet/getrpcent_r.c: Likewise.
41098 * inet/getaliasent.c: Likewise.
41099 * inet/getaliasent_r.c: Likewise.
41100 * inet/getaliasname.c: Likewise.
41101 * inet/getaliasname_r.c: Likewise.
41102 * nscd/getgrgid_r.c: Likewise.
41103 * nscd/getgrnam_r.c: Likewise.
41104 * nscd/gethstbyad_r.c: Likewise.
41105 * nscd/gethstbynm3_r.c: Likewise.
41106 * nscd/getpwnam_r.c: Likewise.
41107 * nscd/getpwuid_r.c: Likewise.
41108 * nscd/getsrvbynm_r.c: Likewise.
41109 * nscd/getsrvbypt_r.c: Likewise.
41110 * nscd/gai.c: Likewise.
41112 * configure.in (build_nscd): New substituted variable, set
41113 by --disable-build-nscd and defaults to $use_nscd.
41114 * configure: Regenerated.
41115 * config.make.in (build-nscd): New substituted variable.
41116 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41117 Change conditional to require [$(build-nscd) = yes] as well.
41118 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41121 * configure.in (use_nscd): New substituted variable, set by
41122 --disable-nscd. If enabled, define USE_NSCD.
41123 * configure: Regenerated.
41124 * config.h.in: Add USE_NSCD.
41125 * config.make.in (use-nscd): New substituted variable.
41126 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41127 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41128 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41129 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41130 (CFLAGS-getgrnam_r.c): Likewise.
41131 (CFLAGS-initgroups.c): Likewise.
41132 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41133 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41135 * inet/getnetgrent_r.c
41136 (nscd_setnetgrent): New function, broken out of ...
41137 (setnetgrent): ... here. Call it.
41138 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41139 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41140 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41141 * nscd/Makefile (routines, aux): Move definitions after include of
41142 Makeconfig. Conditionalize on [$(use-nscd) != no].
41143 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41144 Conditionalize on [USE_NSCD].
41145 (is_nscd, nscd_init_cb): Likewise.
41146 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41147 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41148 * nss/nss_db/db-init.c: Likewise.
41149 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41151 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41152 (make_request): Use it.
41153 (cache_valid_p): New function.
41154 (__check_pf): Use it.
41155 * NEWS: Add item for --disable-nscd.
41157 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41159 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41160 to support sed >= 4.2.1-20-ga9bf076.
41161 * configure: Regenerated.
41163 2012-08-22 Roland McGrath <roland@hack.frob.com>
41165 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41166 Conditionalize whole body on [IREL].
41168 2012-08-22 Jeff Law <law@redhat.com>
41171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41172 if the family is PF_UNSPEC.
41174 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41176 * Makerules (lib-version): Rename from V.
41177 (install-lib-nosubdir): Change V to lib-version.
41179 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41182 * powerpc32/power6/wcschr.c: New file.
41183 * powerpc32/power6/wcscpy.c: New file.
41184 * powerpc32/power6/wcsrchr.c: New file.
41185 * powerpc64/power6/wcschr.c: New file.
41186 * powerpc64/power6/wcscpy.c: New file.
41187 * powerpc64/power6/wcsrchr.c: New file.
41189 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41191 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41192 (two_way_short_needle): Use it.
41193 * string/strstr.c (AVAILABLE1_USES_J): Define.
41194 * string/strcasestr.c: Likewise.
41196 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41198 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41201 * NEWS: Add an entry.
41202 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41203 define their defaults.
41204 (two_way_short_needle): Detect end-of-string on-the-fly.
41205 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41206 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41207 * string/bug-strcasestr1.c: New test.
41208 * string/Makefile: Run it.
41210 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41213 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41214 the first character.
41216 2012-08-21 Roland McGrath <roland@hack.frob.com>
41218 * csu/elf-init.c (__libc_csu_irel): Function removed.
41219 * csu/libc-start.c (apply_irel): New function.
41220 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41222 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41224 * sysdeps/unix/sysv/linux/kernel-features.h
41225 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41226 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41227 <kernel-features.h>.
41228 [__NR_fadvise64_64]: Make code unconditional.
41229 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41230 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41231 !__NR_fadvise64_64)]: Likewise.
41232 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41233 !__NR_fadvise64_64))]: Likewise.
41234 [__NR_fadvise64]: Make code unconditional.
41235 [!__NR_fadvise64]: Remove conditional code.
41236 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41237 <kernel-features.h>.
41238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41243 not include <kernel-features.h>.
41244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41248 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41249 include <kernel-features.h>.
41250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41255 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41257 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41258 slight instruction rearrangements per scrollpipe analysis.
41259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41261 2012-08-20 Roland McGrath <roland@hack.frob.com>
41263 * manual/syslog.texi (syslog; vsyslog, closelog):
41264 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41265 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41267 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41268 DSOCAPS to match condition on defining it.
41270 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41272 * sysdeps/unix/sysv/linux/kernel-features.h
41273 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41278 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41279 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41281 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41282 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41284 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41285 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41287 * sysdeps/unix/sysv/linux/kernel-features.h
41288 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41289 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41291 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41292 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41293 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41294 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41295 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41296 Make code unconditional.
41297 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41298 (__mmap64) [!__NR_mmap2]: Likewise.
41299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41300 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41301 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41302 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41303 [__NR_mmap2]: Make code unconditional.
41304 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41305 (__mmap64) [!__NR_mmap2]: Likewise.
41307 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41309 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41311 2012-08-18 Andreas Jaeger <aj@suse.de>
41313 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41315 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41317 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41318 * include/unistd.h (__have_sock_cloexec): Likewise.
41319 (__have_pipe2): Likewise.
41320 (__have_dup3): Likewise.
41322 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41325 * include/unistd.h (__have_pipe2): Change define into an extern int.
41326 (__have_dup3): Likewise.
41327 * socket/have_sock_cloexec.c: Include fcntl.h.
41328 (__have_pipe2): New variable.
41329 (__have_dup3): Likewise.
41331 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41333 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41335 2012-08-17 Marek Polacek <polacek@redhat.com>
41337 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41338 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41340 2012-08-17 Roland McGrath <roland@hack.frob.com>
41342 * configure.in: Add AC_SUBST for sysheaders.
41343 * configure: Regenerated.
41344 * config.make.in (sysheaders): New substituted variable.
41346 * sysdeps/unix/mkfifo.c: Moved ...
41347 * sysdeps/posix/mkfifo.c: ... here.
41348 * sysdeps/unix/mkfifoat.c: Moved ...
41349 * sysdeps/posix/mkfifoat.c: ... here.
41351 * sysdeps/unix/utime.c: Moved ...
41352 * sysdeps/posix/utime.c: ... here.
41354 * sysdeps/unix/time.c: Moved ...
41355 * sysdeps/posix/time.c: ... here.
41356 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41357 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41359 * sysdeps/unix/nice.c: Moved ...
41360 * sysdeps/posix/nice.c: ... here.
41362 * sysdeps/unix/alarm.c: Moved ...
41363 * sysdeps/posix/alarm.c: ... here.
41365 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41367 2012-08-17 Jeff Law <law@redhat.com>
41369 * intl/Makefile (codeset_mo): New variable.
41370 ($(codeset_mo)): New target.
41371 (tst-codeset.out): Depend on that. Remove explicit rule.
41372 (tst-gettext3.out, tst-gettext5.out): Likewise.
41373 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41374 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41375 * intl/tst-codeset.sh: Remove.
41376 * intl/tst-gettext3.sh: Likewise.
41377 * intl/tst-gettext5.sh: Likewise.
41379 2012-08-17 Roland McGrath <roland@hack.frob.com>
41381 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41382 * sysdeps/unix/syscalls.list: ... here.
41384 * sysdeps/posix/getaddrinfo.c
41385 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41386 (gaiconf_init, gaiconf_reload): Use them.
41387 [!_STATBUF_ST_NSEC]
41388 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41389 Define using time_t rather than struct timespec.
41391 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41392 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41394 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41396 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41397 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41400 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41401 __libc_cleanup_push argument.
41403 * bits/param.h: New file.
41404 * misc/sys/param.h: New file.
41405 * include/sys/param.h: New file.
41406 * misc/Makefile (headers): Add bits/param.h.
41407 * sysdeps/generic/sys/param.h: File removed.
41408 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41409 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41410 * sysdeps/mach/hurd/bits/param.h: New file.
41411 * sysdeps/mach/hurd/sys/param.h: File removed.
41413 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41416 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41418 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41419 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41422 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41423 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41424 rather than -D_IO_MTSAFE_IO conditionally.
41425 * stdio-common/Makefile (CPPFLAGS): Likewise.
41426 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41427 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41428 Use $(libio-mtsafe).
41429 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41430 of -D_IO_MTSAFE_IO.
41431 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41432 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41433 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41434 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41435 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41436 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41437 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41438 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41439 (CFLAGS-fread_u_chk.c): Likewise.
41440 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41441 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41442 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41443 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41444 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41445 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41446 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41447 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41448 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41450 * libio/Makefile: Test [$(libc-reentrant) = yes]
41451 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41454 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41455 * sysdeps/pthread/configure: File removed.
41456 * sysdeps/pthread/Makeconfig: New file.
41457 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41458 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41460 2012-08-16 Gary Benson <gbenson@redhat.com>
41462 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41463 unmapping the first object in a namespace.
41465 2012-08-16 Roland McGrath <roland@hack.frob.com>
41467 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41468 (__internal_setnetgrent): ... this. Add internal_function to
41469 definition. Add libc_hidden_def.
41470 (setnetgrent): Update caller.
41471 (internal_endnetgrent): Renamed to ...
41472 (__internal_endnetgrent): ... this. Add internal_function to
41473 definition. Add libc_hidden_def.
41474 (endnetgrent): Update caller.
41475 (internal_getnetgrent_r): Renamed to ...
41476 (__internal_getnetgrent_r): ... this. Add internal_function to
41477 definition. Add libc_hidden_def.
41478 (__getnetgrent_r): Update caller.
41479 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41481 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41483 * stdlib/longlong.h: Update from GCC.
41485 2012-08-16 Roland McGrath <roland@hack.frob.com>
41487 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41488 on _QL, which is set by umul_ppmm but never used.
41489 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41490 variables, which are set by GMP macros but never used.
41491 * stdio-common/_itowa.c (_itowa): Likewise.
41492 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41493 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41495 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41497 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41498 struct La_sh_regs is not constant.
41499 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41500 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41501 and struct La_sparc64_regs are not constant.
41503 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41505 * sysdeps/unix/sysv/linux/kernel-features.h
41506 (__ASSUME_POSIX_TIMERS): Remove.
41507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41509 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41510 Make code unconditional.
41511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41512 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41513 Make code unconditional.
41514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41515 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41516 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41518 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41519 Make code unconditional.
41520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41521 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41522 (__libc_missing_posix_timers): Remove.
41524 2012-08-15 Roland McGrath <roland@hack.frob.com>
41526 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41527 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41529 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41531 * elf/dl-sym.c: Include <stdlib.h>.
41533 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41534 constants, which avoids warnings in 32-bit builds.
41536 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41537 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41539 * misc/lseek.c: File moved to ...
41540 * io/lseek.c: ... here.
41542 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41544 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41545 shifting LEN more than 31 bits at once.
41547 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41550 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41551 segmentation fault for a case of two empty input strings.
41552 * string/test-strncasecmp.c (check1): Renamed to...
41553 (bz12205): ...this.
41554 (bz14195): Add new testcase for two empty input strings and N > 0.
41555 (test_main): Call new testcase, adapt for renamed function.
41557 2012-08-15 Andreas Jaeger <aj@suse.de>
41560 * crypt/md5test2.c: New test, based on test supplied by Serge
41561 Belyshev <belyshev@depni.sinp.msu.ru>.
41562 * crypt/Makefile (xtests): Add md5test-giant..
41563 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41565 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41568 * crypt/md5.c (md5_process_block): Don't assume the buffer
41569 length is less than 2**32.
41570 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41571 length is less than 2**64.
41573 2012-08-15 Roland McGrath <roland@hack.frob.com>
41575 * string/str-two-way.h: Include <sys/param.h>.
41576 (MAX): Macro removed.
41578 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41579 Move #define and #undef of memmove to just before and after
41580 including <string.h>.
41582 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41583 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41584 and after including <string.h>. Move declarations of
41585 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41586 to before #include "string/memmove.c".
41588 * include/dirent.h: Declare __getdirentries.
41590 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41591 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41593 2012-08-14 Mike Frysinger <vapier@gentoo.org>
41595 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41596 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41597 * sysdeps/i386/configure: Regenerated.
41598 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41599 STABS_CURRENT_FILE, and STABS_FUN.
41600 (END): Remove call to STABS_FUN_END.
41601 (STABS_CURRENT_FILE1): Delete.
41602 (STABS_CURRENT_FILE): Likewise.
41603 (STABS_FUN): Likewise.
41604 (STABS_FUN_END): Likewise.
41605 (STABS_FUN2): Likewise.
41606 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41607 * sysdeps/x86_64/configure: Regenerated.
41609 2012-08-14 Roland McGrath <roland@hack.frob.com>
41611 * elf/dl-open.c: Include <atomic.h>.
41612 * elf/dl-lookup.c: Likewise.
41614 2012-08-14 Joseph Myers <joseph@codesourcery.com>
41616 * sysdeps/unix/sysv/linux/kernel-features.h
41617 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41618 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41620 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41622 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41623 condition on __ASSUME_CLONE_THREAD_FLAGS.
41625 2012-08-14 Andreas Jaeger <aj@suse.de>
41627 * sysdeps/i386/fpu/libm-test-ulps: Update.
41629 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41631 * include/atomic.h (atomic_exchange_and_add): Split into ...
41632 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41635 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41639 2012-08-13 Jeff Law <law@redhat.com>
41641 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41642 null byte in the output string.
41644 2012-08-10 Joseph Myers <joseph@codesourcery.com>
41646 * sysdeps/unix/sysv/linux/kernel-features.h
41647 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41648 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41649 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41650 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41651 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41652 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41653 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41655 2012-08-09 Jeff Law <law@redhat.com>
41658 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41659 When avoid_arena is set, don't retry in the that arena. Pick the
41660 next one, whatever it might be.
41661 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41662 (arena_lock): Pass in new parameter to arena_get2.
41663 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41665 (__libc_malloc): Unify retrying after main arena failure with
41666 __libc_memalign version.
41667 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41669 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41672 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41673 to __redirect_strstr.
41674 (__strstr_sse42): Use typeof __redirect_strstr.
41675 (__strstr_ia32): Likewise.
41676 (__libc_strstr): New prototype.
41677 (strstr): Renamed to ...
41678 (__libc_strstr): This.
41679 (strstr): New strong alias of __libc_strstr.
41680 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41681 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41684 (__libc_time): New prototype.
41685 (time_ifunc): Replace time with __libc_time.
41686 (time): New strong alias and hidden definition of __libc_time.
41687 (__GI_time): Remove strong alias.
41688 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41689 Include <stddef.h>.
41690 (memmove): Redefined to __redirect_memmove.
41691 (__memmove_sse2): Use typeof __redirect_memmove.
41692 (__memmove_ssse3): Likewise.
41693 (__memmove_ssse3_back): Likewise.
41694 (__libc_memmove): New prototype.
41695 (memmove): Renamed to ...
41696 (__libc_memmove): This.
41697 (memmove): New strong alias of __libc_memmove.
41699 2012-08-08 Mark Salter <msalter@redhat.com>
41702 (R_MN10300_TLS_GD): Define.
41703 (R_MN10300_TLS_LD): Likewise.
41704 (R_MN10300_TLS_LDO): Likewise.
41705 (R_MN10300_TLS_GOTIE): Likewise.
41706 (R_MN10300_TLS_IE): Likewise.
41707 (R_MN10300_TLS_LE): Likewise.
41708 (R_MN10300_TLS_DTPMOD): Likewise.
41709 (R_MN10300_TLS_DTPOFF): Likewise.
41710 (R_MN10300_TLS_TPOFF): Likewise.
41711 (R_MN10300_SYM_DIFF): Likewise.
41712 (R_MN10300_ALIGN): Likewise.
41713 (R_MN10300_NUM): Update.
41715 2012-08-08 Joseph Myers <joseph@codesourcery.com>
41717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41720 2012-08-08 Roland McGrath <roland@hack.frob.com>
41722 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41724 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41725 sysdeps/unix -> sysdeps/posix move.
41726 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41728 2012-08-07 Allan McRae <allan@archlinux.org>
41731 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41732 (SUNOS_CPP): Likewise.
41733 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41735 (open_input): Call CPP using execvp.
41737 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41739 * sysdeps/unix/sysv/linux/kernel-features.h
41740 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41741 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41742 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41743 (__ASSUME_WAITID_SYSCALL): Likewise.
41744 * sysdeps/unix/sysv/linux/dl-execstack.c
41745 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41746 code unconditional.
41747 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41750 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41751 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41753 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41755 [__ASSUME_WAITID_SYSCALL]: Likewise.
41756 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41758 2012-08-07 Roland McGrath <roland@hack.frob.com>
41760 * sysdeps/unix/closedir.c: Renamed to ...
41761 * sysdeps/posix/closedir.c: ... here.
41762 * sysdeps/unix/dirfd.c: Renamed to ...
41763 * sysdeps/posix/dirfd.c: ... here.
41764 * sysdeps/unix/dirstream.h: Renamed to ...
41765 * sysdeps/posix/dirstream.h: ... here.
41766 * sysdeps/unix/fdopendir.c: Renamed to ...
41767 * sysdeps/posix/fdopendir.c: ... here.
41768 * sysdeps/unix/opendir.c: Renamed to ...
41769 * sysdeps/posix/opendir.c: ... here.
41770 * sysdeps/unix/readdir.c: Renamed to ...
41771 * sysdeps/posix/readdir.c: ... here.
41772 * sysdeps/unix/readdir_r.c: Renamed to ...
41773 * sysdeps/posix/readdir_r.c: ... here.
41774 * sysdeps/unix/rewinddir.c: Renamed to ...
41775 * sysdeps/posix/rewinddir.c: ... here.
41776 * sysdeps/unix/seekdir.c: Renamed to ...
41777 * sysdeps/posix/seekdir.c: ... here.
41778 * sysdeps/unix/telldir.c: Renamed to ...
41779 * sysdeps/posix/telldir.c: ... here.
41780 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41781 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41782 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41783 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41785 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41786 * bits/fcntl.h: ... here.
41788 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41790 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41791 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41792 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41793 (struct flock): Move l_start, l_len to the beginning.
41794 Use __pid_t for l_pid.
41795 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41796 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41797 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41798 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41799 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41800 [__USE_LARGEFILE64] (struct flock64): New type.
41801 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41803 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41804 * bits/dirent.h: ... here.
41806 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41807 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41809 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41812 Change from 2.6.0 to 2.6.16.
41813 * sysdeps/unix/sysv/linux/configure: Regenerated.
41814 * sysdeps/unix/sysv/linux/kernel-features.h
41815 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41816 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41818 (__ASSUME_UTIMES): Likewise.
41819 (__ASSUME_CLONE_STOPPED): Remove.
41820 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41821 architectures, not kernel version.
41822 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41823 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41824 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41825 (__ASSUME_WAITID_SYSCALL): Likewise.
41826 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41827 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41828 * README: State 2.6.16 as minimum Linux kernel version. Do not
41829 refer to older versions.
41831 2012-08-06 Roland McGrath <roland@hack.frob.com>
41833 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41834 Define alphasort64 as an alias.
41835 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41836 Define versionsort64 as an alias.
41837 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41838 Define scandir64 as an alias.
41839 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41840 Define scandirat64 as an alias.
41841 * dirent/alphasort64.c (alphasort64):
41842 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41843 * dirent/versionsort64.c: Likewise.
41844 * dirent/scandir64.c: Likewise.
41845 * dirent/scandirat64.c: Likewise.
41846 * sysdeps/wordsize-64/alphasort.c: File removed.
41847 * sysdeps/wordsize-64/alphasort64.c: File removed.
41848 * sysdeps/wordsize-64/scandir.c: File removed.
41849 * sysdeps/wordsize-64/scandir64.c: File removed.
41850 * sysdeps/wordsize-64/scandirat.c: File removed.
41851 * sysdeps/wordsize-64/scandirat64.c: File removed.
41852 * sysdeps/wordsize-64/versionsort.c: File removed.
41853 * sysdeps/wordsize-64/versionsort64.c: File removed.
41854 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41856 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41858 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41861 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41863 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41865 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41867 [defined __arch64__ || defined __sparcv9]
41868 (__INO_T_MATCHES_INO64_T): New macro.
41869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41870 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41871 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41872 * sysdeps/unix/sysv/linux/bits/dirent.h
41873 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41874 (_DIRENT_MATCHES_DIRENT64): New macro.
41876 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41877 Define lockf64 as an alias.
41878 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41879 Define fseeko64 as an alias.
41880 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41881 Define ftello64 as an alias.
41882 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41883 Define _IO_fgetpos64 and fgetpos64 as aliases.
41884 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41885 Define _IO_fsetpos64 and fsetpos64 as aliases.
41886 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41887 Conditionalize body on this.
41888 * libio/fseeko64.c: Likewise.
41889 * libio/ftello64.c: Likewise.
41890 * libio/iofgetpos64.c: Likewise.
41891 * libio/iofsetpos64.c: Likewise.
41892 * sysdeps/wordsize-64/lockf.c: File removed.
41893 * sysdeps/wordsize-64/lockf64.c: File removed.
41894 * sysdeps/wordsize-64/fseeko.c: File removed.
41895 * sysdeps/wordsize-64/fseeko64.c: File removed.
41896 * sysdeps/wordsize-64/ftello.c: File removed.
41897 * sysdeps/wordsize-64/ftello64.c: File removed.
41898 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41899 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41900 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41901 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41902 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41903 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41904 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41905 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41906 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41907 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41910 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41911 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41913 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41915 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41917 [defined __arch64__ || defined __sparcv9]
41918 (__OFF_T_MATCHES_OFF64_T): New macro.
41919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41920 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41922 (__OFF_T_MATCHES_OFF64_T): New macro.
41924 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41926 * stdlib/secure-getenv.c (__secure_getenv): Replace
41927 GLIBC_2_16 with GLIBC_2_17.
41929 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41932 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41934 2012-08-03 David S. Miller <davem@davemloft.net>
41936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41938 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41942 (__ASSUME_CORRECT_SI_PID): Likewise.
41943 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41944 (__ASSUME_TMPFS_NAME): Likewise.
41945 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41946 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41947 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41948 (HAVE_AUX_SECURE): Make definition unconditional.
41949 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41950 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41952 2012-08-03 Roland McGrath <roland@hack.frob.com>
41954 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41955 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41956 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41957 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41958 __eloop_threshold instead of SYMLOOP_MAX.
41960 * sysdeps/generic/eloop-threshold.h: New file.
41961 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41963 * elf/chroot_canon.c (chroot_canon): Likewise.
41965 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41969 Change to 2.6.0 everywhere.
41970 * sysdeps/unix/sysv/linux/configure: Regenerated.
41971 * sysdeps/unix/sysv/linux/kernel-features.h
41972 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41973 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41975 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41976 (__ASSUME_FUTEX_REQUEUE): Remove.
41977 (__ASSUME_STATFS64): Define unconditionally.
41978 (__ASSUME_AT_SECURE): Likewise.
41979 (__ASSUME_CORRECT_SI_PID): Likewise.
41980 (__ASSUME_TGKILL): Define without depending on kernel version for
41982 (__ASSUME_UTIMES): Likewise.
41983 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41985 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41986 (__ASSUME_TMPFS_NAME): Likewise.
41987 * README: Update reference to Linux kernel versions.
41989 2012-08-02 Marek Polacek <polacek@redhat.com>
41992 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41993 libc_cv_asm_type_prefix with %.
41994 * configure: Regenerated.
41995 * include/libc-symbols.h: Remove comment about
41996 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41997 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41998 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41999 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42000 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42001 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42002 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42003 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42004 * elf/tst-unique2mod1.c: Likewise.
42005 * elf/tst-unique1mod2.c: Likewise.
42006 * elf/tst-unique1mod1.c: Likewise.
42007 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42008 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42009 Replace ASM_TYPE_DIRECTIVE with .type.
42010 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42011 * sysdeps/i386/sysdep.h: Likewise.
42012 * sysdeps/x86_64/sysdep.h: Likewise.
42013 * sysdeps/sh/sysdep.h: Likewise.
42014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42015 Do not define ASM_TYPE_DIRECTIVE.
42016 * sysdeps/powerpc/sysdep.h: Likewise.
42017 * sysdeps/powerpc/powerpc32/sysdep.h:
42018 Replace ASM_TYPE_DIRECTIVE with .type.
42019 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42020 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42021 * sysdeps/i386/fpu/e_powf.S: Likewise.
42022 * sysdeps/i386/fpu/e_expl.S: Likewise.
42023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42024 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42025 * sysdeps/i386/fpu/e_pow.S: Likewise.
42026 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42027 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42028 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42029 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42030 * sysdeps/i386/fpu/e_log2.S: Likewise.
42031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42032 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42033 * sysdeps/i386/fpu/e_powl.S: Likewise.
42034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42035 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42036 * sysdeps/i386/fpu/e_logl.S: Likewise.
42037 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42038 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42039 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42040 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42041 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42042 * sysdeps/i386/fpu/e_log.S: Likewise.
42043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42044 * sysdeps/i386/fpu/e_logf.S: Likewise.
42045 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42047 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42048 * sysdeps/i386/fpu/e_log10.S: Likewise.
42049 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42050 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42051 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42052 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42054 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42055 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42056 * sysdeps/i386/i686/strtok.S: Likewise.
42057 * sysdeps/i386/i386-mcount.S: Likewise.
42058 * sysdeps/i386/strtok.S: Likewise.
42059 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42060 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42061 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42062 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42063 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42065 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42066 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42068 * sysdeps/x86_64/_mcount.S: Likewise.
42069 * sysdeps/x86_64/strtok.S: Likewise.
42070 * sysdeps/sh/_mcount.S: Likewise.
42072 2012-08-01 Roland McGrath <roland@hack.frob.com>
42074 * libio/iofopen.c: Include <fcntl.h>.
42075 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42076 (_IO_fopen64, fopen64): Define as aliases.
42077 * libio/iofopen64.c: Include <fcntl.h>.
42078 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42079 Conditionalize body on this.
42080 * sysdeps/wordsize-64/iofopen.c: File removed.
42081 * sysdeps/wordsize-64/iofopen64.c: File removed.
42083 2012-08-01 Marek Polacek <polacek@redhat.com>
42085 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42086 Use dlfcn directly instead of a variable.
42087 (binfmt-subdir): Do not define.
42090 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42093 Remove all definitions.
42094 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42095 <kernel-features.h>.
42096 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42097 (miss_F_GETOWN_EX): Remove all definitions.
42098 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42100 [!__ASSUME_FCNTL64]: Remove conditional code.
42101 [__ASSUME_FCNTL64]: Make code unconditional.
42102 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42103 <kernel-features.h>.
42104 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42105 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42106 (lockf64) [__NR_fcntl64]: Make code unconditional.
42107 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42109 * sysdeps/unix/sysv/linux/kernel-features.h
42110 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42111 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42112 Make code unconditional.
42113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42116 [__NR_vfork]: Make code unconditional.
42117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42120 [__NR_vfork]: Make code unconditional.
42121 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42122 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42124 2012-08-01 Roland McGrath <roland@hack.frob.com>
42126 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42127 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42129 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42130 Define mkstemp64 as an alias.
42131 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42132 Define mkstemps64 as an alias.
42133 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42134 Define mkostemp64 as an alias.
42135 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42136 Define mkostemps64 as an alias.
42137 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42138 Conditionalize body on this.
42139 * misc/mkostemp64.c: Likewise.
42140 * misc/mkostemps64.c: Likewise.
42141 * misc/mkstemps64.c: Likewise.
42142 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42143 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42144 * sysdeps/wordsize-64/mkostemp.c: File removed.
42145 * sysdeps/wordsize-64/mkstemp.c: File removed.
42146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42147 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42149 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42152 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42153 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42154 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42155 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42157 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42158 compat_symbol macros from <shlib-compat.h> rather than the underlying
42159 default_symbol_version and symbol_version macros, so that DEFAULT
42160 lines in shlib-versions are respected.
42161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42163 2012-08-01 Florian Weimer <fweimer@redhat.com>
42165 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42166 Declare with warn_unused_result.
42167 (setgid, setregid, setegid, setresgid): Likewise.
42168 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42170 * WUR-REPORT: Remove set*id functions.
42172 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42174 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42176 2012-07-31 Roland McGrath <roland@hack.frob.com>
42179 * include/sys/socket.h (__libc_accept, __libc_accept4):
42180 Add attribute_hidden.
42181 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42183 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42185 * inet/getnetgrent_r.c (setup): Likewise.
42187 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42189 2012-07-31 David S. Miller <davem@davemloft.net>
42191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42193 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42196 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42197 value between 1.0 and 2.0 and smaller part has absolute value less
42199 * math/s_clog10.c (__clog10): Likewise.
42200 * math/s_clog10f.c (__clog10f): Likewise.
42201 * math/s_clog10l.c (__clog10l): Likewise.
42202 * math/s_clogf.c (__clogf): Likewise.
42203 * math/s_clogl.c (__clogl): Likewise.
42204 * math/libm-test.inc (clog_test): Add more tests.
42205 (clog10_test): Likewise.
42206 * sysdeps/i386/fpu/libm-test-ulps: Update.
42207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42209 2012-07-31 Florian Weimer <fweimer@redhat.com>
42211 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42212 Exit with zero in case no suitable GID is found, and write a
42213 message to standard error.
42215 2012-07-30 Roland McGrath <roland@hack.frob.com>
42217 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42219 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42220 (MAXPATHLEN): Removed.
42221 (NOGROUP, NODEV): New macros.
42222 (setbit, clrbit, isset, isclr): New macros.
42223 (howmany, roundup, powerof2): New macros.
42224 (DEV_BSIZE): New macro.
42226 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42227 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42229 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42230 definition on [!__NO_LONG_DOUBLE_MATH].
42232 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42233 PTR_MANGLE and PTR_DEMANGLE.
42235 * socket/accept4.c (accept4): Rename to __libc_accept4.
42236 Define accept4 as a weak alias.
42238 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42239 on [_DIRENT_HAVE_D_TYPE].
42240 * io/ftw.c (ftw_dir): Likewise.
42242 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42244 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42246 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42247 Use the BSD numbers rather than the arbitrary ones we had.
42248 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42249 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42250 (SIGXCPU, SIGXFSZ): New macros.
42253 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42254 initializer on [_LIBC_REENTRANT].
42256 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42257 definitions inside [_POSIX_MAPPED_FILES].
42259 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42261 * dirent/opendir.c: Include <fcntl.h>.
42263 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42264 (__libc_getspecific): Likewise.
42265 (__libc_key_create): Likewise.
42267 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42268 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42269 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42270 (tmpfile64): Define as alias.
42271 * sysdeps/wordsize-64/tmpfile.c: File removed.
42272 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42276 * stdio-common/vfscanf.c: Include <stdbool.h>.
42277 * nss/makedb.c: Likewise.
42278 * stdio-common/_i18n_number.h: Likewise.
42279 * argp/argp-help.c: Likewise.
42280 * posix/wordexp.c: Likewise.
42281 * sysdeps/posix/spawni.c: Likewise.
42282 * nss/nss_files/files-initgroups.c: Likewise.
42283 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42284 * nss/nss_files/files-initgroups.c: Likewise.
42285 * nss/nss_db/db-netgrp.c: Likewise.
42286 * nss/nss_db/db-initgroups.c: Likewise.
42287 * io/fchmodat.c: Include <sys/stat.h>.
42289 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42290 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42292 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42295 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42296 Add multiple inclusion protection.
42298 2012-07-27 David S. Miller <davem@davemloft.net>
42300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42302 2012-07-27 Gary Benson <gbenson@redhat.com>
42305 * elf/rtld.c: Include <stap-probe.h>.
42306 (dl_main): Added static probes "init_start" and "init_complete".
42307 * elf/dl-load.c: Include <stap-probe.h>.
42308 (lose): Take new parameter "nsid".
42309 Added static probe "map_failed".
42310 (_dl_map_object_from_fd): Pass namespace id to lose.
42311 Added static probe "map_start".
42312 (open_verify): Pass namespace id to lose.
42313 * elf/dl-open.c: Include <stap-probe.h>.
42314 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42315 and "reloc_complete".
42316 * elf/dl-close.c: Include <stap-probe.h>.
42317 (_dl_close_worker): Added static probes "unmap_start" and
42319 * elf/rtld-debugger-interface.txt: New file documenting the above.
42321 2012-07-26 Roland McGrath <roland@hack.frob.com>
42323 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42324 rather than a string variable.
42325 * sunrpc/rpc_main.c (h_output): Likewise.
42326 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42328 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42330 * inet/check_native.c: New file.
42332 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42335 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42336 if larger part has absolute value 1.0.
42337 * math/s_clog10.c (__clog10): Likewise.
42338 * math/s_clog10f.c (__clog10f): Likewise.
42339 * math/s_clog10l.c (__clog10l): Likewise.
42340 * math/s_clogf.c (__clogf): Likewise.
42341 * math/s_clogl.c (__clogl): Likewise.
42342 * math/libm-test.inc (clog_test): Add more tests.
42343 (clog10_test): Likewise.
42344 * sysdeps/i386/fpu/libm-test-ulps: Update.
42345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42347 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42348 (pltexit): Likewise.
42349 (La_regs): Likewise.
42350 (La_retval): Likewise.
42351 (int_retval): Likewise.
42352 Update #error for removed macros to refer only to definitions in
42354 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42356 (pltexit): Likewise.
42357 (La_regs): Likewise.
42358 (La_retval): Likewise.
42359 (int_retval): Likewise.
42360 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42362 (pltexit): Likewise.
42363 (La_regs): Likewise.
42364 (La_retval): Likewise.
42365 (int_retval): Likewise.
42366 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42368 (pltexit): Likewise.
42369 (La_regs): Likewise.
42370 (La_retval): Likewise.
42371 (int_retval): Likewise.
42372 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42374 (pltexit): Likewise.
42375 (La_regs): Likewise.
42376 (La_retval): Likewise.
42377 (int_retval): Likewise.
42378 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42380 (pltexit): Likewise.
42381 (La_regs): Likewise.
42382 (La_retval): Likewise.
42383 (int_retval): Likewise.
42384 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42386 (pltexit): Likewise.
42387 (La_regs): Likewise.
42388 (La_retval): Likewise.
42389 (int_retval): Likewise.
42390 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42391 macro definitions in tst-audit.h.
42392 * sysdeps/i386/tst-audit.h: New file.
42393 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42394 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42395 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42396 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42397 * sysdeps/sh/tst-audit.h: Likewise.
42398 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42399 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42400 * sysdeps/x86_64/tst-audit.h: Likewise.
42402 2012-07-26 Andreas Jaeger <aj@suse.de>
42404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42407 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42408 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42409 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42411 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42412 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42413 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42415 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42418 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42420 (si_call_addr, si_syscall, si_arch): Define new macro.
42421 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42423 (si_call_addr, si_syscall, si_arch): Define new marcro.
42424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42426 (si_call_addr, si_syscall, si_arch): Define new macro.
42427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42429 (si_call_addr, si_syscall, si_arch): Define new macro.
42431 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42435 Change to 2.4.21 where previously 2.4.1.
42436 * sysdeps/unix/sysv/linux/configure: Regenerated.
42437 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42438 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42439 Linux kernel version.
42440 (__ASSUME_STD_AUXV): Remove.
42441 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42443 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42444 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42445 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42446 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42447 (__ASSUME_NETLINK_SUPPORT): Likewise.
42448 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42449 (__no_netlink_support): Remove conditional definition.
42450 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42452 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42453 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42454 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42455 (if_nameindex_ioctl): Remove.
42456 (if_nameindex_netlink): Do not handle __no_netlink_support.
42457 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42459 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42460 Remove conditional code.
42461 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42463 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42465 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42466 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42467 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42469 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42470 [!__ASSUME_STD_AUXV]: Remove conditional code.
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42472 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42473 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42475 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42476 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42478 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42480 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42481 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42483 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42485 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42488 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42491 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42492 code unconditional.
42493 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42495 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42497 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42500 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42502 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42505 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42506 code unconditional.
42507 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42509 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42511 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42514 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42515 code unconditional.
42516 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42518 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42520 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42523 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42525 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42526 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42527 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42528 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42529 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42530 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42531 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42532 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42533 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42534 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42535 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42536 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42537 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42538 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42540 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42541 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42543 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42545 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42546 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42549 2012-07-25 Florian Weimer <fweimer@redhat.com>
42551 * Versions.def: Add GLIBC_2.17.
42552 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42553 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42554 Introduce __libc_secure_getenv.
42555 * stdlib/Versions (2.17): Add secure_getenv
42556 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42557 * stdlib/secure-getenv.c: Rename __secure_getenv to
42558 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42559 symbol __secure_getenv for GLIBC_2.0.
42560 * stdlib/tst-secure-getenv.c: New.
42561 * stdlib/Makefile (tests): Add testcase.
42562 * manual/startup.texi (Environment Access): Document
42564 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42565 __libc_secure_getenv.
42566 * inet/ruserpass.c (ruserpass): Likewise.
42567 * malloc/mtrace.c (mtrace): Likewise.
42568 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42569 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42570 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42571 * sysdeps/posix/tempname.c: Likewise. Evaluate
42572 HAVE_SECURE_GETENV.
42573 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42574 __secure_getenv to __libc_secure_getenv.
42575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42588 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42590 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42591 (struct La_i86_retval): Likewise.
42592 (struct La_x86_64_regs): Likewise.
42593 (struct La_x86_64_retval): Likewise.
42594 (struct La_x32_regs): Likewise.
42595 (struct La_x32_retval): Likewise.
42596 (struct La_ppc32_regs): Likewise.
42597 (struct La_ppc32_retval): Likewise.
42598 (struct La_ppc64_regs): Likewise.
42599 (struct La_ppc64_retval): Likewise.
42600 (struct La_sh_regs): Likewise.
42601 (struct La_sh_retval): Likewise.
42602 (struct La_s390_32_regs): Likewise.
42603 (struct La_s390_32_retval): Likewise.
42604 (struct La_s390_64_regs): Likewise.
42605 (struct La_s390_64_retval): Likewise.
42606 (struct La_sparc32_regs): Likewise.
42607 (struct La_sparc32_retval): Likewise.
42608 (struct La_sparc64_regs): Likewise.
42609 (struct La_sparc64_retval): Likewise.
42610 (struct audit_ifaces): Remove architecture-specific pltenter and
42612 * sysdeps/i386/ldsodefs.h: New file.
42613 * sysdeps/powerpc/ldsodefs.h: Likewise.
42614 * sysdeps/s390/ldsodefs.h: Likewise.
42615 * sysdeps/sh/ldsodefs.h: Likewise.
42616 * sysdeps/sparc/ldsodefs.h: Likewise.
42617 * sysdeps/x86_64/ldsodefs.h: Likewise.
42619 2012-07-25 Marek Polacek <polacek@redhat.com>
42622 * math/libm-test.inc (yn_test): Add another test.
42623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42624 to ERANGE when the result is +-Inf.
42625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42626 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42627 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42628 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42630 2012-07-24 Joseph Myers <joseph@codesourcery.com>
42632 * conform/data/time.h-data (NULL): Use macro-constant. Require
42634 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42636 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42638 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42640 * configure.in <sysdeps resolving>: Correct printing
42642 * configure: Regenerate.
42644 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42646 * math/w_ilogb.c: Include <limits.h>.
42647 * math/w_ilogbl.c: Likewise.
42649 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42651 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42652 va_copy. Document allowing for unavailable va_copy only as
42653 pre-C99 compatibility.
42654 * manual/string.texi (Copying and Concatenation): Use va_copy
42655 instead of __va_copy in concat example.
42657 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42659 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42660 (__sendto): Use create_address_port. Initialize APORT and deallocate
42663 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42664 with O_NOLINK passed to __file_name_lookup.
42666 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42667 with O_NOLINK passed to __file_name_lookup.
42669 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42670 negative N or less than NGIDS.
42672 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42673 type to string_t. Set ERANGE as errno and return it if NAME is not big
42674 enough. Use memcpy instead of strncpy.
42676 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42678 * elf/Makefile (check-data): Remove.
42679 (localplt.data): New vpath directive.
42680 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42681 instead of $(check-data).
42682 * scripts/data/localplt-generic.data: Move to ...
42683 * sysdeps/generic/localplt.data: ... here.
42684 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42685 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42686 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42689 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42692 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42695 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42698 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42701 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42705 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42707 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42708 PPC32 and PPC64 files.
42709 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42710 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42712 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42714 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42715 __makecontext_ret to ...
42716 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42717 ... here and call exit if uc_link is NULL. New file.
42718 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42719 __makecontext_ret.S.
42720 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42721 __makecontext_ret to ...
42722 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42723 ... here and call exit if uc_link is NULL. New file.
42724 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42725 __makecontext_ret.S.
42727 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42729 * elf/elf.h (R_390_IRELATIVE): New definition.
42730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42731 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42732 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42734 (elf_machine_lazy_rel): Likewise.
42735 * sysdeps/s390/dl-irel.h: New file.
42736 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42737 * sysdeps/s390/s390-64/memset.S: New asm code.
42738 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42739 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42740 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42741 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42742 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42743 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42745 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42746 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42747 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42748 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42749 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42750 * sysdeps/s390/s390-32/memset.S: New asm code.
42751 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42753 2012-07-17 Marek Polacek <polacek@redhat.com>
42756 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42757 * sysdeps/s390/s390-64/configure.in: Likewise.
42758 * sysdeps/sparc/configure.in: Likewise.
42759 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42760 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42761 * sysdeps/i386/configure.in: Likewise.
42762 * sysdeps/x86_64/configure.in: Likewise.
42763 * sysdeps/sh/configure.in: Likewise.
42764 * sysdeps/s390/s390-32/configure: Regenerated.
42765 * sysdeps/s390/s390-64/configure: Likewise.
42766 * sysdeps/x86_64/configure: Likewise.
42767 * sysdeps/sh/configure: Likewise.
42768 * sysdeps/powerpc/powerpc64/configure: Likewise.
42769 * sysdeps/powerpc/powerpc32/configure: Likewise.
42770 * sysdeps/sparc/configure: Likwise.
42771 * sysdeps/i386/configure: Likewise.
42773 * elf/dl-open.c: Comment fixes.
42775 2012-07-17 Joseph Myers <joseph@codesourcery.com>
42777 * Makefile [CXX] (check-data): Remove.
42778 [CXX] (c++-types.data): New vpath directive.
42779 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42780 vpath. Do not allow for C++ type data being missing.
42781 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42782 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42783 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42784 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42785 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42786 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42787 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42790 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42793 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42796 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42799 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42802 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42805 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42808 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42811 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42812 definitions to architecture-specific files.
42813 (TLS_IE): Likewise.
42814 (TLS_LD): Likewise.
42815 (TLS_GD): Likewise.
42816 * sysdeps/i386/tls-macros.h: New file.
42817 * sysdeps/powerpc/tls-macros.h: Likewise.
42818 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42819 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42820 * sysdeps/sh/tls-macros.h: Likewise.
42821 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42822 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42823 * sysdeps/x86_64/tls-macros.h: Likewise.
42825 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42828 zero value for regular exit case.
42830 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42831 (__start_context): Preserve zero value for regular exit case.
42833 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42834 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42836 * manual/setjmp.texi (setcontext): Clarify normal process
42837 termination when uc_link is the null pointer.
42838 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42841 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42843 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42844 preprocessor. Test for each exception mask separately.
42846 2012-07-16 Andreas Jaeger <aj@suse.de>
42848 * po/ru.po: Update from translation team.
42850 2012-07-15 Joseph Myers <joseph@codesourcery.com>
42852 * conform/data/string.h-data (NULL): Use macro-constant. Require
42854 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42855 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42856 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42857 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42860 2012-07-13 Andreas Jaeger <aj@suse.de>
42862 * po/fr.po: Update from translation team.
42864 2012-07-12 Marek Polacek <polacek@redhat.com>
42867 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42868 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42871 2012-07-12 Joseph Myers <joseph@codesourcery.com>
42874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42875 Change to 2.4.1 where previously 2.4.0.
42876 * sysdeps/unix/sysv/linux/configure: Regenerated.
42877 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42878 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42880 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42881 (__ASSUME_AT_CLKTCK): Remove.
42882 (__ASSUME_AT_PAGESIZE): Likewise.
42883 (__ASSUME_AT_XID): Likewise.
42884 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42885 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42886 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42888 (HAVE_AUX_PAGESIZE): Likewise.
42889 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42890 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42891 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42893 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42897 the temporary buffer used to invoke __gethostbyname2_r,
42898 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42899 host_data / struct gaih_addrtuple.
42900 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42901 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42902 header file nss/nsswitch.h.
42903 * nss/nsswitch.h (global scope): Add definition of implementation
42904 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42905 resolv/nss_dns/dns-host.c).
42907 2012-07-11 Andreas Jaeger <aj@suse.de>
42909 * po/fr.po: Update from translation team.
42911 * po/sv.po: Update from translation team
42912 * po/fr.po: Another update from translation team.
42914 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42916 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42917 for subnormals or multiply small sinh result by itself.
42918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42921 2012-07-11 David S. Miller <davem@davemloft.net>
42923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42925 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42928 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42929 (INTERNAL_MARK): Shift it here.
42931 2012-07-10 Marek Polacek <polacek@redhat.com>
42934 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42935 libc_cv_asm_global_directive with .globl.
42936 * configure: Regenerated.
42937 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42939 * sysdeps/i386/configure: Regenerated.
42940 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42942 * sysdeps/x86_64/configure: Regenerated.
42943 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42944 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42945 * elf/tst-unique2mod2.c: Likewise.
42946 * elf/tst-unique2mod1.c: Likewise.
42947 * elf/tst-unique1mod2.c: Likewise.
42948 * elf/tst-unique1mod1.c: Likewise.
42949 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42952 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42953 * sysdeps/mach/sysdep.h: Likewise.
42954 * sysdeps/i386/sysdep.h: Likewise.
42955 * sysdeps/i386/i386-mcount.S: Likewise.
42956 * sysdeps/x86_64/_mcount.S: Likewise.
42957 * sysdeps/x86_64/sysdep.h: Likewise.
42958 * sysdeps/sh/_mcount.S: Likewise.
42959 * sysdeps/sh/sysdep.h: Likewise.
42960 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42961 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42962 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42963 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42964 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42965 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42966 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42967 * locale/localeinfo.h: Likewise.
42968 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42969 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42971 2012-07-09 Roland McGrath <roland@hack.frob.com>
42974 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42976 * manual/message.texi (The Uniforum approach): Likewise.
42977 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42978 (glibc iconv Implementation): Likewise.
42980 2012-07-09 Joseph Myers <joseph@codesourcery.com>
42983 * math/s_clog.c (__clog): Avoid scaling a value down where that
42984 could result in underflow.
42985 * math/s_clog10.c (__clog10): Likewise.
42986 * math/s_clog10f.c (__clog10f): Likewise.
42987 * math/s_clog10l.c (__clog10l): Likewise.
42988 * math/s_clogf.c (__clogf): Likewise.
42989 * math/s_clogl.c (__clogl): Likewise.
42990 * math/libm-test.inc (clog_test): Add more tests.
42991 (clog10_test): Likewise.
42992 * sysdeps/i386/fpu/libm-test-ulps: Update.
42993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42995 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42998 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42999 by 7 not 8 to examine high bit of fractional part.
43002 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43003 for call to __mcount_internal.
43004 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43005 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43006 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43008 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43011 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43012 approximation for values within 0x1p-13f of an odd multiple of
43014 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43015 exception. Add more tests.
43016 * sysdeps/i386/fpu/libm-test-ulps: Update.
43019 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43020 inputs and return -1 for them. Do not check for +Inf in case not
43021 reachable for +Inf.
43022 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43023 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43025 and return -1 for them. Do not check for +Inf in case not
43026 reachable for +Inf.
43027 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43029 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43030 and return -1 for them. Do not check for +Inf in case not
43031 reachable for +Inf.
43032 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43033 spurious underflow.
43034 * sysdeps/i386/fpu/libm-test-ulps: Update.
43035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43037 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43039 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43041 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43045 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43046 could result in spurious underflow. Scale down values above
43047 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43048 * math/s_csqrtf.c (__csqrtf): Likewise.
43049 * math/s_csqrtl.c (__csqrtl): Likewise.
43050 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43051 spurious underflow.
43052 * sysdeps/i386/fpu/libm-test-ulps: Update.
43053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43055 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43057 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43059 * catgets/xopen-msg.awk: New file.
43060 * catgets/xopen-msg.sed: Removed.
43062 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43064 * intl/po2test.awk: New file.
43065 * intl/po2test.sed: Removed.
43067 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43070 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43071 or multiply small sinh result by itself.
43072 * math/s_ctanf.c (__ctanf): Likewise.
43073 * math/s_ctanh.c (__ctanh): Likewise.
43074 * math/s_ctanhf.c (__ctanhf): Likewise.
43075 * math/s_ctanhl.c (__ctanhl): Likewise.
43076 * math/s_ctanl.c (__ctanl): Likewise.
43077 * math/libm-test.inc (ctan_test_tonearest): New function.
43078 (ctan_test_towardzero): Likewise.
43079 (ctan_test_downward): Likewise.
43080 (ctan_test_upward): Likewise.
43081 (ctanh_test_tonearest): Likewise.
43082 (ctanh_test_towardzero): Likewise.
43083 (ctanh_test_downward): Likewise.
43084 (ctanh_test_upward): Likewise.
43085 (main): Call these new functions.
43086 * sysdeps/i386/fpu/libm-test-ulps: Update.
43087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43089 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43091 * .gitignore: Delete /ports entry.
43093 2012-07-03 Andreas Jaeger <aj@suse.de>
43095 * po/bg.po: Update from translation team.
43096 * po/cs.po: Likewise.
43097 * po/de.po: Likewise.
43098 * po/hr.po: Likewise.
43099 * po/nl.pl: Likewise.
43100 * po/pl.po: Likewise.
43101 * po/vi.po: Likewise.
43103 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43105 * Makeconfig [!+link] (+link-before-libc): New variable.
43106 [!+link] (+link-after-libc): Likewise.
43107 [!+link] (+link-tests): Likewise.
43108 [!+link] (+link): Define in terms of $(+link-before-libc) and
43109 $(+link-after-libc).
43110 [!+link-static] (+link-static-before-libc): New variable.
43111 [!+link-static] (+link-static-after-libc): Likewise.
43112 [!+link-static] (+link-static-tests): Likewise.
43113 [!+link-static] (+link-static): Define in terms of
43114 $(+link-static-before-libc) and $(+link-static-after-libc).
43115 [build-shared] (link-libc-before-gnulib): New variable.
43116 [build-shared] (link-libc-tests): Likewise.
43117 [build-shared] (link-libc): Define in terms of
43118 $(link-libc-before-gnulib).
43119 [!build-shared] (link-libc-tests): New variable.
43120 (link-libc-static-tests): New variable.
43121 [!gnulib] (gnulib-arch): New variable.
43122 [!gnulib] (gnulib-tests): Likewise.
43123 [!gnulib] (static-gnulib-arch): Likewise.
43124 [!gnulib] (static-gnulib-tests): Likewise.
43125 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43126 Define with "=" instead of ":=".
43127 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43128 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43129 * Rules (binaries-all-notests): New variable.
43130 (binaries-all-tests): Likewise.
43131 (binaries-static-notests): Likewise.
43132 (binaries-static-tests): Likewise.
43133 (binaries-all): Define using $(binaries-all-notests) and
43134 $(binaries-all-tests).
43135 (binaries-static): Define using $(binaries-static-notests) and
43136 $(binaries-static-tests).
43137 (binaries-shared-tests): New variable.
43138 (binaries-shared-notests): Likewise.
43139 (binaries-shared): Remove variable.
43140 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43141 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43142 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43143 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43144 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43145 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43146 * elf/Makefile (sln-modules): New variable.
43147 (extra-objs): Add $(sln-modules:=.o).
43148 (ldconfig-modules): Add static-stubs.
43149 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43150 * elf/static-stubs.c: New file.
43153 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43154 by 7 not 8 to examine high bit of fractional part. Use volatile
43155 variables when splitting into final array of floats if
43156 __FLT_EVAL_METHOD__ != 0.
43157 * math/libm-test.inc (cos_test): Add another test.
43158 (sin_test): Likewise.
43159 * sysdeps/i386/fpu/libm-test-ulps: Update.
43162 * math/libm-test.inc (cosh_test): Add more tests.
43164 * version.h (RELEASE): Set to "development".
43165 (VERSION): Set to "2.16.90".
43167 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43169 * NEWS: Update copyright. Remove last-updated date.
43170 Mention math library bug fixes and timezone data changes.
43171 * README: Mention GNU/Hurd, x32, and HPPA support status.
43173 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43175 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43177 2012-06-27 Andreas Jaeger <aj@suse.de>
43179 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43181 2012-06-25 Andreas Jaeger <aj@suse.de>
43183 * sysdeps/s390/fpu/libm-test-ulps: Update.
43185 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43186 Thomas Schwinge <thomas@codesourcery.com>
43188 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43189 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43193 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43195 * sysdeps/mach/start.c: Remove file.
43196 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43197 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43198 * sysdeps/sh/init-first.c: Likewise.
43200 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43201 registers for frame unwinding purposes, add CFI directives.
43202 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43204 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43207 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43208 __fortify_fail returning.
43209 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43211 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43212 sysdeps/sh/____longjmp_chk.S.
43213 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43214 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43215 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43216 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43218 * sysdeps/sh/abort-instr.h: New file.
43219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43220 process in case exit returns.
43222 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43223 initialize the GOT register before use.
43225 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43226 calculation of ARGC > 4.
43228 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43229 meaningful names to some local labels.
43231 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43232 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43234 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43235 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43236 (__arch_compare_and_exchange_val_16_acq): Likewise.
43237 (__arch_compare_and_exchange_val_32_acq): Likewise.
43238 (atomic_exchange_and_add): Fix gUSA sequence.
43239 (atomic_add): Likewise.
43240 (atomic_add_negative): Likewise.
43241 (atomic_add_zero): Likewise.
43242 (atomic_bit_test_set): Likewise.
43244 2012-06-22 Andreas Schwab <schwab@redhat.com>
43247 * include/link.h (struct link_map): Add l_free_initfini.
43248 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43250 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43251 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43252 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43255 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43257 * configure.in: Use AC_LANG_SOURCE.
43258 * configure: Regenerate.
43260 2012-06-22 Roland McGrath <roland@hack.frob.com>
43262 * configure.in (libc_cv_localstatedir): New substituted variable.
43263 * configure: Regenerated.
43264 * config.make.in (localstatedir): New variable, substituted from
43265 libc_cv_localstatedir.
43266 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43267 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43268 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43269 * sysdeps/gnu/configure: Regenerated.
43271 2012-06-21 Jeff Law <law@redhat.com>
43274 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43275 free. Simplify list management for _LIBC case.
43277 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43281 Clear sign bit of 64-bit integer value before comparing against
43284 * sysdeps/mach/configure: Regenerated.
43286 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43289 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43291 2012-06-21 Jeff Law <law@redhat.com>
43294 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43295 uint16_t for elements in the "seen" array to avoid char overflows.
43296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43297 * elf/dl-open.c (dl_open_worker): Likewise.
43299 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43301 * scripts/list-sources.sh: Scan PORTS for translations.
43302 * po/libc.pot: Regenerated.
43304 2012-06-21 Andreas Jaeger <aj@suse.de>
43307 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43309 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43310 * bits/byteswap-16.h (__bswap_16): Likewise.
43311 * bits/byteswap.h (__bswap_constant_16): Likewise.
43313 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43316 * sysdeps/i386/fpu_control.h: Removed.
43317 * sysdeps/x86_64/fpu_control.h: Moved to ...
43318 * sysdeps/x86/fpu_control.h: Here.
43320 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43321 (_FPU_SETCW): Likewise.
43323 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43326 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43327 * sysdeps/x86/fpu/bits/mathinline.h: This.
43328 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43332 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43333 functions if __x86_64__ is defined.
43335 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43337 * string/endian.h: Add !__ASSEMBLER__ condition for including
43338 conversion interfaces.
43340 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43344 of ABS(x) in calculating zero to negative powers other than odd
43346 * math/libm-test.inc (pow_test): Add more tests.
43348 2012-06-15 Andreas Jaeger <aj@suse.de>
43350 * manual/contrib.texi (Contributors): Update entry of Liubov
43351 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43354 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43356 * string/string.h: Add __wur to GNU version of strerror_r.
43358 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43361 * string/Makefile (tests): Add tst-strtok_r.
43362 * string/tst-strtok_r.c: New file.
43363 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43364 RAX_LP/RDX_LP on SAVE_PTR.
43366 2012-06-14 Roland McGrath <roland@hack.frob.com>
43368 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43370 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43372 * libm_test.inc (csqrt_test): Allow more spurious underflow
43374 (j0_test): Likewise.
43375 (j1_test): Likewise.
43376 (y0_test): Likewise.
43377 (y1_test): Likewise.
43379 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43381 * po/Makefile (libc.pot): Use UTF-8 charset.
43383 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43386 Suppress sign-conversion warning from FD_SET.
43387 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43388 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43389 not unsigned long int.
43390 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43392 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43396 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43397 __extern_always_inline instead of __extern_inline.
43398 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43399 (__signbit): Likewise.
43400 (__signbitl): Support C++ namespace.
43401 (lrintf): New inline function.
43403 (llrintf): Likewise.
43404 (llrint): Likewise.
43414 (floorf): Likewise.
43415 (nearbyint): Likewise.
43416 (nearbyintf): Likewise.
43418 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43421 non-default versions.
43423 2012-06-11 Roland McGrath <roland@hack.frob.com>
43426 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43428 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43430 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43431 (FE_UPWARD, FE_DOWNWARD): Don't define.
43432 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43437 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43440 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43442 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43444 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43445 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43447 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43450 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43451 * sysdeps/i386/fpu/Implies: New file.
43452 * sysdeps/x86_64/fpu/Implies: Likewise.
43453 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43454 * sysdeps/x86/fpu/bits/fenv.h: This.
43456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43459 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43462 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43463 character 0xffff that matches the last element of the
43466 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43471 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43474 values higher than 25.6283.
43476 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43479 subnormal exponent extraction and add some __builtin_expect.
43480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43481 Fix for subnormal mantissa calculation.
43483 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43485 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43486 cpu2 is -1 and errno is not ENOSYS.
43488 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43491 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43492 * sysdeps/x86/bits/string.h: This.
43493 * sysdeps/x86_64/bits/string.h: Removed.
43495 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43496 if not compiling for x86-64, but compiling for >= i486.
43498 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43499 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43501 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43502 New macro from Linux kernel 3.4.0.
43503 (FP_XSTATE_MAGIC2): Likewise.
43504 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43505 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43506 (struct _fpx_sw_bytes): New struct.
43507 (struct _xsave_hdr): Likewise.
43508 (struct _ymmh_state): Likewise.
43509 (struct _xstate): Likewise.
43511 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43512 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43513 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43514 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43515 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43516 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43518 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43520 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43521 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43522 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43523 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43525 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43528 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43529 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43530 (sysdep_headers): Include sys/platform/ppc.h.
43531 * sysdeps/powerpc/test-gettimebase.c: Test for
43532 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43533 * manual/Makefile (appendices): Include platform.texi.
43534 * manual/contrib.texi (Contributors): Update @node pointers.
43535 * manual/maint.texi (Maintenance): Likewise.
43536 (Platform): New node.
43537 * manual/platform.texi: New file. Document the new features.
43539 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43540 Jakub Jelinek <jakub@redhat.com>
43543 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43544 where __builtin_expect is unavailable.
43546 2012-06-03 David S. Miller <davem@davemloft.net>
43548 * stdlib/longlong.h: Updated from GCC.
43550 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43553 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43554 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43557 (GLIBC_2.16): Likewise.
43559 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43561 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43563 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43566 (default-abi): New variable.
43567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43568 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43570 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43572 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43574 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43577 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43578 definition. Document in comment.
43580 2012-06-01 David S. Miller <davem@davemloft.net>
43582 * stdlib/longlong.h: Updated from GCC.
43584 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43587 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43588 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43589 sys/debugreg.h sys/io.h here.
43590 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43591 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43593 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43594 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43596 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43598 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43600 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43601 Define only if __x86_64__ is defined.
43603 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43607 Use int64_t for variable i.
43608 * math/libm-test.inc (fmod_test): Add more tests.
43610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43611 z computation is not scheduled after fetestexcept.
43612 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43613 Use math_force_eval instead of asm to ensure calculation scheduled
43614 before exception test.
43615 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43616 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43618 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43621 computation is not scheduled after fetestexcept.
43623 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43626 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43627 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43629 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43631 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43632 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43637 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43639 (__WCHAR_MIN): Support __WORDSIZE == 64.
43640 (__WCHAR_MAX): Likewise.
43642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43647 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43650 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43651 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43654 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43656 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43657 Defined to 1 if __x86_64__ isn't defined.
43658 (_STAT_VER_LINUX_OLD): New.
43659 (st_atime): Remove duplicate.
43660 (st_mtime): Likewise.
43661 (st_ctime): Likewise.
43663 2012-05-31 David S. Miller <davem@davemloft.net>
43665 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43668 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43670 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43674 * elf/dl-reloc.c: Include <_itoa.h>.
43675 (_dl_reloc_bad_type): Remove use of INTUSE.
43676 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43677 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43678 * stdio-common/psiginfo.c (psiginfo): Likewise.
43679 * stdio-common/psignal.c (psignal): Likewise.
43680 * string/strsignal.c (strsignal): Likewise.
43681 * include/signal.h (_sys_siglist): Declare hidden proto.
43682 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43683 INTVARDEF with libc_hidden_data_def.
43684 * stdio-common/itoa-udigits.c: Likewise.
43685 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43686 (_itoa_lower_digits_internal): Remove declaration.
43687 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43688 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43689 (_sys_sigabbrev_internal): Remove aliases.
43690 (_sys_siglist): Define hidden alias.
43692 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43697 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43700 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43701 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43703 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43704 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43705 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43706 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43708 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43710 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43711 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43712 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43723 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43724 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43726 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43727 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43729 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43730 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43731 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43733 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43734 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43736 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43737 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43743 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43744 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43746 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43748 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43750 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43752 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43754 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43756 2012-05-31 Joseph Myers <joseph@codesourcery.com>
43758 * math/math.h (M_El): Use two more decimal places.
43759 (M_LOG2El): Likewise.
43760 (M_LOG10El): Likewise.
43761 (M_LN2l): Likewise.
43762 (M_LN10l): Likewise.
43764 (M_PI_2l): Likewise.
43765 (M_PI_4l): Likewise.
43766 (M_1_PIl): Likewise.
43767 (M_2_PIl): Likewise.
43768 (M_2_SQRTPIl): Likewise.
43769 (M_SQRT2l): Likewise.
43770 (M_SQRT1_2l): Likewise.
43772 2012-05-31 David S. Miller <davem@davemloft.net>
43774 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43775 values between float registers.
43776 * sysdeps/sparc/sparc64/memset.S: Likewise.
43777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43779 2012-05-31 Mike Frysinger <vapier@gentoo.org>
43781 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43782 -D_FORTIFY_SOURCE=1.
43783 (CPPFLAGS-tst-longjmp_chk.c): Define.
43784 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43785 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43786 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43787 CFLAGS-tst-wchar-h.c.
43789 2012-05-31 Marek Polacek <polacek@redhat.com>
43792 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43793 __endmntent_internal): Remove declaration.
43794 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43795 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43796 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43798 2012-05-30 David S. Miller <davem@davemloft.net>
43800 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43801 (___Q_simulate_exceptions): Use real FP ops rather than writing
43803 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43806 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43809 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43810 * sysdeps/x86/bits/xtitypes.h: This.
43812 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43813 * sysdeps/x86/bits/wordsize.h: This.
43815 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43816 * sysdeps/x86/bits/huge_vall.h: This.
43818 * sysdeps/i386/bits/select.h: Removed.
43819 * sysdeps/x86_64/bits/select.h: Renamed to ...
43820 * sysdeps/x86/bits/select.h: This.
43822 * sysdeps/i386/bits/setjmp.h: Removed.
43823 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43824 * sysdeps/x86/bits/setjmp.h: This.
43826 * sysdeps/i386/bits/mathdef.h: Removed.
43827 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43828 * sysdeps/x86/bits/mathdef.h: This.
43830 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43833 * include/sys/socket.h (__connect_internal)
43834 (__libc_sa_len_internal): Remove declaration.
43835 (__connect, __libc_sa_len): Declare hidden_proto.
43836 (SA_LEN): Remove use of INTUSE.
43837 * socket/connect.c: Add libc_hidden_def.
43838 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43839 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43840 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43842 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43843 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43844 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43845 of adding _internal alias.
43847 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43850 * sysdeps/i386/bits/link.h: Removed.
43851 * sysdeps/i386/bits/linkmap.h: Likewise.
43852 * sysdeps/x86_64/bits/link.h: Renamed to ...
43853 * sysdeps/x86/bits/link.h: This.
43854 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43855 * sysdeps/x86/bits/linkmap.h: This.
43857 * sysdeps/i386/bits/endian.h: Removed.
43858 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43859 * sysdeps/x86/bits/endian.h: This.
43861 * sysdeps/i386/bits/byteswap.h: Removed.
43862 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43863 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43864 * sysdeps/x86/bits/byteswap.h: This.
43865 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43866 * sysdeps/x86/bits/byteswap-16.h: This.
43867 * sysdeps/i386/Implies: Add x86.
43868 * sysdeps/x86_64/Implies: Likewise.
43870 2012-05-30 David S. Miller <davem@davemloft.net>
43872 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43873 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43875 (FP_TRAPPING_EXCEPTIONS): Define.
43876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43877 (FP_TRAPPING_EXCEPTIONS): Define.
43878 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43879 subnormals only when inexact has been signalled or underflow
43880 exceptions are enabled.
43881 (_FP_PACK_CANONICAL): Likewise.
43883 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43886 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43887 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43889 2012-05-30 Richard Henderson <rth@twiddle.net>
43891 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43892 with #ifndef NOT_IN_libc.
43894 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43895 marked to avoid plt entry.
43897 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43900 * Makeconfig (default-abi): New macro.
43901 (abi-includes): Likewise.
43902 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43903 $(abi-$(default-abi)-lib-soname) for soname if defined.
43904 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43906 * Makefile (installed-stubs): Likewise.
43907 * include/stubs-biarch.h: Removed.
43908 * scripts/lib-names.awk: Only handle one library at a time.
43909 * scripts/soversions.awk: Remove WORDSIZE support.
43910 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43912 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43914 (syscall-list-default-condition): Likewise.
43915 (syscall-list-default-condition): Likewise.
43916 (syscall-list-includes): Likewise.
43917 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43918 syscall-list-* with abi-*. Handle undefined abi-variants.
43919 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43920 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43921 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43922 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43923 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43924 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43926 (syscall-list-32-options): Likewise.
43927 (syscall-list-32-condition): Likewise.
43928 (syscall-list-64-options): Likewise.
43929 (syscall-list-64-condition): Likewise.
43930 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43932 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43935 (abi-64-ld-soname): New macro.
43936 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43937 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43940 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43941 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43943 2012-05-30 Joseph Myers <joseph@codesourcery.com>
43945 * sysdeps/unix/sysv/linux/kernel-features.h
43946 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43947 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43948 include <kernel-features.h>.
43949 [!__NR_ftruncate64]: Remove conditional code.
43950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43951 [__NR_ftruncate64]: Make code unconditional.
43952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43953 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43954 include <kernel-features.h>.
43955 [!__NR_ftruncate64]: Remove conditional code.
43956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43957 [__NR_ftruncate64]: Make code unconditional.
43958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43960 include <kernel-features.h>.
43961 [!__NR_ftruncate64]: Remove conditional code.
43962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43963 [__NR_ftruncate64]: Make code unconditional.
43964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43966 include <kernel-features.h>.
43967 [!__NR_ftruncate64]: Remove conditional code.
43968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43969 [__NR_ftruncate64]: Make code unconditional.
43970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43972 * configure.in (libc_cv_fpie): Weaken to a compile test using
43973 LIBC_TRY_CC_OPTION.
43974 * configure: Regenerated.
43976 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43991 2012-05-27 David S. Miller <davem@davemloft.net>
43993 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43995 (__Q_simulate_exceptions): Return void. Change to simulate
43996 exceptions by writing into the %fsr.
43997 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43998 (__Qp_handle_exceptions): Likewise.
44000 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44001 __Qp_handle_exceptions.
44002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44003 __Qp_handle_exceptions.
44004 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44005 as unused and give dummy FP_RND_NEAREST initializer.
44006 (FP_INHIBIT_RESULTS): Define.
44007 (___Q_simulate_exceptions): Update declaration.
44008 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44010 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44011 as unused and give dummy FP_RND_NEAREST initializer.
44012 (__Qp_handle_exceptions): Update declaration.
44013 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44016 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44018 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44019 the temporary FPU control word.
44020 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44021 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44023 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44024 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44025 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44026 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44027 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44028 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44029 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44030 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44032 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44034 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44037 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44039 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44040 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44041 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44042 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44044 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44045 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44048 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44050 * po/h.po: Update from translation team.
44052 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44054 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44056 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44057 handling of denormals.
44058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44059 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44060 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44061 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44067 2012-05-26 Marek Polacek <polacek@redhat.com>
44070 * math/libm-test.inc (fma_test): Don't always expect underflow
44073 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44076 * elf/tst-execstack.c: Include stackinfo.h.
44077 (do_test): Adjust test case to ensure that pthread_getattr_np
44078 behaviour remains the same after marking stack executable.
44080 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44082 * sysdeps/unix/sysv/linux/kernel-features.h
44083 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44086 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44087 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44088 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44090 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44091 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44093 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44095 * configure.in: Define the default includes to being none.
44096 * configure: Regenerated.
44098 2012-05-25 Roland McGrath <roland@hack.frob.com>
44100 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44101 * sysdeps/x86_64/setjmp.S: Likewise.
44102 * sysdeps/i386/bsd-setjmp.S: Likewise.
44103 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44104 * sysdeps/i386/setjmp.S: Likewise.
44105 * sysdeps/i386/__longjmp.S: Likewise.
44106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44107 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44109 * include/stap-probe.h: New file.
44110 * configure.in: Handle --enable-systemtap.
44111 * configure: Regenerated.
44112 * config.h.in (USE_STAP_PROBE): New #undef.
44113 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44114 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44115 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44117 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44121 to 2.4.0 where earlier.
44122 * sysdeps/unix/sysv/linux/configure: Regenerated.
44123 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44124 <kernel-features.h>.
44125 [__ASSUME_32BITUIDS]: Make code unconditional.
44126 [!__ASSUME_32BITUIDS]: Remove conditional code.
44127 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44128 <kernel-features.h>.
44129 [__ASSUME_32BITUIDS]: Make code unconditional.
44130 [!__ASSUME_32BITUIDS]: Remove conditional code.
44131 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44132 [__ASSUME_32BITUIDS]: Make code unconditional.
44133 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44134 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44135 <kernel-features.h>.
44136 [__ASSUME_32BITUIDS]: Make code unconditional.
44137 [!__ASSUME_32BITUIDS]: Remove conditional code.
44138 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44139 <kernel-features.h>.
44140 [__ASSUME_32BITUIDS]: Make code unconditional.
44141 [!__ASSUME_32BITUIDS]: Remove conditional code.
44142 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44143 <kernel-features.h>.
44144 [__ASSUME_32BITUIDS]: Make code unconditional.
44145 [!__ASSUME_32BITUIDS]: Remove conditional code.
44146 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44147 <kernel-features.h>.
44148 [__ASSUME_32BITUIDS]: Make code unconditional.
44149 [!__ASSUME_32BITUIDS]: Remove conditional code.
44150 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44151 <kernel-features.h>.
44152 [__ASSUME_32BITUIDS]: Make code unconditional.
44153 [!__ASSUME_32BITUIDS]: Remove conditional code.
44154 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44155 <kernel-features.h>.
44156 [__ASSUME_32BITUIDS]: Make code unconditional.
44157 [!__ASSUME_32BITUIDS]: Remove conditional code.
44158 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44159 <kernel-features.h>.
44160 [__ASSUME_32BITUIDS]: Make code unconditional.
44161 [!__ASSUME_32BITUIDS]: Remove conditional code.
44162 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44163 <kernel-features.h>.
44164 [__ASSUME_32BITUIDS]: Make code unconditional.
44165 [!__ASSUME_32BITUIDS]: Remove conditional code.
44166 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44167 <kernel-features.h>.
44168 [__ASSUME_32BITUIDS]: Make code unconditional.
44169 [!__ASSUME_32BITUIDS]: Remove conditional code.
44170 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44171 <kernel-features.h>.
44172 [__ASSUME_32BITUIDS]: Make code unconditional.
44173 [!__ASSUME_32BITUIDS]: Remove conditional code.
44174 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44175 <kernel-features.h>.
44176 [__NR_setresgid] (__setresgid): Do not declare.
44177 [__ASSUME_32BITUIDS]: Make code unconditional.
44178 [!__ASSUME_32BITUIDS]: Remove conditional code.
44179 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44180 <kernel-features.h>.
44181 [__NR_setresuid] (__setresuid): Do not declare.
44182 [__ASSUME_32BITUIDS]: Make code unconditional.
44183 [!__ASSUME_32BITUIDS]: Remove conditional code.
44184 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44185 <kernel-features.h>.
44186 [__ASSUME_32BITUIDS]: Make code unconditional.
44187 [!__ASSUME_32BITUIDS]: Remove conditional code.
44188 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44189 <kernel-features.h>.
44190 [__ASSUME_32BITUIDS]: Make code unconditional.
44191 [!__ASSUME_32BITUIDS]: Remove conditional code.
44192 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44193 <kernel-features.h>.
44194 [__ASSUME_32BITUIDS]: Make code unconditional.
44195 [!__ASSUME_32BITUIDS]: Remove conditional code.
44196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44197 <kernel-features.h>.
44198 [__ASSUME_32BITUIDS]: Make code unconditional.
44199 [!__ASSUME_32BITUIDS]: Remove conditional code.
44200 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44201 <kernel-features.h>.
44202 [__ASSUME_32BITUIDS]: Make code unconditional.
44203 [!__ASSUME_32BITUIDS]: Remove conditional code.
44204 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44205 <kernel-features.h>.
44206 [__ASSUME_32BITUIDS]: Make code unconditional.
44207 [!__ASSUME_32BITUIDS]: Remove conditional code.
44208 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44209 <kernel-features.h>.
44210 [__ASSUME_32BITUIDS]: Make code unconditional.
44211 [!__ASSUME_32BITUIDS]: Remove conditional code.
44212 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44213 <kernel-features.h>.
44214 [__ASSUME_32BITUIDS]: Make code unconditional.
44215 [!__ASSUME_32BITUIDS]: Remove conditional code.
44216 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44217 <kernel-features.h>.
44218 [__ASSUME_32BITUIDS]: Make code unconditional.
44219 [!__ASSUME_32BITUIDS]: Remove conditional code.
44220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44221 <kernel-features.h>.
44222 [__ASSUME_32BITUIDS]: Make code unconditional.
44223 [!__ASSUME_32BITUIDS]: Remove conditional code.
44224 * sysdeps/unix/sysv/linux/kernel-features.h
44225 (__ASSUME_SETRESUID_SYSCALL): Remove.
44226 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44227 (__ASSUME_32BITUIDS): Likewise.
44228 (__ASSUME_LDT_WORKS): Likewise.
44229 (__ASSUME_O_DIRECTORY): Likewise.
44230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44231 architecture but not kernel version.
44232 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44233 (__ASSUME_MMAP2_SYSCALL): Likewise.
44234 (__ASSUME_STAT64_SYSCALL): Likewise.
44235 (__ASSUME_IPC64): Likewise.
44236 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44237 <kernel-features.h>.
44238 [__ASSUME_32BITUIDS]: Make code unconditional.
44239 [!__ASSUME_32BITUIDS]: Remove conditional code.
44240 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44241 <kernel-features.h>.
44242 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44244 132096]: Remove conditional code.
44245 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44246 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44247 <kernel-features.h>.
44248 [__ASSUME_32BITUIDS]: Make code unconditional.
44249 [!__ASSUME_32BITUIDS]: Remove conditional code.
44250 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44251 <kernel-features.h>.
44252 [__ASSUME_32BITUIDS]: Make code unconditional.
44253 [!__ASSUME_32BITUIDS]: Remove conditional code.
44254 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44255 <kernel-features.h>.
44256 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44258 (__setresgid): Do not declare.
44259 [__ASSUME_32BITUIDS]: Make code unconditional.
44260 [!__ASSUME_32BITUIDS]: Remove conditional code.
44261 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44262 <kernel-features.h>.
44263 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44265 (__setresuid): Do not declare.
44266 [__ASSUME_32BITUIDS]: Make code unconditional.
44267 [!__ASSUME_32BITUIDS]: Remove conditional code.
44268 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44269 <kernel-features.h>.
44270 [__ASSUME_32BITUIDS]: Make code unconditional.
44271 [!__ASSUME_32BITUIDS]: Remove conditional code.
44272 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44273 <kernel-features.h>.
44274 [__ASSUME_32BITUIDS]: Make code unconditional.
44275 [!__ASSUME_32BITUIDS]: Remove conditional code.
44277 2012-05-25 Richard Henderson <rth@twiddle.net>
44279 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44280 dl_hwcap to ifunc resolver.
44281 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44283 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44284 dl_hwcap to ifunc resolver.
44285 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44287 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44290 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44291 for |x| <= 2**-26, not 2**-57.
44292 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44295 2012-05-24 Jeff Law <law@redhat.com>
44297 * stdio-common/Makefile (tests): Add bug25.
44298 * stdio-common/bug25.c: New test.
44300 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44303 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44304 multiple of MALLOC_ALIGNMENT in size.
44305 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44307 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44309 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44311 (FILENAME_MAX): Use macro-int-constant.
44312 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44313 (_IOFBF): Use macro-int-constant.
44314 (_IOLBF): Likewise.
44315 (_IONBF): Likewise.
44316 (SEEK_CUR): Likewise.
44317 (SEEK_END): Likewise.
44318 (SEEK_SET): Likewise.
44319 (TMP_MAX): Likewise.
44320 (EOF): Use macro-int-constant. Require < 0.
44321 (NULL): Use macro-constant. Require == 0.
44322 (stdin): Require type to be FILE *.
44323 (stdout): Likewise.
44324 (stderr): Likewise.
44325 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44326 macro-int-constant.
44327 (EXIT_SUCCESS): Likewise.
44328 (NULL): Use macro-constant. Require == 0.
44329 (RAND_MAX): Use macro-int-constant.
44330 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44331 [C99-based standards] (strtof): Require function.
44332 [C99-based standards] (strtold): Likewise.
44333 [C99-based standards] (strtoll): Likewise.
44334 [C99-based standards] (strtoull): Likewise.
44335 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44336 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44337 [ISO || ISO99 || ISO11] (math.h): Likewise.
44338 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44339 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44342 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44345 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44346 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44347 * intl/dgettext.c (DCGETTEXT): Likewise.
44348 * intl/gettext.c (DCGETTEXT): Likewise.
44349 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44350 * posix/regex_internal.h (gettext): Likewise.
44351 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44352 Remove declaration.
44353 * include/argz.h (__argz_count_internal)
44354 (__argz_stringify_internal): Remove declaration.
44355 (__argz_count, __argz_stringify): Declare hidden proto.
44356 * intl/dcgettext.c: Remove use of INTDEF.
44357 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44358 * string/argz-stringify.c: Likewise.
44359 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44360 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44361 Declare hidden proto.
44362 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44363 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44364 Declare hidden proto.
44365 * include/stdio.h (__asprintf_internal): Don't declare.
44366 (__asprintf): Don't define as macro. Declare hidden proto.
44367 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44368 (__fsetlocking): Declare hidden proto.
44369 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44370 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44372 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44373 (_IO_setlinebuf): Remove use of INTUSE.
44374 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44375 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44376 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44377 Remove declaration.
44378 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44379 (_IO_do_flush): Remove use of INTUSE.
44380 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44381 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44382 (_IO_adjust_column, _IO_least_wmarker)
44383 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44384 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44385 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44386 (_IO_default_doallocate, _IO_wdefault_doallocate)
44387 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44388 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44389 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44390 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44391 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44392 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44393 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44394 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44395 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44396 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44397 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44398 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44399 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44401 (_IO_flush_all_internal, _IO_adjust_column_internal)
44402 (_IO_default_uflow_internal, _IO_default_finish_internal)
44403 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44404 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44405 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44406 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44407 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44408 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44409 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44410 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44411 (_IO_file_close_internal, _IO_file_close_it_internal)
44412 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44413 (_IO_file_init_internal, _IO_file_attach_internal)
44414 (_IO_file_fopen_internal, _IO_file_read_internal)
44415 (_IO_file_sync_internal, _IO_file_seek_internal)
44416 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44417 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44418 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44419 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44420 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44421 (_IO_list_all_internal, _IO_link_in_internal)
44422 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44423 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44424 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44425 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44426 (_IO_do_write_internal, _IO_padn_internal)
44427 (_IO_getline_info_internal, _IO_getline_internal)
44428 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44429 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44430 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44431 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44432 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44433 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44434 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44435 with libc_hidden_ver, remove use of INTUSE.
44436 * libio/genops.c: Likewise.
44437 * libio/freopen.c: Likewise.
44438 * libio/freopen64.c: Likewise.
44439 * libio/iofclose.c: Likewise.
44440 * libio/iofdopen.c: Likewise.
44441 * libio/iofflush.c: Likewise.
44442 * libio/iofflush_u.c: Likewise.
44443 * libio/iofgets.c: Likewise.
44444 * libio/iofgets_u.c: Likewise.
44445 * libio/iofopen.c: Likewise.
44446 * libio/iofopncook.c: Likewise.
44447 * libio/iofread.c: Likewise.
44448 * libio/iofread_u.c: Likewise.
44449 * libio/ioftell.c: Likewise.
44450 * libio/iofwrite.c: Likewise.
44451 * libio/iogetline.c: Likewise.
44452 * libio/iogets.c: Likewise.
44453 * libio/iogetwline.c: Likewise.
44454 * libio/iopadn.c: Likewise.
44455 * libio/iopopen.c: Likewise.
44456 * libio/ioseekoff.c: Likewise.
44457 * libio/ioseekpos.c: Likewise.
44458 * libio/iosetbuffer.c: Likewise.
44459 * libio/iosetvbuf.c: Likewise.
44460 * libio/ioungetc.c: Likewise.
44461 * libio/ioungetwc.c: Likewise.
44462 * libio/iovdprintf.c: Likewise.
44463 * libio/iovsprintf.c: Likewise.
44464 * libio/iovsscanf.c: Likewise.
44465 * libio/memstream.c: Likewise.
44466 * libio/obprintf.c: Likewise.
44467 * libio/oldfileops.c: Likewise.
44468 * libio/oldiofclose.c: Likewise.
44469 * libio/oldiofdopen.c: Likewise.
44470 * libio/oldiofopen.c: Likewise.
44471 * libio/oldiopopen.c: Likewise.
44472 * libio/oldstdfiles.c: Likewise.
44473 * libio/putc.c: Likewise.
44474 * libio/setbuf.c: Likewise.
44475 * libio/setlinebuf.c: Likewise.
44476 * libio/stdfiles.c: Likewise.
44477 * libio/strops.c: Likewise.
44478 * libio/vasprintf.c: Likewise.
44479 * libio/vscanf.c: Likewise.
44480 * libio/vsnprintf.c: Likewise.
44481 * libio/vswprintf.c: Likewise.
44482 * libio/wfiledoalloc.c: Likewise.
44483 * libio/wfileops.c: Likewise.
44484 * libio/wgenops.c: Likewise.
44485 * libio/wmemstream.c: Likewise.
44486 * libio/wstrops.c: Likewise.
44487 * libio/__fpurge.c: Likewise.
44488 * libio/__fsetlocking.c: Likewise.
44489 * assert/assert.c: Likewise.
44490 * debug/fgets_chk.c: Likewise.
44491 * debug/fgets_u_chk.c: Likewise.
44492 * debug/fread_chk.c: Likewise.
44493 * debug/fread_u_chk.c: Likewise.
44494 * debug/gets_chk.c: Likewise.
44495 * debug/obprintf_chk.c: Likewise.
44496 * debug/vasprintf_chk.c: Likewise.
44497 * debug/vdprintf_chk.c: Likewise.
44498 * debug/vsnprintf_chk.c: Likewise.
44499 * debug/vsprintf_chk.c: Likewise.
44500 * malloc/mtrace.c: Likewise.
44501 * misc/error.c: Likewise.
44502 * misc/syslog.c: Likewise.
44503 * stdio-common/asprintf.c: Likewise.
44504 * stdio-common/fxprintf.c: Likewise.
44505 * stdio-common/getw.c: Likewise.
44506 * stdio-common/isoc99_fscanf.c: Likewise.
44507 * stdio-common/isoc99_scanf.c: Likewise.
44508 * stdio-common/isoc99_vfscanf.c: Likewise.
44509 * stdio-common/isoc99_vscanf.c: Likewise.
44510 * stdio-common/isoc99_vsscanf.c: Likewise.
44511 * stdio-common/printf-prs.c: Likewise.
44512 * stdio-common/printf_fp.c: Likewise.
44513 * stdio-common/printf_fphex.c: Likewise.
44514 * stdio-common/printf_size.c: Likewise.
44515 * stdio-common/putw.c: Likewise.
44516 * stdio-common/scanf.c: Likewise.
44517 * stdio-common/sprintf.c: Likewise.
44518 * stdio-common/tmpfile.c: Likewise.
44519 * stdio-common/vfprintf.c: Likewise.
44520 * stdio-common/vfscanf.c: Likewise.
44521 * stdlib/strfmon_l.c: Likewise.
44522 * sunrpc/openchild.c: Likewise.
44523 * sunrpc/xdr_stdio.c: Likewise.
44524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44525 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44527 2012-05-24 Roland McGrath <roland@hack.frob.com>
44529 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44531 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44532 in the third column, to generate for the shared library an IFUNC
44533 that uses _dl_vdso_vsym.
44534 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44535 * Makeconfig (object-suffixes-noshared): New variable.
44537 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44538 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44539 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44540 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44543 * include/sys/time.h (__gettimeofday): Remove macro.
44544 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44545 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44547 (__gettimeofday): Add libc_hidden_def.
44548 (gettimeofday): Add libc_hidden_weak.
44549 * sysdeps/mach/gettimeofday.c: Likewise.
44550 * sysdeps/posix/gettimeofday.c: Likewise.
44551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44552 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44554 (__gettimeofday_internal): Remove strong_alias.
44555 (__gettimeofday): Add libc_hidden_def.
44556 (gettimeofday): Add libc_hidden_weak.
44557 * sysdeps/unix/syscalls.list (gettimeofday):
44558 Remove __gettimeofday_internal alias.
44560 2012-05-24 Daniel Jacobowitz <drow@false.org>
44561 H.J. Lu <hongjiu.lu@intel.com>
44564 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44565 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44566 (largebin_index_32_big): New.
44567 (largebin_index): Use it for 16-byte alignment.
44568 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44569 correction with front_misalign.
44571 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44599 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44600 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44602 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44606 * math/libm-test.inc (exp_test): Add test from bug 14036.
44607 (pow_test): Add test from bug 10846.
44609 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44611 (special_function): Do not include flags in test name.
44612 (parse_args): Likewise.
44613 * sysdeps/i386/fpu/libm-test-ulps: Update.
44614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44615 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44616 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44619 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44621 * math/libm-test.inc ("Philosophy"): Update comment about
44623 (UNDERFLOW_EXCEPTION): New macro.
44624 (UNDERFLOW_EXCEPTION_OK): Likewise.
44625 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44626 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44627 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44628 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44629 (INVALID_EXCEPTION_OK): Update value.
44630 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44631 (OVERFLOW_EXCEPTION_OK): Likewise.
44632 (IGNORE_ZERO_INF_SIGN): Likewise.
44633 (test_exceptions): Handle underflow exceptions.
44634 (acos_test): Update for underflow exception expectations.
44635 (cexp_test): Likewise.
44636 (clog_test): Likewise.
44637 (clog10_test): Likewise.
44638 (csqrt_test): Likewise.
44639 (ctan_test): Likewise.
44640 (ctanh_test): Likewise.
44641 (exp_test): Likewise.
44642 (exp10_test): Likewise.
44643 (exp2_test): Likewise.
44644 (expm1_test): Likewise.
44645 (fma_test): Likewise.
44646 (j0_test): Likewise.
44647 (jn_test): Likewise.
44648 (nexttoward_test): Likewise.
44649 (pow_test): Likewise.
44650 (scalbn_test): Likewise.
44651 (scalbln_test): Likewise.
44652 (tan_test): Likewise.
44653 (y1_test): Likewise.
44654 * sysdeps/i386/fpu/libm-test-ulps: Update.
44655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657 2012-05-23 David S. Miller <davem@davemloft.net>
44659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44660 (__libc_sigaction): Remove unused local variables.
44662 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44664 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44666 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44668 mktime: avoid signed integer overflow
44669 * time/mktime.c (__mktime_internal): Do not mishandle the case
44670 where diff == INT_MIN.
44672 mktime: simplify computation of average
44673 * time/mktime.c (ranged_convert): Use new time_t_avg function
44674 instead of rolling our own (probably-slower) code.
44676 mktime: do not assume signed right shift propagates sign bit
44677 * time/mktime.c (isdst_differ): New static function.
44678 (__mktime_internal): No need to normalize tm_isdst now.
44679 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44682 mktime: merge another wrapv change from gnulib
44683 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44684 from some compilers.
44686 mktime: remove incorrect attempt at unusual arithmetics
44687 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44688 The code didn't really work on such machines anyway.
44689 (TYPE_MINIMUM): Assume two's complement.
44690 (twos_complement_arithmetic): Verify that long_int and time_t
44691 are two's complement (or unsigned, in the latter case).
44693 mktime: check signed shifts on long_int and time_t, too
44694 * time/mktime.c (SHR): Check that shifts work as desired
44695 on the types long_int and time_t too, as SHR is used on
44698 mktime: do not assume 'long' is wide enough
44699 * time/mktime.c (verify): Move decl up.
44700 (long_int): New type.
44701 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44702 to remove assumption in the code that 'long' is wide enough to
44703 store year values. This assumption is not true on x32 and on
44704 some non-glibc platforms.
44706 mktime: merge wrapv change from gnulib
44707 * time/mktime.c (WRAPV): New macro.
44708 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44709 (guess_time_tm, __mktime_internal): Do not assume that signed
44710 integer overflow wraps around; modern compilers generate code
44711 where this assumption is no longer valid.
44713 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44715 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44716 Replace "jmp L(pseudo_end)" with "ret".
44717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44720 2012-05-23 Andreas Jaeger <aj@suse.de>
44722 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44723 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44725 2012-05-23 Andreas Jaeger <aj@suse.de>
44726 Maximilian Attems <max@stro.at>
44728 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44731 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44733 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44734 code so that pseudo_end is just ret and the stack pointer is
44735 correct also for static library in error case.
44737 2012-05-23 Joseph Myers <joseph@codesourcery.com>
44739 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44740 move to syscalls.list.
44741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44746 * manual/install.texi (Running make install): Do not mention Linux
44747 kernel version for which pt_chown is not needed.
44748 (Linux): Do not mention problems with nscd with 2.0 kernels.
44749 * INSTALL: Regenerated.
44751 2012-05-23 Andreas Jaeger <aj@suse.de>
44753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44754 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44756 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44758 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44760 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44764 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44766 * sysdeps/unix/sysv/linux/bits/in.h
44767 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44769 2012-05-22 Roland McGrath <roland@hack.frob.com>
44771 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44772 (PREPARE_VERSION): Just use assert instead, it will be elided
44773 under [NDEBUG] anyway.
44775 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44777 * sysdeps/unix/sysv/linux/Makefile: Include
44778 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44779 (sysdep_routines): Remove sysctl.
44780 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44781 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44782 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44783 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44784 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44786 2012-05-22 Andreas Jaeger <aj@suse.de>
44788 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44789 that pseudo_end is just ret and the stack pointer is correct also
44790 for static library in error case.
44792 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44795 * nss/nsswitch.c (defconfig_entries): New variable.
44796 (__nss_database_lookup): Don't leak defconfig entries.
44797 (nss_parse_service_list): Don't leak on error paths.
44798 (free_database_entries): New function.
44799 (free_defconfig): New function.
44800 (free_mem): Move common code to free_database_entries.
44802 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44806 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44808 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44809 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44812 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44813 (INTERNAL_SYSCALL_TYPES): Likewise.
44814 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44815 (LOAD_REGS_TYPES_[1-6]): Likewise.
44816 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44817 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44819 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44821 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44822 copysignl for GLIBC_2_0.
44823 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44824 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44826 logbl for GLIBC_2_0.
44827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44828 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44830 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44832 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44835 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44838 * time/mktime.c: Update copyright years.
44840 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44842 mktime: merge comment-quoting-style change from gnulib
44843 * time/mktime.c: Quote 'like this' in comments.
44844 The GNU coding standards suggest that we no longer quote `like this',
44845 as "`" and "'" are typically rendered asymmetrically nowadays.
44846 The typical gnulib style is to quote 'like this' when quoting
44847 code, and "like this" when quoting English.
44849 * time/mktime.c (compile-command): Add "-I.".
44851 mktime: merge mktime-internal.h change from gnulib
44852 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44854 mktime: merge time_r change from gnulib
44855 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44857 mktime: merge DEBUG change from gnulib
44858 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44859 case system <time.h> has a #define.
44861 mktime: merge <sys/types.h> change from gnulib
44862 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44863 since <time.t> is now guaranteed to define time_t.
44865 mktime: merge HAVE_CONFIG_H change from gnulib
44866 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44868 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44875 (struct rusage): Use anonymous union to pad each field to
44878 2012-05-21 David S. Miller <davem@davemloft.net>
44880 * Makefules (o-iterator): Remove .s cases.
44881 (compile-command.s): Delete.
44882 (COMPILE.s): Delete.
44883 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44885 2012-05-21 Joseph Myers <joseph@codesourcery.com>
44887 * configure.in (libc_cv_predef_stack_protector): Only consider
44888 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44889 * configure: Regenerated.
44891 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44894 New macro. Use R*LP on int and pointer.
44895 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44896 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44897 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44898 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44900 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44901 [__WORDSIZE_TIME64_COMPAT32] instead of
44902 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44903 (struct utmp): Likewise.
44904 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44905 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44907 (__WORDSIZE_TIME64_COMPAT32): This.
44908 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44909 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44910 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44911 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44912 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44913 (__WORDSIZE_TIME64_COMPAT32): New macro.
44915 2012-05-21 Andreas Jaeger <aj@suse.de>
44917 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44918 only if [SHARED]. Add prototype for __wcschr_ia32.
44920 2012-05-21 Roland McGrath <roland@hack.frob.com>
44922 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44923 of %rbp unmolested in the jmp_buf while mangling the low bits.
44924 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44925 unmolested high bits of %rbp while demangling the low bits.
44926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44928 2012-05-21 Andreas Jaeger <aj@suse.de>
44930 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44931 * sunrpc/svc_simple.c: Use it for registerrpc.
44932 * sunrpc/xcrypt.c: Use it for passwd2des.
44934 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44936 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44938 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44939 Don't define if [__SYSCALL_WORDSIZE != 32].
44940 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44943 2012-05-21 Bruno Haible <bruno@clisp.org>
44944 Andreas Jaeger <aj@suse.de>
44946 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44947 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44948 inptr and inend for must_buffer_ch.
44949 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44950 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44951 * stdio-common/Makefile (tests): Remove bug15.
44952 (bug15-ENV): Remove macro.
44953 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44956 2012-05-19 Andreas Jaeger <aj@suse.de>
44957 Roland McGrath <roland@hack.frob.com>
44959 * manual/contrib.texi: Completely rewritten. It contains now an
44960 alphabetical list of contributors and their contributions.
44962 2012-05-21 Richard Henderson <rth@twiddle.net>
44964 * misc/getauxval.c (__getauxval): Use unsigned long int.
44965 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44966 (getauxval): Use unsigned long int.
44968 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44970 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44972 2012-05-21 Roland McGrath <roland@hack.frob.com>
44974 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44975 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44976 __alignof__ (long double).
44978 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44982 2012-05-20 Richard Henderson <rth@twiddle.net>
44984 * misc/getauxval.c: New file.
44985 * misc/sys/auxv.h: New file.
44986 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44987 (routines): Add getauxval.
44988 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44989 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44990 * elf/dl-sysdep.c (_dl_auxv): Remove.
44991 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44992 * elf/dl-support.c (_dl_auxv): New variable.
44993 (_dl_aux_init): Initialize it.
44994 * manual/startup.texi (Auxiliary Vector): New node.
44995 * sysdeps/generic/bits/hwcap.h: New file.
44996 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44997 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44998 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44999 * sysdeps/sparc/sysdep.h: ... here. Include it.
45000 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45013 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45017 2012-05-19 David S. Miller <davem@davemloft.net>
45019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45021 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45024 * math/s_ccosh.c: Include <float.h>
45025 (__ccosh): Avoid internal overflow calculating sinh and cosh
45026 values before multiplying by sin and cos values.
45027 * math/s_ccoshf.c: Likewise.
45028 * math/s_ccoshl.c: Likewise.
45029 * math/s_csin.c: Likewise.
45030 * math/s_csinf.c: Likewise.
45031 * math/s_csinl.c: Likewise.
45032 * math/s_csinh.c: Likewise.
45033 * math/s_csinhf.c: Likewise.
45034 * math/s_csinhl.c: Likewise.
45035 * math/libm-test.inc (ccos_test): Add more tests.
45036 (ccosh_test): Likewise.
45037 (csin_test): Likewise.
45038 (csinh_test): Likewise.
45039 * sysdeps/i386/fpu/libm-test-ulps: Update.
45040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45042 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45044 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45045 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45047 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45049 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45051 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45052 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45053 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45054 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45055 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45056 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45057 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45058 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45059 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45060 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45061 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45062 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45063 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45064 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45065 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45066 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45067 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45068 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45069 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45070 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45071 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45072 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45073 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45074 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45075 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45076 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45077 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45078 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45079 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45080 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45081 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45083 2012-05-18 Andreas Jaeger <aj@suse.de>
45085 * csu/.gitignore: Delete.
45087 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45089 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45090 (timex): Use __syscall_slong_t.
45092 2012-05-18 Andreas Jaeger <aj@suse.de>
45093 Carlos O'Donell <carlos_odonell@mentor.com>
45095 * manual/install.texi (Configuring and compiling): Update
45096 description about files modified in the source directory.
45097 * INSTALL: Regenerated.
45099 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45101 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45102 value. Use "or" to set return value to -1.
45103 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45104 negate return value.
45106 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45108 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45109 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45110 failure if the compiler has Graphite support disabled.
45111 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45113 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45114 (CFLAGS-memmove.c): Likewise.
45115 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45118 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45120 * sysdeps/x86_64/x32/_itoa.h: New file.
45122 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45123 getdents system call only if kernel and user dirents have the
45124 same d_ino and d_off.
45126 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45127 LLONG_MAX != LONG_MAX.
45128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45129 (_fitoa_word): Likewise.
45131 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45137 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45138 include <bits/wordsize.h>. Check __x86_64__ instead of
45140 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45141 if __x86_64__ is defined. Use anonymous union on fpstate.
45143 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45146 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45148 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45149 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45150 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45151 Refer to _rtld_local_ro instead of _rtld_global_ro.
45152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45154 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45156 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45158 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45159 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45160 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45162 * sysdeps/powerpc/powerpc32/dl-machine.c
45163 (__elf_machine_runtime_setup) [PROF]: Don't reference
45166 2012-05-18 Andreas Jaeger <aj@suse.de>
45168 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45169 function only available for GCCs before 3.4 since GCC 3.4
45170 introduced a builtin.
45172 (llrintf): Likewise.
45173 (llrint): Likewise.
45180 (nearbyint): Likewise.
45181 (nearbyintf): Likewise.
45185 (floorf): Likewise.
45187 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45189 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45190 on both fields and cast pointer to __syscall_ulong_t.
45192 * bits/types.h (__fsword_t): New type.
45193 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45194 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45196 (__FSWORD_T_TYPE): Likewise.
45197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45198 (__FSWORD_T_TYPE): Likewise.
45199 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45200 (__FSWORD_T_TYPE): Likewise.
45201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45202 (__FSWORD_T_TYPE): Likewise.
45203 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45204 __SWORD_TYPE with __fsword_t.
45205 (statfs64): Likewise.
45207 2012-05-17 David S. Miller <davem@davemloft.net>
45209 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45211 2012-05-17 Andreas Jaeger <aj@suse.de>
45213 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45216 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45218 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45220 2012-05-17 Andreas Jaeger <aj@suse.de>
45222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45225 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45227 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45229 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45231 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45232 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45234 2012-05-17 Andreas Jaeger <aj@suse.de>
45235 Carlos O'Donell <carlos_odonell@mentor.com>
45238 * sysdeps/x86_64/multiarch/init-arch.h
45239 (bit_YMM_Usable): Rename to...
45240 (bit_AVX_Usable): ... this.
45241 (bit_FMA4_Usable): New macro.
45242 (bit_XMM_state): New macro.
45243 (bit_YMM_state): New macro.
45244 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45245 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45246 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45247 (CPUID_OSXSAVE): New macro.
45248 (CPUID_AVX): New macro.
45249 (CPUID_FMA4): New macro.
45250 (index_YMM_Usable): Rename to...
45251 (index_AVX_Usable): ... this.
45252 (HAS_AVX): Use HAS_ARCH_FEATURE.
45253 (HAS_FMA4): Likewise.
45254 (HAS_YMM_USABLE): Remove.
45255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45256 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45258 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45259 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45260 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45261 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45262 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45264 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45266 * math/libm-test.c: Support platforms without multiple rounding modes.
45267 * math/bug-nextafter.c: Support platforms without FP exceptions.
45268 * math/bug-nexttoward.c: Likewise.
45269 * math/test-fenv.c: Likewise.
45270 * math/test-misc.c: Likewise.
45271 * stdlib/bug-getcontext.c: Likewise.
45273 2012-05-17 Andreas Jaeger <aj@suse.de>
45275 * manual/examples/search.c (critter_cmp): Change signature to
45277 * manual/string.texi (Collation Functions): Likewise.
45279 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45281 * bits/types.h: Fold copyright years.
45282 * bits/typesizes.h: Likewise.
45283 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45287 * time/time.h: Likewise.
45289 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45292 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45293 in instead of returning them. Return void.
45294 (__libc_mallinfo): Accumulate over all arenas.
45295 (__malloc_stats): Adjust for change in int_mallinfo interface.
45297 2012-05-16 Roland McGrath <roland@hack.frob.com>
45300 * configure.in (NM): Add AC_CHECK_TOOL for it.
45301 (libc_extra_cflags): New substituted variable.
45302 Check for -fstack-protector being used implicitly.
45303 * configure: Regenerated.
45304 * config.make.in (config-extra-cflags): New variable,
45305 gets @libc_extra_cflags@.
45306 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45309 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45310 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45311 * configure: Regenerated.
45312 * config.make.in (CPPUNDEFS): New substituted variable.
45313 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45314 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45315 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45317 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45319 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45320 (mq_attr): Use __syscall_slong_t.
45322 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45324 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45325 Check __x86_64__ instead of __WORDSIZE.
45326 (_STAT_VER_LINUX): Likewise.
45327 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45328 __syscall_ulong_t and __syscall_slong_t.
45329 (stat64): Likewise.
45331 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45335 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45339 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45341 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45344 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45345 include <bits/wordsize.h>. Check __x86_64__ instead of
45347 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45349 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45352 include <bits/wordsize.h>. Check __x86_64__ instead of
45354 (user_regs_struct): Use "__extension__ unsigned long long"
45355 instead of "unsigned long" if __x86_64__ is defined.
45356 (user): Likewise. Pad after pointer field if __ILP32__ is
45359 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45361 * configure.in (makeinfo): Require version 4.5 or later. Allow
45363 * configure: Regenerated.
45364 * manual/install.texi (texinfo): Increase version requirement to
45366 * INSTALL: Regenerated.
45368 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45372 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45374 * sysdeps/x86_64/x32/ffs.c: New file.
45376 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45378 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45379 defined. Use __syscall_ulong_t.
45380 (shminfo): Use __syscall_ulong_t.
45381 (shm_info): Likewise.
45383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45386 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45388 (msgqnum_t): Use __syscall_ulong_t.
45389 (msglen_t): Likewise.
45390 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45393 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45394 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45396 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45398 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45399 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45401 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45404 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45405 include <bits/wordsize.h>. Check __x86_64__ instead of
45408 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45409 "unsigned long long int" if __x86_64__ is defined.
45410 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45412 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45413 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45414 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45416 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45418 (GET_PC): Cast to uintptr_t first.
45419 (GET_FRAME): Likewise.
45420 (GET_STACK): Likewise.
45422 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45423 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45428 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45429 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45430 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45431 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45432 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45433 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45434 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45435 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45436 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45437 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45438 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45440 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45441 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45442 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45444 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45446 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45447 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45448 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45449 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45452 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45454 * Makerules (+depfiles): Also collect depfiles from .oS in
45456 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45457 .oS, $(libnldbl-routines)).
45459 * Makerules (native-compile-mkdep-flags): Define.
45460 * sunrpc/Makefile (extra-objs): Add $(addprefix
45461 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45462 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45463 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45464 calling $(make-target-directory).
45466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45468 * bits/types.h (__snseconds_t): Removed.
45469 * time/time.h (struct timespec): Replace __snseconds_t with
45471 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45472 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45475 (__SNSECONDS_T_TYPE): Likewise.
45476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45477 (__SNSECONDS_T_TYPE): Likewise.
45478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45479 (__SNSECONDS_T_TYPE): Likewise.
45481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45483 * sysdeps/mach/hurd/bits/typesizes.h
45484 (__SYSCALL_SLONG_TYPE): New macro.
45485 (__SYSCALL_ULONG_TYPE): Likewise.
45487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45489 * bits/types.h (__syscall_slong_t): New type.
45490 (__syscall_ulong_t): Likewise.
45492 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45493 (__SYSCALL_ULONG_TYPE): Likewise.
45494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45495 (__SYSCALL_SLONG_TYPE): Likewise.
45496 (__SYSCALL_ULONG_TYPE): Likewise.
45497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45498 (__SYSCALL_SLONG_TYPE): Likewise.
45499 (__SYSCALL_ULONG_TYPE): Likewise.
45500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45501 (__SYSCALL_SLONG_TYPE): Likewise.
45502 (__SYSCALL_ULONG_TYPE): Likewise.
45504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45506 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45507 Add sigaltstack-offsets.sym.
45508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45509 <sigaltstack-offsets.h>.
45510 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45511 longjmp_msg pointer.
45512 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45513 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45515 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45517 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45519 * elf/stackguard-macros.h: Remove file.
45520 * sysdeps/generic/stackguard-macros.h: New file.
45521 * sysdeps/i386/stackguard-macros.h: Likewise.
45522 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45523 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45524 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45525 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45526 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45527 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45528 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45529 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45530 <elf/stackguard-macros.h>.
45533 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45534 __aligned__ in attribute.
45535 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45536 (gregset_t): Likewise.
45538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45540 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45541 * sysdeps/x86_64/64/Implies-after: Here. New file.
45542 * sysdeps/x86_64/x32/Implies-after: New file.
45544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45546 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45547 and access return value for _dl_profile_fixup. Use R10_LP to
45550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45552 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45556 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45557 * sysdeps/x86_64/x32/sysdep.h: New file.
45559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45561 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45562 * sysdeps/x86_64/setjmp.S: Likewise.
45564 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45566 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45567 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45568 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45570 remove unused global constant.
45572 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45574 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45575 include of <not-cancel.h>.
45577 2012-05-15 Roland McGrath <roland@hack.frob.com>
45579 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45581 2012-05-15 Jeff Law <law@redhat.com>
45582 Andreas Jaeger <aj@suse.de>
45585 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45587 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45588 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45589 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45590 code changing __hst_map_handle.map.
45592 2012-05-15 Roland McGrath <roland@hack.frob.com>
45594 * configure.in (sysnames): Look for Implies-before and Implies-after
45596 * configure: Regenerated.
45598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45600 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45601 8-byte data alignment with LP_SIZE alignment.
45603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45605 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45610 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45615 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45616 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45622 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45623 (stackinfo_sub_sp): Likewise.
45625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45642 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45646 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45647 into R11_LP and load __x86_64_shared_cache_size_half into
45650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45652 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45655 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45663 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45664 powerpc32/power7/fpu/s_logb.c via #include.
45665 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45666 powerpc32/power7/fpu/s_logbf.c via #include.
45667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45668 powerpc32/power7/fpu/s_logbl.c via #include.
45670 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45672 * README.libm: Remove file.
45674 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45676 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45677 count for x32. Use R*_LP and omit operand-size suffix.
45679 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45681 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45682 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45683 * sysdeps/x86_64/x32/shlib-versions: New file.
45685 2012-05-14 Roland McGrath <roland@hack.frob.com>
45687 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45688 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45689 Use _dl_fatal_printf instead.
45691 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45693 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45694 set if not set by the user. Do not allow for being unset.
45695 * sysdeps/unix/sysv/linux/configure: Regenerated.
45697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45699 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45700 the `q' suffix from lea and replace .quad with ASM_ADDR.
45702 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45705 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45707 (PTR_DEMANGLE): Likewise.
45709 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45711 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45713 (ASM_ADDR): Likewise.
45714 (RAX_LP): Likewise.
45715 (RBP_LP): Likewise.
45716 (RBX_LP): Likewise.
45717 (RCX_LP): Likewise.
45718 (RDI_LP): Likewise.
45719 (RSI_LP): Likewise.
45720 (RSP_LP): Likewise.
45723 (R10_LP): Likewise.
45724 (R10_LP): Likewise.
45725 (R11_LP): Likewise.
45726 (R12_LP): Likewise.
45727 (R13_LP): Likewise.
45728 (R14_LP): Likewise.
45729 (R15_LP): Likewise.
45731 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45733 * sysdeps/x86_64/x32/dl-machine.h: New file.
45735 2012-05-14 Andreas Jaeger <aj@suse.de>
45737 * manual/Makefile (subdir): Remove export of subdir.
45738 (all): Remove target.
45739 (.PHONY): Remove all from list.
45740 (mkinstalldirs): Remove.
45741 (.PHONY): Remove installdirs from list.
45742 ($(inst_infodir)/libc.info): Use make-target-directory.
45743 (installdirs): Remove.
45744 (subdir_%): Remove.
45745 (glibc-targets): Remove.
45748 ($(objpfx)stubs ../po/manual.pot): Remove.
45749 ($(objpfx)stamp%): Remove.
45750 (make-target-directory): Remove.
45751 (subdir_install): Remove.
45752 (routines): Remove.
45759 * manual/.gitignore: Remove, it's not needed anymore.
45760 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45762 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45764 (texis): Renamed to $(objpfx)texis.
45765 (texis-path): New, contains path to generated files.
45766 (chapters.%): Use texis-path for complete path, add extra argument
45768 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45769 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45770 (summary,texi, stamp-summary): Use complete path of
45771 files. Generate files in build dir.
45772 (dir-add.texi): Build in build dir.
45773 (libm-err.texi,stamp-libm-err): Likewise.
45774 (version.texi, stamp-version): Likewise.
45775 (.%c.texi): Likewise.
45776 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45777 (mostlyclean): Remove target.
45778 (realclean): Remove target.
45779 (generated): Add new variable with contents from mostlyclean and
45780 realclean, remove entries duplicated in common-mostlyclean, add
45781 stamp-libm-err and stamp-version.
45782 (generated-dirs): Add libc directory.
45783 ($(inst_infodir)/libc.info): Install files from build dir.
45785 * manual/install.texi (Configuring and compiling): Adjust since
45786 the info files are not part of the tar ball anymore.
45788 2012-05-14 Andreas Jaeger <aj@suse.de>
45790 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45793 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45797 to 2.2.0 where earlier.
45798 * sysdeps/unix/sysv/linux/configure: Regenerated.
45799 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45800 Remove conditional code.
45801 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45802 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45803 Remove conditional code.
45804 [!__NR_lchown]: Likewise.
45805 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45806 [__NR_lchown]: Likewise.
45807 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45808 comment referencing __ASSUME_LCHOWN_SYSCALL.
45809 * sysdeps/unix/sysv/linux/i386/sigaction.c
45810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45812 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45813 Remove conditional code.
45814 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45815 (__protocol_available): Remove #if 0 code.
45816 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45818 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45819 * sysdeps/unix/sysv/linux/kernel-features.h
45820 (__ASSUME_GETCWD_SYSCALL): Don't define.
45821 (__ASSUME_REALTIME_SIGNALS): Likewise.
45822 (__ASSUME_PREAD_SYSCALL): Likewise.
45823 (__ASSUME_PWRITE_SYSCALL): Likewise.
45824 (__ASSUME_POLL_SYSCALL): Likewise.
45825 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45826 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45828 (__ASSUME_SIOCGIFNAME): Don't define.
45829 (__ASSUME_MSG_NOSIGNAL): Likewise.
45830 (__ASSUME_SENDFILE): Define unconditionally.
45831 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45832 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45834 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45835 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45836 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45837 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45838 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45839 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45840 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45865 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45866 Remove conditional code.
45867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45868 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45869 Remove conditional code.
45870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45871 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45872 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45873 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45874 Remove conditional code.
45875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45876 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45877 Remove conditional code.
45878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45879 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45880 Remove conditional code.
45881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45882 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45883 Remove conditional code.
45884 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45885 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45886 Remove conditional code.
45887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45888 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45889 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45891 * sysdeps/unix/sysv/linux/sigaction.c
45892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45894 * sysdeps/unix/sysv/linux/sigpending.c
45895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45897 * sysdeps/unix/sysv/linux/sigprocmask.c
45898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45900 * sysdeps/unix/sysv/linux/sigsuspend.c
45901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45904 (__libc_missing_rt_sigs): Remove.
45905 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45906 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45907 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45908 Remove conditional code.
45909 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45910 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45912 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45913 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45914 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45915 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45917 2012-05-14 Andreas Jaeger <aj@suse.de>
45919 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45920 it's not used in glibc.
45921 (__coshm1): Likewise.
45922 (__acosh1p): Likewise.
45925 * manual/string.texi (Copying and Concatenation): Add missing
45926 variable in concat example.
45927 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45933 __builtin_clzl with __builtin_clzll.
45935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45938 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45941 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45943 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45944 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45945 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45946 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45948 2012-05-14 Mike Frysinger <vapier@gentoo.org>
45950 * NEWS: Update ia64 info.
45952 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45954 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45957 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45959 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45960 * sysdeps/unix/syscalls.list (dup3): Likewise.
45961 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45962 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45964 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45966 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45967 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45969 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45971 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45973 (TLS_IE): Use mov/add instead of movq/addq to load thread
45975 (TLS_GD_PREFIX): New.
45978 2012-05-11 David S. Miller <davem@davemloft.net>
45980 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45981 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45982 (_FPU_SETCW): Likewise.
45984 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45986 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45987 is 32-byte aligned.
45989 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45992 * iconvdata/gb18030.c: Update tables.
45993 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45994 characters specially.
45995 (BODY for TO_LOOP): Add encoding of missing ranges.
45997 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46000 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46001 * sysdeps/mach/hurd/dup3.c: Likewise.
46002 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46003 * sysdeps/powerpc/memmove.c:: Likewise.
46005 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46007 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46008 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46010 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46012 * elf/elf.h (R_X86_64_RELATIVE64): New.
46013 (R_X86_64_NUM): Updated.
46014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46015 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46016 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46017 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46018 tst-quad1pie tst-quad2pie
46019 (modules-names): Add tst-quadmod1 tst-quadmod2.
46020 ($(objpfx)tst-quad1): New dependency.
46021 ($(objpfx)tst-quad2): Likewise.
46022 ($(objpfx)tst-quad1pie): Likewise.
46023 ($(objpfx)tst-quad2pie): Likewise.
46024 * sysdeps/x86_64/tst-quad1.c: New file.
46025 * sysdeps/x86_64/tst-quad1pie.c: New file.
46026 * sysdeps/x86_64/tst-quad2.c: Likewise.
46027 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46028 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46029 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46030 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46031 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46035 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46036 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46037 * streams/stropts.h (t_scalar_t): Define type.
46039 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46040 (_PATH_PRESERVE): Set to "/var/lib".
46041 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46043 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46046 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46047 if __dir_mkfile succeeded.
46049 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46050 checking for _hurd_dtablesize. Unlock it right after having
46051 finished _hurd_dtable allocation.
46053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46055 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46056 * sysdeps/mach/hurd/configure: Regenerated.
46057 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46058 special-casing to...
46059 * sysdeps/gnu/configure.in: ... this new file.
46060 * sysdeps/unix/sysv/linux/configure: Regenerated.
46061 * sysdeps/gnu/configure: New generated file.
46063 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46064 for Linux: use nsec instead of usec, as well as:
46065 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46066 members of type struct timespec.
46067 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46069 (struct stat64): Likewise.
46070 (_STATBUF_ST_NSEC): New macro.
46071 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46074 __strtoul_internal rather than strtoul.
46076 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46078 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46083 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46084 which preserves existing values.
46085 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46087 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46089 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46090 TIMEOUT values. Return EINVAL for NFDS values either negative or
46091 greater than FD_SETSIZE.
46093 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46095 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46096 allocated, call __vm_protect to finish enabling the existing space, and
46097 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46098 allocate the remainder.
46100 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46102 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46103 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46105 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46107 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46108 sysdeps/mach/hurd/readlink.c.
46110 * posix/tst-sysconf.c (posix_options): Only use
46111 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46112 _POSIX_SYNCHRONIZED_IO when they are defined
46113 * sysdeps/mach/hurd/bits/posix_opt.h:
46114 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46115 (_XOPEN_REALTIME): Undefine macro.
46116 (_XOPEN_REALTIME_THREADS): Undefine macro.
46117 (_XOPEN_SHM): Undefine macro.
46118 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46120 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46122 (_POSIX_ASYNC_IO): Undefine macro.
46123 (_POSIX_PRIORITIZED_IO): Undefine macro.
46124 (_POSIX_SPIN_LOCKS): Define macro to -1.
46126 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46127 SA_NODEFER, SA_RESETHAND.
46128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46129 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46132 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46134 * elf/Makefile (pldd-modules): Define unconditionally.
46136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46138 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46142 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46143 Return ENOENT when name is empty.
46144 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46148 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46150 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46154 Fix mlock in all cases except non-readable pages.
46155 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46156 instead of VM_PROT_ALL as parameter to __vm_wire function.
46158 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46159 (__mkdir): When path is `/', just fail with EEXIST.
46160 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46162 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46164 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46165 <sys/uio.h> (for writev).
46166 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46167 and <sys/param.h> (for MIN).
46169 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46171 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46172 REQUESTED_TIME. Properly set the remaining time and return EINTR
46175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46177 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46178 Depend on against $(link-rpcuserlibs).
46180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46182 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46183 (__libc_stack_end): Do not use attribute_relro.
46184 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46185 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46186 to libthread-provided value.
46187 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46193 * bits/libc-lock.h (__libc_once_get): New macro.
46194 * sysdeps/mach/bits/libc-lock.h: Likewise.
46195 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46197 instead of using implementation details.
46199 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46200 * libio/freopen.c: Likewise.
46201 * libio/freopen64.c: Likewise.
46202 * misc/syslog.c: Likewise.
46203 * nscd/connections.c: Likewise.
46204 * nscd/netgroupcache.c: Likewise.
46205 * sysdeps/posix/getcwd.c: Likewise.
46207 2012-05-10 Roland McGrath <roland@hack.frob.com>
46209 * math/w_ilogbf.c: Add #include <limits.h>.
46211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46213 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46214 path instead of returning without unlocking.
46216 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46217 immediate-write ioctls.
46218 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46220 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46222 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46223 __builtin_frame_address instead of making assumptions about the
46224 location of the return address relative to DATA. Force early load of
46225 the return address.
46226 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46227 __builtin_frame_address.
46230 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46231 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46232 implement dup3 and do some further code clean-ups.
46233 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46234 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46238 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46240 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46241 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46242 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46243 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46244 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46247 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46248 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46249 when handler == SIG_ERR, not when handler != SIG_ERR.
46251 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46253 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46254 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46257 accept4 for GNU Hurd.
46258 * include/sys/socket.h (__libc_accept4): New prototype.
46259 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46260 to implement __libc_accept4.
46261 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46263 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46265 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46266 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46267 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46268 signal-defines.sym.
46270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46272 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46276 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46277 assertion on O_CLOEXEC flag.
46278 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46279 * hurd/intern-fd.c: Likewise.
46280 * hurd/port2fd.c: Likewise.
46282 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46285 * bits/in.h (IPV6_PKTINFO): Define new macro.
46286 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46288 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46293 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46295 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46296 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46298 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46299 * math/libm-test.inc (logb_test) : Additional logb tests.
46301 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46302 Andreas Jaeger <aj@suse.de>
46304 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46305 * configure: Regenerated.
46306 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46307 * config.make.in (link-obsolete-rpc): New substituted variable.
46308 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46309 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46310 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46311 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46312 so that libc.a contains the symbols.
46313 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46314 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46315 * sunrpc/auth_none.c: Likewise.
46316 * sunrpc/auth_unix.c: Likewise.
46317 * sunrpc/authdes_prot.c: Likewise.
46318 * sunrpc/authuxprot.c: Likewise.
46319 * sunrpc/clnt_gen.c: Likewise.
46320 * sunrpc/clnt_perr.c: Likewise.
46321 * sunrpc/clnt_raw.c: Likewise.
46322 * sunrpc/clnt_simp.c: Likewise.
46323 * sunrpc/clnt_tcp.c: Likewise.
46324 * sunrpc/clnt_udp.c: Likewise.
46325 * sunrpc/clnt_unix.c: Likewise.
46326 * sunrpc/des_crypt.c: Likewise.
46327 * sunrpc/des_soft.c: Likewise.
46328 * sunrpc/get_myaddr.c: Likewise.
46329 * sunrpc/key_call.c: Likewise.
46330 * sunrpc/key_prot.c: Likewise.
46331 * sunrpc/netname.c: Likewise.
46332 * sunrpc/pm_getmaps.c: Likewise.
46333 * sunrpc/pm_getport.c: Likewise.
46334 * sunrpc/pmap_clnt.c: Likewise.
46335 * sunrpc/pmap_prot.c: Likewise.
46336 * sunrpc/pmap_prot2.c: Likewise.
46337 * sunrpc/pmap_rmt.c: Likewise.
46338 * sunrpc/publickey.c: Likewise.
46339 * sunrpc/rpc_cmsg.c: Likewise.
46340 * sunrpc/rpc_common.c: Likewise.
46341 * sunrpc/rpc_dtable.c: Likewise.
46342 * sunrpc/rpc_prot.c: Likewise.
46343 * sunrpc/rpc_thread.c: Likewise.
46344 * sunrpc/rtime.c: Likewise.
46345 * sunrpc/svc.c: Likewise.
46346 * sunrpc/svc_auth.c: Likewise.
46347 * sunrpc/svc_raw.c: Likewise.
46348 * sunrpc/svc_run.c: Likewise.
46349 * sunrpc/svc_tcp.c: Likewise.
46350 * sunrpc/svc_udp.c: Likewise.
46351 * sunrpc/svc_unix.c: Likewise.
46352 * sunrpc/svcauth_des.c: Likewise.
46353 * sunrpc/xcrypt.c: Likewise.
46354 * sunrpc/xdr.c: Likewise.
46355 * sunrpc/xdr_array.c: Likewise.
46356 * sunrpc/xdr_float.c: Likewise.
46357 * sunrpc/xdr_intXX_t.c: Likewise.
46358 * sunrpc/xdr_mem.c: Likewise.
46359 * sunrpc/xdr_rec.c: Likewise.
46360 * sunrpc/xdr_ref.c: Likewise.
46361 * sunrpc/xdr_sizeof.c: Likewise.
46362 * sunrpc/xdr_stdio.c: Likewise.
46364 2012-05-10 Roland McGrath <roland@hack.frob.com>
46366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46367 change. Update copyright years.
46369 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46371 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46373 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46374 Joseph Myers <joseph@codesourcery.com>
46375 Paul Pluzhnikov <ppluzhnikov@google.com>
46378 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46380 [cross-compiling] (extra-libs): Likewise.
46381 [cross-compiling] (extra-libs-others): Likewise.
46382 [cross-compiling] (librpcsvc-routines): Likewise.
46383 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46384 [cross-compiling] (omit-deps): Likewise.
46385 (sunrpc-CPPFLAGS): New variable.
46386 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46387 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46388 (cross-rpcgen-objs): New variable.
46389 (extra-objs): Append $(cross-rpcgen-objs).
46390 ($(cross-rpcgen-objs)): New rule.
46391 ($(objpfx)cross-rpcgen): Likewise.
46392 (rpcgen-cmd): Define to use $(built-program-file). Expand
46394 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46395 ($(objpfx)x%.stmp): Likewise.
46396 * sunrpc/proto.h [IS_IN_build] (_): Define.
46397 [IS_IN_build] (_libc_intl_domainname): Likewise.
46399 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46402 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46403 and R_X86_64_TPOFF64.
46405 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46407 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46408 sysdeps/unix/sysv/syscalls.list.
46411 * sysdeps/unix/sysv/syscalls.list: Remove file.
46413 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46416 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46417 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46418 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46419 (__LC_IDENTIFICATION): Make these macros useful in #if
46420 expressions, as required by C99.
46422 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46424 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46425 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46428 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46430 * stdlib/longlong.h: Updated from GCC.
46432 2012-05-09 Andreas Jaeger <aj@suse.de>
46434 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46435 default is first entry.
46436 (run_mode): Set type.
46437 (main): Remove informal message about syslog.
46438 (options): Fix typo.
46441 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46444 (llrintf): Likewise.
46445 (llrint): Likewise.
46448 (nearbyint): Likewise.
46449 (nearbyintf): Likewise.
46451 2012-05-09 Andreas Jaeger <aj@suse.de>
46452 Pedro Alves <palves@redhat.com>
46454 * nscd/nscd.c (run_mode): Use enum.
46455 (main): Cleanup coding style issue.
46457 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46458 Andreas Jaeger <aj@suse.de>
46460 * nscd/nscd.c (go_background): Replaced with...
46461 (run_mode): ... this.
46462 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46463 (options): Add -F --foreground.
46464 (main): Implement it.
46465 (parse_opt): Parse it.
46467 2012-05-09 Andreas Jaeger <aj@suse.de>
46470 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46471 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46472 -Wconversion warning.
46473 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46476 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46478 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46480 (LC_ALL): Use macro-int-constant.
46481 (LC_COLLATE): Likewise.
46482 (LC_CTYPE): Likewise.
46483 (LC_MESSAGES): Likewise.
46484 (LC_MONETARY): Likewise.
46485 (LC_NUMERIC): Likewise.
46486 (LC_TIME): Likewise.
46487 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46488 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46490 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46492 [C99-based standards] (float_t): Expect type.
46493 [C99-based standards] (double_t): Expect type.
46494 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46496 [C99-based standards] (HUGE_VALL): Likewise.
46497 [C99-based standards] (INFINITY): Likewise.
46498 [C99-based standards] (NAN): Likewise.
46499 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46500 [C99-based standards] (FP_NAN): Likewise.
46501 [C99-based standards] (FP_NORMAL): Likewise.
46502 [C99-based standards] (FP_SUBNORMAL): Likewise.
46503 [C99-based standards] (FP_ZERO): Likewise.
46504 [C99-based standards] (FP_FAST_FMA): Use
46505 optional-macro-int-constant. Specify type. Require == 1.
46506 [C99-based standards] (FP_FAST_FMAF): Likewise.
46507 [C99-based standards] (FP_FAST_FMAL): Likewise.
46508 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46509 [C99-based standards] (FP_ILOGBNAN): Likewise.
46510 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46512 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46513 [C99-based standards] (math_errhandling): Specify type.
46514 [ISO99 || ISO11] (signgam): Do not allow.
46515 [non-C99-based standards] (copysignf): Do not allow.
46516 [non-C99-based standards] (exp2f): Likewise.
46517 [non-C99-based standards] (log2f): Likewise.
46518 [non-C99-based standards] (modff): Allow.
46519 [non-C99-based standards] (erff): Do not allow.
46520 [non-C99-based standards] (erfcf): Likewise.
46521 [non-C99-based standards] (gammaf): Likewise.
46522 [non-C99-based standards] (hypotf): Likewise.
46523 [non-C99-based standards] (j0f): Likewise.
46524 [non-C99-based standards] (j1f): Likewise.
46525 [non-C99-based standards] (jnf): Likewise.
46526 [non-C99-based standards] (lgammaf): Likewise.
46527 [non-C99-based standards] (tgammaf): Likewise.
46528 [non-C99-based standards] (y0f): Likewise.
46529 [non-C99-based standards] (y1f): Likewise.
46530 [non-C99-based standards] (ynf): Likewise.
46531 [non-C99-based standards] (isnanf): Likewise.
46532 [non-C99-based standards] (acoshf): Likewise.
46533 [non-C99-based standards] (asinhf): Likewise.
46534 [non-C99-based standards] (atanhf): Likewise.
46535 [non-C99-based standards] (cbrtf): Likewise.
46536 [non-C99-based standards] (expm1f): Likewise.
46537 [non-C99-based standards] (ilogbf): Likewise.
46538 [non-C99-based standards] (log1pf): Likewise.
46539 [non-C99-based standards] (logbf): Likewise.
46540 [non-C99-based standards] (nextafterf): Likewise.
46541 [non-C99-based standards] (remainderf): Likewise.
46542 [non-C99-based standards] (rintf): Likewise.
46543 [non-C99-based standards] (scalbf): Likewise.
46544 [non-C99-based standards] (copysignl): Likewise.
46545 [non-C99-based standards] (exp2l): Likewise.
46546 [non-C99-based standards] (log2l): Likewise.
46547 [non-C99-based standards] (modfl): Allow.
46548 [non-C99-based standards] (erfl): Do not allow.
46549 [non-C99-based standards] (erfcl): Likewise.
46550 [non-C99-based standards] (gammal): Likewise.
46551 [non-C99-based standards] (hypotl): Likewise.
46552 [non-C99-based standards] (j0l): Likewise.
46553 [non-C99-based standards] (j1l): Likewise.
46554 [non-C99-based standards] (jnl): Likewise.
46555 [non-C99-based standards] (lgammal): Likewise.
46556 [non-C99-based standards] (tgammal): Likewise.
46557 [non-C99-based standards] (y0l): Likewise.
46558 [non-C99-based standards] (y1l): Likewise.
46559 [non-C99-based standards] (ynl): Likewise.
46560 [non-C99-based standards] (isnanl): Likewise.
46561 [non-C99-based standards] (acoshl): Likewise.
46562 [non-C99-based standards] (asinhl): Likewise.
46563 [non-C99-based standards] (atanhl): Likewise.
46564 [non-C99-based standards] (cbrtl): Likewise.
46565 [non-C99-based standards] (expm1l): Likewise.
46566 [non-C99-based standards] (ilogbl): Likewise.
46567 [non-C99-based standards] (log1pl): Likewise.
46568 [non-C99-based standards] (logbl): Likewise.
46569 [non-C99-based standards] (nextafterl): Likewise.
46570 [non-C99-based standards] (remainderl): Likewise.
46571 [non-C99-based standards] (rintl): Likewise.
46572 [non-C99-based standards] (scalbl): Likewise.
46573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46574 [non-C99-based standards] (FP_*): Do not allow.
46575 [C99-based standards] (FP_*): Change to
46576 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46577 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46579 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46580 (SIG_ERR): Likewise.
46581 [X/Open-based standards] (SIG_HOLD): Likewise.
46582 (SIG_IGN): Likewise.
46583 (SIGABRT): Use macro-int-constant. Specify type. Require
46585 (SIGFPE): Likewise.
46586 (SIGILL): Likewise.
46587 (SIGINT): Likewise.
46588 (SIGSEGV): Likewise.
46589 (SIGTER): Likewise.
46590 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46591 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46592 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46593 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46594 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46595 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46596 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46597 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46598 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46599 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46600 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46601 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46602 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46603 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46604 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46605 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46606 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46607 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46608 [X/Open-based standards] (SIGTRAP): Likewise.
46609 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46610 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46611 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46612 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46613 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46616 2012-05-08 Ian Wienand <ianw@vmware.com>
46619 * time/tzset.c (__tzset_parse_tz): Update default rules for
46620 daylight time changes in the Energy Policy Act of 2005.
46622 2012-05-09 Andreas Jaeger <aj@suse.de>
46625 * elf/ldconfig.c (parse_conf): Change string to make clear that
46626 ldconfig only issued a warning if ld.so.conf does not exist.
46628 2012-05-08 David S. Miller <davem@davemloft.net>
46630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46631 movxtod instead of popping the value on the stack.
46633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46635 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46637 * config.h.in: Add HAVE_ARM_PCS_VFP.
46639 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
46642 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46643 checking but the checks are disabled for any reason.
46645 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46647 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46648 and ELF64_R_TYPE with ELFW(R_TYPE).
46650 2012-05-08 Joseph Myers <joseph@codesourcery.com>
46652 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46653 (ulimit): Likewise.
46655 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46656 (settimeofday): Likewise.
46658 2012-05-08 Mike Frysinger <vapier@gentoo.org>
46660 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46661 a struct th_u2 inside the union, and move tu_block/tu_code into
46662 a new th_u3 union of tu_block/tu_code inside of that. Move
46663 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46664 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46665 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46666 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46667 (th_stuff): Change to th_u1.tu_stuff.
46669 (th_msg): Change to th_u1.th_u2.tu_data.
46671 2012-05-07 David S. Miller <davem@davemloft.net>
46673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46676 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46677 (SETUP_PIC_REG): Use it.
46678 (SETUP_PIC_REG_LEAF): Use it.
46680 2012-05-07 Joseph Myers <joseph@codesourcery.com>
46684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46686 (EXPL_FINITE): Likewise.
46687 (FLDLOG): Likewise.
46688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46689 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46693 (EXPL_FINITE): Likewise.
46694 (FLDLOG): Likewise.
46695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46696 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46698 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46699 test of -max_value argument for long double.
46700 * sysdeps/i386/fpu/libm-test-ulps: Update.
46701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46703 2012-05-06 David S. Miller <davem@davemloft.net>
46705 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46706 quad soft-float symbols whose references which are compiler
46708 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46710 2012-05-06 Joseph Myers <joseph@codesourcery.com>
46714 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46716 (EXPL_FINITE): Likewise.
46717 (FLDLOG): Likewise.
46720 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46721 Adjust comments for base varying.
46722 (__expl_finite): Change alias to EXPL_FINITE.
46723 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46725 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46726 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46727 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46728 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46729 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46731 (EXPL_FINITE): Likewise.
46732 (FLDLOG): Likewise.
46735 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46736 Adjust comments for base varying.
46737 (__expl_finite): Change alias to EXPL_FINITE.
46738 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46743 * math/libm-test.inc (check_float_internal): Correct ulp
46744 calculation for subnormal expected results.
46746 2012-05-06 Andreas Jaeger <aj@suse.de>
46748 * Makeconfig (+math-flags): New, set to -frounding-math.
46749 (+cflags): Add +math-flags so that all of glibc gets compiled with
46752 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46754 2012-05-05 Joseph Myers <joseph@codesourcery.com>
46756 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46762 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46763 (__ieee754_expl): Allow for and saturate large arguments.
46764 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46765 (u_threshold): Likewise.
46766 (__exp): Call __ieee754_exp before checking for overflow and
46768 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46769 (u_threshold): Likewise.
46770 (__expf): Call __ieee754_expf before checking for overflow and
46772 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46773 (u_threshold): Likewise.
46774 (__expl): Call __ieee754_expl before checking for overflow and
46776 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46777 (__ieee754_expl): Allow for and saturate large arguments.
46778 * math/libm-test.inc (exp_test): Add another test. Do not allow
46779 missing overflow exception on overflow.
46780 (expm1_test): Do not allow missing overflow exception on overflow.
46782 * sysdeps/i386/fpu/e_expl.c: Move to ...
46783 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46784 rather than using inline asm.
46785 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46786 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46787 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46789 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46792 (signal): Likewise.
46796 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46798 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46799 sysdeps/unix/common/syscalls.list.
46800 (fchmod): Likewise.
46801 (fchown): Likewise.
46802 (ftruncate): Likewise.
46803 (getrusage): Likewise.
46804 (gettimeofday): Likewise.
46805 (setpgid): Likewise.
46806 (setregid): Likewise.
46807 (setreuid): Likewise.
46808 (sigaction): Likewise.
46809 (truncate): Likewise.
46810 (vhangup): Likewise.
46811 * sysdeps/unix/common/syscalls.list: Remove file.
46812 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46813 * sysdeps/unix/sysv/linux/Implies: Likewise.
46815 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46817 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46819 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46823 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46826 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46829 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46832 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46835 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46838 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46841 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46845 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46849 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46852 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46860 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46862 * sysdeps/unix/common/bits/dirent.h: Remove file.
46863 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46865 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46866 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46867 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46868 * sysdeps/unix/bsd/isatty.c: Likewise.
46869 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46870 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46871 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46873 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46876 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46877 long double comparison inaccuracies.
46878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46881 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46883 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46886 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46890 nonzero digits before rounding a hex value.
46891 * stdlib/tst-strtod.c (tests): Add another test.
46893 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46895 * sysdeps/s390/fpu/libm-test-ulps: Update.
46897 2012-05-03 Andreas Jaeger <aj@suse.de>
46899 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46900 does not get optimized out.
46901 (malloc_opt_barrier): New.
46903 2012-05-03 Andreas Jaeger <aj@suse.de>
46904 Roland McGrath <roland@hack.frob.com>
46906 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46907 intermediate file deletion.
46908 (generated): Add .symlist files.
46910 2012-05-03 Joseph Myers <joseph@codesourcery.com>
46913 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46914 Redirect under this condition.
46915 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46916 [__USE_GNU] (__dprintf_chk): Not under this condition.
46917 [__USE_GNU] (__vdprintf_chk): Likewise.
46918 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46919 under this condition.
46920 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46921 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46922 [__USE_XOPEN2K8] (vdprintf): Likewise.
46923 [__USE_GNU] (__dprintf_chk): Not under this condition.
46924 [__USE_GNU] (__vdprintf_chk): Likewise.
46925 [__USE_GNU] (dprintf): Likewise.
46926 [__USE_GNU] (vdprintf): Likewise.
46928 2012-05-03 Roland McGrath <roland@hack.frob.com>
46930 * elf/Makefile (common-generated): Set this instead of generated for
46931 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46932 $(all-built-dso)-derived lists.
46934 2012-05-03 Andreas Jaeger <aj@suse.de>
46936 * sysdeps/i386/fpu/libm-test-ulps: Update.
46939 * FAQ.in: Likewise.
46940 * scripts/gen-FAQ.pl: Likewise.
46941 * manual/install.texi (Installation): Point to online location of
46943 * Makefile (files-for-dist): Remove FAQ.
46946 2012-05-02 Allan McRae <allan@archlinux.org>
46948 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46949 (LDFLAGS-reldepmod5.so): Likewise.
46950 (LDFLAGS-reldep6mod1.so): Likewise.
46951 (LDFLAGS-reldep6mod4.so): Likewise.
46952 (LDFLAGS-reldep8mod3.so): Likewise.
46953 (LDFLAGS-unload4mod1.so): Likewise.
46954 (LDFLAGS-unload4mod2.so): Likewise.
46955 (LDFLAGS-tst-initorder): Likewise.
46956 (LDFLAGS-tst-initordera2.so): Likewise.
46957 (LDFLAGS-tst-initordera3.so): Likewise.
46958 (LDFLAGS-tst-initordera4.so): Likewise.
46959 (LDFLAGS-tst-initorderb2.so): Likewise.
46960 (LDFLAGS-noload): Likewise.
46961 (LDFLAGS-next): Likewise.
46962 (LDFLAGS-order2mod1.so): Likewise.
46963 (LDFLAGS-order2mod2.so): Likewise.
46964 (LDFLAGS-tst-initorder2): Likewise.
46965 (LDFLAGS-tst-initorder2a.so): Likewise.
46966 (LDFLAGS-tst-initorder2b.so): Likewise.
46967 (LDFLAGS-tst-initorder2c.so): Likewise.
46968 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46970 2012-05-02 David S. Miller <davem@davemloft.net>
46972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46974 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46977 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46979 2012-05-02 Andreas Jaeger <aj@suse.de>
46981 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46982 since we manipulate rounding mode.
46983 (CPPFLAGS-test-idouble.c): Likewise.
46984 (CPPFLAGS-test-ifloat.c): Likewise.
46985 (CFLAGS-test-ldouble.c): Likewise.
46986 (CFLAGS-test-double.c): Likewise.
46987 (CFLAGS-test-float.c): Likewise.
46988 (CFLAGS-test-misc.c): Likewise.
46989 (CFLAGS-test-test-fenv.c): Likewise.
46991 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46996 comparisons to determine direction to adjust input.
46998 2012-05-01 Roland McGrath <roland@hack.frob.com>
47000 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47001 output to the target.
47003 * scripts/localplt.awk: New file.
47004 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47005 (check-localplt-CFLAGS): Variable removed.
47006 ($(all-built-dso:=.jmprel)): New static pattern rule.
47007 (generated): Add those targets.
47008 (localplt-built-dso): New variable.
47009 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47011 * elf/check-localplt.c: File removed.
47013 * scripts/check-execstack.awk: New file.
47014 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47015 (check-execstack-CFLAGS): Variable removed.
47016 ($(objpfx)check-execstack.h): Target removed.
47017 ($(objpfx)execstack-default): New target.
47018 (generated): Add that instead of check-execstack.h.
47019 ($(all-built-dso:=.phdr)): New static pattern rule.
47020 (generated): Add those targets.
47021 * elf/check-execstack.c: File removed.
47023 * scripts/check-textrel.awk: New file.
47024 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47025 (check-textrel-CFLAGS): Variable removed.
47026 (all-built-dso): Use := to define.o
47027 ($(all-built-dso:=.dyn)): New static pattern rule.
47028 (generated): Add those targets.
47029 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47030 * config.make.in (READELF): New substituted variable.
47031 * elf/check-textrel.c: File removed.
47033 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47035 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47037 * conform/data/ctype.h-data [C99-based standards] (isblank):
47039 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47040 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47042 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47043 Specify type. Require positive value.
47044 (EILSEQ): Likewise.
47045 (ERANGE): Likewise.
47046 [ISO || POSIX] (EILSEQ): Do not expect.
47047 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47048 Specify type. Require positive value.
47049 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47050 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47051 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47052 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47053 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47054 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47055 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47056 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47057 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47058 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47059 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47060 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47061 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47062 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47063 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47064 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47065 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47066 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47067 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47068 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47069 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47070 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47071 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47072 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47073 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47074 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47075 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47076 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47077 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47078 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47079 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47080 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47081 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47082 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47083 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47084 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47085 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47086 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47087 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47088 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47089 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47090 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47091 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47092 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47093 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47094 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47095 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47096 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47097 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47098 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47099 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47100 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47101 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47102 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47103 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47104 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47105 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47106 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47107 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47108 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47109 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47110 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47111 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47112 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47113 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47114 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47115 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47116 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47117 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47118 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47119 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47120 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47121 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47122 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47123 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47124 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47125 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47127 (FLT_ROUNDS): Expect as macro, not constant.
47128 (FLT_MANT_DIG): Use macro-int-constant.
47129 (DBL_MANT_DIG): Likewise.
47130 (LDBL_MANT_DIG): Likewise.
47131 (FLT_DIG): Likewise.
47132 (DBL_DIG): Likewise.
47133 (LDBL_DIG): Likewise.
47134 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47135 (DBL_MIN_EXP): Likewise.
47136 (LDBL_MIN_EXP): Likewise.
47137 (FLT_MAX_EXP): Use macro-int-constant.
47138 (DBL_MAX_EXP): Likewise.
47139 (LDBL_MAX_EXP): Likewise.
47140 (FLT_MAX_10_EXP): Likewise.
47141 (DBL_MAX_10_EXP): Likewise.
47142 (LDBL_MAX_10_EXP): Likewise.
47143 (FLT_MAX): Use macro-constant.
47144 (DBL_MAX): Likewise.
47145 (LDBL_MAX): Likewise.
47146 (FLT_EPSILON): Use macro-constant. Give upper bound.
47147 (DBL_EPSILON): Likewise.
47148 (LDBL_EPSILON): Likewise.
47149 (FLT_MIN): Likewise.
47150 (DBL_MIN): Likewise.
47151 (LDBL_MIN): Likewise.
47152 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47153 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47154 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47155 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47156 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47157 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47158 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47159 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47160 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47161 [ISO11] (FLT_TRUE_MIN): Likewise.
47162 [ISO11] (LDBL_TRUE_MIN): Likewise.
47163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47164 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47165 (SCHAR_MIN): Use macro-int-constant. Specify type.
47166 (SCHAR_MAX): Likewise.
47167 (UCHAR_MAX): Likewise.
47168 (CHAR_MIN): Likewise.
47169 (CHAR_MAX): Likewise.
47170 (MB_LEN_MAX): Use macro-int-constant.
47171 (SHRT_MIN): Use macro-int-constant. Specify type.
47172 (SHRT_MAX): Likewise.
47173 (USHRT_MAX): Likewise.
47174 (INT_MAX): Likewise.
47175 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47177 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47179 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47181 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47182 bound negative. Suffix upper bound with "L".
47183 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47185 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47187 [C99-based standards] (LLONG_MAX): Likewise.
47188 [C99-based standards] (ULLONG_MAX): Likewise.
47189 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47191 [ISO11] (max_align_t): Require type.
47192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47194 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47195 from $CFLAGS, without defining away __attribute__ calls.
47196 (checknamespace): Use $CFLAGS_namespace.
47198 * conform/conformtest.pl (@keywords): Only include C99 keywords
47199 for standards based on C99 or C11.
47201 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47203 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47206 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47207 usability of symbols in #if.
47209 * conform/conformtest.pl: If macro or constant types start
47210 "promoted:", expect the symbol to be of the following type
47211 promoted by the integer promotions.
47213 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47214 in one place. Also handle "macro-constant".
47216 * conform/conformtest.pl: Only accept expected macro values with
47217 "==". Parse all "macro" lines in one place.
47218 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47220 * conform/conformtest.pl: Handle braced types on "constant" lines
47221 instead of handling "typed-constant".
47222 * conform/data/signal.h-data: Use "constant" instead of
47225 * conform/conformtest.pl: Handle "optional-" at start of lines in
47226 one place rather than duplicating several cases. Handle each
47227 format of "macro" line with initial "optional-".
47229 * conform/conformtest.pl: Only accept expected constant or
47230 optional-constant values with "==". Parse all "constant" lines in
47231 one place. Parse all "optional-constant" lines in one place.
47232 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47233 * conform/data/fmtmsg.h-data: Likewise.
47234 * conform/data/netinet/in.h-data: Likewise.
47235 * conform/data/tar.h-data: Likewise.
47236 * conform/data/limits.h-data: Use "==" form on "constant" and
47237 "optional-constant" lines.
47239 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47240 Use -std=c99 for XOPEN2K.
47241 (@knownproblems): Remove.
47242 (newtoken): Don't check %isknown.
47244 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47245 Do not expect macro.
47246 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47247 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47248 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47249 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47250 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47251 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47252 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47253 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47254 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47255 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47256 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47257 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47258 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47259 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47260 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47261 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47262 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47263 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47264 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47265 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47266 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47267 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47268 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47269 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47270 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47271 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47272 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47273 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47274 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47275 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47276 [XPG3] (acosh): Likewise.
47277 [XPG3] (asinh): Likewise.
47278 [XPG3] (atanh): Likewise.
47279 [XPG3] (cbrt): Likewise.
47280 [XPG3] (expm1): Likewise.
47281 [XPG3] (ilogb): Likewise.
47282 [XPG3] (log1p): Likewise.
47283 [XPG3] (logb): Likewise.
47284 [XPG3] (nextafter): Likewise.
47285 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47286 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47287 [XPG3] (remainder): Likewise.
47288 [XPG3] (rint): Likewise.
47289 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47290 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47291 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47292 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47293 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47294 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47295 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47296 [UNIX98 || XOPEN2K] (scalb): Expect.
47297 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47298 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47299 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47300 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47301 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47302 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47303 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47304 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47305 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47306 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47307 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47308 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47309 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47310 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47311 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47312 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47313 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47314 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47315 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47316 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47317 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47318 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47319 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47320 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47321 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47322 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47323 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47324 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47325 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47326 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47327 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47328 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47329 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47330 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47331 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47332 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47333 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47334 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47335 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47336 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47337 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47338 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47339 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47340 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47341 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47342 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47343 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47344 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47345 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47346 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47347 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47348 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47349 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47350 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47351 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47352 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47353 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47354 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47355 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47356 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47357 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47358 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47359 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47360 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47361 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47362 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47363 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47364 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47365 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47366 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47367 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47368 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47369 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47370 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47371 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47372 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47373 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47374 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47375 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47376 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47377 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47378 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47379 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47380 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47381 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47382 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47383 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47384 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47385 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47386 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47387 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47388 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47389 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47390 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47391 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47392 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47393 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47394 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47395 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47396 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47397 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47398 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47399 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47400 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47401 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47402 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47403 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47404 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47405 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47406 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47407 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47408 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47409 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47410 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47411 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47412 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47413 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47414 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47415 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47416 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47417 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47418 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47419 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47420 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47421 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47422 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47423 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47424 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47425 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47426 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47427 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47428 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47429 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47430 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47431 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47432 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47433 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47435 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47436 _XOPEN_SOURCE_EXTENDED for XPG4.
47438 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47440 * Makeconfig (localtime): Remove variable.
47441 (inst_localtime-file): Likewise.
47443 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47464 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47468 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47469 comparisons to determine direction to adjust input.
47470 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47471 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47481 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47483 * math/libm-test.inc (nexttoward_test): Add more tests.
47485 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47488 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47489 in version GLIBC_2.1, not GLIBC_2.0.
47490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47493 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47498 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47499 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47500 * math/libm-test.inc (acos_test): Add more tests.
47501 (asin_test): Likewise.
47502 * sysdeps/i386/fpu/libm-test-ulps: Update.
47503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47506 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47508 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47509 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47510 * math/libm-test.inc (acos_test_tonearest): New function.
47511 (acos_test_towardzero): Likewise.
47512 (acos_test_downward): Likewise.
47513 (acos_test_upward): Likewise.
47514 (asin_test_tonearest): Likewise.
47515 (asin_test_towardzero): Likewise.
47516 (asin_test_downward): Likewise.
47517 (asin_test_upward): Likewise.
47518 (main): Call the new functions.
47519 * sysdeps/i386/fpu/libm-test-ulps: Update.
47520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47524 * math/e_exp10.c: Include <float.h>.
47525 (__ieee754_exp10): Handle underflow here rather than multiplying
47526 large negative argument by M_LN10.
47527 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47529 * math/e_exp10l.c: Include <float.h>.
47530 (__ieee754_exp10l): Handle underflow here rather than multiplying
47531 large negative argument by M_LN10l.
47532 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47533 spurious overflow exception on underflow.
47535 2012-04-29 Marek Polacek <polacek@redhat.com>
47537 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47538 (__fortify_function): New macro.
47539 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47540 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47541 __extern_always_inline.
47542 * libio/bits/stdio2.h: Likewise.
47543 * libio/bits/stdio.h: Likewise.
47544 * string/string.h: Likewise.
47545 * string/bits/string3.h: Likewise.
47546 * include/stdio.h: Likewise.
47547 * stdlib/bits/stdlib.h: Likewise.
47548 * stdlib/stdlib.h: Likewise.
47549 * rt/bits/mqueue2.h: Likewise.
47550 * rt/mqueue.h: Likewise.
47551 * posix/bits/unistd.h: Likewise.
47552 * posix/unistd.h: Likewise.
47553 * io/bits/poll2.h: Likewise.
47554 * io/bits/fcntl2.h: Likewise.
47555 * io/fcntl.h: Likewise.
47556 * io/sys/poll.h: Likewise.
47557 * misc/bits/syslog.h: Likewise.
47558 * misc/bits/syslog-ldbl.h: Likewise.
47559 * misc/sys/syslog.h: Likewise.
47560 * socket/bits/socket2.h: Likewise.
47561 * socket/sys/socket.h: Likewise.
47562 * debug/tst-chk1.c: Likewise.
47563 * wcsmbs/bits/wchar2.h: Likewise.
47564 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47565 * wcsmbs/wchar.h: Likewise.
47567 2012-04-29 Andreas Jaeger <aj@suse.de>
47569 * Makerules (tests): Remove enable-check-abi protection.
47570 (check-abi-warn): Remove.
47571 (check-abi-%): Remove check-abi-warn usage.
47573 * configure.in: Remove check-abi configure option.
47574 * configure: Regenerated.
47575 * config.make.in (enable-check-abi): Remove.
47577 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47580 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47581 double functions to double *_finite functions.
47584 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47585 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47587 * stdio-common/Makefile (tests): Add tst-sprintf3.
47588 * stdio-common/tst-sprintf3.c: New file.
47590 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47591 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47593 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47595 * conform/conformtest.pl: Remove duplicate typed-constant
47598 2012-04-28 David S. Miller <davem@davemloft.net>
47600 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47601 (check-abi-%): Remove AWK script prerequisite and explicit
47603 (check-abi): Rewrite to just diff the symlist with the abilist.
47604 (config-tls, config-abi-config): Delete, no longer used.
47605 (update-abi-%): Remove AWK script and explicit abilist directory.
47606 (update-abi): Rewrite to simply compare and conditionally copy the
47607 symlist and the sysdep abilist file. Remove update-abi-config
47609 * abilist/ld.abilist: Remove.
47610 * abilist/libBrokenLocale.abilist: Remove.
47611 * abilist/libanl.abilist: Remove.
47612 * abilist/libcrypt.abilist: Remove.
47613 * abilist/libdl.abilist: Remove.
47614 * abilist/librt.abilist: Remove.
47615 * abilist/libthread_db.abilist: Remove.
47616 * abilist/libutil.abilist: Remove.
47617 * scripts/extract-abilist.awk: Remove.
47618 * scripts/merge-abilist.awk: Remove.
47619 * sysdeps/generic/libcidn.abilist: New file.
47620 * sysdeps/generic/libnss_compat.abilist: New file.
47621 * sysdeps/generic/libnss_db.abilist: New file.
47622 * sysdeps/generic/libnss_dns.abilist: New file.
47623 * sysdeps/generic/libnss_files.abilist: New file.
47624 * sysdeps/generic/libnss_hesiod.abilist: New file.
47625 * sysdeps/generic/libnss_nis.abilist: New file.
47626 * sysdeps/generic/libnss_nisplus.abilist: New file.
47627 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47628 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47629 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47631 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47632 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47633 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47634 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47635 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47636 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47637 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47638 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47639 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47641 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47642 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47643 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47644 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47646 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47647 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47648 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47649 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47650 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47651 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47654 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47655 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47657 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47760 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47761 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47762 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47765 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47766 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47767 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47768 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47769 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47770 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47771 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47772 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47773 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47825 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47827 * conform/conformtest.pl: Fix typo in handling typed-constant from
47830 2012-04-27 Joseph Myers <joseph@codesourcery.com>
47832 * README: Cut down references to pre-2.6 Linux kernels and
47833 Linuxthreads. Update lists of configurations in libc and ports
47834 and sort alphabetically. Say "or newer" with Linux kernel version
47837 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47839 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47842 * math/libm-test.inc (logb_test_downward): New test to expose
47843 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47846 2012-04-27 Joseph Myers <joseph@codesourcery.com>
47849 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47851 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47852 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47854 2012-04-26 Joseph Myers <joseph@codesourcery.com>
47856 * sysdeps/unix/i386/brk.S: Remove file.
47857 * sysdeps/unix/i386/dl-brk.S: Likewise.
47858 * sysdeps/unix/i386/pipe.S: Likewise.
47859 * sysdeps/unix/i386/sigreturn.S: Likewise.
47860 * sysdeps/unix/i386/syscall.S: Likewise.
47861 * sysdeps/unix/i386/vfork.S: Likewise.
47862 * sysdeps/unix/i386/wait.S: Likewise.
47864 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47865 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47867 * configure.in (arm*-none*): Do not allow without
47868 --enable-hacker-mode.
47869 (netbsd*): Remove case setting base_os.
47870 (386bsd*): Likewise.
47871 (freebsd*): Likewise.
47874 (sunos*): Likewise.
47875 (ultrix*): Likewise.
47876 (newsos*): Likewise.
47877 (dynix*): Likewise.
47883 (minix*): Likewise.
47884 (irix4*): Likewise.
47885 (irix6*): Likewise.
47886 (solaris[2-9]*): Likewise.
47888 * configure: Regenerated.
47890 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47893 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47894 overflow or cancellation in calculating denominator.
47895 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47897 down expression to avoid unexpected rounding in newer GCCs.
47898 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47900 2012-04-26 David S. Miller <davem@davemloft.net>
47902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47903 long-double compat symbols.
47904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47918 2012-04-25 David S. Miller <davem@davemloft.net>
47920 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47921 HWCAP_* values only after the memory barriers have been defined.
47922 (atomic_full_barrier): Define.
47923 (atomic_read_barrier): Define.
47924 (atomic_write_barrier): Define.
47926 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47928 * shlib-versions: Add libgcc_s version information.
47929 * sysdeps/generic/libgcc_s.h: Remove.
47930 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47932 * sysdeps/gnu/unwind-resume.c: Likewise.
47933 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47935 2012-04-25 David S. Miller <davem@davemloft.net>
47937 * sysdeps/unix/sparc/brk.S: Delete.
47938 * sysdeps/unix/sparc/dl-brk.S: Delete.
47939 * sysdeps/unix/sparc/pipe.S: Delete.
47940 * sysdeps/unix/sparc/sysdep.S: Delete.
47941 * sysdeps/unix/sparc/sysdep.h: Delete.
47942 * sysdeps/unix/sparc/vfork.S: Delete.
47943 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47944 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47946 (ret_ERRVAL, r0, r1, MOVE): Define.
47947 (JUMPTARGET): Remove.
47948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47949 sysdeps/unix/sparc/sysdep.h
47950 (ENTRY, END): Remove.
47951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47953 2012-04-25 Joseph Myers <joseph@codesourcery.com>
47955 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47956 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47959 * timezone/README: Update upstream location and email address for
47961 * timezone/zdump.c: Update from tzcode 2012b.
47962 * timezone/zic.c: Likewise.
47964 * configure.in (libc_cv_as_needed): Remove test.
47965 * configure: Regenerated.
47966 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47967 conditional definition.
47968 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47969 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47970 * config.make.in (have-as-needed): Remove variable.
47972 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47973 Paul Pluzhnikov <ppluzhnikov@google.com>
47975 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47978 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47980 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47981 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47982 * sysdeps/sh/strlen.S: Likewise.
47984 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47986 * sysdeps/unix/fork.S: Remove file.
47987 * sysdeps/unix/i386/fork.S: Likewise.
47988 * sysdeps/unix/sparc/fork.S: Likewise.
47990 * sysdeps/unix/system.c: Remove file.
47991 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47993 * sysdeps/unix/getegid.S: Remove file.
47994 * sysdeps/unix/geteuid.S: Likewise.
47996 2012-04-24 Roland McGrath <roland@hack.frob.com>
47998 * scripts/check-localplt.awk: New file.
47999 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48001 * scripts/data/localplt-generic.data: Add a comment.
48003 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48004 NODE when __dir_mkfile failed.
48005 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48006 Reported by Ludovic Courtès <ludo@gnu.org>.
48008 2012-04-24 Andreas Jaeger <aj@suse.de>
48010 * Makerules (common-clean): Also remove gen-as-const-headers
48013 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48015 * Makerules (native-compile): Do not change working directory for
48016 build. Use $(OUTPUT_OPTION) in command.
48017 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48019 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48022 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48023 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48024 * math/libm-test.inc (floor_test): Add more tests.
48025 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48027 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48029 * sysdeps/unix/getdents.c: Remove file.
48030 * sysdeps/unix/sysv/getdents.c: Likewise.
48031 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48033 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48034 sysdeps/unix/mman/syscalls.list.
48036 (mprotect): Likewise.
48038 (munmap): Likewise.
48039 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48040 * sysdeps/unix/mman/syscalls.list: Remove.
48041 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48043 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48044 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48045 * configure: Regenerated.
48046 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48047 $(libgcc_s_suffix).
48048 * config.make.in (libgcc_s_suffix): Remove variable.
48050 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48052 * sysdeps/unix/sysv/gethostname.c: Move to ...
48053 * sysdeps/posix/gethostname.c: ... here.
48055 * sysdeps/unix/execve.S: Remove file.
48057 * sysdeps/unix/_exit.S: Remove file.
48059 2012-04-23 Andreas Jaeger <aj@suse.de>
48062 * manual/Makefile: Remove make dist support, there's no
48063 need for a stand-alone documentation tar ball.
48064 (TEXI2DVI): Define always, it's not in Makeconfig.
48067 (edition): Removed.
48068 (glibc-doc-$(edition).tar): Removed
48072 (ETAGS): Remove, it's in Makeconfig.
48073 (move-if-change): Remove, it's in Makeconfig.
48075 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48078 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48079 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48080 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48081 (strtod_l, strtof_l, strtold_l): Remove __wur.
48082 It is not necessarily an error to ignore strtol's return value.
48083 One can reliably look at the stored endptr to decide whether
48084 the number had valid syntax.
48086 2012-04-21 Andreas Jaeger <aj@suse.de>
48089 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48091 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48093 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48094 * sysdeps/unix/sysv/Versions: Remove file.
48096 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48101 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48105 version from __vm86.
48107 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48109 * sysdeps/unix/common/lxstat.c: Remove file.
48110 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48112 * sysdeps/unix/sysv/Makefile: Remove file.
48114 * sysdeps/unix/sysv/direct.h: Remove file.
48116 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48117 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48118 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48119 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48120 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48121 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48122 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48124 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48126 * sysdeps/unix/xmknod.c: Remove file.
48127 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48129 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48131 * sysdeps/unix/sysv/i386/time.S: Remove file.
48133 * sysdeps/unix/fxstat.c: Remove file.
48134 * sysdeps/unix/xstat.c: Likewise.
48135 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48137 * sysdeps/unix/sysv/sigaction.c: Remove file.
48139 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48140 (sysdep_headers): Remove variable.
48141 [termio.h not in sysdep_headers] (generated): Likewise.
48142 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48143 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48144 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48145 * sysdeps/unix/sysv/tcflow.c: Likewise.
48146 * sysdeps/unix/sysv/tcflush.c: Likewise.
48147 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48148 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48149 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48150 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48151 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48153 * sysdeps/unix/siglist.c: Remove file.
48155 * sysdeps/unix/getppid.S: Remove file.
48157 * sysdeps/unix/mkdir.c: Remove file.
48158 * sysdeps/unix/rmdir.c: Likewise.
48160 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48162 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48165 errlist-compat value.
48167 2012-04-18 David S. Miller <davem@davemloft.net>
48169 * sysdeps/generic/memcopy.h (reg_char): Delete.
48170 * debug/strcat_chk.c: Use char, not reg_char.
48171 * debug/strcpy_chk.c: Likewise.
48172 * debug/strncat_chk.c: Likewise.
48173 * debug/strncpy_chk.c: Likewise.
48174 * string/memchr.c: Likewise.
48175 * string/memrchr.c: Likewise.
48176 * string/rawmemchr.c: Likewise.
48177 * string/strcat.c: Likewise.
48178 * string/strchr.c: Likewise.
48179 * string/strchrnul.c: Likewise.
48180 * string/strcmp.c: Likewise.
48181 * string/strcpy.c: Likewise.
48182 * string/strncat.c: Likewise.
48183 * string/strncmp.c: Likewise.
48184 * string/strncpy.c: Likewise.
48186 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48188 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48189 __builtin_memcopy is called when src and dest ranges are known to not
48192 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48195 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48196 fwd_align_merge macro call.
48197 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48198 bwd_align_merge macro call.
48199 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48201 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48204 bwd_align_merge macros.
48205 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48206 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48207 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48209 2012-04-18 David S. Miller <davem@davemloft.net>
48211 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48213 2012-04-18 Andreas Jaeger <aj@suse.de>
48216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48217 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48221 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48224 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48225 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48226 Adjust for changed ldbl-128 files.
48228 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48229 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48230 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48232 2012-04-17 David S. Miller <davem@davemloft.net>
48234 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48236 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48238 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48239 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48240 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48241 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48242 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48243 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48245 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48248 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48249 * math/libm-test.inc: Add ilogb errno and exception tests.
48250 * math/w_ilogb.c: New file: ilogb wrapper.
48251 * math/w_ilogbf.c: New file: ilogbf wrapper.
48252 * math/w_ilogbl.c: New file: ilogbl wrapper.
48253 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48254 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48255 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48256 exception being thrown with 0.0 as argument.
48257 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48258 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48259 exception being thrown with 0.0 as argument.
48260 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48261 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48262 exception being thrown with 0.0 as argument.
48263 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48264 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48265 exception being thrown with 0.0 as argument.
48266 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48267 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48269 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48271 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48272 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48273 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48274 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48276 2012-04-17 Petr Baudis <pasky@ucw.cz>
48278 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48281 2012-04-16 Marek Polacek <polacek@redhat.com>
48283 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48285 2012-04-16 Marek Polacek <polacek@redhat.com>
48287 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48288 operands of fdivp instruction.
48290 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48292 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48293 * elf/tst-auditmod3b.c: Likewise.
48294 * elf/tst-auditmod4b.c: Likewise.
48295 * elf/tst-auditmod5b.c: Likewise.
48296 * elf/tst-auditmod6b.c: Likewise.
48297 * elf/tst-auditmod6c.c: Likewise.
48298 * elf/tst-auditmod7b.c: Likewise.
48299 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48300 * sysdeps/x86_64/preconfigure.in: Likewise.
48301 * sysdeps/x86_64/preconfigure: Regenerated.
48303 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48305 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48308 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48311 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48313 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48316 * locale/iso-639.def: Fix gl language name. Spotted by
48319 2012-04-12 Roland McGrath <roland@hack.frob.com>
48322 * libio/libio.h (__io_write_fn): Update comment.
48324 2012-04-12 Petr Baudis <pasky@ucw.cz>
48327 * stdio.texi (Hook Functions): The user provided writer function
48328 is not allowed to return -1.
48330 2012-04-11 David S. Miller <davem@davemloft.net>
48332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48334 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48336 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48337 Add a leading slash to rtkaio.
48339 2012-04-11 Jim Meyering <meyering@redhat.com>
48342 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48343 It is not necessarily an error to ignore fwrite's return
48344 value. One can reliably use ferror to test for errors after
48347 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48349 * bits/types.h (__snseconds_t): New type.
48350 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48352 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48354 (__SNSECONDS_T_TYPE): Likewise.
48355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48356 (__SNSECONDS_T_TYPE): Likewise.
48357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48358 (__SNSECONDS_T_TYPE): Likewise.
48360 2012-04-10 Andreas Jaeger <aj@suse.de>
48363 * manual/time.texi (Processor Time): Return type of times is
48364 elapsed real time since an arbitrary point in the past.
48365 (CPU Time): Move CLK_TCK from here...
48366 (Processor Time): ...to here. Correct description.
48367 * manual/conf.texi (Constants for Sysconf): Correct description of
48370 2012-04-10 David S. Miller <davem@davemloft.net>
48373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48374 where the is a gap between DT_REL(A) and DT_JMPREL.
48376 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48378 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48379 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48380 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48382 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48384 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48385 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48386 (dl_main): Handle --inhibit-cache.
48387 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48389 * elf/dl-load.c (_dl_map_object): Use it.
48390 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48392 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48395 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48396 (__ieee754_powl): Saturate large exponents rather than testing for
48397 overflow of y*log2(x).
48398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48399 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48403 * math/s_ctan.c: Include <float.h>.
48404 (__ctan): Avoid internal overflow or cancellation in calculating
48406 * math/s_ctanf.c: Likewise.
48407 * math/s_ctanl.c: Likewise.
48408 * math/s_ctanh.c: Likewise.
48409 * math/s_ctanhf.c: Likewise.
48410 * math/s_ctanhl.c: Likewise.
48411 * math/libm-test.inc (ctan_test): Add more tests.
48412 (ctanh_test): Likewise.
48413 * sysdeps/i386/fpu/libm-test-ulps: Update.
48414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48416 2012-04-09 Andreas Jaeger <aj@suse.de>
48419 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48420 is an optional BSD extension.
48423 * manual/stdio.texi (Opening Streams): Document additional fopen
48426 2012-04-09 Roland McGrath <roland@hack.frob.com>
48428 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48429 %eax without telling the compiler.
48431 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48434 * manual/install.texi: Use sourceware.org.
48436 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48439 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48440 (__ieee754_pow): Generate overflow and underflow using huge*huge
48441 and tiny*tiny rather than just returning constant infinity or zero
48442 for large exponents.
48443 * math/libm-test.inc (pow_test): Require overflow exceptions for
48444 applicable cases of large exponents.
48447 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48448 (__ieee754_pow): Use iterative multiplication algorithm only for
48449 integer exponents with absolute value below 1024. Check for odd
48450 integer exponents when using algorithm for real exponents.
48451 * math/libm-test.inc (pow_test): Add more tests.
48452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48454 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48457 * math/libm-test.inc (exp_test): Do not allow overflow exception
48460 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48463 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48464 instead of __kernel_standard_f.
48466 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48468 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48469 * sysdeps/x86_64/memset_chk.S: Likewise.
48471 2012-04-08 Andreas Jaeger <aj@suse.de>
48474 * manual/startup.texi (Environment Access): Describe return value
48475 for putenv and setenv.
48478 * manual/filesys.texi (Directory Entries): Add description for
48482 * manual/filesys.texi (Directory Entries): Clarify that it's file
48483 system not operating system in the description of DT_UNKNOWN.
48486 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48488 2012-04-08 Stephen Compall <s11@member.fsf.org>
48491 * manual/llio.texi (Opening and Closing Files): Add cross
48492 reference to explain mode argument.
48494 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48496 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48497 * sysdeps/x86_64/memset_chk.S: Likewise.
48499 2012-04-07 David S. Miller <davem@davemloft.net>
48501 * elf/elf.h (R_SPARC_WDISP10): Define.
48502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48505 R_SPARC_SIZE64 and R_SPARC_H34.
48507 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48510 conditions and remove no longer applicable assertion.
48512 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48514 * bits/byteswap.h: Include <features.h>.
48515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48518 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48520 * bits/byteswap.h (__bswap_16): Removed.
48521 Include <bits/byteswap-16.h> to get __bswap_16.
48522 * sysdeps/i386/bits/byteswap.h: Likewise.
48523 * sysdeps/s390/bits/byteswap.h: Likewise.
48524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48525 * bits/byteswap-16.h: New file.
48526 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48527 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48528 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48529 * string/Makefile (headers): Add bits/byteswap-16.h.
48531 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48534 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48536 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48537 * nss/tst-nss-static.c: New.
48539 2012-04-06 Robert Millan <rmh@gnu.org>
48542 * manual/llio.texi (File Position Primitive): lseek
48543 refers to WHENCE when it really means OFFSET.
48545 2012-04-06 Andreas Jaeger <aj@suse.de>
48547 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48548 strncmp declarations.
48550 * abilist/libc.abilist: Add __poll and __ppoll.
48552 2012-04-05 David S. Miller <davem@davemloft.net>
48554 * scripts/check-local-headers.sh: Accept a host triplet in the
48555 path matched by the exclude regexp.
48557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48559 * sysdeps/powerpc/powerpc32/dl-machine.h
48560 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48561 * sysdeps/s390/s390-32/dl-machine.h
48562 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48563 * sysdeps/sparc/sparc32/dl-machine.h
48564 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48565 * sysdeps/sparc/sparc64/dl-machine.h
48566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48568 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48570 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48571 undefined symbol errors.
48573 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48576 2012-04-05 Michael Matz <matz@suse.de>
48579 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48581 2012-04-05 Andreas Jaeger <aj@suse.de>
48584 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48587 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48589 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48590 which ROUND is no valid rounding mode.
48592 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48594 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48596 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48598 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48601 an exception using FPU order intentionally.
48603 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48605 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48606 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48607 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48608 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48610 2012-04-05 Simon Josefsson <simon@josefsson.org>
48613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48614 EINVAL when BUFLEN is too smal.
48616 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48619 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48620 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48622 2012-04-03 Andreas Jaeger <aj@suse.de>
48625 * manual/setjmp.texi (System V contexts): Fix sentence.
48628 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48629 New macro for this case.
48630 [!__GNUC__] (__bswap_64): New inline function for this case.
48631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48632 * bits/byteswap.h: Likewise.
48633 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48634 ull, guard with __GLIBC_HAVE_LONG_LONG.
48636 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48637 __GLIBC_HAVE_LONG_LONG.
48639 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48640 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48642 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48645 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48646 inptr and inend, rather than using last_ch.
48648 2012-04-02 David S. Miller <davem@davemloft.net>
48650 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48651 * stdio-common/printf-parse.h (read_int): Change return type to
48652 'int', return -1 on INT_MAX overflow.
48653 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48654 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48655 overflows INT_MAX. Check for overflow of in-format-string precision
48656 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48657 SIZE_MAX not INT_MAX for integer overflow test.
48658 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48659 skip the construct in the format string but do not record anything.
48660 * stdio-common/bug22.c: Adjust to test both width/prevision
48661 INT_MAX overflow as well as total length INT_MAX overflow. Check
48662 explicitly for proper errno values.
48664 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48666 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48668 * string/test-strcmp.c [! WIDE]: Likewise.
48669 * time/tst-mktime2.c: Likewise for INT_MAX.
48670 * string/test-string.h: #include <sys/param.h> for MIN.
48672 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48673 * sysdeps/i386/init-first.c (init): Likewise.
48674 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48675 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48676 * sysdeps/sh/init-first.c (init): Likewise.
48678 2012-04-01 Ulrich Drepper <drepper@gmail.com>
48680 * po/ru.po: Update from translation team.
48681 * po/vi.po: Likewise.
48683 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48685 * resolv/nss_dns/dns-host.c: Merge copyright years.
48687 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48690 Optimize memcpy with prefetch if
48691 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48692 src, dst pointers have unequal 16 byte alignments.
48694 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48697 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48698 from a CNAME entry and return the minimum ttl for the query.
48699 (gaih_getanswer_slice): Likewise.
48701 2012-03-30 Jeff Law <law@redhat.com>
48703 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48705 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48706 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48708 * resolv/nss_dns/dns-host.c: Update copyright year.
48710 2012-03-30 Ulrich Drepper <drepper@gmail.com>
48712 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48713 requests to save a system call. Fix check that all bytes are sent.
48715 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48716 comments for sendmmsg.
48718 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48722 with only 1 character between 0x0041 and 0x01b0.
48723 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48724 * wcsmbs/tst-mbsnrtowcs.c: New file.
48726 2012-03-29 David S. Miller <davem@davemloft.net>
48728 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48729 small copies by hand.
48731 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48734 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48735 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48738 2012-03-28 David S. Miller <davem@davemloft.net>
48740 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48741 that branches into memcpy.
48742 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48745 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48748 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48749 implementation too.
48750 * sysdeps/sparc/mempcpy.S: New file.
48752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48753 the IFUNC routine in the libc case.
48754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48756 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48757 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48758 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48759 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48760 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48761 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48762 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48763 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48765 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48766 loop to 256 bytes instead of 64 bytes and fix test signedness.
48768 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48769 * sysdeps/sparc/sparc32/Makefile: rather than here...
48770 * sysdeps/sparc/sparc64/Makefile: and here.
48772 2012-03-28 Ulrich Drepper <drepper@gmail.com>
48774 * malloc/mallocbug.c: Avoid warnings about unused variables.
48776 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48779 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48780 in the right place. Discard and retry query if response is
48781 larger than input buffer size.
48783 2012-03-28 Joseph Myers <joseph@codesourcery.com>
48788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48789 x for large integer exponent.
48790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48791 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48792 sign of result as needed afterwards.
48793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48795 result for underflowing pow the same as for overflow.
48796 (__kernel_standard_l): Handle powl overflow and underflow here
48797 rather than calling __kernel_standard.
48798 * math/libm-test.inc (pow_test): Add more tests.
48813 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48814 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48815 (__kernel_standard_l): New function.
48816 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48818 * math/w_acosl.c (__acosl): Likewise.
48819 * math/w_asinl.c (__asinl): Likewise.
48820 * math/w_atan2l.c (__atan2l): Likewise.
48821 * math/w_atanhl.c (__atanhl): Likewise.
48822 * math/w_coshl.c (__coshl): Likewise.
48823 * math/w_exp10l.c (__exp10l): Likewise.
48824 * math/w_exp2l.c (__exp2l): Likewise.
48825 * math/w_fmodl.c (__fmodl): Likewise.
48826 * math/w_hypotl.c (__hypotl): Likewise.
48827 * math/w_j0l.c (__j0l, __y0l): Likewise.
48828 * math/w_j1l.c (__j1l, __y1l): Likewise.
48829 * math/w_jnl.c (__jnl, __ynl): Likewise.
48830 * math/w_lgammal.c (__lgammal): Likewise.
48831 * math/w_log10l.c (__log10l): Likewise.
48832 * math/w_log2l.c (__log2l): Likewise.
48833 * math/w_logl.c (__logl): Likewise.
48834 * math/w_powl.c (__powl): Likewise.
48835 * math/w_remainderl.c (__remainderl): Likewise.
48836 * math/w_scalbl.c (sysv_scalbl): Likewise.
48837 * math/w_sinhl.c (__sinhl): Likewise.
48838 * math/w_sqrtl.c (__sqrtl): Likewise.
48839 * math/w_tgammal.c (__tgammal): Likewise.
48840 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48841 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48842 * math/libm-test.inc (acos_test): Add more tests.
48843 (acosh_test): Likewise.
48844 (asin_test): Likewise.
48845 (atanh_test): Likewise.
48846 (exp_test): Likewise.
48847 (exp10_test): Likewise.
48848 (exp2_test): Likewise.
48849 (expm1_test): Likewise.
48850 (lgamma_test): Likewise.
48851 (log_test): Likewise.
48852 (log10_test): Likewise.
48853 (log1p_test): Likewise.
48854 (log2_test): Likewise.
48855 (pow_test): Do not allow some spurious overflow exceptions.
48856 (sqrt_test): Add more tests.
48857 (tgamma_test): Likewise.
48858 (y0_test): Likewise.
48859 (y1_test): Likewise.
48860 (yn_test): Likewise.
48862 2012-03-27 Anton Blanchard <anton@samba.org>
48864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48870 2012-03-27 David S. Miller <davem@davemloft.net>
48872 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48874 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48875 have-as-vis3 check.
48877 2012-03-27 Andreas Jaeger <aj@suse.de>
48879 * sysdeps/x86_64/elf/configure.in: Moved to ...
48880 * sysdeps/x86_64/configure.in: ... here.
48881 * sysdeps/x86_64/elf/start.S: Moved to ...
48882 * sysdeps/x86_64/start.S: ... here.
48883 * sysdeps/x86_64/elf/configure: Delete.
48885 * sysdeps/x86_64/configure.in: Merge contents from
48886 sysdeps/i386/configure.in (without i686 check).
48888 * sysdeps/i386/elf/Versions: Merge into ...
48889 * sysdeps/i386/Versions: ... this.
48890 * sysdeps/i386/elf/Versions: Delete file.
48891 * sysdeps/i386/elf/start.S: Moved to ...
48892 * sysdeps/i386/start.S: ...here.
48893 * sysdeps/i386/elf/configure.in: Merge into...
48894 * sysdeps/i386/configure.in: ...here.
48895 * sysdeps/i386/elf/configure.in: Delete file.
48896 * sysdeps/i386/elf/configure: Delete file.
48898 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48899 * debug/backtracesyms.c: ... here.
48900 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48901 * debug/backtracesymsfd.c: ... here.
48902 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48903 * sysdeps/generic/ifunc-sel.h: ... here.
48905 * sysdeps/unix/i386/start.c: Delete file.
48906 * sysdeps/unix/sparc/start.c: Delete file.
48907 * sysdeps/unix/start.c: Delete file.
48909 * sysdeps/sh/elf/configure.in: Moved to ...
48910 * sysdeps/sh/configure.in: ... here.
48911 * sysdeps/sh/elf/start.S: Moved to ...
48912 * sysdeps/sh/start.S: ... here.
48913 * sysdeps/sh/elf/configure: Delete file.
48915 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48916 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48917 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48918 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48919 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48920 * sysdeps/powerpc/powerpc64/start.S: here.
48921 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48922 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48923 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48924 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48925 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48927 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48928 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48929 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48930 * sysdeps/powerpc/powerpc32/start.S: ... here.
48931 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48932 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48933 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48935 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48936 * sysdeps/powerpc/ifunc-sel.h: ... here.
48937 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48938 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48940 * sysdeps/sparc/elf/configure.in: Moved to ...
48941 * sysdeps/sparc/configure.in: ... here.
48942 * sysdeps/sparc/elf/configure: Delete file.
48943 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48944 * sysdeps/sparc/sparc32/start.S: ... here.
48945 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48946 * sysdeps/sparc/sparc64/start.S: ... here.
48947 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48948 * sysdeps/sparc/sparc32/Makefile: ... this.
48949 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48950 * sysdeps/sparc/sparc64/Makefile: ... this.
48952 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48953 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48954 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48955 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48956 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48957 * sysdeps/s390/s390-32/setjmp.S: ... here.
48958 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48959 * sysdeps/s390/s390-32/configure.in: ... here.
48960 * sysdeps/s390/s390-32/elf/configure: Delete file.
48961 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48962 * sysdeps/s390/s390-32/start.S: ... here.
48964 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48965 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48966 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48967 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48968 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48969 * sysdeps/s390/s390-64/setjmp.S: ... here.
48970 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48971 * sysdeps/s390/s390-64/configure.in: ... here
48972 * sysdeps/s390/s390-64/elf/configure: Delete file.
48973 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48974 * sysdeps/s390/s390-64/start.S: ... here.
48975 * sysdeps/s390/s390-64/elf/configure: Delete.
48977 * configure.in: Remove support for elf directories in sysdeps.
48979 * configure: Regenerated.
48980 * sysdeps/i386/configure: Regenerated.
48981 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48982 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48983 * sysdeps/s390/s390-32/configure: Regenerated.
48984 * sysdeps/s390/s390-64/configure: Regenerated.
48985 * sysdeps/sh/configure: Regenerated.
48986 * sysdeps/sparc/configure: Regenerated.
48987 * sysdeps/x86_64/configure: Regenerated.
48989 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48993 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48994 denormal result into account.
48996 2012-03-25 Roland McGrath <roland@hack.frob.com>
48998 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48999 Reported by Allan McRae <allan@archlinux.org>.
49001 2012-03-23 Jeff Law <law@redhat.com>
49003 * nss/getnssent.c (__nss_getent): Fix typo.
49005 2012-03-23 David S. Miller <davem@davemloft.net>
49007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49009 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49011 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49012 to pad to uint64_t for each field.
49013 (dl_tls_index): Replace unsigned long with uint64_t.
49015 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49016 Paul Pluzhnikov <ppluzhnikov@google.com>
49019 * grp/Makefile (otherlibs): Don't set it.
49020 * inet/Makefile (otherlibs): Likewise.
49021 * login/Makefile (otherlibs): Likewise.
49022 * nscd/Makefile (otherlibs): Likewise.
49023 * posix/Makefile (otherlibs): Likewise.
49024 * pwd/Makefile (otherlibs): Likewise.
49025 * rt/Makefile (otherlibs): Likewise.
49026 * sunrpc/Makefile (otherlibs): Likewise.
49027 * nss/Makefile (otherlibs): Likewise.
49028 Add libnss_files to routines and static-only-routines.
49029 ($(objpfx)getent): Remove rule.
49030 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49031 static-only-routines.
49033 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49036 * math/s_cexp.c: Include <float.h>.
49037 (__cexp): Handle exp result overflowing not necessarily
49038 overflowing both real and imaginary parts of result.
49039 * math/s_cexpf.c: Likewise.
49040 * math/s_cexpl.c: Likewise.
49041 * math/libm-test.inc (cexp_test): Add more tests.
49042 * sysdeps/i386/fpu/libm-test-ulps: Update.
49043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49045 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49047 * include/link.h (ELFW): New macro.
49048 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49049 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49051 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49053 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49056 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49058 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49060 (struct La_x32_retval): Likewise.
49062 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49064 * sysdeps/x86_64/preconfigure.in: New file.
49065 * sysdeps/x86_64/preconfigure: New generated file.
49067 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49070 * math/e_exp2l.c: Include <float.h>.
49071 (__ieee754_exp2l): Handle overflow and underflow cases
49072 separately. Only pass fractional part of argument to
49074 * math/libm-test.inc (exp2_test): Add more tests.
49076 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49077 negating x to take absolute value.
49078 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49080 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49081 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49083 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49084 computing low part if x was negated.
49085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49087 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49089 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49090 la_x32_gnu_pltexit.
49091 (pltexit): Cast int_retval to ptrdiff_t.
49092 * elf/tst-auditmod3b.c: Likewise.
49093 * elf/tst-auditmod4b.c: Likewise.
49094 * elf/tst-auditmod5b.c: Likewise.
49095 * elf/tst-auditmod6b.c: Likewise.
49096 * elf/tst-auditmod6c.c: Likewise.
49097 * elf/tst-auditmod7b.c: Likewise.
49099 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49100 and x32_gnu_pltexit.
49102 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49103 __ELF_NATIVE_CLASS.
49104 (La_x32_regs): New macro.
49105 (La_x32_retval): Likewise.
49106 (la_x32_gnu_pltenter): New function prototype.
49107 (la_x32_gnu_pltexit): Likewise.
49109 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49116 * configure.in (libc_cv_cc_nofma): Check for option to disable
49117 generation of FMA instructions.
49118 * configure: Regenerate.
49119 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49120 * sysdeps/ieee754/dbl-64/Makefile: New file.
49121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49122 Remove brandred-fma4.
49123 (CFLAGS-brandred-fma4.c): Remove.
49124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49125 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49127 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49130 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49132 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49133 LLONG_MAX != LONG_MAX.
49134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49135 (_fitoa_word): Likewise.
49136 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49137 LLONG_MAX != LONG_MAX.
49138 * stdio-common/_itowa.h: Include <_itoa.h>.
49139 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49140 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49141 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49142 only if not defined.
49143 (_ITOA_WORD_TYPE): Likewise.
49144 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49145 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49147 2012-03-21 David S. Miller <davem@davemloft.net>
49149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49151 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49153 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49154 of x86_64 when setting libc_cv_slibdir, libdir and
49156 * sysdeps/unix/sysv/linux/configure: Regenerated.
49158 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49160 * manual/lang.texi (Old Varargs): Remove section.
49161 (How Variadic): Update menu.
49162 (va_start): Do not mention varargs.h.
49164 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49165 Joseph Myers <joseph@codesourcery.com>
49167 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49169 * configure: Regenerated.
49171 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49173 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49174 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49177 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49180 * Makefile (files-for-dist): Remove NOTES.
49181 (NOTES): Remove rule.
49182 * README: Don't refer to NOTES.
49183 * manual/creature.texi: Don't include macros.texi.
49184 * manual/intro.texi (creature.texi): Remove comment referring to
49187 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49188 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49189 * configure: Regenerated.
49190 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49191 LIBC_TRY_CC_OPTION.
49192 (libc_cv_as_i686): Likewise.
49193 (libc_cv_cc_avx): Likewise.
49194 (libc_cv_cc_sse2avx): Likewise.
49195 (libc_cv_cc_fma4): Likewise.
49196 (libc_cv_cc_novzeroupper): Likewise.
49197 * sysdeps/i386/configure: Regenerated.
49200 * sysdeps/i386/fpu/s_cexp.S: Remove.
49201 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49202 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49203 * math/libm-test.inc (cexp_test): Add more tests.
49204 * sysdeps/i386/fpu/libm-test-ulps: Update.
49205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49207 2012-03-21 Allan McRae <allan@archlinux.org>
49209 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49211 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49214 * math/w_exp2.c: Do not include <float.h>.
49215 (o_threshold, u_threshold): Remove.
49216 (__exp2): Calculate result before checking finiteness and calling
49218 * math/w_exp2f.c: Likewise.
49219 * math/w_exp2l.c: Likewise.
49220 * math/libm-test.inc (exp2_test): Require overflow exception for
49224 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49225 range of signed 64-bit integers before using fistpll. Remove
49226 checks for whether integers fit in mantissa bits.
49227 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49228 the range of signed 32-bit integers before using fistpl. Remove
49229 checks for whether integers fit in mantissa bits.
49230 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49231 (__ieee754_powl): Test for y outside the range of signed 64-bit
49232 integers before using fistpll. Reduce 64-bit values to 63-bit
49234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49235 divide-by-zero is raised for zero to large negative powers.
49236 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49237 (__ieee754_powl): Test for y outside the range of signed 64-bit
49238 integers before using fistpll. Reduce 64-bit values to 63-bit
49240 * math/libm-test.inc (pow_test): Add more tests.
49242 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49244 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49245 <stdio-common/_itoa.h>.
49246 * debug/segfault.c: Likewise.
49247 * elf/dl-cache.c: Likewise.
49248 * elf/dl-minimal.c: Likewise.
49249 * elf/dl-misc.c: Likewise.
49250 * elf/dl-sysdep.c: Likewise.
49251 * elf/dl-version.c: Likewise.
49252 * elf/rtld.c: Likewise.
49253 * hurd/hurdsock.c: Likewise.
49254 * hurd/lookup-retry.c: Likewise.
49255 * malloc/malloc.c: Likewise.
49256 * malloc/mtrace.c: Likewise.
49257 * nscd/nscd_getgr_r.c: Likewise.
49258 * nscd/nscd_getpw_r.c: Likewise.
49259 * nscd/nscd_getserv_r.c: Likewise.
49260 * posix/getopt_init.c: Likewise.
49261 * posix/wordexp.c: Likewise.
49262 * stdio-common/_itoa.c: Likewise.
49263 * stdio-common/printf_fphex.c: Likewise.
49264 * stdio-common/vfprintf.c: Likewise.
49265 * string/_strerror.c: Likewise.
49266 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49267 * sysdeps/i386/i686/hp-timing.h: Likewise.
49268 * sysdeps/mach/_strerror.c: Likewise.
49269 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49270 * sysdeps/mach/hurd/sethostid.c: Likewise.
49271 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49272 * sysdeps/mach/xpg-strerror.c: Likewise.
49273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49275 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49276 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49277 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49278 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49279 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49280 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49281 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49282 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49283 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49284 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49285 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49286 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49287 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49288 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49289 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49290 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49291 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49292 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49293 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49295 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49297 * stdio-common/_itoa.h: Moved to ...
49298 * sysdeps/generic/_itoa.h: Here.
49300 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49302 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49303 instead of "_itoa.h" and "_itowa.h".
49304 * stdio-common/vfprintf.: Likewise.
49306 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49308 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49310 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49311 (__signbit): Likwise.
49312 (llrintf): Likwise.
49315 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49317 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49320 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49322 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49323 OVERFLOW_EXCEPTION_OK.
49324 * math/libm-test.inc ("Philosophy"): Update comment about
49326 (OVERFLOW_EXCEPTION): Define.
49327 (OVERFLOW_EXCEPTION_OK): Likewise.
49328 (INVALID_EXCEPTION_OK): Renumber.
49329 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49330 (IGNORE_ZERO_INF_SIGN): Likewise.
49331 (test_exceptions): Handle FE_OVERFLOW.
49332 (exp10_test): Expect overflow exceptions.
49333 (exp2_test): Likewise.
49334 (expm1_test): Likewise.
49335 (nextafter_test): Likewise.
49336 (pow_test): Likewise.
49337 (scalbn_test): Likewise.
49338 (scalbln_test): Likewise.
49340 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49342 * sysdeps/x86_64/bits/atomic.h
49343 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49345 (atomic_exchange_acq): Likewise.
49346 (__arch_exchange_and_add_body): Likewise.
49347 (__arch_add_body): Likewise.
49348 (atomic_add_negative): Likewise.
49349 (atomic_add_zero): Likewise.
49351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49353 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49354 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49356 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49358 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49359 Check __x86_64__ instead of __WORDSIZE.
49361 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49363 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49365 2012-03-19 David S. Miller <davem@davemloft.net>
49367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49369 * sysdeps/sparc/fpu/fenv_private.h: New file.
49370 * sysdeps/sparc/fpu/math_private.h: Use it.
49371 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49373 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49374 (libc_feholdexcept_setroundl): Remove.
49375 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49377 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49378 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49382 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49383 int64_t instead of long int.
49384 (INSERT_WORDS64): Likwise.
49386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49388 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49389 _Unwind_GetCFA return to _Unwind_Ptr first.
49391 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49394 * math/s_clog.c: Include <float.h>.
49395 (__clog): Scale large or subnormal inputs.
49396 * math/s_clogf.c: Likewise.
49397 * math/s_clogl.c: Likewise.
49398 * math/s_clog10.c: Include <float.h>.
49399 (M_LOG10_2): Define.
49400 (__clog10): Scale large or subnormal inputs.
49401 * math/s_clog10f.c: Likewise.
49402 * math/s_clog10l.c: Likewise.
49403 * math/libm-test.inc (clog_test): Add more tests.
49404 (clog10_test): Likewise.
49405 * sysdeps/i386/fpu/libm-test-ulps: Update.
49406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49411 * math/libm-test.inc (atan2_test): Add another test.
49413 * Makerules (common-objdir-compile): Remove.
49414 * sysdeps/unix/Makefile (config-generated): Do not add
49415 $(unix-generated) to variable.
49416 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49417 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49419 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49421 [generic bits/local_lim.h] (before-compile): Do not append to
49423 [generic bits/local_lim.h] (common-generated): Likewise.
49424 [generic sys/param.h] (before-compile): Do not append to variable.
49425 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49426 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49427 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49428 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49430 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49431 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49432 [generic sys/param.h] ($(addprefix
49433 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49434 [generic sys/param.h] (common-generated): Do not append to
49436 [generic sys/param.h] (sysdep_headers): Likewise.
49437 [generic bits/errno.h] (before-compile): Do not append to
49439 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49441 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49442 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49443 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49444 [generic bits/errno.h] (common-generated): Do not append to
49446 [generic bits/ioctls.h] (before-compile): Do not append to
49448 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49450 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49451 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49452 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49454 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49455 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49456 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49457 [generic bits/ioctls.h] (common-generated): Do not append to
49459 [generic sys/syscall.h] (syscall.h): Remove variable.
49460 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49462 [generic sys/syscall.h] (before-compile): Do not append to
49464 [generic sys/syscall.h] (common-generated): Likewise.
49465 * sysdeps/unix/errnos-tmpl.c: Remove file.
49466 * sysdeps/unix/errnos.awk: Likewise.
49467 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49468 * sysdeps/unix/ioctls.awk: Likewise.
49469 * sysdeps/unix/mk-local_lim.c: Likewise.
49470 * sysdeps/unix/snarf-ioctls: Likewise.
49472 2012-03-19 Richard Henderson <rth@twiddle.net>
49474 * sysdeps/i386/fpu/fenv_private.h: New file.
49475 * sysdeps/i386/fpu/math_private.h: Use it.
49476 (math_opt_barrier, math_force_eval): Remove.
49477 (libc_feholdexcept_setround_53bit): Remove.
49478 (libc_feupdateenv_53bit): Remove.
49479 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49480 (math_opt_barrier, math_force_eval): Remove.
49481 (libc_feholdexcept): Remove.
49482 (libc_feholdexcept_setround): Remove.
49483 (libc_fetestexcept, libc_fesetenv): Remove.
49484 (libc_feupdateenv_test): Remove.
49485 (libc_feupdateenv, libc_feholdsetround): Remove.
49486 (libc_feresetround): Remove.
49488 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49489 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49491 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49492 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49493 (libc_feupdateenv_testl): New.
49494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49495 (libc_feupdateenv_testf): New.
49496 (libc_feupdateenv): Use libc_feupdateenv_test.
49497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49500 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49501 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49502 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49503 (libc_feresetround_noex): New.
49504 (libc_feresetround_noexf): New.
49505 (libc_feresetround_noexl): New.
49506 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49507 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49508 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49514 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49515 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49516 SET_RESTORE_ROUND_NOEX.
49517 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49518 SET_RESTORE_ROUND_NOEXF.
49519 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49520 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49521 (libc_feholdsetroundf): New.
49522 (libc_feresetround, libc_feresetroundf): New.
49524 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49525 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49526 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49528 * sysdeps/generic/math_private.h: Include <fenv.h>.
49529 (default_libc_feholdexcept): New.
49530 (default_libc_feholdexcept_setround): New.
49531 (default_libc_fesetenv, default_libc_feupdateenv): New.
49532 (libc_feholdexcept): Only define if undefined.
49533 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49534 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49535 (libc_feholdexcept_setroundl): Likewise.
49536 (libc_feholdexcept_setround_53bit): Likewise.
49537 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49538 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49539 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49540 (libc_feupdateenv_53bit): Likewise.
49541 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49542 (libc_feholdexcept): Convert from macro to inline function.
49543 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49544 (libc_fesetenv, libc_feupdateenv): Likewise.
49546 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49547 not previously defined.
49548 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49549 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49550 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49551 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49552 * sysdeps/ieee754/flt-32/math_private.h: New file.
49553 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49554 math_private.h below SET_FLOAT_WORD.
49555 (__isnan, __isinf_ns, __finite): Remove.
49556 (__isnanf, __isinf_nsf, __finitef): Remove.
49558 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49562 2012-03-17 David S. Miller <davem@davemloft.net>
49565 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49568 2012-03-16 David S. Miller <davem@davemloft.net>
49570 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49576 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49577 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49578 sysdep_routines when subdir is sysvipc.
49579 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49580 __getshmlba helper.
49582 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49584 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49586 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49589 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49592 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49593 (__lround): Renamed to ...
49594 (__llround): This. Replace long int with long long int.
49595 Define lround functions as aliases of llround functions.
49596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49598 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49600 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49601 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49602 adresses to uintptr_t. Replace "long int" and "unsigned long
49603 int" with "greg_t" on va_arg.
49605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49607 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49608 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49610 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49611 Move e_machine check before EI_CLASS check. Handle x32
49612 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49613 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49614 SKIP_EM_IA_64 and include
49615 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49617 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49618 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49619 (add_system_dir): New macro.
49621 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49622 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49624 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49635 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49637 * math/w_j0f.c (j0f): Likewise.
49639 * math/w_j0l.c (__j0l): Likewise.
49641 * math/w_j1.c (j1): Likewise.
49643 * math/w_j1f.c (j1f): Likewise.
49645 * math/w_j1l.c (__j1l): Likewise.
49647 * math/w_jn.c (jn): Likewise.
49649 * math/w_jnf.c (jnf): Likewise.
49651 * math/w_jnl.c (__jnl): Likewise.
49653 * math/libm-test.inc (j0_test): Add more tests.
49654 (j1_test): Likewise.
49655 (jn_test): Likewise. Add trailing semicolon to existing test.
49656 (y0_test): Likewise.
49657 (y1_test): Likewise.
49658 * sysdeps/i386/fpu/libm-test-ulps: Update.
49659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49664 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49665 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49666 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49667 (__tanl): Set errno for infinite argument.
49668 * sysdeps/i386/fpu/mptan.c: Remove.
49669 * sysdeps/i386/fpu/s_tan.S: Likewise.
49670 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49671 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49672 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49673 * math/libm-test.inc (tan_test): Add more tests and enable more
49674 tests for double and long double.
49675 * sysdeps/i386/fpu/libm-test-ulps: Update.
49676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49678 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49680 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49681 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49683 2012-03-16 Roland McGrath <roland@hack.frob.com>
49685 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49686 * configure.in: Use it for both main tree and add-ons.
49687 * configure: Regenerated.
49689 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49691 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49693 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49695 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49699 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49700 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49701 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49703 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49705 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49707 != 0 for prec == 2.
49708 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49709 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49710 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49711 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49712 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49713 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49714 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49715 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49716 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49717 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49718 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49719 * math/libm-test.inc (cos_test): Add more tests and enable more
49720 tests for long double.
49721 (sin_test): Likewise.
49722 (sincos_test): Likewise.
49723 * sysdeps/i386/fpu/libm-test-ulps: Update.
49724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49726 2012-03-16 David S. Miller <davem@davemloft.net>
49728 * sysdeps/sparc/fpu/math_private.h: New file.
49730 2012-03-15 David S. Miller <davem@davemloft.net>
49732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49746 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49747 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49749 * sysdeps/sparc/sparc-ifunc.h: New file.
49750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49795 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49797 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49801 2012-03-15 Andreas Jaeger <aj@suse.de>
49804 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49805 ieee754/flt-32 implementation for sin, cos and sincos.
49806 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49807 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49808 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49809 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49810 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49811 ieee754/flt-32 implementation for tan.
49813 * math/libm-test.inc (cos_test): Enable some large input tests for
49815 (sin_test): Likewise.
49816 (sincos_test): Likewise.
49817 (tan_test): Add tests for large input.
49819 * sysdeps/i386/fpu/libm-test-ulps: Update.
49821 2012-03-15 Andreas Jaeger <aj@suse.de>
49824 * math/libm-test.inc (cos_test): Add more test cases.
49825 (sin_test): Likewise.
49826 (sincos_test): Likewise.
49828 2012-03-15 Andreas Jaeger <aj@suse.de>
49831 * math/libm-test.inc (cos_test): Add a test case for large input
49833 (sin_test): Likewise.
49834 (sincos_test): Likewise.
49836 2012-03-15 Andreas Jaeger <aj@suse.de>
49837 Joseph Myers <joseph@codesourcery.com>
49840 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49841 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49842 * sysdeps/i386/fpu/branred.c: Likewise.
49843 * sysdeps/i386/fpu/dosincos.c: Likewise.
49844 * sysdeps/i386/fpu/mpa.c: Likewise.
49845 * sysdeps/i386/fpu/s_cos.S: Likewise.
49846 * sysdeps/i386/fpu/s_sin.S: Likewise.
49847 * sysdeps/i386/fpu/s_sincos.S: Likewise.
49848 * sysdeps/i386/fpu/sincos32.c: Likewise.
49850 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49852 (libc_feupdateenv_53bit): Define.
49853 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49855 (libc_feupdateenv_53bit): Define.
49857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49858 53 bit (without extend i386 double precision).
49860 * math/libm-test.inc (sincos_test): Add tests for large input.
49864 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49866 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49870 2012-03-15 David S. Miller <davem@davemloft.net>
49872 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49873 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49874 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49875 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49900 fmin/fmax sysdep routines.
49901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49903 2012-03-14 David S. Miller <davem@davemloft.net>
49905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49910 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49911 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49977 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49982 * sysdeps/sparc/configure.in: New file.
49983 * sysdeps/sparc/configure: Generate.
49984 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49985 * configure: Regenerate.
49986 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49987 * config.make.in (have-as-vis3): New.
49988 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49989 available use -Av9d instead of -Av9a.
49990 * sysdeps/sparc/sparc64/Makefile: Likewise.
49991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50006 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50007 fzeros/fnegs to load 0x80000000 into a float register instead of
50009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50011 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50015 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50016 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50017 ($(inst_includedir)/bits/syscall.h): Remove rule.
50018 ($(objpfx)bits/syscall.d): Include instead of
50019 $(objpfx)syscall-list.d.
50020 (generated): Change syscall-list.h and syscall-list.d to
50021 bits/syscall.h and bits/syscall.d.
50023 2012-03-14 Roland McGrath <roland@hack.frob.com>
50026 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50028 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50031 * math/s_csqrt.c: Include <float.h>.
50032 (__csqrt): Scale large or subnormal inputs.
50033 * math/s_csqrtf.c: Likewise.
50034 * math/s_csqrtl.c: Likewise.
50035 * math/libm-test.inc (csqrt_test): Add more tests.
50036 * sysdeps/i386/fpu/libm-test-ulps: Update.
50037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50040 * math/libm-test.inc (hypot_test): Add more tests.
50042 2012-03-13 David S. Miller <davem@davemloft.net>
50045 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50046 double-precision for the calculation instead of scaling.
50048 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50050 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50051 manipulate bits before adding and subtracting TWO52[sx].
50052 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50057 2012-03-13 David S. Miller <davem@davemloft.net>
50059 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50060 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50062 rtld-global-offsets.h
50063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50065 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50068 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50070 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50071 'err' in the ifdef scope in which it is actually used.
50073 * nss/nss_db/db-init.c: Include string.h
50075 2012-03-12 David S. Miller <davem@davemloft.net>
50077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50078 masking out of the most significant byte of random value used.
50079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50080 Fix coding style in previous change.
50082 * sysdeps/unix/sysv/linux/kernel-features.h
50083 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50084 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50086 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50089 2012-03-11 David S. Miller <davem@davemloft.net>
50091 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50092 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50094 for 'resultvar' otherwise things get truncated on 64-bit.
50096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50097 Fix masking out of the most significant byte of random value used.
50099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50101 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50105 2012-03-09 David S. Miller <davem@davemloft.net>
50107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50108 variables with appropriate CPP guards.
50109 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50110 from the frame pointer, not the stack pointer. Correct layout
50111 comments. Fix test on resulting framesize and the management of
50112 the outregs buffer for pltexit. Preserve floating point return
50113 values across _dl_call_pltexit call.
50114 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50115 framesize and the management of the outregs buffer for pltexit.
50116 Preserve floating point return values across _dl_call_pltexit
50118 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50119 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50120 (la_sparc64_gnu_pltexit): New functions.
50121 (print_exit): Fix format string for return register value.
50123 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50125 * sunrpc/Makefile (others): Add rpcgen.
50126 ($(objpfx)rpcgen): Remove special build rule and dependency on
50128 * sunrpc/rpcgen.c: New file.
50130 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50133 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50134 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50135 * sysdeps/i386/crti.S: Likewise.
50136 * sysdeps/i386/crtn.S: Likewise.
50137 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50138 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50139 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50140 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50141 * sysdeps/sh/crti.S: Likewise.
50142 * sysdeps/sh/crtn.S: Likewise.
50143 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50146 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50148 * locale/programs/locfile-kw.gperf: Likewise.
50149 * locale/programs/charmap-kw.h: Regenerated.
50150 * locale/programs/locfile-kw.h: Likewise.
50153 * intl/plural.y: Replace FSF snail mail address with URL.
50154 * intl/plural.c: Regenerated.
50156 2012-03-09 Richard Henderson <rth@twiddle.net>
50158 * include/math_private.h: Remove file.
50159 * math/math_private.h: Move file ...
50160 * sysdeps/generic/math_private.h: ... here.
50162 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50163 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50164 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50166 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50167 and <math_private.h>.
50168 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50169 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50170 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50171 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50172 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50173 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50174 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50176 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50177 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50185 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50186 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50189 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50190 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50198 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50200 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50201 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50202 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50203 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50204 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50205 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50206 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50208 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50211 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50212 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50213 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50214 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50215 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50217 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50218 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50219 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50220 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50222 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50223 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50224 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50225 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50227 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50228 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50229 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50231 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50232 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50236 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50237 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50238 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50242 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50248 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50250 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50255 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50256 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50257 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50258 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50259 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50262 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50263 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50265 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50268 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50269 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50270 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50271 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50272 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50273 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50274 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50275 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50276 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50278 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50279 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50280 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50282 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50284 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50285 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50286 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50287 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50288 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50289 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50291 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50295 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50297 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50298 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50301 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50302 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50303 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50304 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50306 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50307 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50308 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50309 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50310 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50311 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50312 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50313 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50314 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50315 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50316 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50317 * sysdeps/ieee754/k_standard.c: Likewise.
50318 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50325 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50327 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50328 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50330 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50331 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50332 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50333 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50334 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50338 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50339 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50344 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50345 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50383 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50385 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50409 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50411 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50415 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50421 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50425 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50426 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50427 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50428 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50429 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50430 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50432 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50433 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50434 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50435 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50437 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50439 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50440 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50441 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50442 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50443 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50444 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50445 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50446 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50448 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50449 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50450 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50451 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50452 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50453 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50455 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50456 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50457 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50458 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50459 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50460 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50461 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50462 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50463 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50464 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50465 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50466 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50467 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50468 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50469 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50472 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50473 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50474 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50475 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50477 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50478 * sysdeps/ieee754/s_lib_version.c: Likewise.
50479 * sysdeps/ieee754/s_matherr.c: Likewise.
50480 * sysdeps/ieee754/s_signgam.c: Likewise.
50481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50483 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50484 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50485 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50486 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50487 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50488 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50489 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50490 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50491 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50492 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50493 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50494 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50495 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50496 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50498 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50499 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50503 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50505 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50506 * sunrpc/rpc_main.c: Likewise.
50507 * sunrpc/rpc_svcout.c: Likewise.
50509 2012-03-09 David S. Miller <davem@davemloft.net>
50511 * include/math_private.h: New file.
50513 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50515 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50516 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50517 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50518 from <bits/socket_type.h>.
50519 (enum __socket_type): Don't define here.
50520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50522 bits/socket_type.h.
50525 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50526 checking __USE_GNU.
50528 * Makerules ($(inst_includedir)/%.h): New rule.
50529 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50530 (install-others): Remove variable setting.
50531 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50533 2012-03-08 Richard Henderson <rth@twiddle.net>
50535 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50536 from macro to inline function; merge with the
50537 !__LIBC_INTERNAL_MATH_INLINES version.
50538 (__ieee754_sqrtf): Likewise.
50540 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50541 to inline function.
50542 (__rintf, __floor, __floorf): Likewise.
50544 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50545 macro to inline function.
50546 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50549 not <math/math_private.h>.
50551 2012-03-08 David S. Miller <davem@davemloft.net>
50553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50555 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50557 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50559 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50561 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50562 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50564 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50566 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50567 be defined individually, they must be defined as a block. Define
50568 S for printing a string instead of hidint the different by using a
50569 macro for adding the 'l'.
50570 * stdio-common/tst-fphex-wide.c: Adjust.
50572 2012-03-07 Marek Polacek <polacek@redhat.com>
50574 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50576 2012-03-08 Marek Polacek <polacek@redhat.com>
50579 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50580 * stdio-common/tst-fphex.c: Define a few macros to make the
50581 test reusable. Use them.
50582 * stdio-common/tst-fphex-wide.c: New file.
50584 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50587 * manual/macros.texi (gnusystems): New macro.
50588 (nongnusystems): Likewise.
50589 (gnulinuxhurdsystems): Likewise.
50590 (gnuhurdsystems): Likewise..
50591 (gnulinuxsystems): Likewise.
50592 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50593 variants of the GNU system, not "GNU system".
50594 * manual/conf.texi: Likewise.
50595 * manual/errno.texi: Likewise. Update example of errno macro
50597 * manual/filesys.texi: Likewise.
50598 (getumask): Document as specific to GNU/Hurd.
50599 * manual/install.texi: Likewise. Reword some references to
50601 * manual/intro.texi: Likewise.
50602 * manual/io.texi: Likewise.
50603 (File Name Portability): Detail which constraints are inapplicable
50604 to all GNU systems and which are only inapplicable to GNU/Hurd.
50605 * manual/job.texi: Likewise.
50606 * manual/llio.texi: Likewise.
50607 (O_NOCTTY): Document as present on GNU/Linux.
50608 * manual/maint.texi: Likewise.
50609 * manual/memory.texi: Likewise.
50610 * manual/pattern.texi: Likewise.
50611 * manual/pipe.texi: Likewise.
50612 * manual/process.texi: Likewise.
50613 * manual/resource.texi: Likewise.
50614 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50616 * manual/setjmp.texi: Likewise.
50617 * manual/signal.texi: Likewise.
50618 * manual/startup.texi: Likewise.
50619 * manual/stdio.texi: Likewise.
50620 * manual/terminal.texi: Likewise.
50621 (ONLCR): Document as POSIX.
50622 (OXTABS): Document availability on GNU/Linux as XTABS.
50623 (ONOEOT): Document availability separately from other bits.
50624 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50625 * manual/time.texi: Likewise.
50626 * manual/users.texi: Likewise.
50627 * INSTALL: Regenerated.
50628 * sysdeps/gnu/errlist.c: Regenerated.
50630 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50631 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50632 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50634 * configure: Regenerated.
50636 2012-03-07 Joseph Myers <joseph@codesourcery.com>
50638 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50639 default includes instead of AC_HEADER_CHECK.
50640 * sysdeps/i386/configure: Regenerated.
50643 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50644 * math/s_cacoshf.c (__cacoshf): Likewise.
50645 * math/s_cacoshl.c (__cacoshl): Likewise.
50646 * math/s_casinh.c (__casinh): Set signs of result from argument.
50647 * math/s_casinhf.c (__casinhf): Likewise.
50648 * math/s_casinhl.c (__casinhl): Likewise.
50649 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50650 (casinh_test): Add more tests.
50651 * sysdeps/i386/fpu/libm-test-ulps: Update.
50652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50654 2012-03-07 Ulrich Drepper <drepper@gmail.com>
50656 * po/zh_TW.po: Update from translation team.
50658 * login/Makefile (distribute): Remove variable.
50659 * catgets/Makefile: Likewise.
50660 * mach/Makefile: Likewise.
50661 * malloc/Makefile: Likewise.
50662 * misc/Makefile: Likewise.
50663 * iconv/Makefile: Likewise.
50664 * nscd/Makefile: Likewise.
50665 * hurd/Makefile: Likewise.
50666 * manual/Makefile: Likewise.
50667 * locale/Makefile: Likewise.
50668 * intl/Makefile: Likewise.
50669 * conform/Makefile: Likewise.
50670 * nss/Makefile: Likewise.
50671 * time/Makefile: Likewise.
50672 * soft-fp/Makefile: Likewise.
50673 * dirent/Makefile: Likewise.
50674 * gmon/Makefile: Likewise.
50675 * po/Makefile: Likewise.
50676 * rt/Makefile: Likewise.
50677 * socket/Makefile: Likewise.
50678 * math/Makefile: Likewise.
50679 * signal/Makefile: Likewise.
50680 * debug/Makefile: Likewise.
50681 * elf/Makefile: Likewise.
50682 * timezone/Makefile: Likewise.
50683 * stdlib/Makefile: Likewise.
50684 * iconvdata/Makefile: Likewise.
50685 * sunrpc/Makefile: Likewise.
50686 * io/Makefile: Likewise.
50687 * argp/Makefile: Likewise.
50688 * inet/Makefile: Likewise.
50689 * hesiod/Makefile: Likewise.
50690 * grp/Makefile: Likewise.
50691 * csu/Makefile: Likewise.
50692 * wctype/Makefile: Likewise.
50693 * crypt/Makefile: Likewise.
50694 * libio/Makefile: Likewise.
50695 * string/Makefile: Likewise.
50696 * nis/Makefile: Likewise.
50697 * resolv/Makefile: Likewise.
50698 * stdio-common/Makefile: Likewise.
50699 * wcsmbs/Makefile: Likewise.
50700 * dlfcn/Makefile: Likewise.
50701 * posix/Makefile: Likewise.
50704 * timezone/Makefile: Don't install timezone files, just the programs
50707 2012-03-06 Ulrich Drepper <drepper@gmail.com>
50709 * nss/databases.def: Add missing gshadow entry.
50711 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50713 2012-03-06 Marek Polacek <polacek@redhat.com>
50716 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50717 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50718 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50719 * stdio-common/tst-long-dbl-fphex.c: New file.
50721 2012-03-06 David S. Miller <davem@davemloft.net>
50723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50724 (set_obp_int): New function.
50725 (get_obp_int): New function.
50726 (__get_clockfreq_via_dev_openprom): Likewise.
50727 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50728 Avoid unused variable warnings on 'val' and use builtin_expect.
50729 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50731 (INLINE_CLONE_SYSCALL): Likewise.
50733 2012-03-05 David S. Miller <davem@davemloft.net>
50735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50737 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50741 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50742 only for |x| >= 40.
50743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50745 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
50747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50748 Replace gettimeofday with __vdso_gettimeofday.
50750 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50751 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50752 __vdso_clock_gettime and __vdso_getcpu.
50754 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50755 time with __vdso_time.
50757 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50759 * manual/lang.texi (size_t): Note types to which size_t may be
50760 equivalent with the GNU C Library, but do not describe when
50761 differences between them are significant.
50763 2012-03-05 Andreas Jaeger <aj@suse.de>
50765 * sysdeps/i386/fpu/libm-test-ulps: Update.
50767 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50770 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50771 (__ieee754_pow): Save and restore rounding mode and use
50772 round-to-nearest for main computations.
50773 * math/libm-test.inc (pow_test_tonearest): New function.
50774 (pow_test_towardzero): Likewise.
50775 (pow_test_downward): Likewise.
50776 (pow_test_upward): Likewise.
50777 (main): Call the new functions.
50778 * sysdeps/i386/fpu/libm-test-ulps: Update.
50779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50782 * math/libm-test.inc (cosh_test_tonearest): New function.
50783 (cosh_test_towardzero): Likewise.
50784 (cosh_test_downward): Likewise.
50785 (cosh_test_upward): Likewise.
50786 (sinh_test_tonearest): Likewise.
50787 (sinh_test_towardzero): Likewise.
50788 (sinh_test_downward): Likewise.
50789 (sinh_test_upward): Likewise.
50790 (main): Call the new functions.
50791 * sysdeps/i386/fpu/libm-test-ulps: Update.
50792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50794 2012-03-05 Tom de Vries <tom@codesourcery.com>
50796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50797 default stack guard is set in last bytes.
50798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50800 2012-03-05 Kees Cook <keescook@chromium.org>
50802 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50805 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50806 possibly allocate from heap instead of stack.
50807 * stdio-common/bug-vfprintf-nargs.c: New file.
50808 * stdio-common/Makefile (tests): Add nargs overflow test.
50810 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50814 2012-03-03 Marek Polacek <polacek@redhat.com>
50816 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50817 * math/math_private.h: Likewise.
50818 * stdlib/tst-strtod.c: Likewise.
50819 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50820 * sysdeps/x86_64/bits/atomic.h: Likewise.
50822 2012-03-02 David S. Miller <davem@davemloft.net>
50824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50828 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50829 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50830 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50831 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50833 2012-03-02 Roland McGrath <roland@hack.frob.com>
50836 * manual/examples/README: New file, says the example source files
50837 can be used under GPL>=2.
50838 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50839 line containing just "*/".
50840 * manual/examples/add.c: Add copyright header (GPL>=2).
50841 * manual/examples/argp-ex1.c: Likewise.
50842 * manual/examples/argp-ex2.c: Likewise.
50843 * manual/examples/argp-ex3.c: Likewise.
50844 * manual/examples/argp-ex4.c: Likewise.
50845 * manual/examples/atexit.c: Likewise.
50846 * manual/examples/db.c: Likewise.
50847 * manual/examples/dir.c: Likewise.
50848 * manual/examples/dir2.c: Likewise.
50849 * manual/examples/execinfo.c: Likewise.
50850 * manual/examples/filecli.c: Likewise.
50851 * manual/examples/filesrv.c: Likewise.
50852 * manual/examples/fmtmsgexpl.c: Likewise.
50853 * manual/examples/genpass.c: Likewise.
50854 * manual/examples/inetcli.c: Likewise.
50855 * manual/examples/inetsrv.c: Likewise.
50856 * manual/examples/isockad.c: Likewise.
50857 * manual/examples/longopt.c: Likewise.
50858 * manual/examples/memopen.c: Likewise.
50859 * manual/examples/memstrm.c: Likewise.
50860 * manual/examples/mkfsock.c: Likewise.
50861 * manual/examples/mkisock.c: Likewise.
50862 * manual/examples/mygetpass.c: Likewise.
50863 * manual/examples/pipe.c: Likewise.
50864 * manual/examples/popen.c: Likewise.
50865 * manual/examples/rprintf.c: Likewise.
50866 * manual/examples/search.c: Likewise.
50867 * manual/examples/select.c: Likewise.
50868 * manual/examples/setjmp.c: Likewise.
50869 * manual/examples/sigh1.c: Likewise.
50870 * manual/examples/sigusr.c: Likewise.
50871 * manual/examples/stpcpy.c: Likewise.
50872 * manual/examples/strdupa.c: Likewise.
50873 * manual/examples/strftim.c: Likewise.
50874 * manual/examples/strncat.c: Likewise.
50875 * manual/examples/subopt.c: Likewise.
50876 * manual/examples/swapcontext.c: Likewise.
50877 * manual/examples/termios.c: Likewise.
50878 * manual/examples/testopt.c: Likewise.
50879 * manual/examples/testpass.c: Likewise.
50880 * manual/examples/timeval_subtract.c: Likewise.
50883 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50885 * manual/timeval_subtract.c.texi: ... here, new file.
50887 2012-03-02 David S. Miller <davem@davemloft.net>
50889 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50891 2012-03-02 Joseph Myers <joseph@codesourcery.com>
50894 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50895 (__sin): Save and restore rounding mode and use round-to-nearest
50896 for all computations.
50897 (__cos): Save and restore rounding mode and use round-to-nearest
50898 for all computations.
50899 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50901 (tan): Save and restore rounding mode and use round-to-nearest for
50903 * math/libm-test.inc (cos_test_tonearest): New function.
50904 (cos_test_towardzero): Likewise.
50905 (cos_test_downward): Likewise.
50906 (cos_test_upward): Likewise.
50907 (sin_test_tonearest): Likewise.
50908 (sin_test_towardzero): Likewise.
50909 (sin_test_downward): Likewise.
50910 (sin_test_upward): Likewise.
50911 (tan_test_tonearest): Likewise.
50912 (tan_test_towardzero): Likewise.
50913 (tan_test_downward): Likewise.
50914 (tan_test_upward): Likewise.
50915 (main): Call the new functions.
50916 * sysdeps/i386/fpu/libm-test-ulps: Update.
50917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50920 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50921 small n, then large n, before computing and testing k+n.
50922 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50927 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50928 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50934 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50935 * math/libm-test.inc (scalbn_test): Add more tests.
50936 (scalbln_test): Likewise.
50938 * manual/filesys.texi (mode_t): Describe constraints on size and
50939 signedness, not exact equivalence to a particular type.
50941 (ino64_t): Likewise.
50943 (nlink_t): Likewise.
50944 (blkcnt_t): Likewise.
50945 (blkcnt64_t): Likewise.
50946 * manual/llio.texi (off_t): Likewise.
50949 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50950 (__ieee754_exp): Save and restore rounding mode and use
50951 round-to-nearest for all computations.
50952 * math/libm-test.inc (exp_test_tonearest): New function.
50953 (exp_test_towardzero): Likewise.
50954 (exp_test_downward): Likewise.
50955 (exp_test_upward): Likewise.
50956 (main): Call the new functions.
50957 * sysdeps/i386/fpu/libm-test-ulps: Update.
50958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50960 2012-03-01 Chris Demetriou <cgd@google.com>
50962 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50963 have predictable order.
50965 2012-03-01 David S. Miller <davem@davemloft.net>
50967 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50969 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50970 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50971 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50972 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50974 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50975 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50976 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50978 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50979 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50980 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50981 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50982 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50986 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50987 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50988 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50990 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50991 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50992 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50993 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50994 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50997 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50998 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50999 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51000 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51006 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51007 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51008 * sysdeps/sparc/elf/configure: Regenerated.
51010 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51012 * configure.in (AS, LD): Require binutils 2.20 or later.
51013 * configure: Regenerated.
51014 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51015 as required minimum version.
51016 * INSTALL: Regenerated.
51020 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51021 before squaring exponent.
51022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51023 bottom long double and 27 bits of top long double before squaring
51025 * math/libm-test.inc (erfc_test): Add more tests.
51026 * sysdeps/i386/fpu/libm-test-ulps: Update.
51027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51030 2012-03-01 Kai Tietz <ktietz@redhat.com>
51032 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51033 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51034 containing bit-fields.
51035 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51036 * soft-fp/single.h (_FP_UNION_S): Likewise.
51037 * soft-fp/double.h (_FP_UNION_D): Likewise.
51039 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51042 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51043 not include ../strcmp.S.
51044 [USE_AS_STRNCASECMP_L]: Likewise.
51045 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51046 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51047 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51048 (__strncasecmp_l_ia32): Define as alias to
51049 __strncasecmp_l_nonascii.
51052 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51053 * sysdeps/i386/fpu/libm-test-ulps: Update.
51054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51056 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51059 2012-02-29 Jeff Law <law@redhat.com>
51061 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51062 out of bounds read.
51064 2012-02-29 Marek Polacek <polacek@redhat.com>
51067 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51068 * elf/Makefile: Add rules to run tst-unused-dep.out.
51070 2012-02-28 David S. Miller <davem@davemloft.net>
51072 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51073 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51074 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51076 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51077 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51079 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51081 * math/libm-test.inc (llround_test): Move one test from
51082 lround_test. Use TEST_f_L in moved test.
51083 (lround_test): Move misplaced test to llround_test. Add testcase
51086 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51088 * sysdeps/x86_64/fpu/e_expf.S: New file.
51089 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51091 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51094 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51095 of remain_len that may cause incomplete multi-byte character and
51097 * posix/bug-regex33.c: New file.
51098 * posix/Makefile (tests): Add bug-regex33.
51100 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51102 * manual/macros.texi: New file.
51103 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51104 * manual/libc.texinfo: Include macros.texi.
51105 * manual/creatute.texi: Likewise.
51106 * manual/install.texi: Likewise.
51107 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51108 @glibcadj{} in references to the GNU C Library.
51109 * manual/charset.texi: Likewise.
51110 * manual/conf.texi: Likewise.
51111 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51112 when not using those macros.
51113 * manual/creature.texi: Likewise.
51114 * manual/crypt.texi: Likewise.
51115 * manual/errno.texi: Likewise.
51116 * manual/filesys.texi: Likewise.
51117 * manual/header.texi: Likewise.
51118 * manual/install.texi: Likewise.
51119 * manual/intro.texi: Likewise.
51120 * manual/io.texi: Likewise.
51121 * manual/job.texi: Likewise.
51122 * manual/lang.texi: Likewise.
51123 * manual/libc.texiinfo: Likewise.
51124 * manual/llio.texi: Likewise.
51125 * manual/locale.texi: Likewise.
51126 * manual/maint.texi: Likewise.
51127 * manual/math.texi: Likewise.
51128 * manual/memory.texi: Likewise.
51129 * manual/message.texi: Likewise.
51130 * manual/nss.texi: Likewise.
51131 * manual/pattern.texi: Likewise.
51132 * manual/process.texi: Likewise.
51133 * manual/resource.texi: Likewise.
51134 * manual/search.texi: Likewise.
51135 * manual/setjmp.texi: Likewise.
51136 * manual/signal.texi: Likewise.
51137 * manual/socket.texi: Likewise.
51138 * manual/startup.texi: Likewise.
51139 * manual/stdio.texi: Likewise.
51140 * manual/string.texi: Likewise.
51141 * manual/sysinfo.texi: Likewise.
51142 * manual/syslog.texi: Likewise.
51143 * manual/terminal.texi: Likewise.
51144 * manual/time.texi: Likewise.
51145 * manual/users.texi: Likewise.
51146 * INSTALL: Regenerated.
51147 * NOTES: Regenerated.
51148 * sysdeps/gnu/errlist.c: Regenerated.
51150 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51152 * include/dirent.h: Include <dirstream.h> before
51155 2012-02-28 David S. Miller <davem@davemloft.net>
51157 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51158 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51159 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51160 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51162 2012-02-27 David S. Miller <davem@davemloft.net>
51164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51166 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51167 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51170 frame pointer instead of stack pointer relative arg slot.
51171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51172 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51173 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51175 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51178 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51180 2012-02-27 David S. Miller <davem@davemloft.net>
51182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51186 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51187 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51188 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51189 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51191 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51193 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51194 later. Allow versions 5-9.
51195 * configure: Regenerated.
51196 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51197 required minimum version and 4.6 as recommended version. Do not
51198 mention bugs in GCC 2.7 and 2.8.
51199 * INSTALL: Regenerated.
51201 2012-02-27 David S. Miller <davem@davemloft.net>
51203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51207 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51208 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51209 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51210 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51213 manipulate bits before adding and subtracting TWO112[sx].
51214 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51216 2012-02-27 Roland McGrath <roland@hack.frob.com>
51219 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51220 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51221 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51222 being in POSIX, because they are in 1003.1-2008.
51224 * rt/tst-aio.c: Include <fcntl.h>.
51225 * rt/tst-aio7.c: Likewise.
51226 * rt/tst-aio64.c: Likewise.
51228 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51230 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51232 * manual/install.texi (--with-headers): Describe headers as
51233 interface headers, not private headers.
51234 (Specific advice for GNU/Linux systems): Describe use of headers
51235 from "make headers_install", not private headers from older
51237 * INSTALL: Regenerated.
51238 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51240 * sysdeps/unix/sysv/linux/configure: Regenerated.
51242 * manual/llio.texi (fclean): Remove documentation.
51244 * manual/Makefile (libc-texi-generated): New variable. Include
51246 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51247 $(libc-texi-generated), not duplicated list of files.
51248 (version.texi, stamp-version): New rules.
51249 (realclean): Remove $(libc-texi-generated), not individual files
51250 from that list. Do not remove dir-add.texinfo.
51251 * manual/libc.texinfo: Comment out uses of edition numbers and
51252 references to printed manual. Remove last-updated dates.
51253 (EDITION): Comment out.
51255 (VERSION, UPDATED): Remove.
51256 (version.texi): Include.
51258 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51260 * sysdeps/posix/spawni.c: Include <signal.h>.
51261 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51262 * sysdeps/pthread/aio_fsync.c: Likewise.
51264 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51266 * conform/Makefile (tests): Run only when not cross-compiling and
51267 when fast-check is not defined.
51269 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51270 * conform/data/limits.h-data: Fixes for POSIX2008.
51271 * conform/run-conformtest.sh: Run all tests.
51272 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51274 * include/bits/dlfcn.h: Likewise.
51275 * include/langinfo.h: Likewise.
51276 * include/monetary.h: Likewise.
51277 * include/sys/poll.h: Likewise.
51279 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51281 * posix/spawn.h: Define __need_sigset_t.
51282 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51283 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51284 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51285 to get sigevent_t only.
51286 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51287 only for __USE_GNU.
51288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51289 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51290 process_vm_writev only for __USE_GNU.
51291 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51293 * conform/Makefile: For now ignore errors from run-conformtest.
51294 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51295 POSIX to avoid namespace pollution. Don't prepend headers.
51296 * conform/data/aio.h-data: Fixes for POSIX testing.
51297 * conform/data/fcntl.h-data: Likewise.
51298 * conform/data/glob.h-data: Likewise.
51299 * conform/data/grp.h-data: Likewise.
51300 * conform/data/pthread.h-data: Likewise.
51301 * conform/data/pwd.h-data: Likewise.
51302 * conform/data/signal.h-data: Likewise.
51303 * conform/data/spawn.h-data: Likewise.
51304 * conform/data/stdio.h-data: Likewise.
51305 * conform/data/stdlib.h-data: Likewise.
51306 * conform/data/stropts.h-data: Likewise.
51307 * conform/data/sys/mman.h-data: Likewise.
51308 * conform/data/sys/stat.h-data: Likewise.
51309 * conform/data/sys/types.h-data: Likewise.
51310 * conform/data/sys/wait.h-data: Likewise.
51311 * conform/data/time.h-data: Likewise.
51312 * conform/data/unistd.h-data: Likewise.
51313 * conform/data/utime.h-data: Likewise.
51315 * io/sys/stat.h: fchmod was always in POSIX.
51316 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51317 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51318 * rt/aio.h: Define __need_timespec before including <time.h>.
51319 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51320 struct. Add forward declaration of pthread_attr_t and use it in
51322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51324 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51325 always remove CLK_TCK definition.
51327 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51329 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51331 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51333 * conform/run-conformtest.sh: New file.
51334 * conform/Makefile: Run run-conformtest for tests.
51335 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51338 * conform/data/uchar.h-data: New file.
51339 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51340 * conform/data/arpa/inet.h-data: Likewise.
51341 * conform/data/assert.h-data: Likewise.
51342 * conform/data/complex.h-data: Likewise.
51343 * conform/data/cpio.h-data: Likewise.
51344 * conform/data/ctype.h-data: Likewise.
51345 * conform/data/dirent.h-data: Likewise.
51346 * conform/data/dlfcn.h-data: Likewise.
51347 * conform/data/errno.h-data: Likewise.
51348 * conform/data/fcntl.h-data: Likewise.
51349 * conform/data/float.h-data: Likewise.
51350 * conform/data/fmtmsg.h-data: Likewise.
51351 * conform/data/fnmatch.h-data: Likewise.
51352 * conform/data/ftw.h-data: Likewise.
51353 * conform/data/glob.h-data: Likewise.
51354 * conform/data/grp.h-data: Likewise.
51355 * conform/data/iconv.h-data: Likewise.
51356 * conform/data/inttypes.h-data: Likewise.
51357 * conform/data/langinfo.h-data: Likewise.
51358 * conform/data/libgen.h-data: Likewise.
51359 * conform/data/limits.h-data: Likewise.
51360 * conform/data/locale.h-data: Likewise.
51361 * conform/data/math.h-data: Likewise.
51362 * conform/data/monetary.h-data: Likewise.
51363 * conform/data/mqueue.h-data: Likewise.
51364 * conform/data/ndbm.h-data: Likewise.
51365 * conform/data/net/if.h-data: Likewise.
51366 * conform/data/netdb.h-data: Likewise.
51367 * conform/data/netinet/in.h-data: Likewise.
51368 * conform/data/nl_types.h-data: Likewise.
51369 * conform/data/poll.h-data: Likewise.
51370 * conform/data/pthread.h-data: Likewise.
51371 * conform/data/pwd.h-data: Likewise.
51372 * conform/data/regex.h-data: Likewise.
51373 * conform/data/sched.h-data: Likewise.
51374 * conform/data/search.h-data: Likewise.
51375 * conform/data/semaphore.h-data: Likewise.
51376 * conform/data/setjmp.h-data: Likewise.
51377 * conform/data/signal.h-data: Likewise.
51378 * conform/data/spawn.h-data: Likewise.
51379 * conform/data/stdarg.h-data: Likewise.
51380 * conform/data/stdio.h-data: Likewise.
51381 * conform/data/stdlib.h-data: Likewise.
51382 * conform/data/string.h-data: Likewise.
51383 * conform/data/strings.h-data: Likewise.
51384 * conform/data/stropts.h-data: Likewise.
51385 * conform/data/sys/ipc.h-data: Likewise.
51386 * conform/data/sys/mman.h-data: Likewise.
51387 * conform/data/sys/msg.h-data: Likewise.
51388 * conform/data/sys/resource.h-data: Likewise.
51389 * conform/data/sys/select.h-data: Likewise.
51390 * conform/data/sys/sem.h-data: Likewise.
51391 * conform/data/sys/shm.h-data: Likewise.
51392 * conform/data/sys/socket.h-data: Likewise.
51393 * conform/data/sys/stat.h-data: Likewise.
51394 * conform/data/sys/statvfs.h-data: Likewise.
51395 * conform/data/sys/time.h-data: Likewise.
51396 * conform/data/sys/timeb.h-data: Likewise.
51397 * conform/data/sys/times.h-data: Likewise.
51398 * conform/data/sys/types.h-data: Likewise.
51399 * conform/data/sys/uio.h-data: Likewise.
51400 * conform/data/sys/un.h-data: Likewise.
51401 * conform/data/sys/utsname.h-data: Likewise.
51402 * conform/data/sys/wait.h-data: Likewise.
51403 * conform/data/syslog.h-data: Likewise.
51404 * conform/data/tar.h-data: Likewise.
51405 * conform/data/termios.h-data: Likewise.
51406 * conform/data/utime.h-data: Likewise.
51407 * conform/data/utmpx.h-data: Likewise.
51408 * conform/data/varargs.h-data: Likewise.
51409 * conform/data/wchar.h-data: Likewise.
51410 * conform/data/wctype.h-data: Likewise.
51411 * conform/data/wordexp.h-data: Likewise.
51413 * include/stropts.h: New file.
51414 * include/uchar.h: New file.
51415 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51416 * include/assert.h: Likewise.
51417 * include/ctype.h: Likewise.
51418 * include/dirent.h: Likewise.
51419 * include/dlfcn.h: Likewise.
51420 * include/fcntl.h: Likewise.
51421 * include/fnmatch.h: Likewise.
51422 * include/glob.h: Likewise.
51423 * include/grp.h: Likewise.
51424 * include/libio.h: Likewise.
51425 * include/locale.h: Likewise.
51426 * include/math.h: Likewise.
51427 * include/net/if.h: Likewise.
51428 * include/netdb.h: Likewise.
51429 * include/netinet/in.h: Likewise.
51430 * include/pthread.h: Likewise.
51431 * include/pwd.h: Likewise.
51432 * include/regex.h: Likewise.
51433 * include/sched.h: Likewise.
51434 * include/search.h: Likewise.
51435 * include/setjmp.h: Likewise.
51436 * include/signal.h: Likewise.
51437 * include/stdio.h: Likewise.
51438 * include/stdlib.h: Likewise.
51439 * include/string.h: Likewise.
51440 * include/sys/cdefs.h: Likewise.
51441 * include/sys/mman.h: Likewise.
51442 * include/sys/msg.h: Likewise.
51443 * include/sys/resource.h: Likewise.
51444 * include/sys/select.h: Likewise.
51445 * include/sys/socket.h: Likewise.
51446 * include/sys/stat.h: Likewise.
51447 * include/sys/statvfs.h: Likewise.
51448 * include/sys/time.h: Likewise.
51449 * include/sys/times.h: Likewise.
51450 * include/sys/uio.h: Likewise.
51451 * include/sys/utsname.h: Likewise.
51452 * include/sys/wait.h: Likewise.
51453 * include/termios.h: Likewise.
51454 * include/time.h: Likewise.
51455 * include/ulimit.h: Likewise.
51456 * include/unistd.h: Likewise.
51457 * include/utime.h: Likewise.
51458 * include/wchar.h: Likewise.
51459 * include/wctype.h: Likewise.
51460 * include/wordexp.h: Likewise.
51462 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51464 * time/time.h: TIME_UTC must be a macro.
51465 Make timespec_get available for ISO C11 only as well.
51467 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51469 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51470 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51472 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51474 * configure.in: Use -o not -a in test for unsupported multi-arch.
51476 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51478 * manual/texinfo.tex: Update to version 2012-01-19.16.
51480 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51482 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51484 2012-02-24 Roland McGrath <roland@hack.frob.com>
51487 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51488 * manual/fdl-1.3.texi: New file.
51489 * manual/fdl-1.1.texi: File removed.
51492 * manual/libc.texinfo (FDL_VERSION): New @set.
51493 Use it for mention of FDL in cover text.
51494 (Documentation License): Use it in @include file name.
51496 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51497 Roland McGrath <roland@hack.frob.com>
51500 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51501 (not LONG_LONG_MAX and LONG_LONG_MIN.
51502 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51503 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51505 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51507 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51511 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51512 manipulate bits before adding and subtracting TWO23[sx].
51513 * math/libm-test.inc (nearbyint_test): Add more tests.
51515 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51518 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51519 bits before adding and subtracting TWO23[sx].
51520 * math/libm-test.inc (rint_test): Add more tests.
51521 (rint_test_tonearest): Likewise.
51522 (rint_test_towardzero): Likewise.
51523 (rint_test_downward): Likewise.
51524 (rint_test_upward: Likewise.
51526 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51529 * include/stdc-predef.h: New file. Extracted from features.h.
51530 * include/features.h: Include stdc-predef.h.
51531 * Makefile (headers): Add stdc-predef.h.
51532 * CONFORMANCE (Compiler limitations): Update.
51534 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51536 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51538 2012-02-21 David S. Miller <davem@davemloft.net>
51540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51543 2012-02-20 David S. Miller <davem@davemloft.net>
51545 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51546 using a normal save/restore sequence, rather than allocating a
51547 dummy stack frame just to store a frame pointer and restore.
51548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51550 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51552 * manual/install.texi: Fix stray word in line-wrapped comment.
51554 2012-02-20 David S. Miller <davem@davemloft.net>
51556 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51557 both binutils and gcc support GOTDATA.
51559 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51560 "rd %pc" in the PIC register setup sequences.
51562 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51563 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51564 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51565 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51566 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51568 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51569 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51571 (SYSCALL_ERROR_HANDLER): Likewise.
51572 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51575 (SYSCALL_ERROR_HANDLER): Likewise.
51577 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51578 (HAVE_GCC_GOTDATA): New.
51579 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51580 relocation support in both binutils and gcc.
51581 * sysdeps/sparc/elf/configure: Regenerate.
51583 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51584 * sysdeps/sparc/sparc32/elf/configure: Delete.
51585 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51586 * sysdeps/sparc/sparc64/elf/configure: Delete.
51587 * sysdeps/sparc/elf/configure.in: New file.
51588 * sysdeps/sparc/elf/configure: Generate.
51590 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51591 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51592 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51593 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51594 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51596 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51598 * manual/install.texi: Do not mention specific glibc version
51600 * manual/libc.texinfo (VERSION, UPDATED): Update.
51601 (@copying): Use @copyright{} and range of years.
51603 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51606 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51607 [crti.S not in sysdirs] (generated): Do not append.
51608 [crti.S not in sysdirs] (omit-deps): Likewise.
51609 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51610 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51611 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51612 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51613 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51615 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51616 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51617 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51618 * csu/defs.awk: Remove file.
51619 * sysdeps/generic/initfini.c: Likewise.
51620 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51622 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51625 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51627 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51628 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51629 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51631 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51632 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51634 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51635 (__EPOLL_PACKED): Define to empty if not defined by
51637 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51641 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51643 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51644 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51645 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51646 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51648 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51652 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51654 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51657 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51658 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51661 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51664 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51666 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51668 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51669 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51671 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51673 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51676 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51678 * math/w_acos.c: Use non-signaling floating-point comparisons.
51679 * math/w_acosf.c: Likewise.
51680 * math/w_acosh.c: Likewise.
51681 * math/w_acoshf.c: Likewise.
51682 * math/w_acoshl.c: Likewise.
51683 * math/w_acosl.c: Likewise.
51684 * math/w_asin.c: Likewise.
51685 * math/w_asinf.c: Likewise.
51686 * math/w_asinl.c: Likewise.
51687 * math/w_atanh.c: Likewise.
51688 * math/w_atanhf.c: Likewise.
51689 * math/w_atanhl.c: Likewise.
51690 * math/w_exp2.c: Likewise.
51691 * math/w_exp2f.c: Likewise.
51692 * math/w_exp2l.c: Likewise.
51693 * math/w_j0.c: Likewise.
51694 * math/w_j0f.c: Likewise.
51695 * math/w_j0l.c: Likewise.
51696 * math/w_j1.c: Likewise.
51697 * math/w_j1f.c: Likewise.
51698 * math/w_j1l.c: Likewise.
51699 * math/w_jn.c: Likewise.
51700 * math/w_jnf.c: Likewise.
51701 * math/w_log.c: Likewise.
51702 * math/w_log10.c: Likewise.
51703 * math/w_log10f.c: Likewise.
51704 * math/w_log10l.c: Likewise.
51705 * math/w_log2.c: Likewise.
51706 * math/w_log2f.c: Likewise.
51707 * math/w_log2l.c: Likewise.
51708 * math/w_logf.c: Likewise.
51709 * math/w_logl.c: Likewise.
51710 * math/w_sqrt.c: Likewise.
51711 * math/w_sqrtf.c: Likewise.
51712 * math/w_sqrtl.c: Likewise.
51713 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51714 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51715 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51716 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51717 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51719 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51722 * manual/string.texi (strnlen): Use correct parameter name in
51723 equivalent expression.
51725 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51728 * manual/users.texi (seteuid): Consistently use neweuid for
51731 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51734 * manual/nss.texi (Services in the NSS configuration): Correct
51735 list of services in example configuration file.
51737 2012-02-19 Nick Bowler <nbowler@draconx.ca>
51740 * manual/arith.texi: Remove statements about negative zero
51741 behaving identically to zero.
51743 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51746 * manual/install.texi: Do not document upgrading from libc5.
51748 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51751 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51753 2012-02-18 David S. Miller <davem@davemloft.net>
51755 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51756 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51757 %o7 across the call.
51758 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51761 SETUP_PIC_REG_LEAF.
51762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51763 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51764 * sysdeps/sparc/crtn.S: Likewise.
51766 2012-02-17 Ulrich Drepper <drepper@gmail.com>
51768 * aout/Makefile: Remove.
51770 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51773 * manual/examples/argp-ex1.c (main): Format definition in GNU
51775 * manual/examples/argp-ex2.c (main): Likewise.
51776 * manual/examples/argp-ex3.c (main): Likewise.
51777 * manual/examples/argp-ex4.c (main): Likewise.
51778 * manual/examples/longopt.c (main): Use new-style prototype
51780 * manual/examples/strncat.c (main): Specify return type and use
51781 (void) for arguments.
51782 * manual/examples/subopt.c (main): Use char **argv argument.
51784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51787 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51790 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51793 * manual/string.texi (strchr): Change when strchrnul is
51796 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51799 * manual/locale.texi (setlocale): Document LOCPATH.
51801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51804 * manual/process.texi (execle): Move @dots{} before last argument.
51806 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
51809 * manual/charset.texi (Generic Charset Conversion): Fix typo
51810 (LC_TYPE -> LC_CTYPE).
51812 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51815 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51816 (scalbnf): Likewise.
51817 (scalbnl): Likewise.
51818 (scalbln): Likewise.
51819 (scalblnf): Likewise.
51820 (scalblnl): Likewise.
51821 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51822 (vwarnx): Likewise.
51825 * manual/filesys.texi (telldir): Use braces around return type.
51826 * manual/llio.texi (mmap): Add space after comma.
51827 (mmap64): Likewise.
51828 * manual/math.texi (jn): Use @var{} on parameter names.
51834 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51836 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51838 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51839 (sched_get_priority_max): Likewise.
51840 * manual/signal.texi (sigvec): Add space after comma.
51841 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51843 (if_indextoname): Likewise.
51844 (if_freenameindex): Likewise.
51845 (sendto): Use ',' instead of '.' in prototype.
51846 * manual/startup.texi (syscall): Use @dots{} instead of literal
51848 * manual/stdio.texi (__fpending): Separate initial words of
51849 paragraph from @deftypefun line.
51850 * manual/syslog.texi (syslog): Use @dots{} instead of literal
51852 (vsyslog): Use @var{} on parameter names.
51853 * manual/terminal.texi (stty): Use @var{} on parameter names.
51854 * manual/users.texi (getutmp): Use @var{} on parameter names.
51855 (getutmpx): Likewise.
51857 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51860 * manual/stdio.texi (fopen): Fix typos in description of
51863 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51866 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51867 get clock_id definition.
51869 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
51872 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51873 (madvise): Cast every argument to void on its own.
51875 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51878 * manual/startup.texi (Exit Status): Fix typo.
51880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51883 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51884 * manual/examples/argp-ex2.c: Likewise.
51885 * manual/examples/argp-ex3.c: Likewise.
51887 2012-02-16 Richard Henderson <rth@redhat.com>
51889 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51890 * sysdeps/s390/s390-32/initfini.c: Remove.
51891 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51892 * sysdeps/s390/s390-64/initfini.c: Remove.
51894 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51896 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51897 compiler output for sysdeps/generic/initfini.c.
51898 * sysdeps/sh/elf/initfini.c: Remove file.
51900 2012-02-16 David S. Miller <davem@davemloft.net>
51903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51905 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51906 * sysdeps/sparc/crti.S: New file.
51907 * sysdeps/sparc/crtn.S: New file.
51908 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51909 * sysdeps/sparc/sparc64/Makefile: Likewise.
51911 2012-02-15 Mike Frysinger <vapier@gentoo.org>
51914 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51916 2012-02-15 Roland McGrath <roland@hack.frob.com>
51919 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51921 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51922 (write, read, close): Likewise.
51923 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51925 2012-02-15 Joseph Myers <joseph@codesourcery.com>
51927 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51928 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51929 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51930 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51932 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51936 2012-02-14 Marek Polacek <polacek@redhat.com>
51938 * sysdeps/x86_64/crti.S: New file.
51939 * sysdeps/x86_64/crtn.S: New file.
51940 * sysdeps/x86_64/elf/initfini.c: Remove file.
51942 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51944 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51945 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51946 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51947 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51949 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51953 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51955 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51956 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51957 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51958 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51960 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51964 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51966 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51967 __feraiseexcept instead of feraiseexcept.
51969 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51970 nanosleep invocations.
51971 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51972 strings, and add error checking for a nanosleep invocations.
51974 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51976 Replace FSF snail mail address with URLs, as per GNU coding standards.
51977 Most of the snail mail addresses were wrong anyway, and omitting
51978 them makes the source code easier to maintain. Almost all of the
51979 changes are to license notices and to locale LC_IDENTIFICATION
51980 addresses, except for this one:
51981 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51982 not its snail mail address.
51984 2012-02-09 Richard Henderson <rth@twiddle.net>
51986 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51987 of kernel-features.h.
51989 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51991 2012-02-08 Marek Polacek <polacek@redhat.com>
51993 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51994 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51995 * sysdeps/gnu/_G_config.h: Likewise.
51996 * sysdeps/generic/_G_config.h: Likewise.
51998 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52000 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52004 * sysdeps/powerpc/powerpc32/crti.S: New file.
52005 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52006 * sysdeps/powerpc/powerpc64/crti.S: New file.
52007 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52009 * Makeconfig (have-initfini): Don't set.
52010 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52011 * configure.in (nopic_initfini): Don't substitute.
52012 * config.h.in (HAVE_INITFINI): Don't #undef.
52013 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52014 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52016 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52018 Support crti.S and crtn.S provided directly by architectures.
52019 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52020 [crti.S in sysdirs] (omit-deps): Likewise.
52021 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52022 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52023 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52024 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52025 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52026 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52027 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52028 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52029 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52030 compiler output for sysdeps/generic/initfini.c.
52031 * sysdeps/i386/elf/Makefile: Remove file.
52032 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52034 2012-02-07 Marek Polacek <polacek@redhat.com>
52036 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52037 * sysdeps/gnu/_G_config.h: Likewise.
52038 * sysdeps/mach/hurd/_G_config.h: Likewise.
52040 2012-02-07 Marek Polacek <polacek@redhat.com>
52042 * math/Makefile (tests): Add tst-CMPLX2.
52043 * math/tst-CMPLX2.c: New file.
52045 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52047 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52049 * math/libm-test.inc (jn_test): Add missing L suffix.
52051 2012-02-06 Marek Polacek <polacek@redhat.com>
52053 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52054 * sysdeps/i386/fpu/e_powf.S: Likewise.
52055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52056 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52057 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52058 * sysdeps/i386/fpu/e_pow.S: Likewise.
52059 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52061 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52062 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52063 * sysdeps/i386/fpu/e_log2.S: Likewise.
52064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52066 * sysdeps/i386/fpu/e_powl.S: Likewise.
52067 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52068 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52069 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52070 * sysdeps/i386/fpu/e_logl.S: Likewise.
52071 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52072 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52073 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52074 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52076 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52077 * sysdeps/i386/fpu/e_log.S: Likewise.
52078 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52079 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52080 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52081 * sysdeps/i386/fpu/e_logf.S: Likewise.
52082 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52083 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52084 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52085 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52086 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52087 * sysdeps/i386/fpu/e_log10.S: Likewise.
52088 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52089 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52090 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52091 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52093 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52094 * sysdeps/i386/asm-syntax.h: Likewise.
52095 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52096 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52097 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52098 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52099 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52101 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52102 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52104 * sysdeps/powerpc/sysdep.h: Likewise.
52105 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52106 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52108 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52111 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52113 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52115 * sysdeps/i386/sysdep.h: Include <features.h>.
52116 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52119 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52121 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52123 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52126 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52128 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52129 (SETUP_PIC_REG): Use GET_PC_THUNK.
52130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52133 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52135 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52136 for non-PIC compilation.
52137 (SETUP_PIC_REG): Add .p2align directive.
52138 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52139 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52140 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52143 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52144 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52145 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52146 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52147 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52148 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52149 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52150 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52151 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52152 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52153 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52154 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52155 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52156 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52157 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52159 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52160 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52161 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52166 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52167 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52168 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52169 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52170 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52171 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52172 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52173 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52174 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52175 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52176 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52177 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52178 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52180 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52182 * math/tst-CMPLX.c: Include <stdio.h>.
52184 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52186 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52188 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52189 * sysdeps/sparc/bits/mathdef.h: Likewise.
52191 2012-01-31 Marek Polacek <polacek@redhat.com>
52193 * libio/libio.h: Don't define _PARAMS.
52194 * locale/programs/config.h: Don't define PARAMS.
52195 * stdlib/strtol_l.c: Likewise.
52196 (__strtol_l): Remove PARAMS from the prototype.
52198 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52200 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52201 names. Just use the correct names. Remove unnecessary wrapper
52203 * malloc/arena.c: Likewise.
52204 * malloc/hooks.c: Likewise.
52206 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52207 ARENA_TEST says not to. Simplify test for creation of a new arena.
52208 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52210 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52212 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52214 (update_get_addr): New function.
52215 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52216 GET_ADDR_MODULE parameter.
52218 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52220 * crypt/cert.c: Remove __STDC__ conditionals.
52221 * crypt/crypt-entry.c: Likewise.
52222 * crypt/crypt_util.c: Likewise.
52223 * libio/filedoalloc.c: Likewise.
52224 * libio/fileops.c: Likewise.
52225 * libio/genops.c: Likewise.
52226 * libio/iofclose.c: Likewise.
52227 * libio/iofdopen.c: Likewise.
52228 * libio/iofopen.c: Likewise.
52229 * libio/iofopen64.c: Likewise.
52230 * libio/iogetdelim.c: Likewise.
52231 * libio/iopopen.c: Likewise.
52232 * libio/obprintf.c: Likewise.
52233 * libio/oldfileops.c: Likewise.
52234 * libio/oldiofclose.c: Likewise.
52235 * libio/oldiofdopen.c: Likewise.
52236 * libio/oldiofopen.c: Likewise.
52237 * libio/oldiopopen.c: Likewise.
52238 * libio/wfiledoalloc.c: Likewise.
52239 * libio/wgenops.c: Likewise.
52240 * locale/programs/xmalloc.c: Likewise.
52241 * misc/syslog.c: Likewise.
52242 * stdio-common/xbug.c: Likewise.
52243 * string/memchr.c: Likewise.
52244 * string/memcmp.c: Likewise.
52245 * string/memrchr.c: Likewise.
52246 * string/rawmemchr.c: Likewise.
52247 * sysdeps/posix/getcwd.c: Likewise.
52248 * time/strftime_l.c: Likewise.
52250 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52252 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52253 * config.make.in (config-cflags-sse2avx): Define.
52254 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52257 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52259 * scripts/config.guess: Update from upstream config git repository.
52260 * scripts/config.sub: Likewise.
52262 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52264 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52266 (R_TILEPRO_*, R_TILEGX_*): New macros.
52268 * scripts/firstversions.awk: Fix bug in version range handling.
52270 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52272 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52274 * include/sys/epoll.h: New file.
52275 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52278 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52280 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52281 Avoid unnecessary __WORDSIZE == 64 test.
52282 (fmaxf): Use VEX format if possible.
52287 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52288 * math/math_private.h: Remove libc_fegetround* and
52290 * sysdeps/i386/configure.in: Check for -msse2avx.
52291 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52292 also if SSE2AVX is defined.
52293 Remove libc_fegetround* and libc_fesetround*.
52294 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52295 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52298 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52299 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52301 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52302 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52304 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52306 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52310 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52312 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52315 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52317 * Makeconfig (libm): Define.
52318 * elf/Makefile: Add rules to build and run tst-relsort1.
52319 * elf/tst-relsort1.c: New file.
52320 * elf/tst-relsort1mod1.c: New file.
52321 * elf/tst-relsort1mod2.c: New file.
52323 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52325 * math/s_ldexp.c: Remove __STDC__ conditionals.
52326 * math/s_ldexpf.c: Likewise.
52327 * math/s_ldexpl.c: Likewise.
52328 * math/s_nextafter.c: Likewise.
52329 * math/s_nexttowardf.c: Likewise.
52330 * math/s_significand.c: Likewise.
52331 * math/s_significandf.c: Likewise.
52332 * math/s_significandl.c: Likewise.
52333 * math/w_jnl.c: Likewise.
52334 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52335 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52336 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52337 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52338 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52340 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52341 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52342 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52343 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52344 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52348 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52349 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52351 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52353 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52354 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52355 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52356 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52358 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52359 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52360 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52361 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52362 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52363 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52364 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52365 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52368 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52369 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52371 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52372 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52373 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52374 * sysdeps/ieee754/k_standard.c: Likewise.
52375 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52376 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52377 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52379 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52380 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52384 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52385 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52387 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52388 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52389 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52394 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52396 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52400 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52402 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52404 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52406 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52410 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52413 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52414 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52415 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52417 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52418 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52420 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52421 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52424 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52425 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52428 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52429 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52430 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52431 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52432 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52435 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52437 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52438 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52439 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52440 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52441 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52443 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52445 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52446 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52447 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52450 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52453 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52454 * sysdeps/ieee754/s_matherr.c: Likewise.
52455 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52456 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52460 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52462 * crypt/md5.h: Remove __STDC__ conditionals.
52463 * libio/libioP.h: Likewise.
52464 * locale/programs/config.h: Likewise.
52465 * sysdeps/generic/sysdep.h: Likewise.
52466 * sysdeps/i386/asm-syntax.h: Likewise.
52467 * sysdeps/s390/asm-syntax.h: Likewise.
52468 * sysdeps/unix/sysdep.h: Likewise.
52469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52472 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52474 * libio/libio.h: Remove __STDC__ conditionals.
52475 * malloc/obstack.h: Likewise.
52476 * math/complex.h: Likewise.
52477 * math/math.h: Likewise.
52478 * sysdeps/generic/_G_config.h: Likewise.
52479 * sysdeps/gnu/_G_config.h: Likewise.
52480 * sysdeps/mach/hurd/_G_config.h: Likewise.
52481 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52482 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52483 * sysdeps/sparc/bits/mathdef.h: Likewise.
52485 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52488 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52489 Clean up HAS_* macros.
52490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52491 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52501 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52503 * elf/tst-unique3.cc (gets): Remove declaration.
52504 * elf/tst-unique3lib.cc (gets): Likewise.
52505 * elf/tst-unique3lib2.cc (gets): Likewise.
52506 * elf/tst-unique4.cc (gets): Likewise.
52508 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52510 * include/stdio.h: Add C++ protection. Add gets declarations and
52512 * debug/tst-chk1.c: Don't declare gets here.
52513 * stdio-common/tst-gets.c: Likewise.
52515 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52517 * posix/glob: Remove directory.
52519 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52521 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52523 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52525 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52526 of the non-standard EPFNOSUPPORT.
52528 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52530 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52531 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52532 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52534 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52536 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52538 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52540 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52542 * nscd/grpcache.c (cache_addgr): Likewise.
52543 * nscd/hstcache.c (cache_addhst): Likewise.
52544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52545 * nscd/pwdcache.c (cache_addpw): Likewise.
52546 * nscd/servicescache.c (cache_addserv): Likewise.
52548 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52550 * malloc/malloc.c: Various cleanups.
52551 * malloc/hooks.c: Likewise.
52553 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52554 * stdlib/bug-fmtmsg1.c: New file.
52556 * stdlib/fmtmsg.c (init): Add missing unlock.
52557 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52559 2012-01-12 Marek Polacek <polacek@redhat.com>
52561 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52564 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52566 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52567 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52568 macro to ensure uniqueness of label name.
52569 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52570 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52572 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52574 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52576 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52577 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52581 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52585 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52586 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52587 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52589 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52592 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52596 * math/bits/math-finite.h: Add ldexp support.
52598 2012-01-10 Marek Polacek <polacek@redhat.com>
52600 * locale/programs/localedef.h (show_archive_content): Add noreturn
52603 2012-01-09 Ulrich Drepper <drepper@gmail.com>
52605 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52607 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52609 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52611 * io/Makefile (headers): Add bits/poll2.h.
52613 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52616 typo #include statement.
52618 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52620 * include/sys/cdefs.h: Define __attribute_alloc_size.
52621 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52622 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52623 * elf/pldd.c: Likewise.
52624 * iconv/iconv_charmap.c: Likewise.
52625 * iconv/iconvconfig.c: Likewise.
52626 * iconv/strtab.c: Likewise.
52627 * locale/programs/locale.c: Likewise.
52628 * locale/programs/localedef.h: Likewise.
52629 * locale/programs/simple-hash.c: Likewise.
52630 * nscd/nscd.h: Likewise.
52631 * nss/makedb.c: Likewise.
52632 * sysdeps/generic/ldconfig.h: Likewise.
52633 * locale/programs/localedef.c: Remove xmalloc prototype.
52634 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52636 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52638 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52641 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52643 * math/Makefile (tests): Add tst-CMPLX.
52644 * math/tst-CMPLX.c: New file.
52646 * math/complex.h (CMPLXL): Fix typo.
52648 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52649 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52651 * debug/tst-chk1.c: Add poll and ppoll tests.
52652 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52653 * include/sys/poll.h: Add hidden proto for ppoll.
52654 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52655 * sysdeps/mach/hurd/ppoll.c: Likewise.
52656 * io/ppoll.c: Likewise.
52657 * debug/poll_chk.c: New file.
52658 * debug/ppoll_chk.c: New file.
52659 * include/bits/poll2.h: New file.
52660 * io/bits/poll2.h: New file.
52663 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52665 * configure.in: static is always set to yes. Remove.
52666 * config.make.in: Don't set build-static.
52667 * Makeconfig: Remove use of build-static.
52668 * dlfcn/Makefile: Likewise.
52669 * elf/Makefile: Likewise.
52670 * math/Makefile: Likewise.
52671 * misc/Makefile: Likewise.
52672 * nptl/Makefile: Likewise.
52673 * sysdeps/mach/hurd/Makefile: Likewise.
52675 * configure.in: PWD_P is not used anymore.
52676 * config.make.in: Remove PWD_P entry.
52678 * configure.in: Remove last remnants of RANLIB.
52679 No need to check for signed size_t anymore.
52680 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52682 Remove __builtin_expect test because we require at least gcc 3.4.
52683 * aclocal.m4: Likewise.
52685 * wcsmbs/mbrtoc16.c: Implement using towc function.
52686 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52687 * wcsmbs/wcsmbsload.c: Likewise.
52688 * iconv/gconv_simple.c: Likewise.
52689 * iconv/gconv_int.h: Likewise.
52690 * iconv/gconv_builtin.h: Likewise.
52691 * iconv/iconv_prog.c: Remove CHAR16 handling.
52693 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52695 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52697 * configure.in: Remove --with-elf and --enable-bounded options.
52698 Dont set base_machine for ia64. More non-ELF conditions removed.
52699 Remove testing and setting of leading underscore information.
52700 * config.make.in (build-bounded): Set to no.
52701 * config.h.in: Remove NO_UNDERSCORES entry.
52702 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52704 * csu/start.c: Remove !NO_UNDERSCORE code.
52705 * locale/localeinfo.h: Likewise.
52706 * sysdeps/generic/machine-gmon.h: Likewise.
52707 * sysdeps/generic/sysdep.h: Likewise.
52708 * sysdeps/i386/sysdep.h: Likewise.
52709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52710 * sysdeps/mach/sysdep.h: Likewise.
52711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52713 * sysdeps/sh/sysdep.h: Likewise.
52714 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52715 * sysdeps/unix/i386/sysdep.S: Likewise.
52716 * sysdeps/unix/sparc/start.c: Likewise.
52717 * sysdeps/unix/sparc/sysdep.S: Likewise.
52718 * sysdeps/unix/sparc/sysdep.h: Likewise.
52719 * sysdeps/unix/start.c: Likewise.
52720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52721 * sysdeps/x86_64/sysdep.h: Likewise.
52723 2012-01-07 Ulrich Drepper <drepper@gmail.com>
52726 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52728 * argp/argp-fmtstream.h: Use const instead __const.
52729 * argp/argp.h: Likewise.
52730 * assert/assert.h: Likewise.
52731 * bits/fenv.h: Likewise.
52732 * bits/sched.h: Likewise.
52733 * bits/sigset.h: Likewise.
52734 * bits/sigthread.h: Likewise.
52735 * catgets/nl_types.h: Likewise.
52736 * conform/data/pthread.h-data: Likewise.
52737 * crypt/crypt-private.h: Likewise.
52738 * crypt/crypt.h: Likewise.
52739 * crypt/crypt_util.c: Likewise.
52740 * ctype/ctype.h: Likewise.
52741 * debug/execinfo.h: Likewise.
52742 * debug/mbsnrtowcs_chk.c: Likewise.
52743 * debug/mbsrtowcs_chk.c: Likewise.
52744 * debug/wcsnrtombs_chk.c: Likewise.
52745 * debug/wcsrtombs_chk.c: Likewise.
52746 * debug/wcstombs_chk.c: Likewise.
52747 * dirent/dirent.h: Likewise.
52748 * dlfcn/dlfcn.h: Likewise.
52749 * elf/neededtest4.c: Likewise.
52750 * grp/grp.h: Likewise.
52751 * gshadow/gshadow.h: Likewise.
52752 * iconv/gconv.h: Likewise.
52753 * iconv/gconv_int.h: Likewise.
52754 * iconv/gconv_simple.c: Likewise.
52755 * iconv/iconv.h: Likewise.
52756 * iconv/loop.c: Likewise.
52757 * iconv/skeleton.c: Likewise.
52758 * include/aio.h: Likewise.
52759 * include/aliases.h: Likewise.
52760 * include/argz.h: Likewise.
52761 * include/arpa/inet.h: Likewise.
52762 * include/assert.h: Likewise.
52763 * include/dirent.h: Likewise.
52764 * include/dlfcn.h: Likewise.
52765 * include/execinfo.h: Likewise.
52766 * include/fcntl.h: Likewise.
52767 * include/fenv.h: Likewise.
52768 * include/glob.h: Likewise.
52769 * include/grp.h: Likewise.
52770 * include/libintl.h: Likewise.
52771 * include/mntent.h: Likewise.
52772 * include/netdb.h: Likewise.
52773 * include/pwd.h: Likewise.
52774 * include/rpc/netdb.h: Likewise.
52775 * include/sched.h: Likewise.
52776 * include/search.h: Likewise.
52777 * include/shadow.h: Likewise.
52778 * include/signal.h: Likewise.
52779 * include/stdio.h: Likewise.
52780 * include/stdlib.h: Likewise.
52781 * include/string.h: Likewise.
52782 * include/sys/socket.h: Likewise.
52783 * include/sys/stat.h: Likewise.
52784 * include/sys/statfs.h: Likewise.
52785 * include/sys/statvfs.h: Likewise.
52786 * include/sys/syslog.h: Likewise.
52787 * include/sys/time.h: Likewise.
52788 * include/sys/uio.h: Likewise.
52789 * include/time.h: Likewise.
52790 * include/unistd.h: Likewise.
52791 * include/utmp.h: Likewise.
52792 * include/wchar.h: Likewise.
52793 * include/wctype.h: Likewise.
52794 * inet/aliases.h: Likewise.
52795 * inet/arpa/inet.h: Likewise.
52796 * inet/netinet/ether.h: Likewise.
52797 * inet/netinet/in.h: Likewise.
52798 * intl/libintl.h: Likewise.
52799 * io/bits/fcntl2.h: Likewise.
52800 * io/fcntl.h: Likewise.
52801 * io/ftw.h: Likewise.
52802 * io/sys/poll.h: Likewise.
52803 * io/sys/stat.h: Likewise.
52804 * io/sys/statfs.h: Likewise.
52805 * io/sys/statvfs.h: Likewise.
52806 * io/utime.h: Likewise.
52807 * libio/bits/stdio.h: Likewise.
52808 * libio/bits/stdio2.h: Likewise.
52809 * libio/libio.h: Likewise.
52810 * libio/libioP.h: Likewise.
52811 * libio/stdio.h: Likewise.
52812 * locale/lc-ctype.c: Likewise.
52813 * locale/locale.h: Likewise.
52814 * login/utmp.h: Likewise.
52815 * malloc/arena.c: Likewise.
52816 * malloc/malloc.c: Likewise.
52817 * malloc/malloc.h: Likewise.
52818 * malloc/mcheck.c: Likewise.
52819 * malloc/mtrace.c: Likewise.
52820 * math/bits/mathcalls.h: Likewise.
52821 * math/fenv.h: Likewise.
52822 * math/math_private.h: Likewise.
52823 * misc/bits/error.h: Likewise.
52824 * misc/bits/syslog.h: Likewise.
52825 * misc/err.h: Likewise.
52826 * misc/error.h: Likewise.
52827 * misc/fstab.h: Likewise.
52828 * misc/mntent.h: Likewise.
52829 * misc/regexp.h: Likewise.
52830 * misc/search.h: Likewise.
52831 * misc/sgtty.h: Likewise.
52832 * misc/sys/mman.h: Likewise.
52833 * misc/sys/syslog.h: Likewise.
52834 * misc/sys/uio.h: Likewise.
52835 * misc/sys/xattr.h: Likewise.
52836 * misc/ttyent.h: Likewise.
52837 * nis/rpcsvc/ypclnt.h: Likewise.
52838 * nss/nss.h: Likewise.
52839 * posix/bits/unistd.h: Likewise.
52840 * posix/fnmatch.h: Likewise.
52841 * posix/glob.h: Likewise.
52842 * posix/sched.h: Likewise.
52843 * posix/spawn.h: Likewise.
52844 * posix/sys/wait.h: Likewise.
52845 * posix/unistd.h: Likewise.
52846 * posix/wordexp.h: Likewise.
52847 * pwd/pwd.h: Likewise.
52848 * resolv/netdb.h: Likewise.
52849 * resource/sys/resource.h: Likewise.
52850 * rt/aio.h: Likewise.
52851 * rt/bits/mqueue2.h: Likewise.
52852 * rt/mqueue.h: Likewise.
52853 * shadow/shadow.h: Likewise.
52854 * signal/signal.h: Likewise.
52855 * socket/send.c: Likewise.
52856 * socket/sendto.c: Likewise.
52857 * socket/sys/socket.h: Likewise.
52858 * stdio-common/printf.h: Likewise.
52859 * stdlib/bits/stdlib.h: Likewise.
52860 * stdlib/fmtmsg.h: Likewise.
52861 * stdlib/monetary.h: Likewise.
52862 * stdlib/stdlib.h: Likewise.
52863 * stdlib/ucontext.h: Likewise.
52864 * streams/stropts.h: Likewise.
52865 * string/argz.h: Likewise.
52866 * string/bits/string2.h: Likewise.
52867 * string/string.h: Likewise.
52868 * string/strings.h: Likewise.
52869 * sunrpc/rpc/auth.h: Likewise.
52870 * sunrpc/rpc/auth_des.h: Likewise.
52871 * sunrpc/rpc/clnt.h: Likewise.
52872 * sunrpc/rpc/netdb.h: Likewise.
52873 * sunrpc/rpc/pmap_clnt.h: Likewise.
52874 * sunrpc/rpc/xdr.h: Likewise.
52875 * sysdeps/generic/inttypes.h: Likewise.
52876 * sysdeps/generic/net/if.h: Likewise.
52877 * sysdeps/generic/sys/swap.h: Likewise.
52878 * sysdeps/gnu/net/if.h: Likewise.
52879 * sysdeps/gnu/utmpx.h: Likewise.
52880 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52881 * sysdeps/i386/i486/bits/string.h: Likewise.
52882 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52883 * sysdeps/s390/bits/string.h: Likewise.
52884 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52885 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52886 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52887 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52888 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52889 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52890 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52891 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52892 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52893 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52894 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52895 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52896 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52897 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52898 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52899 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52900 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52906 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52907 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52908 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52909 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52910 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52911 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52912 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52913 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52914 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52915 * sysvipc/sys/ipc.h: Likewise.
52916 * sysvipc/sys/msg.h: Likewise.
52917 * sysvipc/sys/sem.h: Likewise.
52918 * sysvipc/sys/shm.h: Likewise.
52919 * termios/termios.h: Likewise.
52920 * time/sys/time.h: Likewise.
52921 * time/time.h: Likewise.
52922 * wcsmbs/bits/wchar2.h: Likewise.
52923 * wcsmbs/uchar.h: Likewise.
52924 * wcsmbs/wchar.h: Likewise.
52925 * wctype/wctype.h: Likewise.
52928 * Makeconfig: Remove all but ELF support including AIX support.
52929 * Makerules: Likewise.
52930 * config.h.in: Likewise.
52931 * config.make.in: Likewise.
52932 * configure: Likewise.
52933 * configure.in: Likewise.
52934 * csu/Makefile: Likewise.
52935 * csu/version.c: Likewise.
52936 * debug/Makefile: Likewise.
52937 * dlfcn/Makefile: Likewise.
52938 * elf/Makefile: Likewise.
52939 * extra-lib.mk: Likewise.
52940 * iconv/Makefile: Likewise.
52941 * include/libc-symbols.h: Likewise.
52942 * include/shlib-compat.h: Likewise.
52943 * resolv/Makefile: Likewise.
52944 * resolv/res_libc.c: Likewise.
52945 * rt/Makefile: Likewise.
52946 * sysdeps/i386/asm-syntax.h: Likewise.
52947 * sysdeps/i386/sysdep.h: Likewise.
52948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52949 * sysdeps/mach/sysdep.h: Likewise.
52950 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52951 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52952 * sysdeps/s390/asm-syntax.h: Likewise.
52953 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52955 * sysdeps/sh/sysdep.h: Likewise.
52956 * sysdeps/unix/sparc/sysdep.h: Likewise.
52957 * sysdeps/wordsize-32/divdi3.c: Likewise.
52958 * sysdeps/x86_64/sysdep.h: Likewise.
52960 * argp/Versions: Remove _argp_unlock_xxx.
52963 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52964 * abilist/libBrokenLocale.abilist: Likewise.
52965 * abilist/libanl.abilist: Likewise.
52966 * abilist/libc.abilist: Likewise.
52967 * abilist/libcrypt.abilist: Likewise.
52968 * abilist/libdl.abilist: Likewise.
52969 * abilist/libm.abilist: Likewise.
52970 * abilist/libnsl.abilist: Likewise.
52971 * abilist/libpthread.abilist: Likewise.
52972 * abilist/libresolv.abilist: Likewise.
52973 * abilist/librt.abilist: Likewise.
52974 * abilist/libthread_db.abilist: Likewise.
52975 * abilist/libutil.abilist: Likewise.
52976 * abilist/libnss_db.abilist: New file.
52978 * scripts/abilist.awk: Add support for indirect functions.
52980 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52982 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52984 * shlib-versions: Remove entries for ports architectures.
52986 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52988 * elf/stackguard-macros.h: Remove support for IA-64.
52989 * elf/tst-auditmod1.c: Likewise.
52990 * sysdeps/generic/ldsodefs.h: Likewise.
52992 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52993 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52997 * configure.in: Remove --enable-omitfp support.
52999 * config.make.in: Likewise.
53000 * Makeconfig: Likewise.
53001 * manual/install.texi: Likewise.
53003 In case anyone cares, the IA-64 architecture could move to ports.
53004 * sysdeps/ia64/*: Removed.
53005 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53006 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53009 * configure.in: Remove entries for unsupported architectures.
53012 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53013 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53015 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53016 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53017 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53018 fall back to using wcrtomb.
53019 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53020 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53022 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53023 * wcsmbs/tst-c16c32-1.c: New file.
53025 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53028 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53030 * elf/tst-unique3.cc: Add explicit declaration of gets.
53031 * elf/tst-unique3lib.cc: Likewise.
53032 * elf/tst-unique3lib2.cc: Likewise.
53033 * elf/tst-unique4.cc: Likewise.
53035 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53037 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53040 * assert/assert.h (static_assert): Don't define for C++.
53041 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53042 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53044 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53046 * iconv/loop.c (single loop): Fix assertion in storing of
53049 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53051 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53053 * posix/getconf.c: Update copyright year.
53054 * nss/getent.c: Likewise.
53055 * nss/makedb.c: Likewise.
53056 * iconv/iconvconfig.c: Likewise.
53057 * iconv/iconv_prog.c: Likewise.
53058 * elf/ldconfig.c: Likewise.
53059 * elf/pldd.c: Likewise.
53060 * elf/sotruss.ksh: Likewise.
53061 * catgets/gencat.c: Likewise.
53062 * csu/version.c: Likewise.
53063 * elf/ldd.bash.in: Likewise.
53064 * elf/sprof.c (print_version): Likewise.
53065 * locale/programs/locale.c: Likewise.
53066 * locale/programs/localedef.c: Likewise.
53067 * login/programs/pt_chown.c: Likewise.
53068 * nscd/nscd.c (print_version): Likewise.
53069 * debug/xtrace.sh: Likewise.
53070 * malloc/memusage.sh: Likewise.
53071 * malloc/mtrace.pl: Likewise.
53072 * debug/catchsegv.sh: Likewise.
53074 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53076 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53079 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53082 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53083 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53085 * iconv/gconv_int.h: Likewise.
53086 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53087 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53088 from libc for GLIBC_2.16.
53089 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53090 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53091 * wcsmbs/uchar.h: Really define mbstate_t.
53092 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53093 * wcsmbs/c16rtomb.c: New file.
53094 * wcsmbs/mbrtoc16.c: New file.
53095 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53096 for C/POSIX locale.
53097 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53098 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53100 * wcsmbs/wchar.h: Add missing __restrict.
53102 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53105 * time/Makefile (routines): Add timespec_get.
53106 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53107 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53108 timespec for ISO C11.
53109 * time/timespec_get.c: New file.
53110 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53111 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53114 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53115 * stdlib/stdlib.h: Declare aligned_alloc.
53116 * Versions.def: Add GLIBC_2.16 for libc.
53117 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53120 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53123 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53127 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53130 * assert/assert.h (static_assert): Define.
53132 * version.h: Update for 2.16 development version.
53135 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53138 * version.h (RELEASE): Bump for 2.15 release.
53139 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53141 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53142 Patch by Marek Polacek <mpolacek@redhat.com>.
53144 * bits/byteswap.h: Protect long long constants with __extension__.
53145 * sysdeps/i386/bits/byteswap.h: Likewise.
53146 * sysdeps/ia64/bits/byteswap.h: Likewise.
53147 * sysdeps/s390/bits/byteswap.h: Likewise.
53148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53150 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53154 destination buffer.
53155 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53157 2011-12-23 Marek Polacek <polacek@redhat.com>
53159 * elf/dl-addr.c (determine_info): Add inline keyword.
53160 * elf/tst-auditmod4b.c (check_avx): Likewise.
53161 * elf/tst-auditmod6b.c (check_avx): Likewise.
53162 * elf/tst-auditmod6c.c (check_avx): Likewise.
53163 * elf/tst-auditmod7b.c (check_avx): Likewise.
53165 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53167 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53170 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53173 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53174 processing for last bytes.
53176 2011-08-06 Bruno Haible <bruno@clisp.org>
53179 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53180 U+0385, not to U+1FEE.
53183 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53184 entry for U+00A5 U+0301.
53186 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53189 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53190 buffer for the output is too small.
53192 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53196 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53197 SSE flags if possible.
53199 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53203 processing for last bytes.
53205 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53207 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53208 (syscall-list-default-options, syscall-list-default-condition)
53209 (syscall-list-includes): Define.
53210 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53211 list of ABIs and options and #if conditions for each ABI. Do not
53212 handle common syscalls between ABIs specially.
53213 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53215 (syscall-list-variants, syscall-list-32bit-options)
53216 (syscall-list-32bit-condition, syscall-list-64bit-options)
53217 (syscall-list-64bit-condition): Define.
53218 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53219 (syscall-list-variants, syscall-list-32bit-options)
53220 (syscall-list-32bit-condition, syscall-list-64bit-options)
53221 (syscall-list-64bit-condition): Define.
53222 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53224 (syscall-list-variants, syscall-list-32bit-options)
53225 (syscall-list-32bit-condition, syscall-list-64bit-options)
53226 (syscall-list-64bit-condition): Define.
53227 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53229 (syscall-list-variants, syscall-list-32bit-options)
53230 (syscall-list-32bit-condition, syscall-list-64bit-options)
53231 (syscall-list-64bit-condition): Define.
53233 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53235 * locale/iso-639.def: Add brx entry.
53238 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53239 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53241 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53242 __feraiseexcept_renamed.
53244 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53247 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53248 EPOLLET with unsigned values.
53249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53252 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53253 to large cancellation.
53254 * math/s_cacoshf.c: Likewise.
53255 * math/s_cacoshl.c: Likewise.
53257 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53261 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53262 * math/s_cacoshf.c: Likewise.
53263 * math/s_cacoshl.c: Likewise.
53265 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53268 * iconv/gconv.h: Define __GCONV_SWAP.
53269 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53270 * iconvdata/utf-16.c: Likewise.
53271 * iconvdata/utf-32.c: Likewise.
53273 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53277 numerator after shifting it by one limb.
53279 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53281 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53282 under [__USE_EXTERN_INLINES].
53284 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53287 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53289 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53291 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53292 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53294 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53295 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53296 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53297 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53298 for strncasecmp/strncasecmp_l compilation.
53299 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53300 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53302 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53305 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53308 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53311 * time/tzfile.c (__tzfile_read): Check values from file header.
53313 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53315 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53316 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53317 * powerpc/powerpc32/dl-start.S: Likewise.
53318 * powerpc/powerpc32/elf/start.S: Likewise.
53319 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53320 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53321 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53322 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53323 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53324 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53325 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53326 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53327 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53328 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53329 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53330 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53331 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53332 * powerpc/powerpc32/memset.S: Likewise.
53333 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53334 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53335 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53336 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53337 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53338 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53339 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53340 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53341 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53342 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53344 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53345 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53347 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53349 * math/libm-test.inc: Added more nearbyint tests.
53350 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53351 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53355 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53357 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53360 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53362 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53363 Add wcscpy-ssse3 wcscpy-c.
53364 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53365 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53366 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53367 * sysdeps/x86_64/wcschr.S: New file.
53368 * sysdeps/x86_64/wcsrchr.S: New file.
53369 * string/test-strcmp.c: Remove checking of wcscmp function for
53371 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53372 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53373 wcsrchr-sse2 wcsrchr-c.
53374 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53375 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53376 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53377 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53378 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53379 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53380 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53381 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53382 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53383 * wcsmbc/wcschr.c (WCSCHR): New macro.
53385 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53387 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53388 * wcsmbs/test-wcsrchr.c: New file.
53389 * string/test-strrchr.c: Add wcsrchr support.
53391 * wcsmbs/test-wcscpy.c: New file.
53392 * string/test-strcpy.c: Add wcscpy support.
53395 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53397 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53400 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53403 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53405 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53407 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53408 Minor optimizations.
53410 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53411 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53412 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53414 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53416 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53417 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53418 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53419 for gcc to avoid warnings.
53420 * inet/Makefile (tests): Add tst-checks.
53421 * inet/tst-checks.c: New file.
53423 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53426 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53429 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53430 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53432 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53434 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53436 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53439 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53441 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53443 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53444 conditional on GCC version.
53445 (__arch_compare_and_exchange_val_8_acq)
53446 (__arch_compare_and_exchange_val_16_acq)
53447 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53448 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53449 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53451 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53453 * sysdeps/sh/backtrace.c: New file.
53455 2011-12-02 Andreas Schwab <schwab@redhat.com>
53457 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53460 2011-12-01 Andreas Schwab <schwab@redhat.com>
53462 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53463 falling back to utime.
53465 2011-11-30 Andreas Schwab <schwab@redhat.com>
53467 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53468 expectations for float.
53470 2011-11-29 Andreas Schwab <schwab@redhat.com>
53472 * locale/weight.h (findidx): Add parameter len.
53473 * locale/weightwc.h (findidx): Likewise.
53474 * posix/fnmatch_loop.c (FCT): Adjust caller.
53475 * posix/regcomp.c (build_equiv_class): Likewise.
53476 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53477 * posix/regexec.c (check_node_accept_bytes): Likewise.
53478 * string/strcoll_l.c (STRCOLL): Likewise.
53479 * string/strxfrm_l.c (STRXFRM): Likewise.
53481 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53483 * Makefile.in: Remove CVSOPT handling.
53484 * configure.in: Remove use of AC_REVISION.
53485 * iconvdata/Makefile (distribute): No need to filter out CVS.
53486 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53489 2011-11-16 Andreas Schwab <schwab@redhat.com>
53491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53492 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53493 [USE_AS_STRNCASECMP_L]: Likewise.
53494 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53495 NO_TLS_DIRECT_SEG_REFS.
53496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53497 Fix argument offsets for non-PIC.
53498 [USE_AS_STRNCASECMP_L]: Likewise.
53499 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53500 NO_TLS_DIRECT_SEG_REFS.
53502 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53504 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53506 * locale/loadlocale.c (_nl_load_locale): Likewise.
53508 2011-11-15 Andreas Schwab <schwab@redhat.com>
53510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53511 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53512 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53513 (SYSCALL_GETTIME): Set errno on error.
53515 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53516 count references to noai6ai_cached.
53518 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53520 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53522 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53523 FD_CLOEXEC for /proc/self/maps.
53525 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53526 FD_CLOEXEC for /proc/meminfo.
53528 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53531 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53532 FD_CLOEXEC for given file.
53534 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53536 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53537 FD_CLOEXEC for /etc/hosts.
53538 (_gethtent): Likewise.
53540 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53542 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53543 cancellation and set FD_CLOEXEC for /etc/netgroup.
53545 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53546 reading /etc/publickey.
53548 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53549 allow cancellation when reading /etc/group.
53551 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53553 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53555 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53556 when using data file.
53558 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53560 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53561 (write_nis_obj): Use "c" and "e" in fopen.
53563 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53565 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53567 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53569 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53571 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53574 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53576 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53578 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53580 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53581 file parsing and set FD_CLOEXEC.
53583 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53585 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53587 2011-11-14 Andreas Schwab <schwab@redhat.com>
53589 * malloc/arena.c (arena_get2): Don't call reused_arena when
53590 _int_new_arena failed.
53592 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53594 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53595 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53599 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53600 to compile strcasecmp and strncasecmp.
53601 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53602 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53606 2011-11-13 Ulrich Drepper <drepper@gmail.com>
53608 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53609 locale-defines.sym to gen-as-const-headers.
53610 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53611 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53613 to compile strcasecmp and strncasecmp.
53614 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53615 strcasecmp_l and strncasecmp_l.
53616 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53617 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53618 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53619 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53620 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53621 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53622 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53623 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53624 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53625 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53626 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53628 2011-11-12 Ulrich Drepper <drepper@gmail.com>
53630 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53631 result of SYSDEP_GETTIME_CPU to retval.
53632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53633 parameter list to macro. Remove trailing semicolon. Adjust users.
53635 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53638 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53642 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53643 from unused variable.
53645 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53647 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53650 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53653 * sunrpc/rpc_prot.c (rejected): Fix case value.
53655 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53656 unsigned long long int to avoid warnings in shift.
53658 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53660 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53663 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53664 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53667 * nis/nis_table.c (nis_list): Use variable of correct type for
53668 result of __follow_path call.
53670 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53672 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53673 of math functions ceil, trunc, floor, round, and sqrt, when
53674 avaliable on the platform.
53675 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53678 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53679 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53681 2011-10-30 Marek Polacek <mpolacek@redhat.com>
53683 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53684 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53686 2011-11-11 Roland McGrath <roland@hack.frob.com>
53688 * include/unistd.h: Fix __readlink return type.
53689 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53691 2011-11-11 Ulrich Drepper <drepper@gmail.com>
53693 * stdlib/ucontext.h: Undo last change for makecontext.
53695 2011-11-11 Andreas Schwab <schwab@redhat.com>
53697 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53699 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53700 * setjmp/setjmp.h: Mark functions as non-leaf.
53701 * setjmp/bits/setjmp2.h: Likewise.
53702 * stdlib/ucontext.h: Likewise.
53704 2011-11-10 Andreas Schwab <schwab@redhat.com>
53706 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53707 (reused_arena): Don't check arena limit.
53708 (arena_get2): Atomically check arena limit.
53710 2011-11-08 Ulrich Drepper <drepper@gmail.com>
53712 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53713 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53718 2011-11-07 Andreas Schwab <schwab@redhat.com>
53720 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53721 handler when locking.
53723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53724 Fix size of allocated buffer.
53726 2011-11-04 Andreas Schwab <schwab@redhat.com>
53729 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53730 declarations for long double functions.
53731 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53733 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53735 2011-11-03 Andreas Schwab <schwab@redhat.com>
53737 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53740 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53743 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53745 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53747 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53749 * include/alloca.h (stackinfo_alloca_round): Define.
53750 (extend_alloca): Use it.
53751 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53752 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53755 * scripts/check-local-headers.sh: Ignore libaudit.h.
53757 * nscd/Makefile (extra-objs): Make recursively expanded.
53759 2011-11-01 Ulrich Drepper <drepper@gmail.com>
53761 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53764 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53765 * posix/tst-rfc3484-2.c: Likewise.
53766 * posix/tst-rfc3484-3.c: Likewise.
53768 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53770 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53772 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53773 process_vm_writev from libc using GLIBC_2.15 version.
53775 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53777 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53779 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53782 2011-10-31 Ulrich Drepper <drepper@gmail.com>
53785 * nss/getent.c (initgroups_keys): Show error message in case no group
53788 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53789 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53790 __bump_nl_timestamp.
53791 * nscd/connections (nscd_init): When host database is served open
53792 netlink socket and request notification about configuration changes.
53793 (main_loop_poll): Track netlink file descriptor and bump timestamp
53794 in case data becomes available.
53795 (main_loop_epoll): Likewise.
53796 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53797 (database_pers_head): Add extra_data fileds.
53798 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53799 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53800 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53803 in6ai data, call __free_in6ai.
53804 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53805 Add -DHAVE_NETLINK.
53806 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53807 interface information. Reuse previous data if netlink timestamp
53809 (__bump_nl_timestamp): New function.
53810 (__free_in6ai): New function.
53812 2011-10-30 Ulrich Drepper <drepper@gmail.com>
53814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53815 close_not_cancel_no_status here.
53816 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53818 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53821 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53824 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53825 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53826 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53828 2011-07-03 Andreas Jaeger <aj@suse.de>
53831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53832 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53833 * math/libm-test.inc (sin_test): Add test case.
53835 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53838 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53839 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53841 * elf/chroot_canon.c (chroot_canon): Cleanups.
53843 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53846 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53847 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53849 * string/test-strchr.c: Make usable for strchrnul testing.
53850 * string/test-strchrnul.c: New file.
53851 * string/Makefile (strop-tests): Add strchrnul.
53853 * po/it.po: Update from translation team.
53854 * po/es.po: Likewise.
53856 2011-10-28 Ulrich Drepper <drepper@gmail.com>
53858 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53859 the three constants needed as parameters. Drop the others.
53860 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53861 __m128i_strloadu_tolower.
53862 Create and initialize variable zero and use it in all the places
53863 where _mm_setzero_si128 was used.
53865 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53866 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53867 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53868 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53870 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53871 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53872 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53873 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53874 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53875 __mpranred, __mptan.
53876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53880 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53881 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53883 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53884 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53886 2011-10-28 Andreas Schwab <schwab@redhat.com>
53888 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53889 redefine if SHARED.
53890 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53893 wide char related routines to wcsmbs subdir.
53895 2011-10-27 Andreas Schwab <schwab@redhat.com>
53898 * misc/sys/cdefs.h (__THROWNL): Define.
53899 * posix/unistd.h: Use __THREADNL instead of __THREAD
53900 for memory synchronization functions.
53902 2011-10-26 Roland McGrath <roland@hack.frob.com>
53905 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53907 * manual/stdio.texi (Obstack Streams): Node removed.
53909 2011-10-26 Andreas Schwab <schwab@redhat.com>
53911 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53915 * math/math_private.h (math_force_eval): Allow non-addressable
53917 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53922 file is not needed.
53924 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53931 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53933 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53934 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53935 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53936 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53937 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53938 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53939 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53940 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53941 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53942 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53943 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53944 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53946 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53947 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53948 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53950 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53951 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53953 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53954 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53957 place. Use VEX encoding when compiling for AVX.
53959 2011-10-25 Andreas Schwab <schwab@redhat.com>
53961 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53962 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53964 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53966 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53968 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53969 useless if() expression.
53970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53971 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53975 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53978 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53980 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53982 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53984 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53985 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53987 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53988 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53990 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53992 2011-10-25 Andreas Schwab <schwab@redhat.com>
53994 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53996 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53998 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54000 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54001 .text section. Avoid duplicate constants.
54002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54010 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54011 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54012 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54013 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54014 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54015 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54016 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54018 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54019 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54025 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54026 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54031 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54035 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54036 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54037 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54038 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54040 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54041 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54048 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54050 * sysdeps/x86_64/dla.h: Move to ...
54051 * sysdeps/x86_64/fpu/dla.h: ...here.
54052 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54053 situations. Use __builtin_fma only for gcc 4.6 and up.
54055 * config.make.in: Add have-mfma4 entry.
54056 * configure.in: Substitute libc_cv_cc_fma4.
54057 * math/Makefile (dbl-only-routines): Add sincostab.
54058 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54059 Use __sincostab not sincos.
54060 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54067 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54068 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54069 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54070 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54072 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54073 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54075 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54076 define aliases when function name is a macro.
54077 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54078 sysdeps/ieee754/dbl-64/sincos.tbl.
54079 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54080 fma4-enabled routines.
54081 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54082 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54083 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54084 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54086 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54088 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54090 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54091 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54092 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54093 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54094 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54096 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54097 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54098 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54099 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54101 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54102 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54108 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54109 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54110 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54112 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54123 2011-10-24 Andreas Schwab <schwab@redhat.com>
54125 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54127 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54129 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54131 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54133 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54135 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54136 Remove unused variable magic_bits.
54137 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54139 * string/strnlen.c: Define and use STRNLEN macro.
54140 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54141 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54143 * wcsmbs/wcslen.c: Define and use WCSLEN.
54144 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54145 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54146 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54147 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54148 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54149 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54150 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54152 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54155 strnlen-sse2-no-bsf.
54156 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54158 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54159 Add strnlen support.
54160 (USE_AS_STRNLEN): New macro.
54161 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54163 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54164 * sysdeps/x86_64/wcslen.S: New file.
54166 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54169 XMM-moves are used for copying on small sizes.
54171 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54173 * wcsmbs/Makefile (strop-tests): Add wcschr.
54174 * wcsmbs/test-wcschr.c: New file.
54175 * string/test-strchr.c: Update.
54176 Add wcschr support.
54179 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54181 * wcsmbs/Makefile (strop-tests): Add wcslen.
54182 * wcsmbs/test-wcslen.c: New file.
54183 * string/test-strlen.c: Update.
54184 Add wcslen support.
54187 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54189 * po/it.po: Update from translation team.
54191 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54193 * sysdeps/x86_64/wcscmp.S: Update.
54194 Fix wrong comparison semantics.
54195 wcscmp shall use signed comparison not unsigned.
54196 Don't use substraction to avoid overflow bug.
54197 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54198 * wcsmbc/wcscmp.c: Likewise.
54199 * string/test-strcmp.c: Likewise.
54200 Add new tests to check cases with negative values.
54202 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54204 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54205 * sysdeps/x86_64/dla.h: ...here. New file.
54206 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54216 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54219 __ynl_finite aliases.
54221 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54225 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54227 [DLA_FMA] (EMULV): Use DLA_FMA.
54228 [DLA_FMA] (MUL12): Use EMULV.
54229 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54230 that are not needed.
54231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54239 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54241 * math/s_nan.c: Undef __nan.
54242 * math/s_nanf.c: Undef __nanf.
54243 * math/s_nanl.c: Undef __nanl.
54244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54247 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54249 * math/s_catan.c: Add branch predictions.
54250 * math/s_catanf.c: Likewise.
54251 * math/s_catanh.c: Likewise.
54252 * math/s_catanhf.c: Likewise.
54253 * math/s_catanhl.c: Likewise.
54254 * math/s_catanl.c: Likewise.
54255 * math/s_cexp.c: Likewise.
54256 * math/s_cexpf.c: Likewise.
54257 * math/s_cexpl.c: Likewise.
54258 * math/s_clog.c: Likewise.
54259 * math/s_clog10.c: Likewise.
54260 * math/s_clog10f.c: Likewise.
54261 * math/s_clog10l.c: Likewise.
54262 * math/s_clogf.c: Likewise.
54263 * math/s_clogl.c: Likewise.
54264 * math/s_csqrt.c: Likewise.
54265 * math/s_csqrtf.c: Likewise.
54266 * math/s_csqrtl.c: Likewise.
54267 * math/s_ctanf.c: Likewise.
54268 * math/s_ctanh.c: Likewise.
54269 * math/s_ctanhf.c: Likewise.
54270 * math/s_ctanhl.c: Likewise.
54271 * math/s_ctanl.c: Likewise.
54273 * math/math_private.h: Define __nan, __nanf, __nanl.
54274 * math/s_cacosh.c: Include <math_private.h>.
54275 * math/s_cacoshl.c: Likewise.
54276 * math/s_casinh.c: Likewise.
54277 * math/s_casinhf.c: Likewise.
54278 * math/s_casinhl.c: Likewise.
54279 * math/s_ccos.c: Rely entire on ccosh.
54280 * math/s_ccosf.c: Rely entire on ccoshf.
54281 * math/s_ccosl.c: Rely entirely on ccoshl.
54282 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54283 Remove tests for FE_INVALID.
54284 * math/s_ccoshf.c: Likewise.
54285 * math/s_ccoshl.c: Likewise.
54286 * math/s_csin.c: Likewise.
54287 * math/s_csinf.c: Likewise.
54288 * math/s_csinh.c Likewise.
54289 * math/s_csinhf.c: Likewise.
54290 * math/s_csinhl.c: Likewise.
54291 * math/s_csinl.c: Likewise.
54292 * math/s_ctan.c: Likewise.
54293 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54294 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54295 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54297 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54300 compilation problems.
54302 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54305 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54307 * sysdeps/i386/configure.in: Test for -mfma4 option.
54308 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54309 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54310 COMMON_CPUID_INDEX_80000001.
54311 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54312 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54313 use it if FMA3 is not supported.
54314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54316 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54317 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54319 2011-10-20 Andreas Schwab <schwab@redhat.com>
54322 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54323 it would create a cycle with a link time dependency.
54325 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54327 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54329 * string/Makefile (strop-tests): Add rawmemchr.
54330 * string/test-rawmemchr.c: New file.
54332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54334 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54335 when compiling str{,n}casecmp and when AVX is available. Hook up
54336 new optimized code in initializers.
54338 2011-10-19 Andreas Schwab <schwab@redhat.com>
54340 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54341 __feraiseexcept instead of feraiseexcept.
54343 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54345 * math/math_private.h: Define defaults for libc_fetestexcept and
54347 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54348 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54349 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54350 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54352 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54353 libc_fetestexcept and libc_feupdateenv.
54355 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54356 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54357 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54358 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54359 libc_feholdexcept_setround.
54361 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54362 Add s_nearbyint-c and s_nearbyintf-c.
54363 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54364 nearbyintf inlines.
54365 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54366 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54367 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54368 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54370 * math/math_private.h: Define defaults for libc_fegetround,
54371 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54372 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54373 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54374 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54375 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54376 standard functions.
54377 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54378 Remove comments and hacks for old compiler versions.
54379 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54380 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54381 libc_feholdexceptl.
54383 2011-10-18 Andreas Schwab <schwab@redhat.com>
54385 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54386 (__feraiseexcept_renamed): Add __NTH.
54387 (feraiseexcept): Add __NTH. Rename local variables to fix
54388 namespace violations.
54390 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54392 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54394 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54396 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54397 recently added interfaces.
54398 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54400 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54401 about macro parameter expansion.
54403 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54404 __NO_MATH_INLINES is defined. Cleanups.
54406 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54407 and __floorf is target has SSE4.1.
54408 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54409 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54410 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54411 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54413 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54415 (floorf): Likewise.
54417 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54419 2011-10-17 Andreas Schwab <schwab@redhat.com>
54421 * misc/sys/cdefs.h: Fix last change.
54423 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54426 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54428 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54430 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54432 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54438 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54439 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54440 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54441 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54442 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54443 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54444 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54445 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54446 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54447 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54448 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54449 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54450 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54451 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54453 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54454 ceil, ceilf, floor, floorf.
54456 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54457 Perform IRELATIVE relocations last.
54459 * elf/do-rel.h: Add another parameter nrelative, replacing the
54460 local variable with the same name. Change name of the function
54461 to end in Rel or Rela (uppercase).
54462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54463 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54464 elf_dynamic_do_##reloc function.
54466 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54468 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54469 is sufficient, at least on modern CPUs.
54471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54473 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54474 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54476 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54478 * math/bits/math-finite.h: Add entries for exp.
54479 * math/e_expl.c: Add __*_finite alias.
54480 * sysdeps/i386/fpu/e_exp.S: Likewise.
54481 * sysdeps/i386/fpu/e_expf.S: Likewise.
54482 * sysdeps/i386/fpu/e_expl.c: Likewise.
54483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54484 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54485 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54487 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54491 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54492 is sufficient, at least on modern CPUs.
54494 * ctype/ctype-info.c (__ctype_init): Define.
54495 * include/ctype.h (__ctype_init): Declare.
54496 (__ctype_b_loc): The variable is always initialized.
54497 (__ctype_toupper_loc): Likewise.
54498 (__ctype_tolower_loc): Likewise.
54499 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54500 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54502 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54504 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54506 * configure.in: Also look in $cxxmachine/include for C++ system
54509 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54511 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54512 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54513 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54514 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54516 (USE_AS_WMEMCMP): New macro.
54518 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54519 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54520 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54521 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54523 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54524 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54526 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54527 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54529 (USE_AS_WMEMCMP): New macro.
54530 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54531 * sysdeps/string/test-memcmp.c: Update.
54532 Fix simple_wmemcmp.
54534 * wcsmbs/wmemcmp.c: Update.
54535 (WMEMCMP): New macro.
54538 2011-10-12 Andreas Jaeger <aj@suse.de>
54541 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54543 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54545 * libio/iofwide.c (do_length): Avoid warning.
54547 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54549 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54551 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54553 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54554 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54555 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54556 * sysdeps/i386/i686/fpu/e_log.S: New file.
54557 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54558 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54560 * ctype/ctype.h: Add support for inlined isXXX functions when
54561 compiling C++ code.
54563 2011-10-14 Andreas Schwab <schwab@redhat.com>
54565 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54567 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54569 2011-10-13 Roland McGrath <roland@hack.frob.com>
54572 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54574 2011-10-13 Andreas Schwab <schwab@redhat.com>
54576 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54577 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54580 * sysdeps/x86_64/memrchr.S: Check for zero size.
54582 * string/stratcliff.c: Add memrchr tests.
54584 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54587 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54588 rawmemchr-sse2 rawmemchr-sse2-bsf.
54589 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54590 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54591 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54592 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54593 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54594 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54595 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54596 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54597 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54598 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54599 * string/memrchr.c (MEMRCHR): New macro.
54601 2011-10-12 Ulrich Drepper <drepper@gmail.com>
54603 Add integration with gcc's -ffinite-math-only and optimize wrapper
54605 * Versions.def: Define GLIBC_2.15 version for libm.
54606 * math/Makefile (headers): Add bits/math-finite.h.
54607 * math/bits/math-finite.h: New file.
54608 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54609 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54610 * math/e_acoshl.c: Add __*_finite alias.
54611 * math/e_acosl.c: Likewise.
54612 * math/e_asinl.c: Likewise.
54613 * math/e_atan2l.c: Likewise.
54614 * math/e_atanhl.c: Likewise.
54615 * math/e_coshl.c: Likewise.
54616 * math/e_exp10.c: Likewise.
54617 * math/e_exp10f.c: Likewise.
54618 * math/e_exp10l.c: Likewise.
54619 * math/e_exp2l.c: Likewise.
54620 * math/e_fmodl.c: Likewise.
54621 * math/e_gammal_r.c: Likewise.
54622 * math/e_hypotl.c: Likewise.
54623 * math/e_j0l.c: Likewise.
54624 * math/e_j1l.c: Likewise.
54625 * math/e_jnl.c: Likewise.
54626 * math/e_lgammal_r.c: Likewise.
54627 * math/e_log10l.c: Likewise.
54628 * math/e_log2l.c: Likewise.
54629 * math/e_logl.c: Likewise.
54630 * math/e_powl.c: Likewise.
54631 * math/e_sinhl.c: Likewise.
54632 * math/e_sqrtl.c: Likewise.
54633 * math/e_scalb.c: Completely rewritten and optimized.
54634 * math/e_scalbf.c: Likewise.
54635 * math/e_scalbl.c: Likewise.
54636 * math/w_acos.c: Likewise.
54637 * math/w_acosf.c: Likewise.
54638 * math/w_acosl.c: Likewise.
54639 * math/w_acosh.c: Likewise.
54640 * math/w_acoshf.c: Likewise.
54641 * math/w_acoshl.c: Likewise.
54642 * math/w_asin.c: Likewise.
54643 * math/w_asinf.c: Likewise.
54644 * math/w_asinl.c: Likewise.
54645 * math/w_atan2.c: Likewise.
54646 * math/w_atan2f.c: Likewise.
54647 * math/w_atan2l.c: Likewise.
54648 * math/w_atanh.c: Likewise.
54649 * math/w_atanhf.c: Likewise.
54650 * math/w_atanhl.c: Likewise.
54651 * math/w_exp10.c: Likewise.
54652 * math/w_exp10f.c: Likewise.
54653 * math/w_exp10l.c: Likewise.
54654 * math/w_fmod.c: Likewise.
54655 * math/w_fmodf.c: Likewise.
54656 * math/w_fmodl.c: Likewise.
54657 * math/w_j0.c: Likewise.
54658 * math/w_j0f.c: Likewise.
54659 * math/w_j0l.c: Likewise.
54660 * math/w_j1.c: Likewise.
54661 * math/w_j1f.c: Likewise.
54662 * math/w_j1l.c: Likewise.
54663 * math/w_jn.c: Likewise.
54664 * math/w_jnf.c: Likewise.
54665 * math/w_log.c: Likewise.
54666 * math/w_logf.c: Likewise.
54667 * math/w_logl.c: Likewise.
54668 * math/w_log10.c: Likewise.
54669 * math/w_log10f.c: Likewise.
54670 * math/w_log10l.c: Likewise.
54671 * math/w_log2.c: Likewise.
54672 * math/w_log2f.c: Likewise.
54673 * math/w_log2l.c: Likewise.
54674 * math/w_pow.c: Likewise.
54675 * math/w_powf.c: Likewise.
54676 * math/w_powl.c: Likewise.
54677 * math/w_remainder.c: Likewise.
54678 * math/w_remainderf.c: Likewise.
54679 * math/w_remainderl.c: Likewise.
54680 * math/w_scalb.c: Likewise.
54681 * math/w_scalbf.c: Likewise.
54682 * math/w_scalbl.c: Likewise.
54683 * math/w_sqrt.c: Likewise.
54684 * math/w_sqrtf.c: Likewise.
54685 * math/w_sqrtl.c: Likewise.
54686 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54687 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54689 * math/math_private.h: Declare __kernel_standard_f.
54690 * math/w_cosh.c: Remove cruft and optimize a bit.
54691 * math/w_coshf.c: Likewise.
54692 * math/w_coshl.c: Likewise.
54693 * math/w_exp2.c: Likewise.
54694 * math/w_exp2f.c: Likewise.
54695 * math/w_exp2l.c: Likewise.
54696 * math/w_hypot.c: Likewise.
54697 * math/w_hypotf.c: Likewise.
54698 * math/w_hypotl.c: Likewise.
54699 * math/w_lgamma.c: Likewise.
54700 * math/w_lgamma_r.c: Likewise.
54701 * math/w_lgammaf.c: Likewise.
54702 * math/w_lgammaf_r.c: Likewise.
54703 * math/w_lgammal.c: Likewise.
54704 * math/w_lgammal_r.c: Likewise.
54705 * math/w_sinh.c: Likewise.
54706 * math/w_sinhf.c: Likewise.
54707 * math/w_sinhl.c: Likewise.
54708 * math/w_tgamma.c: Likewise.
54709 * math/w_tgammaf.c: Likewise.
54710 * math/w_tgammal.c: Likewise.
54711 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54713 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54714 Minor optimizations. Pretty printing. Remove cruft.
54715 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54717 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54719 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54720 * sysdeps/i386/fpu/e_asin.S: Likewise.
54721 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54722 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54723 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54724 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54728 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54729 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54730 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54731 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54732 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54733 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54734 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54735 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54736 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54737 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54738 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54739 * sysdeps/i386/fpu/e_log.S: Likewise.
54740 * sysdeps/i386/fpu/e_log10.S: Likewise.
54741 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54742 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54743 * sysdeps/i386/fpu/e_log2.S: Likewise.
54744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54745 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54746 * sysdeps/i386/fpu/e_logf.S: Likewise.
54747 * sysdeps/i386/fpu/e_logl.S: Likewise.
54748 * sysdeps/i386/fpu/e_pow.S: Likewise.
54749 * sysdeps/i386/fpu/e_powf.S: Likewise.
54750 * sysdeps/i386/fpu/e_powl.S: Likewise.
54751 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54752 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54753 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54754 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54755 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54756 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54757 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54758 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54759 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54760 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54763 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54764 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54765 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54766 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54767 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54771 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54774 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54776 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54777 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54781 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54782 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54783 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54784 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54785 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54786 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54787 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54789 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54790 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54791 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54792 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54793 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54794 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54795 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54796 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54797 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54798 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54799 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54800 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54801 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54802 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54803 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54805 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54806 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54807 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54808 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54809 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54810 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54811 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54812 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54813 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54814 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54815 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54816 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54817 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54818 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54819 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54821 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54825 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54827 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54828 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54830 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54831 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54834 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54838 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54839 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54841 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54847 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54849 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54855 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54856 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54857 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54858 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54859 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54860 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54861 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54862 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54863 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54865 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54866 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54867 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54868 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54870 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54871 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54872 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54873 (__isnanf): Likewise.
54874 (__isinf_ns): Likewise.
54875 (__isinf_nsf): Likewise.
54876 (__finite): Likewise.
54877 (__finitef): Likewise.
54878 (__ieee754_sqrt): Define as macro.
54879 (__ieee754_sqrtf): Define as macro.
54880 (__ieee754_sqrtl): Define as macro.
54881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54883 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54884 __FINITE_MATH_ONLY__ consistent.
54885 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54887 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54889 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54892 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54894 2011-10-09 Ulrich Drepper <drepper@gmail.com>
54896 * po/ja.po: Update from translation team.
54898 2011-10-08 Roland McGrath <roland@hack.frob.com>
54900 * locale/programs/locarchive.c (prepare_address_space): New function.
54901 (create_archive, enlarge_archive, open_archive): Use it.
54903 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54904 inside [SHARED], where it is used.
54906 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54908 * nss/getent.c (netgroup_keys): Remove unused variable.
54909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54911 2011-10-08 Ulrich Drepper <drepper@gmail.com>
54913 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54914 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54916 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54917 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54918 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54919 * math/Makefile (libm-calls): Add s_isinf_ns.
54920 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54921 * math/multc3.c: Likewise.
54922 * math/s_casin.c: Likewise.
54923 * math/s_casinf.c: Likewise.
54924 * math/s_casinl.c: Likewise.
54925 * math/s_ccos.c: Likewise.
54926 * math/s_ccosf.c: Likewise.
54927 * math/s_ccosl.c: Likewise.
54928 * math/s_ctan.c: Likewise.
54929 * math/s_ctanf.c: Likewise.
54930 * math/s_ctanh.c: Likewise.
54931 * math/s_ctanhf.c: Likewise.
54932 * math/s_ctanhl.c: Likewise.
54933 * math/s_ctanl.c: Likewise.
54934 * math/w_fmod.c: Likewise.
54935 * math/w_fmodf.c: Likewise.
54936 * math/w_fmodl.c: Likewise.
54937 * math/w_remainder.c: Likewise.
54938 * math/w_remainderf.c: Likewise.
54939 * math/w_remainderl.c: Likewise.
54940 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54941 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54942 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54944 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54945 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54946 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54947 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54949 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54951 * stdio-common/printf_fphex.c: Likewise.
54952 * stdio-common/printf_size.c: Likewise.
54954 * math/e_exp10.c: Include math_private.h using <...> not "...".
54955 * math/e_exp10f.c: Likewise.
54956 * math/e_exp10l.c: Likewise.
54957 * math/e_exp2l.c: Likewise.
54958 * math/e_j0l.c: Likewise.
54959 * math/e_j1l.c: Likewise.
54960 * math/e_jnl.c: Likewise.
54961 * math/e_lgammal_r.c: Likewise.
54962 * math/e_rem_pio2l.c: Likewise.
54963 * math/e_scalb.c: Likewise.
54964 * math/e_scalbf.c: Likewise.
54965 * math/e_scalbl.c: Likewise.
54966 * math/k_cosl.c: Likewise.
54967 * math/k_sinl.c: Likewise.
54968 * math/k_tanl.c: Likewise.
54969 * math/s_cacoshf.c: Likewise.
54970 * math/s_catan.c: Likewise.
54971 * math/s_catanf.c: Likewise.
54972 * math/s_catanh.c: Likewise.
54973 * math/s_catanhf.c: Likewise.
54974 * math/s_catanhl.c: Likewise.
54975 * math/s_catanl.c: Likewise.
54976 * math/s_ccosh.c: Likewise.
54977 * math/s_ccoshf.c: Likewise.
54978 * math/s_ccoshl.c: Likewise.
54979 * math/s_cexp.c: Likewise.
54980 * math/s_cexpf.c: Likewise.
54981 * math/s_cexpl.c: Likewise.
54982 * math/s_clog.c: Likewise.
54983 * math/s_clog10.c: Likewise.
54984 * math/s_clog10f.c: Likewise.
54985 * math/s_clog10l.c: Likewise.
54986 * math/s_clogf.c: Likewise.
54987 * math/s_clogl.c: Likewise.
54988 * math/s_csin.c: Likewise.
54989 * math/s_csinf.c: Likewise.
54990 * math/s_csinh.c: Likewise.
54991 * math/s_csinhf.c: Likewise.
54992 * math/s_csinhl.c: Likewise.
54993 * math/s_csinl.c: Likewise.
54994 * math/s_csqrt.c: Likewise.
54995 * math/s_csqrtf.c: Likewise.
54996 * math/s_csqrtl.c: Likewise.
54997 * math/s_ctan.c: Likewise.
54998 * math/s_ctanf.c: Likewise.
54999 * math/s_ctanh.c: Likewise.
55000 * math/s_ctanhf.c: Likewise.
55001 * math/s_ctanhl.c: Likewise.
55002 * math/s_ctanl.c: Likewise.
55003 * math/s_ldexp.c: Likewise.
55004 * math/s_ldexpf.c: Likewise.
55005 * math/s_ldexpl.c: Likewise.
55006 * math/s_significand.c: Likewise.
55007 * math/s_significandf.c: Likewise.
55008 * math/s_significandl.c: Likewise.
55009 * math/w_acos.c: Likewise.
55010 * math/w_acosf.c: Likewise.
55011 * math/w_acosh.c: Likewise.
55012 * math/w_acoshf.c: Likewise.
55013 * math/w_acoshl.c: Likewise.
55014 * math/w_acosl.c: Likewise.
55015 * math/w_asin.c: Likewise.
55016 * math/w_asinf.c: Likewise.
55017 * math/w_asinl.c: Likewise.
55018 * math/w_atan2.c: Likewise.
55019 * math/w_atan2f.c: Likewise.
55020 * math/w_atan2l.c: Likewise.
55021 * math/w_atanh.c: Likewise.
55022 * math/w_atanhf.c: Likewise.
55023 * math/w_atanhl.c: Likewise.
55024 * math/w_cosh.c: Likewise.
55025 * math/w_coshf.c: Likewise.
55026 * math/w_coshl.c: Likewise.
55027 * math/w_dremf.c: Likewise.
55028 * math/w_exp10.c: Likewise.
55029 * math/w_exp10f.c: Likewise.
55030 * math/w_exp10l.c: Likewise.
55031 * math/w_exp2.c: Likewise.
55032 * math/w_exp2f.c: Likewise.
55033 * math/w_fmod.c: Likewise.
55034 * math/w_fmodf.c: Likewise.
55035 * math/w_fmodl.c: Likewise.
55036 * math/w_hypot.c: Likewise.
55037 * math/w_hypotf.c: Likewise.
55038 * math/w_hypotl.c: Likewise.
55039 * math/w_j0.c: Likewise.
55040 * math/w_j0f.c: Likewise.
55041 * math/w_j0l.c: Likewise.
55042 * math/w_j1.c: Likewise.
55043 * math/w_j1f.c: Likewise.
55044 * math/w_j1l.c: Likewise.
55045 * math/w_jn.c: Likewise.
55046 * math/w_jnf.c: Likewise.
55047 * math/w_jnl.c: Likewise.
55048 * math/w_lgamma.c: Likewise.
55049 * math/w_lgamma_r.c: Likewise.
55050 * math/w_lgammaf.c: Likewise.
55051 * math/w_lgammaf_r.c: Likewise.
55052 * math/w_lgammal.c: Likewise.
55053 * math/w_lgammal_r.c: Likewise.
55054 * math/w_log.c: Likewise.
55055 * math/w_log10.c: Likewise.
55056 * math/w_log10f.c: Likewise.
55057 * math/w_log10l.c: Likewise.
55058 * math/w_log2.c: Likewise.
55059 * math/w_log2f.c: Likewise.
55060 * math/w_log2l.c: Likewise.
55061 * math/w_logf.c: Likewise.
55062 * math/w_logl.c: Likewise.
55063 * math/w_pow.c: Likewise.
55064 * math/w_powf.c: Likewise.
55065 * math/w_powl.c: Likewise.
55066 * math/w_remainder.c: Likewise.
55067 * math/w_remainderf.c: Likewise.
55068 * math/w_remainderl.c: Likewise.
55069 * math/w_scalb.c: Likewise.
55070 * math/w_scalbf.c: Likewise.
55071 * math/w_scalbl.c: Likewise.
55072 * math/w_sinh.c: Likewise.
55073 * math/w_sinhf.c: Likewise.
55074 * math/w_sinhl.c: Likewise.
55075 * math/w_sqrt.c: Likewise.
55076 * math/w_sqrtf.c: Likewise.
55077 * math/w_sqrtl.c: Likewise.
55078 * math/w_tgamma.c: Likewise.
55079 * math/w_tgammaf.c: Likewise.
55080 * math/w_tgammal.c: Likewise.
55082 * po/ja.po: Update from translation team.
55084 2011-09-29 Andreas Jaeger <aj@suse.de>
55087 * sunrpc/netname.c (netname2host): Fix logic.
55091 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55093 * math/w_remainder.c (__remainder): Likewise.
55094 * math/w_remainderf.c (__remainderf): Likewise.
55095 * math/libm-test.inc (remainder_test): Add test cases.
55097 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55099 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55102 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55104 * string/test-memcmp.c: Avoid unncessary #defines.
55105 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55107 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55109 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55110 Use new sse2 version for core i3 - i7 as it's faster
55111 than sse42 version.
55112 (bit_Prefer_PMINUB_for_stringop): New.
55113 * sysdeps/x86_64/rawmemchr.S: Update.
55114 Replace with faster SSE2 version.
55115 * sysdeps/x86_64/memrchr.S: New file.
55116 * sysdeps/x86_64/memchr.S: Update.
55117 Replace with faster SSE2 version.
55119 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55121 * elf/dl-load.c (lose): Add cast to avoid warning.
55123 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55125 * po/ca.po: Update from translation team.
55127 * inet/getnetgrent_r.c: Hook up nscd.
55128 * nscd/Makefile (routines): Add nscd_netgroup.
55129 (nscd-modules): Add netgroupcache.
55130 (CFLAGS-netgroupcache.c): Define.
55131 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55132 (cache_search): Add const to second parameter.
55133 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55135 (dbs): Add netgrdb entry.
55136 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55137 (verify_persistent_db): Handle netgrdb.
55138 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55139 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55141 (netgroup_response_header): Define.
55142 (innetgroup_response_header): Define.
55143 (datahead): Add netgroup_response_header and innetgroup_response_header
55145 * nscd/nscd.conf: Add entries for netgroup cache.
55146 * nscd/nscd.h (dbtype): Add netgrdb.
55147 (_PATH_NSCD_NETGROUP_DB): Define.
55148 (netgroup_iov_disabled): Declare.
55149 (xmalloc, xcalloc, xrealloc): Move declarations here.
55150 (cache_search): Adjust prototype.
55151 Add netgroup-related prototypes.
55152 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55153 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55154 (__nscd_innetgr): Declare.
55155 * nscd/selinux.c (perms): Use access_vector_t as element type and
55156 add netgroup-related initializers.
55157 * nscd/netgroupcache.c: New file.
55158 * nscd/nscd_netgroup.c: New file.
55159 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55160 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55161 For four parameters use innetgr.
55162 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55163 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55164 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55165 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55167 * nscd/connections.c (register_traced_file): Don't register file
55168 for disabled databases.
55170 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55172 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55174 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55175 from tree and freeing node.
55177 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55179 * nss/nsswitch.c (__nss_database_lookup): Handle
55180 nss_parse_service_list out of memory case.
55182 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55184 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55185 out of memory case.
55187 2011-10-04 Andreas Schwab <schwab@redhat.com>
55189 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55190 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55192 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55193 elf_machine_rela, elf_machine_lazy_rel.
55194 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55195 (ELF_DYNAMIC_DO_REL): Likewise.
55196 (ELF_DYNAMIC_DO_RELA): Likewise.
55197 (ELF_DYNAMIC_RELOCATE): Likewise.
55198 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55199 to ELF_DYNAMIC_DO_REL.
55200 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55201 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55202 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55205 skip_ifunc, don't call ifunc function if non-zero.
55206 (elf_machine_rela): Likewise.
55207 (elf_machine_lazy_rel): Likewise.
55208 (elf_machine_lazy_rela): Likewise.
55209 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55210 (elf_machine_lazy_rel): Likewise.
55211 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55213 (elf_machine_lazy_rel): Likewise.
55214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55216 (elf_machine_lazy_rel): Likewise.
55217 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55218 (elf_machine_lazy_rel): Likewise.
55219 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55220 (elf_machine_lazy_rel): Likewise.
55221 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55222 (elf_machine_lazy_rel): Likewise.
55223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55224 (elf_machine_lazy_rel): Likewise.
55225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55226 (elf_machine_lazy_rel): Likewise.
55227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55228 (elf_machine_lazy_rel): Likewise.
55230 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55232 * nss/nss_files/files-init.c (_nss_files_init): Use static
55233 initialization for all the *_traced_file variables.
55235 2011-09-28 Andreas Schwab <schwab@redhat.com>
55237 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55239 2011-09-27 Roland McGrath <roland@hack.frob.com>
55242 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55244 2011-09-27 Andreas Schwab <schwab@redhat.com>
55246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55247 Reread the line before reparsing it.
55249 2011-09-26 Andreas Schwab <schwab@redhat.com>
55251 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55253 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55254 Maxim Kuvyrkov <maxim@codesourcery.com>
55255 Joseph Myers <joseph@codesourcery.com>
55257 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55258 if needed for __stack_chk_guard.
55260 2011-09-19 Roland McGrath <roland@hack.frob.com>
55262 * sysdeps/posix/spawni.c (script_execute): Always define it.
55263 It will be optimized away if unused.
55264 (maybe_script_execute): New function.
55265 (__spawni): Call it.
55267 * Makerules: Don't include tls.make.
55268 (config-tls): Always set to thread.
55269 * tls.make.c: File removed.
55271 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55273 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55274 * config.make.in (CPPFLAGS-config): New substituted variable.
55276 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55281 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55282 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55284 2011-09-15 Roland McGrath <roland@hack.frob.com>
55286 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55287 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55289 (CALL_FAIL): Likewise.
55290 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55291 (CALL_FAIL): Macro removed.
55292 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55294 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55296 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55297 for __FINITE_MATH_ONLY__ == 1.
55299 2011-09-15 Andreas Schwab <schwab@redhat.com>
55301 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55302 __ieee754_sqrt instead of sqrt.
55303 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55304 __ieee754_sqrtf instead of sqrtf.
55305 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55306 __floorf instead of floorf.
55307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55308 __floorf, __truncf instead of floorf, truncf.
55310 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55312 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55314 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55315 __extern_always_inline.
55316 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55319 2011-09-14 Andreas Schwab <schwab@redhat.com>
55321 * elf/rtld.c (dl_main): Also relocate in dependency order when
55322 doing symbol dependency testing.
55324 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55327 Always define `refsym'.
55329 2011-09-13 Andreas Schwab <schwab@redhat.com>
55331 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55332 (__FD_ELT): Renamed from __FDELT.
55333 * misc/bits/select2.h (__FD_ELT): Likewise.
55334 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55335 __FD_MASK instead of __FDELT, __FDMASK.
55336 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55338 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55341 * elf/Makefile (gen-ldd): Fix pattern.
55343 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55344 (init_tls): Likewise.
55346 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55350 2011-09-12 Andreas Schwab <schwab@redhat.com>
55352 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55353 `struct cmsghdr *' instead of `void *'.
55354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55357 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55359 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55361 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55362 ldd_rewrite_script.
55364 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55366 * configure.in: Remove --with-tls option.
55367 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55368 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55369 out in case it is missing.
55370 * sysdeps/ia64/elf/configure.in: Likewise.
55371 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55372 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55373 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55374 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55375 * sysdeps/sh/elf/configure.in: Likewise.
55376 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55377 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55378 * sysdeps/x86_64/elf/configure.in: Likewise.
55379 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55380 * sysdeps/mach/hurd/tls.h: Likewise.
55383 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55386 * configure.in: Fix use of AC_INIT.
55388 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55390 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55392 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55394 * malloc/hooks.c: Likewise.
55397 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55398 variables statically.
55399 (narenas): Initialize.
55400 (list_lock): Initialize.
55401 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55402 initializtion of main_arena and list_lock. Small cleanups.
55403 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55404 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55405 Add initializers to main_arena and mp_.
55406 (malloc_state): Remove pagesize member. Change all users to use
55409 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55410 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55411 is always initialized.
55413 * malloc/malloc.c: Removed unused configurations and dead code.
55414 * malloc/arena.c: Likewise.
55415 * malloc/hooks.c: Likewise.
55416 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55418 * include/tls.h: Removed. USE___THREAD must always be defined.
55419 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55420 * elf/dl-libc.c: Likewise.
55421 * elf/dl-tsd.c: Likewise.
55422 * include/errno.h: Likewise.
55423 * include/netdb.h: Likewise.
55424 * include/resolv.h: Likewise.
55425 * inet/herrno-loc.c: Likewise.
55426 * inet/herrno.c: Likewise.
55427 * malloc/arena.c: Likewise.
55428 * malloc/hooks.c: Likewise.
55429 * malloc/malloc.c: Likewise.
55430 * resolv/res-state.c: Likewise.
55431 * resolv/res_libc.c: Likewise.
55432 * sysdeps/i386/dl-machine.h: Likewise.
55433 * sysdeps/ia64/dl-machine.h: Likewise.
55434 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55435 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55436 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55437 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55438 * sysdeps/sh/dl-machine.h: Likewise.
55439 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55440 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55441 * sysdeps/unix/i386/sysdep.S: Likewise.
55442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55443 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55445 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55448 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55453 * sysdeps/x86_64/dl-machine.h: Likewise.
55454 * tls.make.c: Likewise.
55456 * configure.in: Remove --with-__thread option. Make tests for
55457 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55458 tls_model attribute fail if no support is available. Remove
55460 * Makeconfig: Adjust for dropped configure option. All features are
55462 * Makerules: Likewise.
55463 * Versions.def: Likewise.
55464 * argp/argp-fmtstream.c: Likewise.
55465 * argp/argp-fmtstream.h: Likewise.
55466 * argp/argp-help.c: Likewise.
55467 * assert/assert.c: Likewise.
55468 * config.h.in: Likewise.
55469 * config.make.in: Likewise.
55470 * configure: Likewise.
55471 * configure.in: Likewise.
55472 * csu/Versions: Likewise.
55473 * csu/init.c: Likewise.
55474 * elf/tst-audit2.c: Likewise.
55475 * elf/tst-tls10.c: Likewise.
55476 * elf/tst-tls10.h: Likewise.
55477 * elf/tst-tls11.c: Likewise.
55478 * elf/tst-tls12.c: Likewise.
55479 * elf/tst-tls14.c: Likewise.
55480 * elf/tst-tlsmod11.c: Likewise.
55481 * elf/tst-tlsmod12.c: Likewise.
55482 * elf/tst-tlsmod13.c: Likewise.
55483 * elf/tst-tlsmod13a.c: Likewise.
55484 * elf/tst-tlsmod14a.c: Likewise.
55485 * elf/tst-tlsmod15b.c: Likewise.
55486 * elf/tst-tlsmod16a.c: Likewise.
55487 * elf/tst-tlsmod16b.c: Likewise.
55488 * elf/tst-tlsmod7.c: Likewise.
55489 * elf/tst-tlsmod8.c: Likewise.
55490 * elf/tst-tlsmod9.c: Likewise.
55491 * gmon/gmon.c: Likewise.
55492 * grp/fgetgrent_r.c: Likewise.
55493 * grp/putgrent.c: Likewise.
55494 * hurd/fopenport.c: Likewise.
55495 * include/libc-symbols.h: Likewise.
55496 * include/tls.h: Likewise.
55497 * intl/gettextP.h: Likewise.
55498 * intl/loadinfo.h: Likewise.
55499 * locale/global-locale.c: Likewise.
55500 * locale/localeinfo.h: Likewise.
55501 * mach/devstream.c: Likewise.
55502 * malloc/arena.c: Likewise.
55503 * malloc/set-freeres.c: Likewise.
55504 * misc/err.c: Likewise.
55505 * misc/getttyent.c: Likewise.
55506 * misc/mntent_r.c: Likewise.
55507 * posix/getopt.c: Likewise.
55508 * posix/wordexp.c: Likewise.
55509 * pwd/fgetpwent_r.c: Likewise.
55510 * resolv/Versions: Likewise.
55511 * resolv/res_hconf.c: Likewise.
55512 * shadow/fgetspent_r.c: Likewise.
55513 * shadow/putspent.c: Likewise.
55514 * stdio-common/printf_fphex.c: Likewise.
55515 * stdio-common/tmpfile.c: Likewise.
55516 * stdlib/abort.c: Likewise.
55517 * stdlib/fmtmsg.c: Likewise.
55518 * sunrpc/auth_unix.c: Likewise.
55519 * sunrpc/clnt_perr.c: Likewise.
55520 * sunrpc/clnt_tcp.c: Likewise.
55521 * sunrpc/clnt_udp.c: Likewise.
55522 * sunrpc/clnt_unix.c: Likewise.
55523 * sunrpc/openchild.c: Likewise.
55524 * sunrpc/svc_simple.c: Likewise.
55525 * sunrpc/svc_tcp.c: Likewise.
55526 * sunrpc/svc_udp.c: Likewise.
55527 * sunrpc/svc_unix.c: Likewise.
55528 * sunrpc/xdr.c: Likewise.
55529 * sunrpc/xdr_array.c: Likewise.
55530 * sunrpc/xdr_rec.c: Likewise.
55531 * sunrpc/xdr_ref.c: Likewise.
55532 * sunrpc/xdr_stdio.c: Likewise.
55534 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55536 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55538 2011-07-03 Andreas Jaeger <aj@suse.de>
55540 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55541 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55542 regenerate with gen-libm-tests.pl.
55544 2010-05-12 Petr Baudis <pasky@suse.cz>
55547 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55548 around j0() zero points by switching to j1().
55549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55554 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55556 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55558 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55561 Patch in part by Pavel Roskin <proski@gnu.org>.
55564 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55566 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55567 Free memory block if necessary.
55570 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55571 be NULL. Don't lock in this case.
55573 2011-09-09 Roland McGrath <roland@hack.frob.com>
55575 * elf/elf.h (ELFOSABI_GNU): New macro.
55576 (ELFOSABI_LINUX): Define to that.
55578 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55580 * string/strncat.c (strncat): Undef the symbol in case it has been
55581 defined in bits/string.h.
55583 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55585 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55587 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55590 2011-08-17 Andreas Jaeger <aj@suse.de>
55592 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55594 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55595 Ian Lance Taylor <iant@google.com>
55597 * math/libm-test.inc (lround_test): New testcase.
55598 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55600 2011-09-08 Ulrich Drepper <drepper@gmail.com>
55602 * Makefile: Remove support for automatic cvs check-ins.
55603 * Makerules: Likewise.
55604 * config.make.in: Likewise.
55605 * configure.in: Likewise.
55606 * intl/Makefile: Likewise.
55607 * locale/Makefile: Likewise.
55608 * po/Makefile: Likewise.
55609 * posix/Makefile: Likewise.
55610 * sysdeps/gnu/Makefile: Likewise.
55611 * sysdeps/mach/hurd/Makefile: Likewise.
55612 * sysdeps/sparc/sparc32/Makefile: Likewise.
55615 * posix/Makefile (bug-regex32-ENV): Define.
55616 Patch by John Stanley <jpsinthemix@verizon.net>.
55618 * misc/Makefile (headers): Add bits/select2.h.
55619 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55620 * misc/bits/select2.h: New file.
55621 * include/bits/select2.h: New file.
55622 * debug/Makefile (routines): Add fdelt_chk.
55623 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55624 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55626 * debug/fdelt_chk.c: New file.
55628 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55629 * wcsmbs/test-wmemcmp.c: Likewise.
55630 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55631 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55633 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55635 * string/Makefile (strop-tests): Add memcmp.
55636 * string/test-wmemcmp.c: New file.
55637 * string/test-memcmp.c: Add wmemcmp support.
55639 2011-09-08 Roland McGrath <roland@hack.frob.com>
55642 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55645 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55646 garbage value in a __mach_port_mod_refs call in the cases of the
55647 task-self and thread-self ports.
55649 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55651 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55653 2011-09-08 Andreas Schwab <schwab@redhat.com>
55655 * elf/dl-load.c (lose): Check for non-null L.
55657 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55659 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55661 * elf/dl-libc.c (dlerror_run): Pass back error code from
55665 * elf/dl-load.c (lose): Free l_origin if it is valid.
55667 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55669 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55670 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55674 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55676 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55678 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55679 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55680 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55681 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55682 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55683 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55684 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55685 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55686 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55687 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55689 2011-08-15 Alan Modra <amodra@gmail.com>
55692 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55693 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55694 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55695 ppc_mcount to static-only-routines.
55696 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55698 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55699 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55701 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55703 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55704 for finite and infinity parameters.
55706 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55709 and add nop instructions for throughput optimization.
55710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55712 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55714 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55715 aligned copy for power7 with vector-scalar instructions.
55716 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55718 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55723 2011-09-07 Andreas Schwab <schwab@redhat.com>
55726 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55729 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55731 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55732 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55733 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55737 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55739 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55740 Forgot to demangle the pointer.
55742 * sysdeps/i386/sysdep.h: Define atom_text_section.
55743 * sysdeps/x86_64/sysdep.h: Likewise.
55744 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55745 section with atom_text_section.
55746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55748 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55749 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55750 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55753 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55754 already be defined. Change to take two parameters and don't assign
55755 result to variable. Adjust all users.
55756 Define INTERNAL_GETTIME if not already defined.
55757 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55760 HAVE_CLOCK_GETTIME_VSYSCALL.
55761 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55764 gettimeofday vsyscall, just use time.
55766 2011-09-06 Andreas Schwab <schwab@redhat.com>
55768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55771 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55773 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55777 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55779 syscall if possible.
55781 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55783 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55784 e_ident. Don't pass to find_mapsXX.
55785 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55787 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55790 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55791 * sysdeps/x86_64/multiarch/strchr.S: Update.
55792 Check bit_slow_BSF bit.
55793 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55794 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55795 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55797 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55800 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55802 (tryshell): Define.
55803 (__spawni): Change last parameter to be flag. Test
55804 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55805 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55806 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55807 * posix/spawni.c: Likewise.
55808 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55809 * posix/spawnp.c: Likewise. Change normal version to use
55810 SPAWN_XFLAGS_USE_PATH.
55811 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55812 SPAWN_XFLAGS_TRY_SHELL.
55815 * posix/glob.h: Remove gcc 1.x support.
55818 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55820 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55823 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55825 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55826 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55827 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55828 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55829 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55830 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55832 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55834 * sysdeps/x86_64/wcscmp.S: New file.
55836 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55837 wcscmp-c wcscmp-sse2
55838 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55839 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55840 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55841 * wcsmbs/wcscmp.c: Allow renaming.
55843 2011-09-05 David S. Miller <davem@davemloft.net>
55845 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55846 stack slot, rather than the struct return pointer slot.
55847 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55848 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55850 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55852 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55854 * po/ja.po: Update from translation team.
55857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55858 kernel in 64-bit binaries.
55860 2011-09-01 David S. Miller <davem@davemloft.net>
55862 * elf/elf.h (HWCAP_SPARC_*): Move to..
55863 * sysdeps/sparc/sysdep.h: this new file and add new values.
55864 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55865 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55866 _DL_HWCAP_COUNT to 24.
55867 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55869 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55870 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55871 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55873 instead of magic constants.
55874 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55876 2011-08-31 David S. Miller <davem@davemloft.net>
55878 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55880 Reimplement to do errno handling inline.
55881 (SYSCALL_ERROR_HANDLER): New macro.
55882 (__SYSCALL_STRING): Do not do errno handling in asm.
55883 (__CLONE_SYSCALL_STRING): Delete.
55884 (__INTERNAL_SYSCALL_STRING): Delete.
55885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55886 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55887 (PSEUDO): Reimplement to do errno handling inline.
55888 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55889 (SYSCALL_ERROR_HANDLER): New macro.
55890 (__SYSCALL_STRING): Do not do errno handling in asm.
55891 (__CLONE_SYSCALL_STRING): Delete.
55892 (__INTERNAL_SYSCALL_STRING): Delete.
55893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55894 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55896 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55897 (inline_syscall*): Add 'err' argument.
55898 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55899 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55900 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55901 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55903 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55904 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55906 2011-08-30 Andreas Schwab <schwab@redhat.com>
55908 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55910 2011-08-29 Jiri Olsa <jolsa@redhat.com>
55912 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55915 2011-08-24 David S. Miller <davem@davemloft.net>
55917 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55919 2011-08-24 Andreas Schwab <schwab@redhat.com>
55921 * elf/Makefile: Add rules to build and run unload8 test.
55922 * elf/unload8.c: New file.
55923 * elf/unload8mod1.c: New file.
55924 * elf/unload8mod1x.c: New file.
55925 * elf/unload8mod2.c: New file.
55926 * elf/unload8mod3.c: New file.
55928 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55931 2011-08-23 David S. Miller <davem@davemloft.net>
55933 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55934 subtract stack bias.
55935 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55936 %sp not %fp in calculations.
55937 (_JMPBUF_UNWINDS_ADJ): Likewise.
55939 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55940 (aio_suspend): Call it to force an exception region around the
55941 AIO_MISC_WAIT() invocation.
55943 2011-08-23 Andreas Schwab <schwab@redhat.com>
55945 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55948 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55950 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55952 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55953 and <dl-machine.h>.
55954 (Elf64_FuncDesc): Remove.
55956 2011-08-22 David S. Miller <davem@davemloft.net>
55958 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55959 sigaltstack check, add missing cfi directives.
55960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55961 missing cfi directives, and sigaltstack handling.
55963 2011-08-16 Andreas Schwab <schwab@redhat.com>
55966 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55967 object is seen twice.
55968 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55970 * elf/Makefile (distribute): Add tst-initorder2.c.
55971 (tests): Add tst-initorder2.
55972 (modules-names): Add tst-initorder2a tst-initorder2b
55973 tst-initorder2c tst-initorder2d. Add rules to build them.
55974 ($(objpfx)tst-initorder2.out): New rule.
55975 * elf/tst-initorder2.c: New file.
55976 * elf/tst-initorder2.exp: New file.
55978 2011-08-22 Andreas Schwab <schwab@redhat.com>
55980 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55982 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55983 dependencies back to end of function.
55985 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55986 $(elfobjdir)/ld.so.
55988 2011-08-21 Ulrich Drepper <drepper@gmail.com>
55990 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55991 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55993 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55994 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55995 of __vdso_gettimeofday.
55996 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55997 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55999 (_libc_vdso_platform_setup): Remove initialization of
56000 __vdso_gettimeofday and __vdso_time.
56002 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56004 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56005 and fgetc_unlocked.
56006 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56009 * elf/dl-open.c (add_to_global): Report additions to the global scope
56010 for LD_DEBUG=scopes.
56011 (dl_open_worker): Also print scope of newly loaded dependencies.
56012 (_dl_show_scope): Indicate if there is no scope.
56015 * stdio-common/Makefile (tests): Add bug24.
56016 * stdio-common/bug24.c: New file.
56018 2011-08-19 Andreas Jaeger <aj@suse.de>
56021 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56022 non-existant file when using close-on-exec mode.
56024 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56027 the very first instruction.
56029 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56030 the CFI state in the end.
56031 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56032 inclusion of dl-trampoline.h.
56033 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56035 2011-08-19 Andreas Schwab <schwab@redhat.com>
56037 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56038 expectations for long double.
56040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56041 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56043 2011-08-14 David S. Miller <davem@davemloft.net>
56045 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56046 artificual limit depends upon the system page size.
56048 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56050 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56051 * resolv/Makefile: Define CFLAGS-libresolv.
56053 2011-08-17 Andreas Schwab <schwab@redhat.com>
56055 * nss/makedb.c (compute_tables): Make variables used in nested
56058 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56060 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56061 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56062 if buffer was too small.
56064 * elf/pldd.c (main): Attach to all threads in the process.
56065 Rewrite /proc handling to use *at functions.
56067 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56069 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56070 specifies first scope to show.
56071 (dl_open_worker): Update callers. Move printing scope of new
56072 object to before the relocation.
56073 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56074 * sysdeps/generic/ldsodefs.h: Update declaration.
56076 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56077 string for the scope number.
56079 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56081 * nscd/servicescache.c (cache_addserv): Make sure written is always
56084 2011-08-14 Roland McGrath <roland@hack.frob.com>
56086 * sysdeps/i386/i486/bits/atomic.h
56087 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56088 statement expression, so as to suppress "set but not used" warning.
56089 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56091 * string/strncat.c (STRNCAT): Use prototype definition.
56093 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56094 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56096 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56097 (localedef-modules): Add localedef.
56098 (locale-modules): Add locale.
56100 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56101 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56102 to avoid a warning.
56104 2011-08-14 David S. Miller <davem@davemloft.net>
56106 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56107 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56109 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56111 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56112 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56113 * elf/rtld.c (dl_main): Set l_name of vDSO.
56114 Call _dl_show_scope when DL_DEBUG_SCOPES.
56115 (process_dl_debug): Recognize scopes flag and also set it for all.
56116 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56117 Declare _dl_show_scope.
56119 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56120 (do_dlopen): Pass caller_dlopen to dl_open.
56121 (__libc_dlopen_mode): Initialize caller_dlopen.
56123 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56124 of libc. Make tolower call locale-independent. Optimize a bit by
56125 using isdigit instead of isalnum.
56126 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56128 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56130 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56131 was a dependency or dynamically loaded.
56133 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56135 * intl/l10nflist.c: Allow architecture-specific pop function.
56136 * sysdeps/x86_64/l10nflist.c: New file.
56138 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56141 2011-08-10 Andreas Schwab <schwab@redhat.com>
56143 * include/dirent.h: Add libc_hidden_proto for scandirat and
56144 scandirat64. Don't declare __scandirat64.
56145 * dirent/scandirat.c: Add libc_hidden_def.
56146 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56147 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56149 2011-08-10 David S. Miller <davem@davemloft.net>
56151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56155 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56157 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56159 * Versions.def [libc]: Add GLIBC_2.15.
56160 * dirent/Makefile (routines): Add scandirat and scandirat64.
56161 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56163 * dirent/dirent.h: Declare scandirat and scandirat64.
56164 * dirent/scandirat.c: New file.
56165 * dirent/scandirat64.c: New file.
56166 * sysdeps/wordsize-64/scandirat.c: New file.
56167 * sysdeps/wordsize-64/scandirat64.c: New file.
56168 * dirent/opendir.c: Define opendirat.
56169 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56171 * dirent/scandir64.c: Adjust for scandir.c change.
56172 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56173 __scandirat64, and __scandir_cancel_handler.
56174 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56175 additional parameter and use openat instead of open (outside of ld.so).
56176 Add new __opendir as wrapper around __opendirat.
56177 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56178 here without requiring old scandirat implementation.
56180 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56182 * dirent/scandir.c (cancel_handler): Renamed to
56183 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56184 defined. Adjust users.
56185 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56188 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56190 * string/test-string.h (IMPL): Use __STRING to expand name and then
56193 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56196 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56198 * string/Makefile: Update.
56199 (strop-tests): Append strncat.
56200 * string/test-wcscmp.c: New file.
56201 New comprehensive test for wcscmp.
56202 * string/test-strcmp.c: Update.
56203 (WIDE): New define.
56205 2011-07-22 Andreas Schwab <schwab@redhat.com>
56207 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56210 2011-07-26 Andreas Schwab <schwab@redhat.com>
56212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56213 encoding to ACE if AI_IDN.
56215 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56218 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56220 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56222 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56223 Fix overflow bug in strncat.
56224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56226 * string/test-strncat.c: Update.
56227 Add new tests for checking overflow bugs.
56229 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56232 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56233 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56234 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56236 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56237 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56238 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56239 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56242 (USE_AS_STRCAT): Define.
56243 Add strcat and strncat support.
56244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56246 2011-07-25 Andreas Schwab <schwab@redhat.com>
56248 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56249 __n bigger than INT_MAX+1.
56250 (__strncmp_g): Likewise.
56252 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56254 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56255 * libio/stido.h: Likewise.
56257 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56262 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56265 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56269 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56274 (_dl_x86_64_save_sse): Likewise.
56276 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56280 (_dl_x86_64_save_sse): Likewise.
56282 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56284 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56286 2011-07-21 Andreas Schwab <schwab@redhat.com>
56288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56290 (_dl_x86_64_save_sse): Use correct AVX check.
56292 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56294 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56295 bug in strncpy/strncat.
56296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56298 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56300 * string/tester.c (test_strcat): Add tests for different alignments
56301 of source and destination.
56302 (test_strncat): Likewise.
56304 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56307 * posix/glob.c (glob): Check passed in values before using them in
56308 expressions to avoid some overflows.
56309 (glob_in_dir): Likewise.
56312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56313 check for AVX enablement so that we don't crash with old kernels and
56315 * elf/tst-audit4.c: Add same checks here.
56316 * elf/tst-audit6.c: Likewise.
56318 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56320 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56322 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56324 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56326 * po/cs.po: Update from translation team.
56327 * po/bg.po: Likewise.
56329 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56331 * misc/sys/cdefs.h: Add support for const attribute.
56332 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56333 to gnu_dev_{major,minor,makedev} functions.
56335 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56337 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56339 2011-07-20 Andreas Schwab <schwab@redhat.com>
56341 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56344 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56347 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56348 register in order to avoid conflicts with the soft frame pointer
56349 being held in r11 when necessary.
56350 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56351 (INTERNAL_VSYSCALL_NCS): Likewise.
56353 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56355 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56356 * elf/dl-fini.c (_dl_fini): Adjust caller.
56357 * elf/dl-close.c (_dl_close_worker): Likewise.
56358 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56360 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56362 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56363 "aux_cache->nlibs < 0".
56365 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56366 in the reload-count case.
56368 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56371 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56372 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56374 * sysdeps/x86_64/multiarch/strcat.S: New file.
56375 * sysdeps/x86_64/multiarch/strncat.S: New file.
56376 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56377 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56378 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56379 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56381 (USE_AS_STRCAT): Define.
56382 Add strcat and strncat support.
56383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56384 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56385 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56386 * string/strncat.c: Update.
56387 (USE_AS_STRNCAT): Define.
56388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56389 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56391 * sysdeps/x86_64/multiarch/init-arch.h
56392 (bit_Prefer_PMINUB_for_stringop): New.
56393 (index_Prefer_PMINUB_for_stringop): Likewise.
56394 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56395 bit_Prefer_PMINUB_for_stringop.
56397 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56399 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56401 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56402 of casting of buffer.
56403 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56404 buffer32 and buffer64.
56405 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56406 writes instead of casting of buffer.
56407 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56409 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56412 2011-07-19 Andreas Schwab <schwab@redhat.com>
56414 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56416 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56418 * nscd/nscd.c (termination_handler): Don't do anything for a database
56419 if it has not yet been initialized.
56421 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56423 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56425 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56427 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56429 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56431 * po/nl.po: Update from translation team.
56432 * po/sv.po: Likewise.
56434 2011-07-16 Roland McGrath <roland@hack.frob.com>
56436 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56437 now disallowed by GCC.
56439 * configure.in (use-default-link): Default to yes if a test -shared
56440 link meets our qualifications.
56441 * configure: Regenerated.
56443 * config.make.in (output-format): New variable.
56444 * configure.in: Check for ld --print-output-format support.
56445 * configure: Regenerated.
56446 * Makerules ($(common-objpfx)format.lds)
56447 [$(output-format) != unknown]: Just use $(output-format),
56448 instead of the linker-script munging.
56450 2011-07-14 Roland McGrath <roland@hack.frob.com>
56452 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56453 of $(common-objpfx)shlib.lds.
56454 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56456 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56457 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56459 * configure.in (-z relro check): Adjust test code to add a large
56460 writable data section after it.
56461 * configure: Regenerated.
56463 2011-07-11 Roland McGrath <roland@hack.frob.com>
56465 * configure.in (-z relro check): Fix test code to make the variable
56467 * configure: Regenerated.
56469 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56471 * nscd/nscd.h (struct traced_file): Define.
56472 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56473 elements. Add traced_files.
56474 (inotify_fd): Declare.
56475 (register_traced_file): Declare.
56476 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56477 (inotify_fd): Export.
56478 (resolv_conf_descr): Remove.
56479 (nscd_init): Move inotify descriptor creation to main.
56480 Don't register files for notification here.
56481 (register_traced_file): New function.
56482 (invalidate_cache): Don't use reset_res to determine whether to call
56483 res_init, go through the list of registered files.
56484 (main_loop_poll): The inotify descriptors are now stored in the
56485 structures for the traced files.
56486 (main_loop_epoll): Likewise
56487 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56488 to __nss_disable_nscd.
56489 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56490 for a database anymore. Check the records for all the registered
56492 * nss/Makefile (libnss_files-routines): Add files-init.
56493 (libnss_db-routines): Add db-init.
56494 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56495 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56496 * nss/nss_db/db-init.c: New file.
56497 * nss/nss_files/files-init.c: New file.
56498 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56499 __nss_lookup_function.
56500 (__nss_lookup_function): Call nss_load_library.
56501 (nss_load_all_libraries): New function.
56502 (__nss_disable_nscd): Take parameter with callback function for files
56503 to register. Set is_nscd. Load all the DSOs for the NSS modules
56504 used for the cached services.
56505 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56506 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56507 options for features to all the files in nscd.
56509 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56511 2011-07-10 Roland McGrath <roland@hack.frob.com>
56513 * csu/elf-init.c (__libc_csu_init): Comment typo.
56515 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56517 * po/pl.po: Update from translation team.
56518 * po/ja.po: Likewise.
56519 * po/ru.po: Likewise.
56520 * po/ko.po: Likewise.
56521 * po/fr.po: Likewise.
56523 2011-07-09 Roland McGrath <roland@hack.frob.com>
56525 * configure.in (.ctors/.dtors header and trailer check):
56526 Use an empirical test on a built program.
56527 * configure: Regenerated.
56529 * configure.in (-z relro check): Use an empirical test on a built DSO.
56530 Detect, but do not require, on ia64.
56531 * configure: Regenerated.
56533 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56534 Update tests that use readelf to use $READELF instead.
56535 * configure: Regenerated.
56537 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56539 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56540 if the result is not used.
56542 2011-07-05 Andreas Jaeger <aj@suse.de>
56545 * stdlib/tst-strtod.c: Add testcase.
56547 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56549 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56550 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56551 The latter has a higher limit. Take additional parameter to pass to
56553 (__pathconf): Pass file to __statfs_link_max.
56554 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56556 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56560 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56564 (__statfs_filesize_max): Likewise.
56565 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56567 2011-07-05 Andreas Jaeger <aj@suse.de>
56569 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56571 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56573 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56575 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56578 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56580 * Makefile (strop-tests): Add strncat.
56581 * string/test-strncat.c: New file.
56583 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56585 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56587 2011-06-21 Andreas Jaeger <aj@suse.de>
56589 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56590 Copy rule from iconvdata/Makefile.
56592 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56595 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56596 but no long options are defined, just return 'W'.
56598 2011-06-22 Marek Polacek <mpolacek@redhat.com>
56601 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56603 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56605 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56607 (innetgr): Likewise.
56609 2011-07-05 Roland McGrath <roland@hack.frob.com>
56611 * config.make.in (install_root): Default to $(DESTDIR).
56613 2011-07-05 Ulrich Drepper <drepper@gmail.com>
56615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56617 2011-07-02 Roland McGrath <roland@hack.frob.com>
56619 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56621 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56622 containing directory rather than embedding absolute directory names.
56624 * scripts/check-local-headers.sh: Rewritten using awk.
56625 Match by word, not by line. Print error messages for matches.
56626 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56628 * Makerules [shlib-lds-flags empty]:
56629 ($(common-objpfx)libc_pic.opts): New target.
56630 ($(common-objpfx)libc_pic.os.clean): New target.
56631 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56633 * config.make.in (OBJCOPY): New variable.
56634 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56635 * configure: Regenerated.
56637 * config.make.in (use-default-link): New variable.
56638 * configure.in (use_default_link): Grok --with-default-link to set it.
56639 * configure: Regenerated.
56640 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56641 (shlib-lds, shlib-lds-flags): Define to empty.
56643 * Makerules (shlib-lds): New variable.
56644 (shlib-lds-flags): New variable.
56645 (build-shlib, build-moduile, build-module-asneeded): Use it.
56646 ($(common-objpfx)libc.so): Use $(shlib-lds).
56647 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56648 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56650 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56651 DT_FLAGS/DT_FLAGS_1 with zero flags.
56653 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56654 linker script munging.
56656 2011-07-02 Ulrich Drepper <drepper@gmail.com>
56658 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56660 * crypt/sha512.c (sha512_process_block): Perform total addition using
56661 128-bit if possible.
56662 (__sha512_finish_ctx): Likewise.
56663 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56665 * crypt/sha256.c (SWAP64): Define.
56666 (sha256_process_block): Perform total addition using 64-bit if
56668 (__sha256_finish_ctx): Likewise.
56670 2011-07-01 Ulrich Drepper <drepper@gmail.com>
56672 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56673 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56674 * nscd/hstcache.c (cache_addhst): Likewise.
56675 * nscd/grpcache.c (cache_addgr): Likewise.
56676 * nscd/aicache.c (addhstaiX): Likewise
56677 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56679 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
56681 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56683 * nscd/hstcache.c (cache_addhst): Likewise.
56684 * nscd/grpcache.c (cache_addgr): Likewise.
56685 * nscd/aicache.c (addhstaiX): Likewise
56687 2011-07-01 Andreas Schwab <schwab@redhat.com>
56689 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56690 domain only when needed.
56692 2011-06-30 Andreas Schwab <schwab@redhat.com>
56694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56695 is always restored.
56697 2011-06-29 Ulrich Drepper <drepper@gmail.com>
56699 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56700 are re-adding the entry.
56701 * nscd/servicescache.c (cache_addserv): Likewise.
56703 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56705 * sysdeps/generic/dl-irel.h: fix protection against multiple
56707 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56709 2011-06-28 Ulrich Drepper <drepper@gmail.com>
56712 * malloc/memusage.sh: Fix quoting in message.
56713 * debug/xtrace.sh: Likewise.
56715 * configure.in: Remove support for --experimental-malloc option, make
56717 * config.make.in: Likewise.
56718 * malloc/Makefile: Likewise.
56720 2011-06-27 Andreas Schwab <schwab@redhat.com>
56722 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56723 two-byte characters.
56725 2011-06-27 Roland McGrath <roland@hack.frob.com>
56727 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56728 AC_CACHE_CHECK invocation.
56729 * configure: Regenerated.
56731 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56733 2011-06-27 Ulrich Drepper <drepper@gmail.com>
56736 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56737 bit from old_res_options.
56739 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56741 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56742 value type for setfct.
56744 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56747 __gettimeofday instead of gettimeofday.
56749 2011-06-26 Ulrich Drepper <drepper@gmail.com>
56751 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56753 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56760 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56763 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56764 strcpy-sse2-unaligned strncpy-sse2-unaligned
56765 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56766 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56767 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56768 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56769 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56772 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56773 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56774 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56775 (STRCPY): Support SSE2 and SSSE3 versions.
56777 2011-06-24 Ulrich Drepper <drepper@gmail.com>
56780 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56781 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56782 kernels which artificially limit size of requests.
56784 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56787 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56788 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56789 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56790 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56791 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56792 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56793 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56794 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56795 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56796 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56797 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56798 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56799 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56800 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56802 Enable unaligned load optimization for Intel Core i3, i5 and i7
56804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56806 (index_Fast_Unaligned_Load): Define.
56807 (HAS_FAST_UNALIGNED_LOAD): Define.
56809 2011-06-23 Marek Polacek <mpolacek@redhat.com>
56811 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56813 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56817 until it is clear that the information is realy needed.
56818 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56820 2011-06-22 Andreas Schwab <schwab@redhat.com>
56822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56824 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56827 /sys/devices/system/cpu/online if it is usable.
56829 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56830 reading the information from the /proc filesystem to once a second.
56832 2011-06-21 Andreas Jaeger <aj@suse.de>
56834 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56835 NULL after inclusion of kernel headers.
56837 2011-06-21 Ulrich Drepper <drepper@gmail.com>
56839 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56840 calls to internal_setent.
56843 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56844 addresses using gethostbyname4_r ignore IPv4 addresses.
56846 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56847 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
56849 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56851 2011-06-20 David S. Miller <davem@davemloft.net>
56853 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56855 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56857 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56858 (elf_irel): Use it.
56859 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56860 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56861 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56862 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56863 * sysdeps/x86_64/dl-irel.h: Likewise.
56865 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56866 * elf/dl-sym.c: Likewise.
56868 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56870 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56871 need to dereference resplen2.
56873 2011-06-14 Andreas Schwab <schwab@redhat.com>
56875 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56877 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56879 * Makeconfig: Define vardbdir and inst_vardbdir.
56880 * nss/Makefile: Add rules to install db-Makefile.
56882 * nss/nss_db/db-XXX.c: Cleanup.
56884 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56885 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56887 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56888 * nss/makedb.c: Implement -g option to specify that value strings
56889 are generated and should not be added to table iterated over for
56891 * nss/nss_db/db-initgroups.c: New file.
56893 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56896 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56897 (internal_getgrouplist): Adjust to name change.
56898 Update use_initgroups_entry if this is not the first call.
56899 * nss/databases.def: Add initgroups entry.
56901 * nss/makedb.c (compute_tables): Check result of multiple hash table
56902 sizes to minimize maximum chain length.
56904 2011-06-14 Ulrich Drepper <drepper@gmail.com>
56906 * Versions.def: Add entry for libnss_db.
56907 * shlib-versions: Likewise.
56908 * nss/Makefile: Add rules to build libnss_db.
56909 * nss/Versions: Add libnss_db information. Organize libnss_files
56911 * nss/db-Makefile: Add gshadow support. Change rules for the new
56912 makedb progra. Some minor improvements to generate smaller files.
56913 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56915 * nss/makedb.c: ...here.
56916 Improve database format to be smaller and require less memory at
56918 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56920 * nss/nss_db/db-netgrp.c: Likewise.
56921 * nss/nss_db/db-open.c: Likewise.
56922 * nss/nss_files/flies-XXX.x: Adjust comments.
56923 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56924 * nss/nss_files/files-grp.c: Likewise.
56925 * nss/nss_files/files-hosts.c: Likewise.
56926 * nss/nss_files/files-network.c: Likewise.
56927 * nss/nss_files/files-proto.c: Likewise.
56928 * nss/nss_files/files-pwd.c: Likewise.
56929 * nss/nss_files/files-rpc.c: Likewise.
56930 * nss/nss_files/files-service.c: Likewise.
56931 * nss/nss_files/files-sgrp.c: Likewise.
56932 * nss/nss_files/files-spwd.c: Likewise.
56933 * nss/nss_db/db-alias.c: Removed.
56934 * nss/nss_db/dummy-db.h: Removed.
56936 2011-06-02 Ulrich Drepper <drepper@gmail.com>
56938 * nss/makedb.c: Rewritten to not use database library.
56939 * nss/Makefile: Update to build new makedb program.
56941 2011-06-14 Andreas Jaeger <aj@suse.de>
56943 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56944 memset declaration.
56946 2011-06-10 Andreas Schwab <schwab@redhat.com>
56948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56951 2011-06-10 Roland McGrath <roland@hack.frob.com>
56953 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56954 * elf/Makefile ($(objpfx)ld.so): Likewise.
56956 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56957 Don't list ld.so twice in dependencies.
56959 * posix/bug-regex31.c: Include <stdlib.h>.
56961 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56963 * nis/nss_compat/compat-spwd.c
56964 (getspent_next_nss_netgr): Remove unused variable.
56965 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56967 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56968 nonmembers" output to use the right array.
56970 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56972 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56974 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56975 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56976 * catgets/gencat.c (read_input_file): Likewise.
56977 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56979 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56980 variable definition inside #if's controlling its use.
56982 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56984 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56986 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56988 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56991 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56993 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56994 * configure: Regenerated.
56996 * Makerules: Revert last change.
56997 * elf/Makefile: Likewise.
56999 2011-06-09 Roland McGrath <roland@hack.frob.com>
57001 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57002 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57003 (reloc-link): Likewise.
57005 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57007 * elf/Makefile: Add rules to build pldd.
57008 * elf/pldd.c: New file.
57009 * elf/pldd-xx.c: New file.
57011 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57013 * version.h: Update for 2.15 development version.
57015 2011-06-07 David S. Miller <davem@davemloft.net>
57017 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57020 elf_machine_lazy_rel): Likewise.
57021 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57023 elf_machine_lazy_rel): Likewise.
57024 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57025 dl_hwcap via passed in argument.
57026 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57029 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57031 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57033 2011-06-06 Roland McGrath <roland@hack.frob.com>
57036 * manual/fdl-1.1.texi: New file, verbatim from:
57037 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57038 * manual/lgpl-2.1.texi: New file, verbatim from:
57039 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57040 * manual/Makefile (licenses): New variable, list those new file names.
57042 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57044 * manual/fdl.texi: File removed.
57045 * manual/lesser.texi: File removed.
57046 * manual/libc.texinfo (Copying, Documentation License):
57047 Use new @include file names, put @appendix directive before @include.
57049 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57052 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57053 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57054 (mq_open): Add __NTH.
57056 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57059 Assume Intel Core i3/i5/i7 processor if AVX is available.
57061 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57066 2011-05-31 Andreas Schwab <schwab@redhat.com>
57068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57069 memory. Use alloca_account. Fix memory leak when retrying.
57071 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57073 * version.h (RELEASE): Bump for 2.14 release.
57074 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57076 * config.make.in (RANLIB): Remove entry.
57078 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57080 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57081 (libc.pot): Work around missing support for .ksh extension in xgettext.
57084 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57085 if both request failed.
57086 (send_dg): In case of server errors clear resplen or *resplen2.
57089 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57090 when there are multiple maps.
57091 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57092 (_dl_fini): Remove test here.
57094 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57096 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57099 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57100 bit from old_res_options.
57101 (gaih_inet): Likewise.
57104 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57107 * resolv/res_init.c (res_setoptions): Make the code more compact.
57110 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57114 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57116 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57119 * malloc/malloc.h: Declare malloc hook variables as volatile.
57121 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57125 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57126 raise in the comment.
57127 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57131 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57134 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57135 grow the buffers more if it already has to be sufficient.
57136 (build_wcs_upper_buffer): Likewise.
57137 * posix/regexec.c (check_matching): Likewise.
57138 (clean_state_log_if_needed): Likewise.
57139 (extend_buffers): Don't enlarge buffers beyond size of the input
57141 Patches mostly by Emil Wojak <emil@wojak.eu>.
57142 * posix/bug-regex32.c: New file.
57143 * posix/Makefile (tests): Add bug-regex32.
57145 * locale/findlocale.c (_nl_find_locale): Return right away if
57146 _nl_explode_name failed.
57147 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57149 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57151 * debug/xtrace.sh: Unify messages.
57152 * malloc/memusage.sh: Likewise.
57155 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57156 time symbol from vDSO. Substitute with vsyscall if not available.
57157 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57160 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57161 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57162 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57163 Add sendmmsg and internal_sendmmsg.
57164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57165 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57168 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57169 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57170 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57172 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57175 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57176 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57182 * iconvdata/Makefile (tests): Add bug-iconv9.
57183 * iconvdata/bug-iconv9.c: New file.
57185 2011-05-27 Andreas Schwab <schwab@redhat.com>
57188 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57190 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57193 (struct user_regs_struct): Change intcs field back to cs.
57195 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57197 * po/ja.po: Update from translation team.
57199 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57203 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57205 2011-05-20 Andreas Schwab <schwab@redhat.com>
57207 * stdlib/longlong.h: Update from GCC.
57209 2011-05-23 Andreas Schwab <schwab@redhat.com>
57211 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57213 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57214 Add parameter name.
57215 (__sysconf): Pass it down.
57217 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57220 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57223 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57224 add in in __libc_use_alloca calls. Adjust callers.
57225 (glob): Use malloc in some situations.
57227 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57228 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57231 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57233 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57234 and CLOCK_BOOTTIME_ALARM.
57237 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57240 * string/_strerror.c (__strerror_r): Print negative errors as signed
57244 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57245 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57246 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57248 * configure.in: Fix typo in redirection and correct removal of test
57249 files in two cases.
57252 * locale/setlocale.c (new_composite_name): Fix test to check for
57253 identical name of all categories.
57256 * libio/filedoalloc.c (local_isatty): New function.
57257 (_IO_file_doallocate): Use local_isatty.
57258 * stdio-common/perror.c (perror): In case a new stream is used
57259 forward the stream error.
57260 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57263 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57268 * include/alloca.h (extend_alloca_account): Define.
57271 * posix/regex.h: Fix comments with documentation of user-accessible
57272 fields after compilation and describe correct free'ing of pattern
57273 after re_compile_pattern.
57274 Patch by Reuben Thomas <rrt@sc3d.org>.
57276 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57278 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57279 and -mno-altivec to prevent the compiler from using Altivec and/or
57280 VSX instructions when the corresponding registers are not available.
57282 2011-05-19 Andreas Schwab <schwab@redhat.com>
57284 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57286 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57288 * libio/freopen.c (freopen): Use __dup2, not dup2.
57289 * libio/freopen64.c (freopen64): Likewise.
57291 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57294 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57295 * math/Makefile (tests): Add test-powl.
57296 (CFLAGS-test-powl.c): Define.
57297 * math/test-powl.c: New file.
57299 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57301 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57303 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57306 * iconvdata/gb18030.c: Update to GB18020-2005.
57308 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57310 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57311 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57312 Patch by Aharon Robbins <arnold@skeeve.com>.
57315 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57319 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57320 through underflows.
57323 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57324 point to strings before performing equality test for error_one_per_line
57328 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57331 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57332 (struct user_fpregs_struct): Avoid __uint*_t types.
57335 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57336 symbol info. Use it instead of calling _dl_addr locally.
57337 (lock_and_info): New function.
57338 (tr_freehook): Call lock_and_info and pass symbol info as additional
57339 parameter to tr_where.
57340 (tr_mallochook): Likewise.
57341 (tr_reallochook): Likewise.
57342 (tr_memalignhook): Likewise.
57344 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57345 used and couldn't be at all thread-safe.
57347 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57349 * libio/freopen.c (freopen): Don't close old file descriptor
57350 before the new one is opened. Instead dup the new file descriptor
57351 to the old one after the new stream is created.
57352 * libio/freopen64.c (freopen64): Likewise.
57353 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57354 * libio/fileops.c (_IO_new_file_close_it): Handle new
57355 _IO_FLAGS2_NOCLOSE flag.
57356 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57357 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57358 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57359 _IO_FLAGS2_NOCLOSE flag.
57360 * include/unistd.h: Add hidden_proto for dup3.
57361 Define __have_dup3.
57362 * io/dup3.c: Define hidden symbol.
57363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57366 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57367 when an incomplete long option is used.
57368 * posix/tst-getopt_long1.c: New file.
57369 * posix/Makefile (tests): Add tst-getopt_long1.
57372 * scripts/config.guess: Update from autoconf-2.68.
57373 * scripts/config.sub: Likewise.
57376 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57378 (has_cpuclock): ...this. New function.
57379 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57380 macro here based on has_cpuclock code.
57383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57384 First byte (not low byte) is now always NUL.
57385 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57388 Use non-cancelable interfaces.
57391 * locale/iso-639.def: Add entry for Sorani.
57394 * include/stdlib.h: Move include protection to the right place.
57395 Define abort_msg_s. Declare __abort_msg with it.
57396 * stdlib/abort.c (__abort_msg): Adjust type.
57397 * assert/assert.c (__assert_fail_base): New function. Majority
57398 of code from __assert_fail. Allocate memory for __abort_msg with
57400 (__assert_fail): Now call __assert_fail_base.
57401 * assert/assert-perr.c: Remove bulk of implementation. Use
57402 __assert_fail_base.
57403 * include/assert.hL Declare __assert_fail_base.
57404 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57406 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57408 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57412 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57413 until all modules are registered in the DTV.
57414 * elf/Makefile: Add rules to build and run tst-tls19.
57415 * elf/tst-tls19.c: New file.
57416 * elf/tst-tls19mod1.c: New file.
57417 * elf/tst-tls19mod2.c: New file.
57418 * elf/tst-tls19mod3.c: New file.
57419 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57422 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57426 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57427 two-byte sequence errors.
57428 * iconvdata/Makefile (tests): Add bug-iconv8.
57429 * iconvdata/bug-iconv8.c: New file.
57432 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57435 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57438 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57439 (dummy_getcfa): New function.
57440 (init): Get _Unwind_GetCFA address, use dummy if not found.
57441 (backtrace_helper): In recursion check, also check whether CFA changes.
57442 (__backtrace): Completely initialize arg.
57444 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57445 storing incomplete byte sequence in state object. Avoid testing for
57446 guaranteed too small input if we know there is enough data available.
57448 2011-05-11 Andreas Schwab <schwab@redhat.com>
57450 * Makeconfig (+link-pie): Indent.
57451 * Rules (binaries-pie): Define if $(have-fpie) and
57453 (binaries-shared): Also filter out $(binaries-pie).
57454 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57455 * nscd/Makefile (others-pie): Add nscd.
57456 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57457 ($(objpfx)nscd): Remove command override.
57458 * login/Makefile (others-pie): Add pt_chown.
57459 ($(objpfx)pt_chown): Remove command override.
57460 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57461 remove command overrides.
57463 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57465 * libio/tst_putwc.c: Fix error messages.
57468 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57469 currently writing and seek to current position when not.
57470 * libio/Makefile (tests): Add bug-fclose1.
57471 * libio/bug-fclose1.c: New file.
57473 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57476 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57477 don't set DF_1_NODELETE here.
57478 (do_lookup_x): When entering new entry test for copy relocation
57479 and if necessary set DF_1_NODELETE flag.
57480 * elf/tst-unique4.cc: New file.
57481 * elf/tst-unique4.h: New file.
57482 * elf/tst-unique4lib.cc: New file.
57483 * elf/Makefile: Add rules to build and run tst-unique4.
57484 Patch by Piotr Bury <pbury@goahead.com>.
57486 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57489 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57492 * misc/mntent_r.c (addmntent): Flush the stream after the output
57495 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57496 (is_trusted_path_normalize): Skip initial colon. Append slash
57497 to empty buffer. Duplicate is_trusted_path code but allow
57498 constructed patch to be prefix.
57499 (is_dst): Allow $ORIGIN followed by /.
57500 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57501 Correct testing of result of is_trusted_path_normalize
57502 (decompose_rpath): Fix warning.
57504 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57507 * grp/initgroups.c (internal_getgrouplist): When we found the service
57508 list through the initgroups entry in nsswitch.conf do not always
57509 continue on a successful lookup. Don't always use the
57510 __nss_group_database value if it is set.
57511 * nss/nsswitch.conf (initgroups): Change action for successful db
57512 lookup to continue for compatibility.
57514 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57517 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57519 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57521 * iconvdata/tst-tables.sh: Likewise.
57522 * iconvdata/cp770.c: New file.
57523 * iconvdata/cp771.c: New file.
57524 * iconvdata/cp772.c: New file.
57525 * iconvdata/cp773.c: New file.
57526 * iconvdata/cp774.c: New file.
57527 * iconvdata/testdata/CP770: New file.
57528 * iconvdata/testdata/CP770..UTF8: New file.
57529 * iconvdata/testdata/CP771: New file.
57530 * iconvdata/testdata/CP771..UTF8: New file.
57531 * iconvdata/testdata/CP772: New file.
57532 * iconvdata/testdata/CP772..UTF8: New file.
57533 * iconvdata/testdata/CP773: New file.
57534 * iconvdata/testdata/CP773..UTF8: New file.
57535 * iconvdata/testdata/CP774: New file.
57536 * iconvdata/testdata/CP774..UTF8: New file.
57538 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57540 * iconvdata/gen-8bit-gap.sh: Likewise.
57541 * iconvdata/gen-8bit.sh: Likewise.
57543 * locale/iso-639.def: Add ary entry.
57546 * locale/C-translit.h.in: Add U20A1 transliteration.
57549 * locale/iso-639.def: Add wae entry.
57550 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57553 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57557 * locale/C-translit.h.in: Add entry for U20B9.
57558 Patch by pravin.d.s@gmail.com.
57560 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57563 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57564 ENAMETOOLONG use generic getcwd.
57565 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57566 in rtld. Use *stat64.
57567 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57568 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57569 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57570 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57571 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57572 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57573 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57574 __fstatat64 macros.
57575 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57576 * dirent/rewinddir.c: Add libc_hidden_def.
57577 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57578 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57580 * include/dirent.h (__alloc_dir): Add flags parameter.
57581 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57582 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57584 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57585 from fdopendir if O_CLOEXEC is already set.
57587 2011-03-15 Alan Modra <amodra@gmail.com>
57589 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57590 l_tls_firstbyte_offset non-zero. Save padding offset in
57591 l_tls_firstbyte_offset for later use.
57592 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57593 freeing static tls block.
57595 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57597 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57598 where #ifdef was intended. The intent is to prevent ARG_MAX from
57599 being defined by the kernel headers.
57601 2011-05-07 Ulrich Drepper <drepper@gmail.com>
57604 * resolv/resolv.h: Define RES_NOTLDQUERY.
57605 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57606 no-tld-query and set RES_NOTLDQUERY.
57607 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57608 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57609 modern BIND to search name as TLD unless forbidden.
57611 2011-05-07 Petr Baudis <pasky@suse.cz>
57612 Ulrich Drepper <drepper@gmail.com>
57615 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57616 (is_trusted_path): ...to here.
57617 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57618 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57619 using is_trusted_path_normalize() in setuid scripts.
57621 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57623 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57624 __BEGIN/__END_DECLS.
57626 2011-05-06 Ulrich Drepper <drepper@gmail.com>
57628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57629 NSS_STATUS_NOTFOUND if no record was found.
57631 2011-05-05 Andreas Schwab <schwab@redhat.com>
57633 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57634 (headers-not-in-tirpc): Remove rpc/netdb.h
57635 * resolv/netdb.h: Revert last change.
57637 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57639 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57640 circular dependency between libgcc.a and libc.a.
57642 2011-05-05 Andreas Schwab <schwab@redhat.com>
57644 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57645 * nis/Makefile: Don't install rpcsvc/*.
57646 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57647 instead of <rpc/types.h>.
57648 (MAXHOSTNAMELEN): Define.
57650 2011-05-03 Andreas Schwab <schwab@redhat.com>
57652 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57654 2011-04-28 Maciej Babinski <mbabinski@google.com>
57657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57658 gethostbyname4_r when IPv6 results are possible.
57660 2011-05-02 Ulrich Drepper <drepper@gmail.com>
57663 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57664 _PC_PIPE_BUF handling.
57666 2011-04-30 Bruno Haible <bruno@clisp.org>
57669 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57670 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57672 * inet/getnameinfo.c (getnameinfo): Likewise.
57674 2011-04-29 Ulrich Drepper <drepper@gmail.com>
57676 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57677 to groups setting in database lookup.
57678 * nss/nsswitch.conf: Add initgroups entry.
57680 2011-04-22 Ulrich Drepper <drepper@gmail.com>
57683 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57685 Patch by Eric Blake <eblake@redhat.com>.
57687 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57689 * sunrpc/Makefile (need-export-routines): Add svc_run.
57690 (routines): Remove svc_run.
57691 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57692 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57693 * sunrpc/svc_run.c (svc_run): Likewise.
57694 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57696 2011-04-21 Ulrich Drepper <drepper@gmail.com>
57698 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57699 problem in reallocation in last patch.
57701 2011-04-20 Ulrich Drepper <drepper@gmail.com>
57703 * sunrpc/Makefile: Move inclusion of Rules.
57705 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57707 * nss/nss_files/files-initgroups.c: New file.
57708 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57709 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57710 _nss_files_initgroups_dyn.
57712 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57714 * elf/elf.h (R_ARM_IRELATIVE): Define.
57716 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57718 * po/ru.po: Update from translation team.
57720 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57722 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57725 2011-02-06 Mike Frysinger <vapier@gentoo.org>
57728 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57729 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57730 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57731 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57734 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57736 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57738 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57742 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57745 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57747 * stdlib/bug-getcontext.c: New file.
57748 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57750 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57752 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57753 instructions into .machine "z9-109".
57754 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57755 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57757 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57759 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57760 between environment variables and auxiliary vector.
57762 2011-04-16 Ulrich Drepper <drepper@gmail.com>
57764 * Makefile: Add rules to build linkobj/libc.so.
57765 * include/libc-symbols.h: Define libc_hidden_nolink.
57766 * include/rpc/auth.h: Mark functions which are to be hidden.
57767 * include/rpc/auth_des.h: Likewise.
57768 * include/rpc/auth_unix.h: Likewise.
57769 * include/rpc/clnt.h: Likewise.
57770 * include/rpc/des_crypt.h: Likewise.
57771 * include/rpc/key_prot.h: Likewise.
57772 * include/rpc/pmap_clnt.h: Likewise.
57773 * include/rpc/pmap_prot.h: Likewise.
57774 * include/rpc/pmap_rmt.h: Likewise.
57775 * include/rpc/rpc_msg.h: Likewise.
57776 * include/rpc/svc.h: Likewise.
57777 * include/rpc/svc_auth.h: Likewise.
57778 * include/rpc/xdr.h: Likewise.
57779 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57780 * nss/Makefile: Likewise.
57781 * sunrpc/Makefile: Don't install headers. Build library with normal
57782 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57783 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57784 for the compat linking library. Remove use of INTDEF/INTUSE.
57785 * sunrpc/auth_none.c: Likewise.
57786 * sunrpc/auth_unix.c: Likewise.
57787 * sunrpc/authdes_prot.c: Likewise.
57788 * sunrpc/authuxprot.c: Likewise.
57789 * sunrpc/clnt_gen.c: Likewise.
57790 * sunrpc/clnt_perr.c: Likewise.
57791 * sunrpc/clnt_raw.c: Likewise.
57792 * sunrpc/clnt_simp.c: Likewise.
57793 * sunrpc/clnt_tcp.c: Likewise.
57794 * sunrpc/clnt_udp.c: Likewise.
57795 * sunrpc/clnt_unix.c: Likewise.
57796 * sunrpc/des_crypt.c: Likewise.
57797 * sunrpc/des_soft.c: Likewise.
57798 * sunrpc/get_myaddr.c: Likewise.
57799 * sunrpc/key_call.c: Likewise.
57800 * sunrpc/key_prot.c: Likewise.
57801 * sunrpc/netname.c: Likewise.
57802 * sunrpc/pm_getmaps.c: Likewise.
57803 * sunrpc/pm_getport.c: Likewise.
57804 * sunrpc/pmap_clnt.c: Likewise.
57805 * sunrpc/pmap_prot.c: Likewise.
57806 * sunrpc/pmap_prot2.c: Likewise.
57807 * sunrpc/pmap_rmt.c: Likewise.
57808 * sunrpc/publickey.c: Likewise.
57809 * sunrpc/rpc_cmsg.c: Likewise.
57810 * sunrpc/rpc_common.c: Likewise.
57811 * sunrpc/rpc_dtable.c: Likewise.
57812 * sunrpc/rpc_prot.c: Likewise.
57813 * sunrpc/rpc_thread.c: Likewise.
57814 * sunrpc/rtime.c: Likewise.
57815 * sunrpc/svc.c: Likewise.
57816 * sunrpc/svc_auth.c: Likewise.
57817 * sunrpc/svc_authux.c: Likewise.
57818 * sunrpc/svc_raw.c: Likewise.
57819 * sunrpc/svc_run.c: Likewise.
57820 * sunrpc/svc_simple.c: Likewise.
57821 * sunrpc/svc_tcp.c: Likewise.
57822 * sunrpc/svc_udp.c: Likewise.
57823 * sunrpc/svc_unix.c: Likewise.
57824 * sunrpc/svcauth_des.c: Likewise.
57825 * sunrpc/xcrypt.c: Likewise.
57826 * sunrpc/xdr.c: Likewise.
57827 * sunrpc/xdr_array.c: Likewise.
57828 * sunrpc/xdr_float.c: Likewise.
57829 * sunrpc/xdr_intXX_t.c: Likewise.
57830 * sunrpc/xdr_mem.c: Likewise.
57831 * sunrpc/xdr_rec.c: Likewise.
57832 * sunrpc/xdr_ref.c: Likewise.
57833 * sunrpc/xdr_sizeof.c: Likewise.
57834 * sunrpc/xdr_stdio.c: Likewise.
57836 2011-04-10 Ulrich Drepper <drepper@gmail.com>
57839 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57840 * sysdeps/ia64/dl-tls.h: Likewise.
57841 * sysdeps/powerpc/dl-tls.h: Likewise.
57842 * sysdeps/s390/dl-tls.h: Likewise.
57843 * sysdeps/sh/dl-tls.h: Likewise.
57844 * sysdeps/sparc/dl-tls.h: Likewise.
57845 * sysdeps/x86_64/dl-tls.h: Likewise.
57846 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57848 2011-03-14 Andreas Schwab <schwab@redhat.com>
57850 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57851 rpath element also skip the following colon.
57852 (expand_dynamic_string_token): Add is_path parameter and pass
57853 down to DL_DST_REQUIRED and _dl_dst_substitute.
57854 (decompose_rpath): Call expand_dynamic_string_token with
57855 non-zero is_path. Ignore empty rpaths.
57856 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57859 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57864 2011-04-09 Ulrich Drepper <drepper@gmail.com>
57867 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57868 Patch by Filipe David Manana <fdmanana@apache.org>.
57870 2011-04-07 Andreas Schwab <schwab@redhat.com>
57872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57873 Maintain aligned stack.
57874 (CHECK_RSP): Remove unused macro.
57876 2011-04-03 Ulrich Drepper <drepper@gmail.com>
57878 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57881 2011-04-02 Ulrich Drepper <drepper@gmail.com>
57883 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57885 * include/features.h: Mention __USE_XOPEN2K8 in comment.
57887 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57890 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57891 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57892 * sysdeps/x86_64/memmove.c: New file.
57893 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57894 (memcpy): Renamed to ...
57895 (__new_memcpy): This.
57896 (memcpy): Provide GLIBC_2_14 memcpy.
57897 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57898 (memcpy): Provide GLIBC_2_2_5 memcpy.
57900 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57903 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57905 2011-03-30 Andreas Schwab <schwab@redhat.com>
57907 * misc/syncfs.c: New file.
57908 * misc/Makefile (routines): Add syncfs.
57909 * posix/unistd.h: Declare syncfs.
57910 * sysdeps/unix/syscalls.list: Add syncfs.
57912 2011-04-01 Andreas Schwab <schwab@redhat.com>
57914 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57921 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57924 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57928 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57930 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57934 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57935 sync_file_range.c with -fexceptions.
57936 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57937 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57938 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57939 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57940 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57941 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57943 sync_file_range as cancellation point
57944 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57945 now a wrapper around __call_sync_file_range with cancellation handling.
57946 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57947 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57948 function name to __call_sync_file_range.
57949 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57950 Add call_sync_file_range.
57952 2011-04-01 Andreas Schwab <schwab@redhat.com>
57954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57957 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57959 * iconv/iconv.h: Fix typo in comment.
57960 * io/fcntl.h: Likewise.
57961 * libio/stdio.h: Likewise.
57962 * posix/spawn.h: Likewise.
57963 * posix/unistd.h: Likewise.
57964 * stdlib/stdlib.h: Likewise.
57965 * time/time.h: Likewise.
57966 * wcsmbs/wchar.h: Likewise.
57968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57969 open_by_handle): Add.
57970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57971 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57972 Augment a few comments.
57973 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57978 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57981 * io/fcntl.h (AT_EMPTY_PATH): Define.
57983 2011-03-30 Ulrich Drepper <drepper@gmail.com>
57985 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57986 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57987 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57989 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
57990 * Versions.def: Add GLIBC_2.14.
57991 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57994 2011-03-22 Ulrich Drepper <drepper@gmail.com>
57996 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57998 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58000 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58003 * string/test-strncmp.c (do_page_test): New function.
58004 (check2): Likewise.
58005 (test_main): Call check2.
58006 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58008 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58011 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58012 Handle cache information in CPU leaf 4.
58013 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58015 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58018 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58019 character representation.
58020 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58022 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58024 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58025 END(__isnan) to END(__isnanf) to match function entry point/label
58026 EALIGN(__isnanf,...).
58028 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58030 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58032 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58035 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58036 copy from the symbol referenced in the relocation to initialize the
58038 Patch by Piotr Bury <pbury@goahead.com>.
58039 * elf/Makefile: Add rules to build and tst-unique3.
58040 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58041 * elf/tst-unique3.cc: New file.
58042 * elf/tst-unique3.h: New file.
58043 * elf/tst-unique3lib.cc: New file.
58044 * elf/tst-unique3lib2.cc: New file.
58046 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58048 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58050 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58051 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58054 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58056 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58057 to-be-loaded object along a path to loader is ld.so.
58059 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58060 Ulrich Drepper <drepper@gmail.com>
58062 * sysdeps/x86_64/memset.S: After aligning destination, code
58063 branches to different locations depending on the value of
58064 misalignment, when multiarch is enabled. Fix this.
58066 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58068 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58069 Set _x86_64_preferred_memory_instruction for AMD processsors.
58070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58071 Set bit_Prefer_SSE_for_memop for AMD processors.
58073 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58075 * libio/fmemopen.c (fmemopen): Optimize a bit.
58077 2011-03-03 Andreas Schwab <schwab@redhat.com>
58079 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58081 2011-03-03 Roland McGrath <roland@redhat.com>
58083 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58085 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58087 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58088 __bzero_ultra1 instead of __memset_ultra1.
58090 2011-02-23 Andreas Schwab <schwab@redhat.com>
58091 Ulrich Drepper <drepper@gmail.com>
58094 * include/link.h (struct link_map): Add l_orig_initfini.
58095 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58096 returning unsuccessfully.
58097 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58098 close of a file loaded at startup, restore the original l_initfini
58100 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58101 list, store the pointer.
58102 * elf/Makefile ($(objpfx)noload-mem): New rule.
58103 (noload-ENV): Define.
58104 (tests): Add $(objpfx)noload-mem.
58105 * elf/noload.c: Include <memcheck.h>.
58106 (main): Call mtrace. Close all opened handles.
58108 2011-02-17 Andreas Schwab <schwab@redhat.com>
58111 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58112 dependencies are missing.
58114 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58116 Fix __if_freereq crash: Unlike the generic version which uses free,
58118 * sysdeps/mach/hurd/ifreq.h: New file.
58120 2011-01-27 Petr Baudis <pasky@suse.cz>
58121 Ulrich Drepper <drepper@gmail.com>
58124 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58125 to extend_alloca().
58126 * stdio-common/bug23.c: New file.
58127 * stdio-common/Makefile (tests): Add bug23.
58129 2010-09-28 Andreas Schwab <schwab@redhat.com>
58130 Ulrich Drepper <drepper@gmail.com>
58133 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58134 before performing relro protection. At old place add assertion
58135 to make sure nothing changed.
58137 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58138 Glauber de Oliveira Costa <glommer@gmail.com>
58140 * elf/elf.h: Add new ARM TLS relocs.
58142 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58145 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58147 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58149 * sysdeps/wordsize-64/tst-writev.c: New file.
58151 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58153 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58154 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58155 insns in _dl_start to prevent a TOC reference before relocs are
58158 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58161 * Makeconfig: Remove RANLIB definition.
58162 * Makerules: Don't use RANLIB.
58163 * aclocal.m4: Remove ranlib test.
58164 * configure.in: No need to check for ranlib.
58165 * elf/rtld-Rules: Don't use RANLIB.
58167 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58169 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58171 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58172 inclusion protection macro.
58174 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58175 SIGRTMIN and SIGRTMAX and print information in that case only when
58176 SIGRTMIN is defined.
58178 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58180 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58181 arginfo fn returning -1.
58183 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58184 and thousands string is zero terminated.
58186 2011-02-03 Andreas Schwab <schwab@redhat.com>
58188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58189 sysdeps/unix/sysv/linux/bits/socket.h.
58191 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58193 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58194 (__CPU_COUNT): Remove old macros.
58195 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58196 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58197 (__CPU_ALLOC, __CPU_FREE): Add macros.
58198 (__sched_cpualloc, __sched_cpufree): Add declarations.
58200 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58202 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58203 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58204 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58205 (readdhstai): Return value of addhstaiX call.
58206 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58207 (addgrbyX): Return value returned by cache_addgr.
58208 (readdgrbyname): Return value returned by addgrbyX.
58209 (readdgrbygid): Likewise.
58210 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58211 (addpwbyX): Return value returned by cache_addpw.
58212 (readdpwbyname): Return value returned by addhstbyX.
58213 (readdpwbyuid): Likewise.
58214 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58215 (addservbyX): Return value returned by cache_addserv.
58216 (readdservbyname): Return value returned by addservbyX:
58217 (readdservbyport): Likewise.
58218 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58219 (addhstbyX): Return value returned by cache_addhst.
58220 (readdhstbyname): Return value returned by addhstbyX.
58221 (readdhstbyaddr): Likewise.
58222 (readdhstbynamev6): Likewise.
58223 (readdhstbyaddrv6): Likewise.
58224 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58225 (readdinitgroups): Return value returned by addinitgroupsX.
58226 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58227 (prune_cache): Keep track of timeout value of re-added entries.
58228 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58229 * nscd/nscd.h: Adjust prototypes of readd* functions.
58231 2011-02-04 Roland McGrath <roland@redhat.com>
58233 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58234 (nis_stats): Likewise.
58235 * nis/nis_modify.c (nis_modify): Likewise.
58236 * nis/nis_remove.c (nis_remove): Likewise.
58237 * nis/nis_add.c (nis_add): Likewise.
58239 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58241 * posix/fnmatch_loop.c: Add some consts.
58243 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58245 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58248 * config.make.in (config-cflags-novzeroupper): Define.
58249 * configure.in: Substitute libc_cv_cc_novzeroupper.
58250 * elf/Makefile (AVX-CFLAGS): Define.
58251 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58252 (CFLAGS-tst-auditmod4a.c): Likewise.
58253 (CFLAGS-tst-auditmod4b.c): Likewise.
58254 (CFLAGS-tst-auditmod6b.c): Likewise.
58255 (CFLAGS-tst-auditmod6c.c): Likewise.
58256 (CFLAGS-tst-auditmod7b.c): Likewise.
58257 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58259 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58261 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58262 function to the callback.
58263 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58265 2011-02-02 Andreas Schwab <schwab@redhat.com>
58267 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58270 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58273 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58275 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58277 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58280 * elf/Makefile: Add rules to build and run new test.
58281 * elf/tst-initorder.c: New file.
58282 * elf/tst-initorder.exp: New file.
58283 * elf/tst-initordera1.c: New file.
58284 * elf/tst-initordera2.c: New file.
58285 * elf/tst-initordera3.c: New file.
58286 * elf/tst-initordera4.c: New file.
58287 * elf/tst-initorderb1.c: New file.
58288 * elf/tst-initorderb2.c: New file.
58289 * elf/tst-order-a1.c: New file.
58290 * elf/tst-order-a2.c: New file.
58291 * elf/tst-order-a3.c: New file.
58292 * elf/tst-order-a4.c: New file.
58293 * elf/tst-order-b1.c: New file.
58294 * elf/tst-order-b2.c: New file.
58295 * elf/tst-order-main.c: New file.
58296 New test case by George Gensure <werkt0@gmail.com>.
58298 2010-10-01 Andreas Schwab <schwab@redhat.com>
58300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58301 decoding ACE if AI_CANONIDN.
58303 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58305 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58307 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58309 * version.h (RELEASE): Bump for 2.13 release.
58310 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58312 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58314 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58316 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58318 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58323 * posix/getconf.c: Update copyright year.
58324 * catgets/gencat.c: Likewise.
58325 * csu/version.c: Likewise.
58326 * debug/catchsegv.sh: Likewise.
58327 * debug/xtrace.sh: Likewise.
58328 * elf/ldconfig.c: Likewise.
58329 * elf/ldd.bash.in: Likewise.
58330 * elf/sprof.c (print_version): Likewise.
58331 * iconv/iconv_prog.c: Likewise.
58332 * iconv/iconvconfig.c: Likewise.
58333 * locale/programs/locale.c: Likewise.
58334 * locale/programs/localedef.c: Likewise.
58335 * malloc/memusage.sh: Likewise.
58336 * malloc/mtrace.pl: Likewise.
58337 * nscd/nscd.c (print_version): Likewise.
58338 * nss/getent.c: Likewise.
58340 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58341 PF_CAIF, and PF_ALG.
58342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58344 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58346 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58347 (modules-names): Use them.
58348 (ifunc-test-modules, ifunc-pie-tests): Define.
58349 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58350 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58351 (test-extras): Likewise.
58352 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58353 $(compile-command.c).
58354 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58355 (all-built-dso): Define.
58356 (check-textrel.out, check-execstack.out): Depend on it.
58358 * configure.in: Don't override --enable-multi-arch.
58360 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58363 * nscd/hstcache.c (tryagain): Define.
58364 (cache_addhst): Return tryagain not notfound for temporary errors.
58365 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58368 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58371 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58372 to make the syscall.
58373 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58376 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58377 and fall back to matching as normal character if the string ends before
58378 the matching ']' is found. This is what POSIX requires.
58379 * posix/testfnm.c: Adjust test result.
58380 * posix/globtest.sh: Adjust test result. Add new test.
58381 * posix/tst-fnmatch.input: Likewise.
58382 * posix/tst-fnmatch2.c: Add new test.
58384 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58386 * elf/Makefile (check-execstack): Revert last change. Depend on
58388 (check-execstack.h): New target.
58389 (generated): Add check-execstack.h.
58390 * elf/check-execstack.c: Include "check-execstack.h".
58391 (main): Revert last change.
58392 (handle_file): Return zero if GNU_STACK is absent and
58393 DEFAULT_STACK_PERMS doesn't include PF_X.
58395 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58397 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58398 in child fails because the descriptor is already closed.
58399 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58400 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58401 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58404 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58408 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58409 temporary buffer used to handle multi lookups locally.
58410 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58412 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58414 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58417 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58419 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58420 alignment for SSE2.
58422 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58425 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58426 characters. When rounding increased number of integer digits recompute
58428 * stdio-common/tst-grouping.c: New file.
58429 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58431 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58433 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58434 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58436 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58438 * bits/select.h: Likewise.
58440 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58442 * po/ja.po: Update from translation team.
58444 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58447 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58448 implementation just like for lxstat, fxstatat, et al.
58450 2010-12-27 Jim Meyering <meyering@redhat.com>
58453 * posix/regexec.c (build_trtable): Return failure indication upon
58454 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58456 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58459 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58460 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58461 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58462 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58465 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58468 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58469 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58471 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58473 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58474 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58475 script has SORT_BY_INIT_PRIORITY.
58476 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58477 NO_CTORS_DTORS_SECTIONS is defined.
58478 * elf/soinit.c: Likewise.
58479 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58480 NO_CTORS_DTORS_SECTIONS is defined.
58481 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58482 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58483 * sysdeps/sh/init-first.c: Likewise.
58484 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58486 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58488 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58489 always use the slow path.
58491 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58493 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58494 similar rule which adds the sysdep directories to the header search in
58495 order to pick up the correct platform stackinfo.h.
58496 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58497 perform test if it is, otherwise return successfully without testing.
58498 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58499 DEFAULT_STACK_PERMS define in stackinfo.h.
58500 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58501 defined in stackinfo.h.
58502 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58503 DEFAULT_STACK_PERMS defined in stackinfo.h.
58504 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58505 * sysdeps/ia64/stackinfo.h: Likewise.
58506 * sysdeps/s390/stackinfo.h: Likewise.
58507 * sysdeps/sh/stackinfo.h: Likewise.
58508 * sysdeps/sparc/stackinfo.h: Likewise.
58509 * sysdeps/x86_64/stackinfo.h: Likewise.
58510 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58511 PF_X for powerpc64. Retain PF_X for powerpc32.
58513 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58515 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58517 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58518 GETDENTS_64BIT_ALIGNED.
58520 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58522 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58524 2010-12-10 Andreas Schwab <schwab@redhat.com>
58526 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58529 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58530 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58532 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58533 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58535 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58538 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58541 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58543 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58545 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58547 * po/it.po: Update from translation team.
58549 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58554 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58556 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58558 2010-11-24 Andreas Schwab <schwab@redhat.com>
58560 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58562 (gaih_getanswer_slice): Likewise.
58564 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58568 2010-05-31 Petr Baudis <pasky@suse.cz>
58571 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58572 silently even in the chroot mode.
58574 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58576 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58577 last patch a bit. Pretty printing
58579 2010-05-31 Petr Baudis <pasky@suse.cz>
58582 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58583 initialization of skip_initgroups_dyn.
58585 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58590 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58592 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58594 2010-11-11 Andreas Schwab <schwab@redhat.com>
58596 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58597 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58598 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58599 ($(objpfx)tst-fnmatch-mem): New rule.
58600 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58601 * posix/tst-fnmatch.c (main): Call mtrace.
58603 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58606 Support Intel processor model 6 and model 0x2c.
58608 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
58610 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58613 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58616 * string/test-strncasecmp.c (check_result): New function.
58617 (do_one_test): Use it.
58618 (check1): New function.
58619 (test_main): Use it.
58620 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58621 Support strcasecmp and strncasecmp.
58623 2010-11-08 Ulrich Drepper <drepper@gmail.com>
58626 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58629 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58631 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58635 * sysdeps/x86_64/multiarch/bzero.S: New file.
58636 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58637 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58638 * sysdeps/x86_64/multiarch/memset.S: New file.
58639 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58641 Set bit_Prefer_SSE_for_memop for Intel processors.
58642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58644 (index_Prefer_SSE_for_memop): Define.
58645 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58647 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
58649 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58652 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58655 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58656 (__x86_64_raw_data_cache_size_half): Likewise.
58657 (__x86_64_raw_shared_cache_size): Likewise.
58658 (__x86_64_raw_shared_cache_size_half): Likewise.
58660 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58661 (__x86_64_raw_data_cache_size_half): Likewise.
58662 (__x86_64_raw_shared_cache_size): Likewise.
58663 (__x86_64_raw_shared_cache_size_half): Likewise.
58664 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58665 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58666 and __x86_64_raw_shared_cache_size_half. Round
58667 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58668 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58669 to multiple of 256 bytes.
58671 2010-11-03 Ulrich Drepper <drepper@gmail.com>
58674 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58675 of inacessible symlinks. Verify result of symlink before returning it.
58676 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58677 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58679 2010-10-28 Erich Ritz <erichritz@gmail.com>
58681 * math/math.h (isinf): Fix typo in comment.
58683 2010-11-01 Ulrich Drepper <drepper@gmail.com>
58685 * po/da.po: Update from translation team.
58687 2010-10-26 Ulrich Drepper <drepper@gmail.com>
58689 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58690 is added to the list.
58692 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58693 Ulrich Drepper <drepper@gmail.com>
58695 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58696 the global list here. Move code to...
58697 (_dl_add_to_namespace_list): ...here. New function.
58698 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58699 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58700 * elf/dl-load.c (lose): Don't remove the element from the list.
58701 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58702 (_dl_map_object): Likewise.
58704 2010-10-25 Ulrich Drepper <drepper@gmail.com>
58707 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58708 into all bytes of SSE register.
58709 Patch by Richard Li <richardpku@gmail.com>.
58711 2010-10-24 Ulrich Drepper <drepper@gmail.com>
58714 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58717 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58719 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58720 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58721 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58722 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58727 2010-10-22 Andreas Schwab <schwab@redhat.com>
58729 * include/dlfcn.h (__RTLD_SECURE): Define.
58730 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58731 mode & __RTLD_SECURE instead.
58732 (open_path): Rename preloaded parameter to secure.
58733 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58734 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58735 * elf/dl-deps.c (openaux): Likewise.
58736 * elf/rtld.c (struct map_args): Remove is_preloaded.
58737 (map_doit): Don't use it.
58738 (dl_main): Likewise.
58739 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58740 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58742 2010-09-09 Andreas Schwab <schwab@redhat.com>
58744 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58745 (sysd-rules-targets): Remove duplicates.
58746 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58747 rtld-%.$o dependency.
58749 2010-10-18 Andreas Schwab <schwab@redhat.com>
58751 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58752 _dl_map_object do it.
58754 2010-10-19 Ulrich Drepper <drepper@gmail.com>
58756 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58757 fast fma builtins, define the macros in the C99 standard.
58758 (FP_FAST_FMAF): Likewise.
58759 (FP_FAST_FMAL): Likewise.
58760 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58762 * bits/mathdef.h: Update copyright year.
58763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58765 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58767 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58768 builtins, define the macros in the C99 standard.
58769 (FP_FAST_FMAF): Likewise.
58770 (FP_FAST_FMAL): Likewise.
58771 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58773 (FP_FAST_FMAF): Likewise.
58775 2010-10-15 Jakub Jelinek <jakub@redhat.com>
58778 * math/libm-test.inc (fma_test): Some new testcases.
58779 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58780 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58781 y and infinite z. Do multiplication by C already in long double.
58782 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58784 y and infinite z. Do bitwise or of inexact bit into u.d.
58785 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58786 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58787 * sysdeps/i386/fpu/s_fma.S: Removed.
58788 * sysdeps/i386/fpu/s_fmal.S: Removed.
58790 2010-10-16 Jakub Jelinek <jakub@redhat.com>
58793 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58795 computation is not scheduled after fetestexcept. Fix value
58796 of minimum denormal long double.
58798 2010-10-14 Jakub Jelinek <jakub@redhat.com>
58801 * math/libm-test.inc (fma_test): Add some more tests.
58802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58805 2010-10-15 Andreas Schwab <schwab@redhat.com>
58807 * scripts/data/localplt-s390-linux-gnu.data: New file.
58808 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58810 2010-10-13 Jakub Jelinek <jakub@redhat.com>
58813 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58814 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58816 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58818 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58820 if one of x and y is very large and the other is subnormal.
58821 * sysdeps/s390/fpu/s_fmaf.c: New file.
58822 * sysdeps/s390/fpu/s_fma.c: New file.
58823 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58824 * sysdeps/powerpc/fpu/s_fma.S: New file.
58825 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58826 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58827 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58829 2010-10-12 Jakub Jelinek <jakub@redhat.com>
58832 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58834 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58835 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58836 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58837 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58838 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58839 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58840 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58842 2010-10-12 Ulrich Drepper <drepper@redhat.com>
58845 * posix/regcomp.c (parse_branch): One more memory leak plugged.
58846 * posix/bug-regex31.input: Add test case.
58848 2010-10-11 Ulrich Drepper <drepper@gmail.com>
58850 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58851 * posix/bug-regex31.input: New file.
58854 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58855 (parse_sub_exp): Fix last change, use postorder.
58857 * posix/bug-regex31.c: New file.
58858 * posix/Makefile: Add rules to build and run bug-regex31.
58860 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58863 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58866 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58867 to have entries in sys_siglist.
58870 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58873 2010-10-07 Jakub Jelinek <jakub@redhat.com>
58876 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58877 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58878 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58879 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58880 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58881 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58882 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58883 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58884 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58885 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58886 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58887 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58888 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58889 * math/ftestexcept.c (fetestexcept): Likewise.
58890 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58891 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58892 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58893 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58894 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58895 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58898 2010-10-11 Ulrich Drepper <drepper@gmail.com>
58901 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58904 2010-10-06 Ulrich Drepper <drepper@gmail.com>
58906 * string/bug-strstr1.c: New file.
58907 * string/Makefile: Add rules to build and run bug-strstr1.
58909 2010-10-05 Eric Blake <eblake@redhat.com>
58912 * string/str-two-way.h (two_way_long_needle): Always clear memory
58913 when skipping input due to the shift table.
58915 2010-10-03 Ulrich Drepper <drepper@gmail.com>
58918 * malloc/mcheck.c: Handle large requests.
58921 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58922 for strncmp and strncasecmp.
58923 * string/stratcliff.c: Add tests for strcmp and strncmp.
58924 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58926 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58928 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58931 2010-09-30 Andreas Jaeger <aj@suse.de>
58933 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58934 (CGROUP_SUPER_MAGIC): Define.
58935 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58936 Handle btrfs and cgroup file systems.
58937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58940 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
58942 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58943 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58945 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58948 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58949 trying to locate the ELF header.
58951 2010-09-27 Andreas Schwab <schwab@redhat.com>
58954 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58955 Mask out sign-bit copies when constructing f_fsid.
58957 2010-09-24 Petr Baudis <pasky@suse.cz>
58959 * debug/stack_chk_fail_local.c: Add missing licence exception.
58960 * debug/warning-nop.c: Likewise.
58962 2010-09-15 Joseph Myers <joseph@codesourcery.com>
58964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58965 implementing getdents64 using getdents syscall, set d_type if
58966 __ASSUME_GETDENTS32_D_TYPE.
58968 2010-09-16 Andreas Schwab <schwab@redhat.com>
58970 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58971 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58973 2010-09-21 Ulrich Drepper <drepper@redhat.com>
58976 * posix/unistd.h: Undo change of feature selection for ftruncate from
58979 2010-09-20 Ulrich Drepper <drepper@redhat.com>
58981 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58984 2010-09-20 Andreas Schwab <schwab@redhat.com>
58986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58988 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58990 2010-09-14 Andreas Schwab <schwab@redhat.com>
58992 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58993 variables after CHECK_SP call.
58994 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58996 2010-09-13 Andreas Schwab <schwab@redhat.com>
58997 Ulrich Drepper <drepper@redhat.com>
58999 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59000 re-relocationg ld.so.
59001 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59002 _dl_init_paths call.
59003 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59006 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59008 * resolv/res_init.c (__res_vinit): Count the default server we added.
59010 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59011 Ulrich Drepper <drepper@redhat.com>
59014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59015 (____longjmp_chk): Use %ebx for saving value across system call.
59018 2010-09-06 Andreas Schwab <schwab@redhat.com>
59020 * manual/Makefile: Don't mix pattern rules with normal rules.
59022 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59024 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59026 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59027 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59028 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59029 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59033 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59036 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59037 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59039 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59041 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59042 * sysdeps/x86_64/addmul_1.S: Likewise.
59043 * sysdeps/x86_64/lshift.S: Likewise.
59044 * sysdeps/x86_64/mul_1.S: Likewise.
59045 * sysdeps/x86_64/rshift.S: Likewise.
59046 * sysdeps/x86_64/sub_n.S: Likewise.
59047 * sysdeps/x86_64/submul_1.S: Likewise.
59049 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59051 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59052 Define __sched_param instead of SCHED_* and sched_param when
59053 <bits/sched.h> is included with __need_schedparam defined.
59054 * bits/sched.h [__need_schedparam]
59055 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59056 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59057 (__defined_schedparam): Define to 1.
59058 (__sched_param): New structure, identical to sched_param.
59059 (__need_schedparam): Undefine.
59061 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59064 (epoll_create1): Declare.
59066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59068 2010-08-31 Andreas Schwab <schwab@redhat.com>
59071 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59072 shifting retval into place.
59074 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59076 * nis/rpcsvc/nis.h: Update copyright notice.
59077 * nis/rpcsvc/nis.x: Likewise.
59078 * nis/rpcsvc/nis_callback.h: Likewise.
59079 * nis/rpcsvc/nis_callback.x: Likewise.
59080 * nis/rpcsvc/nis_object.x: Likewise.
59081 * nis/rpcsvc/nis_tags.h: Likewise.
59082 * nis/rpcsvc/yp.h: Likewise.
59083 * nis/rpcsvc/yp.x: Likewise.
59084 * nis/rpcsvc/ypupd.h: Likewise.
59085 * nis/yp_xdr.c: Likewise.
59086 * nis/ypupdate_xdr.c: Likewise.
59088 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59089 mainly the body of pmap_getport. Add parameters to specify timeouts.
59090 (pmap_getport): Use __libc_rpc_getport.
59091 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59092 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59093 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59095 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59100 2010-08-27 Roland McGrath <roland@redhat.com>
59102 * sysdeps/i386/i686/multiarch/Makefile
59103 (CFLAGS-varshift.c): New variable.
59105 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59107 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59108 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59112 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59114 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59116 * sysdeps/x86_64/strlen.S: Unroll the loop.
59117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59118 strlen-sse2 strlen-sse2-bsf.
59119 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59120 __strlen_no_bsf if bit_Slow_BSF is set.
59121 (__strlen_sse42): Removed.
59122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59123 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59125 2010-08-25 Roland McGrath <roland@redhat.com>
59127 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59128 * sysdeps/x86_64/multiarch/varshift.c: New file.
59129 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59130 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59131 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59132 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59134 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59137 strlen-sse2 strlen-sse2-bsf.
59138 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59139 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59140 (__strlen_sse2): Removed.
59141 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59144 bit_Slow_BSF for Atom.
59145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59146 (index_Slow_BSF): Define.
59147 (HAS_SLOW_BSF): Define.
59149 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59152 * resolv/res_init.c (__res_vinit): When no server address at all
59153 is given default to loopback.
59155 2010-08-24 Roland McGrath <roland@redhat.com>
59157 * configure.in: Remove config-name.h generation.
59158 * configure: Regenerated.
59159 * config-name.in: File removed.
59160 * scripts/config-uname.sh: New file.
59161 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59162 ($(objdir)config-name.h): New target.
59164 * sunrpc/rpc_parse.h: Avoid nested comment.
59166 2010-08-24 Richard Henderson <rth@redhat.com>
59167 Ulrich Drepper <drepper@redhat.com>
59168 H.J. Lu <hongjiu.lu@intel.com>
59170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59172 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59173 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59174 _mm_alignr_epi8 with _mm_loadu_si128.
59175 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59176 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59177 (__m128i_shift_right): Removed.
59178 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59179 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59180 * sysdeps/x86_64/multiarch/varshift.h: New file.
59181 * sysdeps/x86_64/multiarch/varshift.S: New file.
59183 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59185 * configure.in: Move assembler checks to before sysdep dir checking.
59187 2010-08-20 Petr Baudis <pasky@suse.cz>
59189 * LICENSES: Sync the sunrpc license.
59191 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59193 * sunrpc/auth_des.c: Update copyright notice once again.
59194 * sunrpc/auth_none.c: Likewise.
59195 * sunrpc/auth_unix.c: Likewise.
59196 * sunrpc/authdes_prot.c: Likewise.
59197 * sunrpc/authuxprot.c: Likewise.
59198 * sunrpc/bindrsvprt.c: Likewise.
59199 * sunrpc/clnt_gen.c: Likewise.
59200 * sunrpc/clnt_perr.c: Likewise.
59201 * sunrpc/clnt_raw.c: Likewise.
59202 * sunrpc/clnt_simp.c: Likewise.
59203 * sunrpc/clnt_tcp.c: Likewise.
59204 * sunrpc/clnt_udp.c: Likewise.
59205 * sunrpc/clnt_unix.c: Likewise.
59206 * sunrpc/des_crypt.c: Likewise.
59207 * sunrpc/des_soft.c: Likewise.
59208 * sunrpc/get_myaddr.c: Likewise.
59209 * sunrpc/getrpcport.c: Likewise.
59210 * sunrpc/key_call.c: Likewise.
59211 * sunrpc/key_prot.c: Likewise.
59212 * sunrpc/openchild.c: Likewise.
59213 * sunrpc/pm_getmaps.c: Likewise.
59214 * sunrpc/pm_getport.c: Likewise.
59215 * sunrpc/pmap_clnt.c: Likewise.
59216 * sunrpc/pmap_prot.c: Likewise.
59217 * sunrpc/pmap_prot2.c: Likewise.
59218 * sunrpc/pmap_rmt.c: Likewise.
59219 * sunrpc/rpc/auth.h: Likewise.
59220 * sunrpc/rpc/auth_unix.h: Likewise.
59221 * sunrpc/rpc/clnt.h: Likewise.
59222 * sunrpc/rpc/des_crypt.h: Likewise.
59223 * sunrpc/rpc/key_prot.h: Likewise.
59224 * sunrpc/rpc/netdb.h: Likewise.
59225 * sunrpc/rpc/pmap_clnt.h: Likewise.
59226 * sunrpc/rpc/pmap_prot.h: Likewise.
59227 * sunrpc/rpc/pmap_rmt.h: Likewise.
59228 * sunrpc/rpc/rpc.h: Likewise.
59229 * sunrpc/rpc/rpc_des.h: Likewise.
59230 * sunrpc/rpc/rpc_msg.h: Likewise.
59231 * sunrpc/rpc/svc.h: Likewise.
59232 * sunrpc/rpc/svc_auth.h: Likewise.
59233 * sunrpc/rpc/types.h: Likewise.
59234 * sunrpc/rpc/xdr.h: Likewise.
59235 * sunrpc/rpc_clntout.c: Likewise.
59236 * sunrpc/rpc_cmsg.c: Likewise.
59237 * sunrpc/rpc_common.c: Likewise.
59238 * sunrpc/rpc_cout.c: Likewise.
59239 * sunrpc/rpc_dtable.c: Likewise.
59240 * sunrpc/rpc_hout.c: Likewise.
59241 * sunrpc/rpc_main.c: Likewise.
59242 * sunrpc/rpc_parse.c: Likewise.
59243 * sunrpc/rpc_parse.h: Likewise.
59244 * sunrpc/rpc_prot.c: Likewise.
59245 * sunrpc/rpc_sample.c: Likewise.
59246 * sunrpc/rpc_scan.c: Likewise.
59247 * sunrpc/rpc_scan.h: Likewise.
59248 * sunrpc/rpc_svcout.c: Likewise.
59249 * sunrpc/rpc_tblout.c: Likewise.
59250 * sunrpc/rpc_util.c: Likewise.
59251 * sunrpc/rpc_util.h: Likewise.
59252 * sunrpc/rpcinfo.c: Likewise.
59253 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59254 * sunrpc/rpcsvc/key_prot.x: Likewise.
59255 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59256 * sunrpc/rpcsvc/mount.x: Likewise.
59257 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59258 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59259 * sunrpc/rpcsvc/rex.x: Likewise.
59260 * sunrpc/rpcsvc/rstat.x: Likewise.
59261 * sunrpc/rpcsvc/rusers.x: Likewise.
59262 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59263 * sunrpc/rpcsvc/spray.x: Likewise.
59264 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59265 * sunrpc/rtime.c: Likewise.
59266 * sunrpc/svc.c: Likewise.
59267 * sunrpc/svc_auth.c: Likewise.
59268 * sunrpc/svc_authux.c: Likewise.
59269 * sunrpc/svc_raw.c: Likewise.
59270 * sunrpc/svc_run.c: Likewise.
59271 * sunrpc/svc_simple.c: Likewise.
59272 * sunrpc/svc_tcp.c: Likewise.
59273 * sunrpc/svc_udp.c: Likewise.
59274 * sunrpc/svc_unix.c: Likewise.
59275 * sunrpc/svcauth_des.c: Likewise.
59276 * sunrpc/xcrypt.c: Likewise.
59277 * sunrpc/xdr.c: Likewise.
59278 * sunrpc/xdr_array.c: Likewise.
59279 * sunrpc/xdr_float.c: Likewise.
59280 * sunrpc/xdr_mem.c: Likewise.
59281 * sunrpc/xdr_rec.c: Likewise.
59282 * sunrpc/xdr_ref.c: Likewise.
59283 * sunrpc/xdr_sizeof.c: Likewise.
59284 * sunrpc/xdr_stdio.c: Likewise.
59286 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59289 2010-08-19 Andreas Schwab <schwab@redhat.com>
59291 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59293 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59295 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59297 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59298 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59299 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59300 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59301 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59302 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59303 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59304 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59305 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59306 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59307 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59308 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59310 2010-07-26 Anton Blanchard <anton@samba.org>
59312 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59313 * malloc/arena.c (heap_trim): Likewise.
59315 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59317 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59320 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59322 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59324 * sysdeps/i386/elf/Makefile: New file.
59326 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59328 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59329 from fanotify_init.
59330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59333 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59335 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59337 * sysdeps/multiarch/strcmp.S: Likewise.
59339 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59341 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59342 strncase_l-nonascii.
59343 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59344 Add strncase_l-ssse3.
59345 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59346 * sysdeps/x86_64/strcmp.S: Likewise.
59347 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59348 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59349 * sysdeps/x86_64/strncase.S: New file.
59350 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59351 * sysdeps/x86_64/strncase_l.S: New file.
59352 * string/Makefile (strop-tests): Add strncasecmp.
59353 * string/test-strncasecmp.c: New file.
59355 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59358 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59359 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59361 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59363 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59365 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59367 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59368 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59371 2010-05-01 Alan Modra <amodra@gmail.com>
59373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59374 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59375 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59376 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59377 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59378 tidying. Don't tail-call __sigjmp_save for static lib.
59379 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59381 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59382 (CALL_MCOUNT): Add eh info, and nop after bl.
59383 (TAIL_CALL_SYSCALL_ERROR): New macro.
59384 (PSEUDO_RET): Use it.
59385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59386 Correct save location of integer regs and cr.
59387 (_dl_profile_resolve): Correct cr save location. Delete nops
59388 after bl when SHARED. Reduce cfi size a little by better
59389 placement of cfi directives.
59390 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59391 make a stack frame. Instead use parm save area as a temp.
59392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59393 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59395 Don't make a stack frame for parent, use parm save area.
59396 Increase child stack frame to 112 bytes. Don't save unused reg,
59397 and adjust reg usage. Set up cfi on error recovery and
59398 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59400 (__makecontext): Add dummy nop after jump to exit.
59401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59402 Use correct parm save area and cr save, reduce stack frame.
59403 Correct cfi for possible PSEUDO_RET frame setup.
59404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59405 Branch to local label emitted by PSEUDO_RET rather than
59408 2010-08-12 Andreas Schwab <schwab@redhat.com>
59411 * locale/programs/locale.c (print_assignment): New function.
59412 (show_locale_vars): Use it.
59414 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59416 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59418 (struct statfs64): Likewise.
59419 (_STATFS_F_FLAGS): Define.
59420 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59422 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59423 (ST_VALID): Define locally.
59424 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59425 __statvfs_getflags, use the provided value.
59426 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59427 __ASSUME_STATFS_F_FLAGS.
59429 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59431 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59432 Add sys/fanotify.h.
59433 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59434 fanotify_mask for GLIBC_2.13.
59435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59436 fanotify_init and fanotify_mark.
59437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59438 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59440 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59442 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59443 prlimit64 for GLIBC_2.13.
59444 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59450 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59451 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59454 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59457 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59458 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59460 * nss/Makefile: Add rules to build and run tst-nss-test1.
59461 * shlib-versions: Add entry for libnss_test1.
59462 * nss/nss_test1.c: New file.
59463 * nss/tst-nss-test1.c: New file.
59465 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59466 (__nss_configure_lookup): Set appropriate entry in
59467 __nss_configure_lookup to true.
59468 * nss/nsswitch.h: Define enum with indeces of databases in
59469 databases and __nss_database_custom arrays. Declare
59470 __nss_database_custom.
59471 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59472 to avoid using nscd when custom rules are installed.
59473 * nss/getXXbyYY_r.c: Likewise.
59474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59476 * nss/nss_files/files-parse.c: Whitespace fixes.
59478 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59481 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59482 * posix/fnmatch_loop.c: Likewise.
59484 2010-07-17 Andi Kleen <ak@linux.intel.com>
59486 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59487 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59488 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59489 * Versions.def [GLIBC_2.13]: Add.
59491 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59493 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59494 Also fail if tpwd after pwuid call is NULL.
59496 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59498 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59499 when converting to ms.
59501 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59503 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59504 EOPNOTSUPP errors with ENOTTY.
59505 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59506 EOPNOTSUPP errors with ENOTTY.
59508 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59510 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59511 Add strcasecmp_l-ssse3.
59512 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59514 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59515 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59516 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59518 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59520 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59522 * string/Makefile (strop-tests): Add strcasecmp.
59523 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59524 strcasecmp_l-nonascii.
59525 (gen-as-const-headers): Add locale-defines.sym.
59526 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59527 * sysdeps/x86_64/strcasecmp.S: New file.
59528 * sysdeps/x86_64/strcasecmp_l.S: New file.
59529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59530 * sysdeps/x86_64/locale-defines.sym: New file.
59531 * string/test-strcasecmp.c: New file.
59533 * string/test-strcasestr.c: Test both ends of the range of characters.
59534 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59536 2010-07-29 Roland McGrath <roland@redhat.com>
59539 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59541 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59543 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59546 2010-07-27 Andreas Schwab <schwab@redhat.com>
59548 * manual/memory.texi (Malloc Tunable Parameters): Document
59551 2010-07-26 Roland McGrath <roland@redhat.com>
59554 * configure.in (-fgnu89-inline check): Set and substitute
59555 gnu89_inline, not libc_cv_gnu89_inline.
59556 * configure: Regenerated.
59557 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59559 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59561 * string/test-strnlen.c: New file.
59562 * string/Makefile (strop-tests): Add strnlen.
59563 * string/tester.c (test_strnlen): Add a few more test cases.
59564 * string/tst-strlen.c: Better error reporting.
59566 * sysdeps/x86_64/strnlen.S: New file.
59568 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59571 lower-latency instructions.
59573 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59575 * string/test-strcasestr.c: New file.
59576 * string/test-strstr.c: New file.
59577 * string/Makefile (strop-tests): Add strstr and strcasestr.
59578 * string/str-two-way.h: Don't undefine MAX.
59579 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59581 2010-07-21 Andreas Schwab <schwab@redhat.com>
59583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59584 strcasestr-nonascii.
59585 (CFLAGS-strcasestr-nonascii.c): Define.
59586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59587 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59588 Remove unused attribute.
59590 2010-07-20 Roland McGrath <roland@redhat.com>
59592 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59593 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59594 ld.so.cache was broken. With it, there is no way to disable dsocaps
59595 like LD_HWCAP_MASK can disable hwcaps.
59597 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59599 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59601 2010-07-16 Ulrich Drepper <drepper@redhat.com>
59603 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59604 call in strcasestr.
59605 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59606 __strcasestr_sse42_nonascii.
59607 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59608 strcasestr-nonascii.c.
59609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59611 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
59613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59614 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59615 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59618 2010-07-09 Ulrich Drepper <drepper@redhat.com>
59620 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59623 2010-07-06 Andreas Schwab <schwab@redhat.com>
59626 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59629 2010-07-06 Ulrich Drepper <drepper@redhat.com>
59631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59632 _PC_PIPE_BUF using F_GETPIPE_SZ.
59634 2010-07-05 Roland McGrath <roland@redhat.com>
59636 * manual/arith.texi (Rounding Functions): Fix rint description
59637 implicit in round description.
59639 2010-07-02 Ulrich Drepper <drepper@redhat.com>
59641 * elf/Makefile: Fix linking for a few tests to make recent linker
59644 2010-06-30 Andreas Schwab <schwab@redhat.com>
59646 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59647 $(common-objpfx)libc_nonshared.a.
59649 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
59651 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59652 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59653 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59654 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59655 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59656 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59657 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59658 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59673 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59674 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59675 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59676 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59677 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59678 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59679 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59680 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59681 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59682 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59683 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59684 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59700 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59702 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59703 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59704 * string/memmove.c (memmove): Renamed to ...
59705 (MEMMOVE): ...this. Default to memmove.
59706 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59707 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59710 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59711 mempcpy-ssse3-back memmove-ssse3-back.
59712 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59715 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59716 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59717 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59718 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59719 * sysdeps/x86_64/multiarch/memmove.c: New file.
59720 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59721 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59722 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59723 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59725 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59727 (index_Fast_Copy_Backward): Define.
59728 (HAS_ARCH_FEATURE): Define.
59729 (HAS_FAST_REP_STRING): Define.
59730 (HAS_FAST_COPY_BACKWARD): Define.
59732 2010-06-21 Andreas Schwab <schwab@redhat.com>
59734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59735 Restore proper fallback handling.
59737 2010-06-19 Ulrich Drepper <drepper@redhat.com>
59740 * posix/group_member.c (__group_member): Correct checking loop.
59742 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59743 OOM in getpwuid_r correctly. Return error number when the caller
59744 should return, otherwise -1.
59745 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59746 call returning > 0 value.
59747 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59749 2010-06-07 Andreas Schwab <schwab@redhat.com>
59751 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59752 libc_nonshared.a from targets in modules-names.
59754 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59756 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59759 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
59761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59762 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59766 2010-06-02 Andreas Schwab <schwab@redhat.com>
59768 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59770 2010-06-14 Ulrich Drepper <drepper@redhat.com>
59772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59781 2010-06-14 Roland McGrath <roland@redhat.com>
59783 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59785 2010-06-07 Jakub Jelinek <jakub@redhat.com>
59787 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59788 __REDIRECT followed by __THROW.
59789 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59790 * posix/getopt.h (getopt): Likewise.
59792 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59794 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59795 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59796 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59798 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59799 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59801 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
59803 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59805 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59809 Properly check family and model.
59811 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59813 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59815 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
59817 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59819 2010-05-21 Ulrich Drepper <drepper@redhat.com>
59821 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59824 2010-05-19 Andreas Schwab <schwab@redhat.com>
59826 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59829 2010-05-21 Andreas Schwab <schwab@redhat.com>
59831 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59832 and internal_recvmmsg.
59833 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59834 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59835 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59836 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59838 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59839 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59840 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59842 2010-05-20 Andreas Schwab <schwab@redhat.com>
59844 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59846 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
59848 POWER7 optimizations.
59849 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59850 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59852 2010-05-19 Ulrich Drepper <drepper@redhat.com>
59854 * version.h: Update for 2.13 development version.
59856 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
59858 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59859 exceptions. Return 0.
59861 2010-05-07 Roland McGrath <roland@redhat.com>
59863 * elf/ldconfig.c (main): Add a const.
59865 2010-05-06 Ulrich Drepper <drepper@redhat.com>
59867 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59868 (args_options): Add no-idn option.
59869 (ahosts_keys_int): Add idn_flags to ai_flags.
59870 (parse_option): Handle 'i' option to clear idn_flags.
59872 * malloc/malloc.c (_int_free): Possible race in the most recently
59873 added check. Only act on the data if no current modification
59876 See ChangeLog.17 for earlier changes.