1 2015-06-05 Joseph Myers <joseph@codesourcery.com>
4 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5 (__iswlower): Likewise.
6 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
7 (__iswlower): Likewise.
8 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11 instead of iswlower. Call __towupper instead of towupper.
12 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20 2015-06-05 Florian Weimer <fweimer@redhat.com>
24 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25 Check for overflow properly. Check for O_APPEND. Ignore large
26 file system block sizes. Add comments about problems.
27 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28 * manual/filesys.texi (Storage Allocation): New node.
30 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34 (SYS_ify): Add guard to no redefine it.
35 (INLINE_SYSCALL): Likewise.
36 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
37 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
38 SYSCALL_CANCEL instead.
39 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
40 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
42 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
43 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
44 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
45 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
46 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
47 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
48 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
49 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
50 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
51 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
52 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
53 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
54 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
56 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
57 (__libc_pread64): Likewise.
58 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
59 (__libc_preadv): Likewise.
60 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
61 (__libc_readv64): Likewise.
62 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
63 (__libc_pwrite): Likewise.
64 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
65 (__libc_pwrite64): Likewise.
66 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
67 (__libc_pwritev): Likewise.
68 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
69 (__libc_pwritev64): Likewise.
70 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
71 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
72 (sync_file_range): Likewise.
73 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
75 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
77 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
78 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
79 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
80 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
81 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
82 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
83 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
84 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
88 (__libc_read64): Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
98 (__libc_pread64): Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
102 (__libc_pwrite64): Likewise.
103 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
104 (sync_file_range): Likewise.
105 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
106 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
107 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
108 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
109 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
110 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
111 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
112 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
113 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
114 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
115 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
116 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
117 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
118 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
119 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
120 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
121 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
122 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
125 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
127 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
128 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
130 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
131 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
132 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
133 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
135 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
136 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
137 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
141 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
143 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
145 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
146 Use VDSO routines for gettimeofday, clock_gettime if
148 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
149 Declare VDSO symbols.
150 * sysdeps/unix/sysv/linux/arm/sysdep.h:
151 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
152 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
153 * sysdeps/unix/sysv/linux/arm/Versions: Add
154 __vdso_clock_gettime.
156 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
158 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
159 be an inline implementation regardless of library is built within.
160 (open_not_cancel_2): Likewise.
161 (__read_nocancel): Likewise.
162 (__write_nocancel): Likewise.
163 (openat_not_cancel): Likewise.
164 (openat_not_cancel_3): Likewise.
165 (openat64_not_cancel): Likewise.
166 (openat64_not_cancel_3): Likewise.
167 (__close_nocancel): Likewise.
168 (pause_not_cancel): Likewise.
169 (nanosleep_not_cancel): Likewise.
170 (sigsuspend_not_cancel): Likewise.
172 2015-06-04 Torvald Riegel <triegel@redhat.com>
175 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
177 (__pthread_rwlock_rdlock_slow): Likewise.
178 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
180 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
182 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
183 * nptl/tst-rwlock16.c: New file.
184 * nptl/Makefile (tests): Add new test.
186 2015-06-04 Torvald Riegel <triegel@redhat.com>
189 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
190 missing wake-up of readers.
191 * nptl/tst-rwlock15.c: New file.
192 * nptl/Makefile (tests): Add new test.
194 2015-06-03 Roland McGrath <roland@hack.frob.com>
196 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
197 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
198 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
199 and __nacl_supply_interface_rtld.
200 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
201 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
202 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
203 Add __nacl_supply_interface_rtld.
204 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
206 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
208 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
211 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
213 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
215 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
216 __signbit* with standard C99 macros.
217 * math/e_exp10l.c: Likewise.
218 * math/e_exp2l.c: Likewise.
219 * math/e_scalb.c: Likewise.
220 * math/e_scalbf.c: Likewise.
221 * math/e_scalbl.c: Likewise.
222 * math/s_ldexp.c: Likewise.
223 * math/s_ldexpf.c: Likewise.
224 * math/s_ldexpl.c: Likewise.
225 * math/w_atan2.c: Likewise.
226 * math/w_atan2f.c: Likewise.
227 * math/w_atan2l.c: Likewise.
228 * math/w_cosh.c: Likewise.
229 * math/w_coshf.c: Likewise.
230 * math/w_coshl.c: Likewise.
231 * math/w_exp10.c: Likewise.
232 * math/w_exp10f.c: Likewise.
233 * math/w_exp10l.c: Likewise.
234 * math/w_exp2.c: Likewise.
235 * math/w_exp2f.c: Likewise.
236 * math/w_exp2l.c: Likewise.
237 * math/w_fmod.c: Likewise.
238 * math/w_fmodf.c: Likewise.
239 * math/w_fmodl.c: Likewise.
240 * math/w_hypot.c: Likewise.
241 * math/w_hypotf.c: Likewise.
242 * math/w_hypotl.c: Likewise.
243 * math/w_jnl.c: Likewise.
244 * math/w_lgamma.c: Likewise.
245 * math/w_lgamma_r.c: Likewise.
246 * math/w_lgammaf.c: Likewise.
247 * math/w_lgammaf_r.c: Likewise.
248 * math/w_lgammal.c: Likewise.
249 * math/w_lgammal_r.c: Likewise.
250 * math/w_pow.c: Likewise.
251 * math/w_powf.c: Likewise.
252 * math/w_powl.c: Likewise.
253 * math/w_remainder.c: Likewise.
254 * math/w_remainderf.c: Likewise.
255 * math/w_remainderl.c: Likewise.
256 * math/w_scalb.c: Likewise.
257 * math/w_scalbf.c: Likewise.
258 * math/w_scalbl.c: Likewise.
259 * math/w_scalbln.c: Likewise.
260 * math/w_scalblnf.c: Likewise.
261 * math/w_scalblnl.c: Likewise.
262 * math/w_sinh.c: Likewise.
263 * math/w_sinhf.c: Likewise.
264 * math/w_sinhl.c: Likewise.
265 * math/w_tgamma.c: Likewise.
266 * math/w_tgammaf.c: Likewise.
267 * math/w_tgammal.c: Likewise.
268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
269 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
274 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
275 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
276 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
277 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
283 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
298 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
299 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
300 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
301 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
302 * stdio-common/printf_fp.c: Likewise.
303 * stdio-common/printf_fphex.c: Likewise.
304 * stdio-common/printf_size.c: Likewise.
306 2015-06-03 Joseph Myers <joseph@codesourcery.com>
309 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
311 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
313 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
314 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
315 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
316 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
317 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
318 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
319 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
320 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
321 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
322 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
325 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
326 weak alias of __wmemchr. Use libc_hidden_weak.
327 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
328 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
331 2015-06-02 Roland McGrath <roland@hack.frob.com>
334 * elf/tst-tlsalign-extern.c: New file.
335 * elf/tst-tlsalign-extern-static.c: New file.
336 * elf/tst-tlsalign-vars.c: New file.
337 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
338 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
339 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
340 ($(objpfx)tst-tlsalign-extern-static): Likewise.
341 (test-xfail-tst-tlsalign-extern-static): New variable.
343 2015-06-02 Joseph Myers <joseph@codesourcery.com>
345 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
346 Use variable name _sc_err instead of err.
347 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
349 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
350 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
351 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
352 (INLINE_SYSCALL): Likewise.
354 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
355 * include/string.h (__strnlen): Use libc_hidden_proto.
356 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
357 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
358 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
360 (libc_hidden_def): Undefine and redefine.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
362 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
364 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
366 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
369 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
370 weak alias of __towlower. Use libc_hidden_weak.
371 (towupper): Rename to __towupper and define as weak alias of
372 __towupper. Use libc_hidden_weak.
373 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
374 (__towupper): Likewise.
375 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
376 __towlower instead of towlower.
378 2015-06-02 Roland McGrath <roland@hack.frob.com>
380 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
381 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
383 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
385 * sysdeps/aarch64/libm-test-ulps: Update.
387 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
389 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
391 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
393 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
394 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
395 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
396 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
397 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
399 2015-06-01 Martin Sebor <msebor@redhat.com>
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
403 (__setcontext): Use extended four-operand version of mtsf whenever
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
406 (__novec_swapcontext): Likewise.
408 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
410 * benchtests/scripts/compare_bench.py: New file.
411 * benchtests/scripts/import_bench.py (mean): New function.
412 (split_list): Likewise.
413 (do_for_all_timings): Likewise.
414 (compress_timings): Likewise.
416 * benchtests/scripts/import_bench.py: New file.
417 * benchtests/scripts/validate_benchout.py: Import import_bench
418 instead of jsonschema.
419 (validate_bench): Remove function.
420 (main): Use import_bench.
422 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
424 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
425 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
427 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
431 2015-05-28 Roland McGrath <roland@hack.frob.com>
433 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
434 set THREAD_SELF->tid to a magic value and futex-wake it.
435 Pass its address to the thread_exit system call.
436 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
438 * sysdeps/nacl/lowlevellock.h: New file.
439 * sysdeps/nacl/lll_timedwait_tid.c: New file.
441 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
442 Add TIMEOUT to current time, don't subtract it.
444 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
447 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
448 ($(objpfx)tst-audit2.out): Also depend on
449 $(objpfx)tst-auditmod9b.so.
450 * elf/tst-audit2.c: Include <dlfcn.h>.
451 (calloc_called): New.
452 (calloc): Allow to be called more than once.
453 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
455 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
457 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
458 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
460 2015-05-27 Marko Myllynen <myllynen@redhat.com>
462 * stdlib/monetary.h: Fix comment.
464 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
466 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
467 Avoid using variables in #defines that might cause shadowing.
468 (INTERNAL_VSYSCALL_CALL): Likewise.
470 2015-05-26 Roland McGrath <roland@hack.frob.com>
472 * sysdeps/nacl/lll_timedlock_wait.c: New file.
474 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
475 * nptl/lll_timedlock_wait.c: ... to this new file.
476 * nptl/Makefile (libpthread-routines): Add it.
477 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
478 * nptl/lll_timedwait_tid.c: ... to this new file.
479 * nptl/Makefile (libpthread-routines): Add it.
480 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
481 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
482 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
483 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
484 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
485 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
486 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
487 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
488 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
489 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
491 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
493 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
494 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
495 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
497 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
499 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
501 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
502 * sysdeps/unix/sysv/linux/tile/sysdep.h
503 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
504 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
505 using vDSO syscall macro.
507 2015-05-26 Andriy Rysin <arysin@gmail.com>
510 * uk_UA: Fix sorting order for Ukrainian locale
512 2015-05-26 Marko Myllynen <myllynen@redhat.com>
514 * stdlib/monetary.h: Fix comment.
516 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
519 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
520 st_mtim and st_ctim members.
521 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
522 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
523 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
524 (struct stat64): Likewise.
525 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
526 (struct stat64): Likewise.
527 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
528 (struct stat64): Likewise.
530 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
532 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
533 Define and include sysdep-vdso.h.
534 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
536 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
538 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
539 Define with VDSO_SYMBOL and use PTR_MANGLE.
540 (__vdso_clock_gettime): Likewise.
541 (__vdso_clock_getres): Likewise.
542 (_libc_vdso_platform_setup): Likewise.
543 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
545 (_libc_vdso_platform_setup): Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
548 (__vdso_clock_gettime): Likewise.
549 (__vdso_clock_getres): Likewise.
550 (__vdso_get_tbfreq): Likewise.
551 (__vdso_getcpu): Likewise.
552 (__vdso_time): Likewise.
553 (__vdso_sigtramp_rt64): Likewise.
554 (__vdso_signtramp32): Likewise.
555 (__vdso_sigtramp_rt32): Likewise.
556 (_libc_vdso_platform_setup): Likewise.
557 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
559 (__vdso_clock_gettime): Likewise.
560 (__vdso_clock_getres): Likewise.
561 (_libc_vdso_platform_setup): Likewise.
562 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
564 (__vdso_clock_gettime): Likewise.
565 (_libc_vdso_platform_setup): Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
568 (__vdso_getcpu): Likewise.
569 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
570 Use VDSO_SYMBOL macro to define.
571 (__vdso_clock_gettime): Likewise.
572 (__vdso_clock_getres): Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
575 (__vdso_clock_gettime): Likewise.
576 (__vdso_clock_getres): Likewise.
577 (__vdso_get_tbfreq): Likewise.
578 (__vdso_getcpu): Likewise.
579 (__vdso_time): Likewise.
580 (__vdso_sigtramp_rt64): Likewise.
581 (__vdso_signtramp32): Likewise.
582 (__vdso_sigtramp_rt32): Likewise.
583 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
585 (__vdso_clock_gettime): Likewise.
586 (__vdso_clock_getres): Likewise.
587 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
589 (__vdso_clock_gettime): Likewise.
590 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
594 (INTERNAL_VSYSCALL): Likewise.
595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
597 (INTERNAL_VSYSCALL): Likewise.
598 (INTERNAL_VSYSCALL_NCS): Likewise.
599 (INTERNAL_VSYSCALL_CALL): New macro.
600 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
603 (INTERNAL_VSYSCALL): Likewise.
604 (INTERNAL_VSYSCALL_NCS): Likewise.
605 (INTERNAL_VSYSCALL_CALL): New macro.
606 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
608 (INLINE_VSYSCALL): Remove macro.
609 (INTERNAL_VSYSCALL): Remove macro.
610 (INTERNAL_VSYSCALL_NCS): Remove macro.
611 (INTERNAL_VSYSCALL_CALL): New macro.
612 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
613 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
614 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
615 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
616 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
618 (INLINE_VSYSCALL): Remove macro.
619 (INTERNAL_VSYSCALL): Likewise.
620 (INTERNAL_VSYSCALL_NCS): Likewise.
621 (INTERNAL_VSYSCALL_CALL): New macro.
622 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
623 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
624 PTR_DEMANGLE on vDSO pointer.
625 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
626 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
628 (INTERNAL_SYSCALL): Likewise.
629 (INTERNAL_VSYSCALL_NCS): Remove macro.
630 (INTERNAL_VSYSCALL_CALL): New macro.
631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
633 (INTERNAL_VSYSCALL): Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
635 sysdep-vdso.h instead of libc-vdso.h.
636 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
638 (INLINE_VSYSCALL): Likewise.
639 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
640 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
642 (INLINE_VSYSCALL): Likewise.
643 (INTERNAL_VSYSCALL): Likewise.
644 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
645 * sysdeps/unix/sysv/linux/timespec_get.c
646 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
647 (timespec_get): Use ANSI prototype.
648 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
649 and definition for Linux.
651 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
653 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
654 * include/libc-symbols.h: libmvec_hidden_* macro series added.
656 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
659 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
660 for missing DT_PLTRELSZ.
662 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
664 Remove obsolete aliases that broke 'locale -a'
666 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
667 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
668 breaking some applications that use 'locale -a' output.
669 Change the encoding of this file from Latin-1 to ASCII to avoid
670 other potential problems with people grepping this file.
672 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
674 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
675 -fasynchronous-unwind-tables.
676 (CFLAGS-sendto.c): Likewise.
677 (CFLAGS-sendmsg.c): Likewise.
678 (CFLAGS-connect.c): Likewise.
679 (CFLAGS-recvmsg.c): Likewise.
680 (CFLAGS-recvfrom.c): Likewise.
681 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
682 (SOCKETCALL): New macro: non-cancellable socketcall.
683 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
684 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
685 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
686 * sysdeps/unix/sysv/linux/accept.c: New file.
687 * sysdeps/unix/sysv/linux/bind.c: Likewise.
688 * sysdeps/unix/sysv/linux/connect.c: Likewise.
689 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
690 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
691 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
692 * sysdeps/unix/sysv/linux/listen.c: Likewise.
693 * sysdeps/unix/sysv/linux/recv.c: Likewise.
694 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
695 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
696 * sysdeps/unix/sysv/linux/send.c: Likewise.
697 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
698 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
699 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
700 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
701 * sysdeps/unix/sysv/linux/socket.c: Likewise.
702 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
703 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
705 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
706 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
707 instead of __internal_xxx function.
708 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
710 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
711 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
712 instead of __internal_xxx function.
713 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
715 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
716 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
717 instead of __internal_xxx function.
718 * sysdeps/unix/sysv/linux/accept.S: Remove file.
719 * sysdeps/unix/sysv/linux/bind.S: Likewise.
720 * sysdeps/unix/sysv/linux/connect.S: Likewise.
721 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
722 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
723 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
724 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
725 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
726 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
727 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
728 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
729 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
730 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
731 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
732 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
733 * sysdeps/unix/sysv/linux/listen.S: Likewise.
734 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
735 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
736 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
737 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
740 * sysdeps/unix/sysv/linux/recv.S: Likewise.
741 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
742 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
744 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
745 * sysdeps/unix/sysv/linux/send.S: Likewise.
746 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
747 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
748 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
749 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
750 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
751 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
754 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
755 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
756 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
757 socketcall is implemented in GLIBC.
759 2015-05-22 Joseph Myers <joseph@codesourcery.com>
761 * soft-fp/fmadf4.c: Include <libc-internal.h>.
762 (__fma): Ignore uninitialized warnings around packing.
763 * soft-fp/fmasf4.c: Include <libc-internal.h>.
764 (__fmaf): Ignore uninitialized warnings around packing.
765 * soft-fp/fmatf4.c: Include <libc-internal.h>.
766 (__fmal): Ignore uninitialized warnings around packing.
768 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
769 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
770 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
771 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
773 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
774 switch statement into default case.
775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
777 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
778 a conditional in forcing "inexact".
779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
782 2015-05-22 Roland McGrath <roland@hack.frob.com>
784 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
785 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
786 for each INTERNAL_SYSCALL use.
788 2015-05-22 Joseph Myers <joseph@codesourcery.com>
791 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
792 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
796 * string/basename.c (basename): Rename to __basename and define as
797 weak alias of __basename. Use libc_hidden_weak.
798 * include/string.h (__basename): Declare. Use libc_hidden_proto.
799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
800 __basename instead of basename.
801 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
803 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
805 2015-05-18 Florian Weimer <fweimer@redhat.com>
807 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
808 (_IO_JUMPS_FILE_plus): New.
809 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
810 _IO_CAST_FIELD_ACCESS.
811 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
812 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
813 * libio/freopen.c (freopen): Likewise.
814 * libio/freopen64.c (freopen64): Likewise.
815 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
816 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
817 * libio/iofwide.c (_IO_fwide): Likewise.
818 * libio/memstream.c (open_memstream): Likewise.
819 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
820 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
821 * libio/oldiopopen.c (_IO_old_popen): Likewise.
823 2015-05-21 Joseph Myers <joseph@codesourcery.com>
825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
826 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
828 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
829 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
831 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
832 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
838 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
839 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
841 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
842 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
843 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
845 2015-05-21 Florian Weimer <fweimer@redhat.com>
847 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
848 Adjust jump table label generation macros.
850 2015-05-21 Florian Weimer <fweimer@redhat.com>
852 * stdio-common/vfprintf.c (vfprintf): Move local variables
853 args_malloced, specs, specs_malloced, and the code after
854 do_positional to the printf_positional function.
855 (printf_positional): New function.
857 2015-05-21 Florian Weimer <fweimer@redhat.com>
859 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
861 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
862 STEP4_TABLE, process_arg): Move macro definitions
863 out of the vfprintf function. (Cosmetic change only.)
865 2015-05-21 Carlos O'Donell <carlos@redhat.com>
867 * benchtests/Makefile (stdio-common-bench): Define.
868 (benchset): Add stdio-common-bench.
869 * sprintf-inputs: New file.
870 * sprintf-source.c: New file.
872 2015-05-21 Andreas Schwab <schwab@suse.de>
876 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
877 of struct __res_state.
878 * resolv/res_send.c (__libc_res_nsend): Likewise.
879 (get_nsaddr): New function.
880 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
883 2015-05-20 Joseph Myers <joseph@codesourcery.com>
885 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
886 -D_POSIX_C_SOURCE=199506L.
888 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
890 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
891 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
892 Do not mention otherwise.
893 [POSIX] (_XOPEN_VERSION): Do not expect.
894 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
895 [POSIX] (_POSIX2_C_BIND): Likewise.
896 [POSIX] (_POSIX2_VERSION): Likewise.
897 [POSIX] (_XOPEN_XPG2): Likewise.
898 [POSIX] (_XOPEN_XPG3): Likewise.
899 [POSIX] (_XOPEN_XPG4): Likewise.
900 [POSIX] (_XOPEN_UNIX): Likewise.
901 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
902 [POSIX] (_POSIX_BARRIERS): Likewise.
903 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
904 [POSIX] (_POSIX_CPUTIME): Likewise.
905 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
906 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
907 [POSIX] (_POSIX_SHELL): Likewise.
908 [POSIX] (_POSIX_SPAWN): Likewise.
909 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
910 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
911 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
912 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
913 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
914 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
915 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
916 [POSIX] (_XBS5_LP64_OFF64): Likewise.
917 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
918 [POSIX] (_POSIX_TIMEOUTS): Likewise.
919 [POSIX] (_POSIX2_PBS): Likewise.
920 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
921 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
922 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
923 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
924 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
925 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
926 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
927 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
928 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
929 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
930 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
931 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
932 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
933 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
934 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
935 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
936 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
937 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
938 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
939 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
940 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
941 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
942 [POSIX] (_SC_2_C_BIND): Likewise.
943 [POSIX] (_SC_2_C_VERSION): Likewise.
944 [POSIX] (_SC_2_PBS): Likewise.
945 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
946 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
947 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
948 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
949 [POSIX] (_SC_2_PBS_TRACK): Likewise.
950 [POSIX] (_SC_ATEXIT_MAX): Likewise.
951 [POSIX] (_SC_BARRIERS): Likewise.
952 [POSIX] (_SC_BASE): Likewise.
953 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
954 [POSIX] (_SC_DEVICE_IO): Likewise.
955 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
956 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
957 [POSIX] (_SC_FD_MGMT): Likewise.
958 [POSIX] (_SC_FIFO): Likewise.
959 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
960 [POSIX] (_SC_FILE_LOCKING): Likewise.
961 [POSIX] (_SC_FILE_SYSTEM): Likewise.
962 [POSIX] (_SC_IOV_MAX): Likewise.
963 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
964 [POSIX] (_SC_NETWORKING): Likewise.
965 [POSIX] (_SC_PAGE_SIZE): Likewise.
966 [POSIX] (_SC_PASS_MAX): Likewise.
967 [POSIX] (_SC_PIPE): Likewise.
968 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
969 [POSIX] (_SC_REGEXP): Likewise.
970 [POSIX] (_SC_SHELL): Likewise.
971 [POSIX] (_SC_SIGNALS): Likewise.
972 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
973 [POSIX] (_SC_SPIN_LOCKS): Likewise.
974 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
975 [POSIX] (_SC_USER_GROUPS): Likewise.
976 [POSIX] (_SC_USER_GROUPS_R): Likewise.
977 [POSIX] (_SC_STREAMS): Likewise.
978 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
979 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
980 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
981 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
982 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
983 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
984 [POSIX] (_PC_FILESIZEBITS): Likewise.
985 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
986 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
987 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
988 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
989 [POSIX] (uid_t): Likewise.
990 [POSIX] (gid_t): Likewise.
991 [POSIX] (off_t): Likewise.
992 [POSIX] (pid_t): Likewise.
993 [POSIX] (cuserid): Allow.
994 (_SC_2_CHAR_TERM): Require constant.
995 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
996 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
999 2015-05-20 Roland McGrath <roland@hack.frob.com>
1001 * sysdeps/nacl/pthread-pids.h: New file.
1002 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1003 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1005 * nptl/pthread-pids.h: New file.
1006 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1007 * nptl/nptl-init.c: Include <pthread-pids.h>.
1008 (__pthread_initialize_minimal_internal):
1009 Call __pthread_initialize_pids instead of set_tid_address syscall.
1011 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1012 * sysdeps/posix/usleep.c: ... here.
1014 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1016 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1017 call_pselect6 object.
1018 [$(subdir) = io]: Remove call_sync_file_range object.
1019 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1020 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1021 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1022 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1024 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1026 * math/s_cproj.c: Add include "math_private.h".
1027 * math/s_cprojf.c: Likewise.
1028 * math/s_cprojl.c: Likewise.
1030 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1034 high mantissa bit when testing whether P is a NaN.
1035 * math/libm-test.inc (remainder_test_data): Add more tests.
1036 (remquo_test_data): Likewise.
1039 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1040 below -32, return the argument, with underflow if subnormal.
1041 * math/auto-libm-test-in: Add more tests of atanh.
1042 * math/auto-libm-test-out: Regenerated.
1044 2015-05-19 Roland McGrath <roland@hack.frob.com>
1047 * nptl/tst-sem15.c: New file.
1048 * nptl/Makefile (tests): Add it.
1049 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1050 s/<</>>/ to fix typo in EOVERFLOW check.
1051 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1053 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1055 * manual/strings.texi (envz_remove): Fix typo in safety
1058 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1059 Steve Ellcey <sellcey@imgtec.com>
1061 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1062 in order to avoid strict alias warnings.
1063 (iruserok_af): Ditto for ra.
1065 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1069 (magicbyte): Convert to a function and avoid returning 0x01.
1070 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1071 (mem2chunk_check): Fix unsigned comparisons to zero.
1072 Hoist defs of sz and magic.
1074 2015-05-19 Richard Henderson <rth@redhat.com>
1076 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1078 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1080 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1083 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1084 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1085 (reused_arena): Find a non-corrupt arena.
1086 (heap_trim): Pass arena to unlink.
1087 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1089 (top_check): Likewise.
1090 (free_check): Likewise.
1091 (realloc_check): Likewise.
1092 * malloc/malloc.c (malloc_printerr): Add arena argument.
1094 (munmap_chunk): Adjust.
1095 (ARENA_CORRUPTION_BIT): New macro.
1096 (arena_is_corrupt): Likewise.
1097 (set_arena_corrupt): Likewise.
1098 (sysmalloc): Use mmap if there are no usable arenas.
1099 (_int_malloc): Likewise.
1100 (__libc_malloc): Don't fail if arena_get returns NULL.
1101 (_mid_memalign): Likewise.
1102 (__libc_calloc): Likewise.
1103 (__libc_realloc): Adjust for additional argument to
1105 (_int_free): Likewise.
1106 (malloc_consolidate): Likewise.
1107 (_int_realloc): Likewise.
1108 (_int_memalign): Don't touch corrupt arenas.
1109 * malloc/tst-malloc-backtrace.c: New test case.
1111 * Makefile (summarize-tests): Fix return value on success.
1113 * manual/string.texi (Envz Functions): Add envz_remove.
1115 2015-05-18 Roland McGrath <roland@hack.frob.com>
1117 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1118 (invalid_name): New function, broken out of ...
1119 (__opendirat): ... here. Call it.
1120 (need_isdir_precheck): New function, broken out of ...
1121 (__opendirat): ... here. Call it.
1122 Use __fxstatat64, not __xstatat64.
1123 (opendir_oflags): New function, broken out of ...
1124 (__opendirat): ... here. Call it.
1125 (opendir_tail): New function, broken out of ...
1126 (__opendirat): ... here. Call it.
1127 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1128 opendir_tail, rather than punting to __opendirat.
1129 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1131 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1133 * .gitignore: Ignore generated *.pyc.
1135 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1137 * include/stdio.h: Define __need_wint_t.
1138 * test-skeleton.c: Avoid `for' loop initial declaration.
1139 * nptl/tst-initializers1.c: Use test-skeleton.c.
1141 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1144 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1146 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1150 (__ieee754_atanh): Force underflow exception for results with
1151 small absolute value.
1152 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1153 (__ieee754_atanhf): Force underflow exception for results with
1154 small absolute value.
1155 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1156 (__ieee754_atanh): Force underflow exception for results with
1157 small absolute value.
1158 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1159 (__ieee754_atanhf): Force underflow exception for results with
1160 small absolute value.
1161 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1162 (__ieee754_atanhl): Force underflow exception for results with
1163 small absolute value.
1164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1165 (__ieee754_atanhl): Force underflow exception for results with
1166 small absolute value.
1167 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1168 (__ieee754_atanhl): Force underflow exception for results with
1169 small absolute value.
1170 * math/auto-libm-test-in: Do not allow missing underflow
1171 exceptions from atanh.
1172 * math/auto-libm-test-out: Regenerated.
1175 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1176 2**-28 as threshold for returning x or +/- 1/x.
1177 * math/auto-libm-test-in: Add more tests of tan.
1178 * math/auto-libm-test-out: Regenerated.
1181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1182 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1183 * math/auto-libm-test-in: Add another test of lgamma.
1184 * math/auto-libm-test-out: Regenerated.
1186 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1188 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1189 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1190 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1191 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1192 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1193 (ADD2A): Use fabs. (SUB2A): Use fabs.
1194 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1197 (log1): Use fabs. (my_log2): Use fabs.
1198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1199 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1201 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1203 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1204 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1205 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1206 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1207 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1208 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1210 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1213 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1214 as threshold for returning 1 - x.
1215 * math/auto-libm-test-in: Add more tests of erfc.
1216 * math/auto-libm-test-out: Regenerated.
1218 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1221 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1222 threshold for large arguments.
1223 * math/auto-libm-test-in: Add another test of atan.
1224 * math/auto-libm-test-out: Regenerated.
1227 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1228 (__log1p): Force underflow exception for results with small
1230 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1231 (__log1pf): Force underflow exception for results with small
1233 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1234 (__log1p): Force underflow exception for results with small
1236 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1237 (__log1pf): Force underflow exception for results with small
1239 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1240 (__log1pl): Force underflow exception for results with small
1242 * math/auto-libm-test-in: Do not allow missing underflow
1243 exceptions from log1p.
1244 * math/auto-libm-test-out: Regenerated.
1246 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1247 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1250 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1252 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1254 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1255 (libmvec): New variable.
1256 * configure.ac: Added option for mathvec build.
1257 * configure: Regenerated.
1258 * mathvec/Depend: New file.
1259 * mathvec/Makefile: New file.
1260 * shlib-versions: Added libmvec.
1261 * math/Makefile: Added rule for libm.so installation.
1263 * bits/math-vector.h: New file.
1264 * bits/libm-simd-decl-stubs.h: New header.
1265 * math/Makefile (headers): Added new header
1266 libm-simd-decl-stubs.h.
1267 * math/math.h (__MATHCALL_VEC): New macro.
1269 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1270 for conditions in testing functions.
1271 * math/Makefile: Added call of libm-have-vector-test.sh.
1272 * math/libm-test.inc (HAVE_VECTOR): New macros.
1274 * math/libm-test.inc: START refactored.
1275 * math/test-double.c (TEST_MATHVEC): Add define.
1276 * math/test-float.c: Likewise.
1277 * math/test-idouble.c: Likewise.
1278 * math/test-ifloat.c: Likewise.
1279 * math/test-ildoubl.c: Likewise.
1280 * math/test-ldouble.c: Likewise.
1281 * sysdeps/generic/math-tests-arch.h
1282 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1285 * math/test-double.c (FUNC_TEST): New macro.
1286 * math/test-float.c: Likewise.
1287 * math/test-idouble.c: Likewise.
1288 * math/test-ifloat.c: Likewise.
1289 * math/test-ildoubl.c: Likewise.
1290 * math/test-ldouble.c: Likewise.
1291 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1293 2015-05-13 Roland McGrath <roland@hack.frob.com>
1295 * sysdeps/nacl/fdopendir.c: New file.
1297 * dirent/scandir-tail.c: New file.
1298 * dirent/scandir64-tail.c: New file.
1299 * dirent/Makefile (routines): Add them.
1300 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1301 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1302 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1303 [!SCANDIR] (SCANDIR_TAIL): New macro.
1304 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1305 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1306 (SCANDIRAT): Macro removed.
1307 (SCANDIR_TAIL): New macro.
1308 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1309 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1310 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1311 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1312 (READDIR): Macro removed.
1313 (SCANDIR_TAIL): New macro.
1314 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1315 (SCANDIR_TAIL): New macro.
1317 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1318 * dirent/scandir-cancel.c: ... to this new file.
1319 * dirent/Makefile (routines): Add it.
1320 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1321 * sysdeps/unix/sysv/linux/i386/scandir64.c
1322 (SKIP_SCANDIR_CANCEL): Macro removed.
1323 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1325 * dirent/tst-scandir.c: New file.
1326 * dirent/tst-scandir64.c: New file.
1327 * dirent/Makefile (tests): Add them.
1329 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1332 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1334 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1336 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1339 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1341 * benchtests/bench-strcoll.c: New benchmark.
1342 * benchtests/Makefile: Generate locales and run benchmark.
1343 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1344 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1345 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1346 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1347 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1348 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1349 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1350 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1351 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1352 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1353 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1354 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1355 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1356 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1357 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1358 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1359 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1360 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1361 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1362 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1363 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1364 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1365 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1366 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1368 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1370 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1371 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1373 2015-05-12 Roland McGrath <roland@hack.frob.com>
1375 * posix/uname-values.h: New file.
1376 * posix/uname.c: Include that instead of <config-name.h>.
1377 * sysdeps/nacl/uname-values.h: New file.
1378 * sysdeps/arm/nacl/uname-values.h: New file.
1380 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1382 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1383 splitting into fields.
1385 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1387 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1388 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1389 * locale/localeinfo.h: Add enum collation_encoding_type.
1390 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1391 * programs/ld-collate.c (collate_output): Add encoding type info.
1392 * string/strcoll_l.c (STRDIFF): New function.
1393 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1394 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1396 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1399 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1400 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1401 <fpu_control.h> instead of <math/fpu_control.c>.
1402 * sysdeps/mips/mips32/fpu/Makefile: New file.
1404 2015-05-11 Andreas Schwab <schwab@suse.de>
1407 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1409 (_nss_compat_endgrent): Call nss_endgrent.
1410 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1412 (_nss_compat_endpwent): Call nss_endpwent.
1413 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1414 needent, call nss_setspent only if non-zero.
1415 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1416 (internal_endspent): Don't call nss_endspent.
1417 (_nss_compat_endspent): Call nss_endspent.
1418 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1419 Remove. All uses removed.
1420 (internal_setent): Remove parameter stayopen, add parameter
1421 stream. Use it instead of global variable.
1422 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1423 (internal_endent, internal_getent): Add parameter stream. Use it
1424 instead of global variable.
1425 (CONCAT(_nss_files_end,ENTNAME))
1426 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1427 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1428 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1430 (internal_setent, internal_endent): Add parameter stream. Use it
1431 instead of global variable.
1432 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1434 (get_next_alias): Add parameter stream.
1435 (_nss_files_getaliasent_r): Pass global stream.
1436 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1437 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1438 (_nss_files_gethostbyname4_r): Pass local stream to
1439 internal_setent, internal_getent and internal_endent. Remove
1442 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1444 * tst-strfmon1.c (tests): Update expected currency symbol.
1446 2015-05-08 Roland McGrath <roland@hack.frob.com>
1448 * sysdeps/nacl/gethostname.c: New file.
1450 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1452 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1454 * math/auto-libm-test-out: Regenerated.
1455 * sysdeps/i386/fpu/libm-test-ulps: Update.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1458 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1461 * stdlib/tst-setcontext3.c: New file.
1462 * stdlib/tst-setcontext3.sh: New file.
1463 * stdlib/Makefile (tests): Add tst-setcontext3.
1464 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1465 to verify test program created output file.
1466 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1467 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1468 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1469 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1471 2015-05-06 Roland McGrath <roland@hack.frob.com>
1474 * elf/tst-tlsalign.c: New file.
1475 * elf/tst-tlsalign-static.c: New file.
1476 * elf/tst-tlsalign-lib.c: New file.
1477 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1478 (tests-static): Add tst-tlsalign-static.
1479 (modules-names): Add tst-tlsalign-lib.
1480 (test-xfail-tst-tlsalign): New variable.
1481 (test-xfail-tst-tlsalign-static): New variable.
1483 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1484 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1486 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1488 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1489 csqrt, erfc, sin and sincos.
1490 * math/auto-libm-test-out: Regenerated.
1491 * sysdeps/i386/fpu/libm-test-ulps: Update.
1492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1494 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1496 * sysdeps/aarch64/libm-test-ulps: Update.
1498 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1500 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1501 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1502 * math/auto-libm-test-out: Regenerated.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1506 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1509 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1510 (wcsncpy): Likewise.
1512 2015-05-05 Florian Weimer <fweimer@redhat.com>
1514 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1515 Assume __ASSUME_FALLOCATE is always true.
1516 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1517 (__posix_fallocate64_l64): Likweise.
1518 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1519 (posix_fallocate): Likewise.
1520 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1521 (__posix_fallocate64_l64): Likewise.
1522 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1523 [!__ASSUME_FALLOCATE]: Add comment.
1525 2015-05-05 Florian Weimer <fweimer@redhat.com>
1527 * sysdeps/unix/sysv/linux/i386/Makefile
1528 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1529 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1530 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1531 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1532 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1533 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1534 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1536 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1538 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1539 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1541 * math/auto-libm-test-out: Regenerated.
1542 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1547 * math/auto-libm-test-in: Add more tests of tgamma.
1548 * math/auto-libm-test-out: Regenerated.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552 * math/auto-libm-test-in: Add more tests of tanh.
1553 * math/auto-libm-test-out: Regenerated.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1557 * math/auto-libm-test-in: Add more tests of tan.
1558 * math/auto-libm-test-out: Regenerated.
1559 * sysdeps/i386/fpu/libm-test-ulps: Update.
1560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1562 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1563 * math/auto-libm-test-out: Regenerated.
1564 * sysdeps/i386/fpu/libm-test-ulps: Update.
1565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1567 * math/auto-libm-test-in: Add another test of pow.
1568 * math/auto-libm-test-out: Regenerated.
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1571 * math/auto-libm-test-in: Add more tests of lgamma.
1572 * math/auto-libm-test-out: Regenerated.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1576 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1578 * math/auto-libm-test-out: Regenerated.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582 2015-05-01 Mark Wielaard <mjw@redhat.com>
1584 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1585 Elf64_Chdr structs and ELFCOMPRESS constants.
1587 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1589 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1591 * math/auto-libm-test-out: Regenerated.
1592 * sysdeps/i386/fpu/libm-test-ulps: Update.
1593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1595 * math/auto-libm-test-in: Add more tests of erf and erfc.
1596 * math/auto-libm-test-out: Regenerated.
1597 * sysdeps/i386/fpu/libm-test-ulps: Update.
1598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1600 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1602 * config.h.in (HAVE_AARCH64_BE): Add.
1604 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1606 * math/auto-libm-test-in: Add more tests of csqrt.
1607 * math/auto-libm-test-out: Regenerated.
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1611 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1612 * math/auto-libm-test-out: Regenerated.
1613 * sysdeps/i386/fpu/libm-test-ulps: Update.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1616 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1618 2015-04-29 Roland McGrath <roland@hack.frob.com>
1620 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1621 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1623 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1624 (euidaccess, eaccess): Define as weak aliases.
1626 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1627 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1628 but __suseconds_t is often 'long int' so some sources assume that
1629 type is being used (e.g. they use %ld to print tv_usec).
1631 2015-04-29 Florian Weimer <fweimer@redhat.com>
1634 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1636 * nss/tst-nss-getpwent.c: New file.
1637 * nss/Makefile (tests): Add new test.
1639 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1642 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1643 exponents less than 48 as cases where high part of mantissa needs
1644 examining to determine whether argument is integral.
1645 * math/libm-test.inc (round_test_data): Add more tests.
1647 2015-04-28 Mark Wielaard <mjw@redhat.com>
1649 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1651 2015-04-27 David S. Miller <davem@davemloft.net>
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1657 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1660 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1662 2015-04-27 Florian Weimer <fweimer@redhat.com>
1665 * time/tzset.c (parse_tzname): Return error on memory allocation
1667 * test-skeleton.c (struct temp_name_list): Change type of name
1668 member to non-const.
1669 (add_temp_file): Create a copy of the file name.
1670 (delete_temp_files): Deallocate memory.
1671 (create_temp_file): Add comment.
1673 2015-04-24 Florian Weimer <fweimer@redhat.com>
1675 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1676 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1678 2015-04-24 Roland McGrath <roland@hack.frob.com>
1680 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1681 * sysdeps/arm/configure: Regenerated.
1683 2015-04-24 Florian Weimer <fweimer@redhat.com>
1686 * time/tzfile.c (__tzfile_read): Check for large values of
1687 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1688 * time/tzset.c (__tzstring_len): New function, based on the old
1689 __tzstring function.
1690 (__tzstring): Call __tzstring_len.
1691 (parse_tzname): New helper function extracted from
1692 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1694 (parse_offset): New helper function extracted from
1695 __tzset_parse_tz. Replace switch with fallthrough with
1696 initialization before sscanf.
1697 (parse_rule): Likewise.
1698 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1699 new-style function definition.
1700 * timezone/Makefile (tests): Add tst-tzset.
1701 (tst-tzset.out): Dependencies on time zone files.
1702 (tst-tzset-ENV): Set TZDIR.
1703 (testdata/XT%): Copy crafted time zone files.
1704 * timezone/README: Mention crafted time zone files.
1705 * timezone/testdata/XT1, timezone/testdata/XT2,
1706 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1708 * timezone/tst-tzset.c: New test.
1710 2015-04-24 Florian Weimer <fweimer@redhat.com>
1712 * Makeconfig (+gccwarn): Remove -Winline.
1714 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1716 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1718 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1720 * NEWS: Mention sysconf() cache information support for s390.
1721 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1723 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1725 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1727 (__nearbyint): Likewise.
1728 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1729 (copysignl): Likewise.
1731 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1734 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1735 based on padding. (CVE-2015-1781)
1737 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1739 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1741 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1743 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1744 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1745 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1746 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1752 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1753 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1754 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1755 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1756 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1757 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1759 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1760 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1761 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1762 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1763 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1765 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1767 * stdlib/setenv.c (__add_to_environ):
1768 Dump core quickly if setenv (..., NULL, ...) is called.
1769 This time, do it the right way, and pacify GCC with a pragma.
1771 2015-04-17 Roland McGrath <roland@hack.frob.com>
1773 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1774 IMAP->l_prev cannot be null, and #if out the code for the contrary
1775 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1776 believe that NS (&_dl_ns[NSID]) could point outside the array.
1778 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1779 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1780 before using NSID as an index.
1782 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1785 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1786 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1787 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1789 2015-04-17 Roland McGrath <roland@hack.frob.com>
1791 Add preliminary port to Google Native Client on ARM.
1792 * abi-tags (.*-.*-nacl.*): New entry.
1793 * sysdeps/arm/nacl: New directory.
1794 * sysdeps/nacl: New directory.
1796 2015-04-16 David S. Miller <davem@davemloft.net>
1798 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1799 lowlevellock-futex.h
1801 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1803 * sysdeps/tile/configure.ac: New file.
1804 * sysdeps/tile/configure: Regenerated.
1806 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1808 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1809 conditionals for weak_alias and libc_hidden_weak.
1810 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1811 libc_hidden_weak and weak_alias.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1813 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1814 and weak_alias for static one.
1816 2015-04-15 David S. Miller <davem@davemloft.net>
1818 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1820 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1823 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1824 Use signed comparision instead of substraction to avoid
1826 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1827 Take the sign of ret.
1828 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1829 Do not expect precise return values. Only the sign matters.
1830 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1831 * wcsmbs/test-wcsncmp.c: New File.
1832 * string/test-strncmp.c: Add wcsncmp support.
1834 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1837 * math/w_log1p.c: New file.
1838 * math/w_log1pf.c: Likewise.
1839 * math/w_log1pl.c: Likewise.
1840 * math/Makefile (libm-calls): Add w_log1p.
1841 * math/s_log1pl.c (log1pl): Remove weak_alias.
1842 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1843 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1844 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1845 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1846 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1847 [NO_LONG_DOUBLE] (log1pl): Likewise.
1848 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1850 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1851 (log1p): Remove long_double_symbol.
1852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1853 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1854 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1855 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1856 remove weak_alias for corresponding log1p function.
1857 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1858 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1859 * sysdeps/ia64/fpu/w_log1p.c: New file.
1860 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1861 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1862 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1864 2015-04-10 Joseph Myers <joseph@codesourcery.com>
1867 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1868 decimal exponent by 1.
1869 * stdlib/tst-strtod-round-data: Add more tests.
1870 * stdlib/tst-strtod-round.c (tests): Regenerated.
1872 2015-04-09 Joseph Myers <joseph@codesourcery.com>
1874 * math/auto-libm-test-in: Add more tests of clog and clog10.
1875 * math/auto-libm-test-out: Regenerated.
1876 * sysdeps/i386/fpu/libm-test-ulps: Update.
1877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1879 2015-04-09 Roland McGrath <roland@hack.frob.com>
1881 * Makeconfig (module-cppflags): Exclude all .v.i files.
1882 (skip-module-cppflags): Variable removed.
1884 * configure.ac (libc_config_ok): Initialize before reading
1885 preconfigure scripts, not after.
1886 * configure: Regenerated.
1888 * test-skeleton.c (TIMEOUT): Move #define to top level.
1889 (main): Grok environment variable TEST_DIRECT. If set, print
1890 test expectation details into that file and then behave as if
1893 2015-04-09 Florian Weimer <fweimer@redhat.com>
1895 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1898 2015-04-08 David S. Miller <davem@davemloft.net>
1900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1902 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1904 * math/auto-libm-test-in: Add more tests of atanh.
1905 * math/auto-libm-test-out: Regenerated.
1906 * sysdeps/i386/fpu/libm-test-ulps: Update.
1907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1909 * math/auto-libm-test-in: Add more tests of atan.
1910 * math/auto-libm-test-out: Regenerated.
1911 * sysdeps/i386/fpu/libm-test-ulps: Update.
1912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1914 2015-04-08 Florian Weimer <fweimer@redhat.com>
1916 * elf/pldd.c (main): Rewrite to use struct
1917 scratch_buffer instead of extend_alloca.
1918 * elf/pldd-xx.c (find_maps): Likewise.
1919 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1921 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1922 scratch_buffer instead of extend_alloca.
1923 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1924 grp/compat-initgroups.c.
1925 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1926 Rewrite to use struct scratch_buffer instead of extend_alloca.
1927 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1928 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1930 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1932 * math/auto-libm-test-in: Add more tests of cbrt.
1933 * math/auto-libm-test-out: Regenerated.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1936 * math/auto-libm-test-in: Add more tests of cabs.
1937 * math/auto-libm-test-out: Regenerated.
1938 * sysdeps/i386/fpu/libm-test-ulps: Update.
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1943 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1944 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1946 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1948 * math/auto-libm-test-out: Regenerated.
1949 * sysdeps/i386/fpu/libm-test-ulps: Update.
1950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1953 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1954 (atan): Set FE_TONEAREST mode for internal computations.
1955 * math/auto-libm-test-in: Add more tests of atan.
1956 * math/auto-libm-test-out: Regenerated.
1958 2015-04-07 James Cowgill <james410@cowgill.org.uk>
1961 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1963 2015-04-07 Florian Weimer <fweimer@redhat.com>
1965 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1967 2015-04-07 Florian Weimer <fweimer@redhat.com>
1969 * include/scratch_buffer.h: New file.
1970 * malloc/scratch_buffer_grow.c: Likewise.
1971 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1972 * malloc/scratch_buffer_set_array_size.c: Likewise.
1973 * malloc/tst-scratch_buffer.c: Likewise.
1974 * malloc/Makefile (routines): Add scratch_buffer_grow.
1975 (tests): Add test case.
1976 * malloc/Versions (GLIBC_PRIVATE): Export
1977 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1978 __libc_scratch_buffer_set_array_size.
1980 2015-04-06 Richard Henderson <rth@redhat.com>
1982 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1983 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1985 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1986 unsigned int before printing.
1988 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1991 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1992 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1994 2015-04-02 Florian Weimer <fweimer@redhat.com>
1996 * include/libc-internal.h (libc_max_align_t): Define.
1998 2015-04-02 Andreas Schwab <schwab@suse.de>
2001 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2003 2015-04-02 Mel Gorman <mgorman@suse.de>
2006 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2007 as well as the main arena.
2009 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2012 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2013 sharing L2 cache to 2 for Silvermont/Knights Landing.
2015 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2018 * config.make.in (have-protected-data): New.
2019 * configure.ac: Check linker support for protected data symbol.
2020 * configure: Regenerated.
2021 * elf/Makefile (modules-names): Add tst-protected1moda and
2022 tst-protected1modb if $(have-protected-data) is yes.
2023 (tests): Add tst-protected1a and tst-protected1b if
2024 $(have-protected-data) is yes.
2025 ($(objpfx)tst-protected1a): New.
2026 ($(objpfx)tst-protected1b): Likewise.
2027 (tst-protected1modb.so-no-z-defs): Likewise.
2028 * elf/tst-protected1a.c: New file.
2029 * elf/tst-protected1b.c: Likewise.
2030 * elf/tst-protected1mod.h: Likewise.
2031 * elf/tst-protected1moda.c: Likewise.
2032 * elf/tst-protected1modb.c: Likewise.
2034 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2037 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2038 indicates it is called from do_lookup_x on relocation against
2039 protected data, skip the data definion in the executable from
2041 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2042 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2043 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2044 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2045 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2047 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2048 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2049 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2050 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2051 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2052 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2054 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2056 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2057 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2059 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2061 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2063 * sysdeps/x86_64/nptl/tls.h: Ditto.
2065 2015-03-27 Roland McGrath <roland@hack.frob.com>
2067 * dlfcn/tststatic.c (main): Converted to ...
2068 (do_test): ... this.
2069 (TEST_FUNCTION): New macro.
2070 Include test-skeleton.c.
2072 2015-03-26 Alan Modra <amodra@gmail.com>
2074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2075 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2076 zero for undefined weak.
2077 (elf_machine_plt_conflict): Similarly.
2079 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2081 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2083 * math/auto-libm-test-out: Regenerated.
2084 * sysdeps/i386/fpu/libm-test-ulps: Update.
2085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2087 * math/auto-libm-test-in: Add another test of asin.
2088 * math/auto-libm-test-out: Regenerated.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2094 (LLL_EBX_REG): Likewise.
2095 (LLL_ENTER_KERNEL): Likewise.
2097 * math/auto-libm-test-in: Add more tests of asin.
2098 * math/auto-libm-test-out: Regenerated.
2099 * sysdeps/i386/fpu/libm-test-ulps: Update.
2100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2104 libc_do_syscall_args): New structure.
2105 (INTERNAL_SYSCALL_MAIN_0): New macro.
2106 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2107 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2108 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2109 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2110 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2111 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2112 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2113 Replace conditional definitions by conditional definitions of ....
2114 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2115 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2116 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2117 (libpthread-sysdep_routines): Add libc-do-syscall.
2118 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2120 to __NR_futex not 240.
2122 2015-03-25 Alan Modra <amodra@gmail.com>
2124 * NEWS: Advertise TLS optimization.
2125 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2126 (DT_PPC_NUM): Increment.
2127 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2128 (CHECK_STATIC_TLS): Use here.
2129 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2132 * sysdeps/powerpc/dl-tls.c: New file.
2133 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2134 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2135 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2136 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2141 2015-03-25 Alan Modra <amodra@gmail.com>
2143 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2144 for overlapping .opd entries" to "support...".
2145 * sysdeps/powerpc/powerpc64/configure: Regenerate
2147 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2149 * math/auto-libm-test-in: Add more tests of acos.
2150 * math/auto-libm-test-out: Regenerated.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2154 * math/auto-libm-test-in: Add more tests of expm1.
2155 * math/auto-libm-test-out: Regenerated.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2161 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2162 * math/auto-libm-test-out: Regenerated.
2163 * sysdeps/i386/fpu/libm-test-ulps: Update.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2169 * math/auto-libm-test-in: Add more tests of log2.
2170 * math/auto-libm-test-out: Regenerated.
2171 * sysdeps/i386/fpu/libm-test-ulps: Update.
2172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174 2015-03-23 Roland McGrath <roland@hack.frob.com>
2176 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2177 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2178 _IO_IS_APPENDING bit in READ_WRITE instead.
2180 2015-03-23 Florian Weimer <fweimer@redhat.com>
2182 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2183 (__determine_cpumask_size): Replace extend_alloca with a
2184 variable-length array. Do not treat res == 0 as an error.
2186 2015-03-23 Florian Weimer <fweimer@redhat.com>
2189 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2190 and integer overflow.
2191 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2192 (main): Add integer overflow tests.
2193 * manual/pattern.texi (Calling Wordexp): Document additional use
2196 2015-03-23 Alan Modra <amodra@gmail.com>
2198 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2199 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2200 and false branch of conditional.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2204 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2206 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2208 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2209 unused declaration of _hurd_intr_rpc_msg_in_trap.
2210 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2211 defined instead of whether it is non-zero.
2212 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2213 input constraint instead of both input and output constraint. Use ecx
2214 clobber instead of %ecx.
2215 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2216 mutex_unlock): Use a statement expression instead of an expression list.
2217 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2218 type to vm_size_t instead of vm_address_t.
2219 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2220 defined instead of whether it is non-zero.
2221 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2222 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2223 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2224 comparisons with mapaddr.
2225 * nscd/nscd-client.h: Include <time.h>.
2226 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2227 9th parameter to __vm_region instead of int.
2228 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2229 * scripts/check-local-headers.sh (exclude): Add device/,
2230 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2233 2015-03-19 Roland McGrath <roland@hack.frob.com>
2235 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2236 to account for alignment padding.
2237 * sysdeps/arm/memmove.S: Likewise.
2239 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2241 * sysdeps/unix/sysv/linux/generic/README: New file.
2243 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2246 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2247 (futex_abstimed_wait)
2248 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2249 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2250 of lll_futex_timed_wait.
2252 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2255 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2257 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2264 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2265 entries with Static TLS too. Skip entries past the end of the
2266 allocated DTV, from Alan Modra.
2267 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2268 Static TLS DTV entry set up from...
2269 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2270 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2271 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2272 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2274 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2275 that the slot we find is associated with the given map before
2276 using its generation count.
2277 * nptl_db/db_info.c: Include ldsodefs.h.
2278 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2279 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2280 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2281 (link_map::l_tls_offset): New struct field.
2282 (dtv_t::counter): Likewise.
2283 (rtld_global): New struct.
2284 (_rtld_global): New rtld variable.
2285 (dl_tls_dtv_slotinfo_list): New rtld global field.
2286 (dtv_slotinfo_list): New struct.
2287 (dtv_slotinfo): Likewise.
2288 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2289 (td_lookup): Rename to...
2290 (td_mod_lookup): ... this. Use new mod parameter instead of
2292 * nptl_db/td_thr_tlsbase.c: Include link.h.
2293 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2294 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2295 addresses even if the DTV is out of date or missing them.
2296 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2297 index zero-length arrays.
2298 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2299 (td_lookup): Make it a macro implemented in terms of...
2300 (td_mod_lookup): ... this declaration.
2301 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2302 (DB_MAIN_VARIABLE): Likewise.
2304 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2307 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2309 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2311 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2313 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2316 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2317 (atomic_add, atomic_increment_and_test)
2318 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2320 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2322 * stdlib/setenv.c (__add_to_environ):
2323 Dump core quickly if setenv (..., NULL, ...) is called.
2325 2015-03-13 Roland McGrath <roland@hack.frob.com>
2327 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2328 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2329 all the necessary asm magic in one place.
2330 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2333 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2336 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2337 traced file mtime. Use consistent log message.
2338 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2339 (register_traced_file): Call install_watches. Always set mtime.
2340 (invalidate_cache): Iterate over all trace files. Call install_watches.
2341 (inotify_check_files): Don't inline. Handle watching parent
2342 directories and configuration file movement in and out.
2343 (handle_inotify_events): New function.
2344 (main_loop_poll): Call handle_inotify_events.
2345 (main_loop_epoll): Likewise.
2346 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2347 (struct traced_file): Use array of inotify fds. Add parent directory,
2349 (struct database_dyn): Remove unused file_mtime.
2350 (init_traced_file): New inline function.
2351 (define_traced_file): New macro.
2352 * nss/nss_db/db-init.c: Use define_traced_file.
2353 (_nss_db_init): Use init_traced_file.
2354 * nss/nss_files/files-init.c: Use define_traced_file.
2355 (_nss_files_init): Use init_traced_file.
2357 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2359 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2360 [_LIBC]: Do not include <stdlib.h>.
2361 [!_LIBC] (abort): Remove declaration.
2362 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2363 _FP_STATIC_ASSERT instead of conditionally calling abort.
2364 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2365 (_FP_EXTEND_CNAN): Likewise.
2366 (FP_TRUNC): Likewise.
2367 (__FP_CLZ): Likewise.
2368 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2370 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2372 * manual/string.texi (XPG basename): Fix prototype.
2374 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2378 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2380 (__setcontext): Likewise.
2381 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2382 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2383 Call rt_sigprocmask syscall one time to set new signal mask
2384 and retrieve the current signal mask instead of two calls.
2385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2386 (__swapcontext): Likewise.
2387 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2388 * stdlib/tst-setcontext2.c: New file.
2390 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2392 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2394 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2397 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2400 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2403 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2405 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2407 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2408 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2410 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2411 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2412 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2413 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2414 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2415 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2417 * nptl_db/td_symbol_list.c (td_lookup): Remove
2418 HAVE_ASM_GLOBAL_DOT_NAME code.
2419 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2420 HAVE_ASM_GLOBAL_DOT_NAME check.
2421 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2422 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2423 (DOT_LABEL): Remove define.
2424 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2425 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2426 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2427 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2428 (__TLS_GET_ADDR): Likewise.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2430 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2432 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2435 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2436 (_FPU_SETCW): Initialize cw from fpsr before storing.
2437 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2438 (fesetexceptflag): Rewrite using fpu_control.h.
2439 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2441 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2444 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2446 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2448 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2450 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2451 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2453 (_FP_FMA): Likewise.
2454 (_FP_DIV): Likewise.
2456 2015-03-10 Roland McGrath <roland@hack.frob.com>
2458 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2459 with 0 in that case.
2460 * Makefile (summarize-tests): New canned sequence, factored out of
2461 commands for targets tests and xtests. Display summary lines that
2462 don't start with PASS: or XFAIL: rather than ones that do start with
2463 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2464 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2465 do start with ERROR: or FAIL:.
2466 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2467 (except for [$(build-shared) = yes]).
2468 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2469 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2470 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2471 * nptl/Makefile: Revert 2015-03-04 changes.
2472 [$(CXX) empty] (tests-unsupported): New variable.
2473 * debug/Makefile: Likewise.
2475 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2476 gnulib file. Replace __attribute with __attribute__ throughout.
2478 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2480 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2482 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2485 * math/auto-libm-test-in: Add another test of pow.
2486 * math/auto-libm-test-out: Regenerated.
2488 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2491 $(config-cflags-nofma).
2493 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2495 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2496 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2497 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2498 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2499 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2500 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2501 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2502 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2503 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2504 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2505 Add comment on closing #endif.
2507 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2509 * posix/wordexp.c (CHAR_IN_SET): New macro.
2510 (parse_param): Use it.
2512 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2516 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2519 * posix/wordexp.c (parse_param): Fix buffer overflow.
2520 * posix/wordexp-test.c (test_case): Add test case.
2522 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2525 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2526 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2528 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2531 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2532 (do_bz18043): Delete.
2534 (testit): Refactor to have words at the edge of unreadable page.
2536 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2539 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2540 Cleanup read-only streams as well.
2541 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2543 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2548 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2550 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2552 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2553 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2554 * soft-fp/op-common.h (_FP_DECL): Likewise.
2556 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2558 * elf/ifuncdep2.c (global): Replace
2559 __attribute__((visibility("protected"))) with
2560 asm (".protected global").
2561 * elf/ifuncmod1.c (global): Likewise.
2562 * elf/ifuncmod5.c (global): Likewise.
2564 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2566 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2567 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2569 2015-03-06 Roland McGrath <roland@hack.frob.com>
2571 * manual/install.texi (Configuring and compiling):
2572 Document test-wrapper-env-only.
2573 * INSTALL: Regenerated.
2575 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2578 * posix/wordexp.c (parse_param): Fix buffer overflow.
2579 * posix/wordexp-test.c (do_bz18043): Add test case.
2581 2015-03-06 Vincent Bernat <vincent@bernat.im>
2583 * time/tst-strptime2.c (do_test): Ensure failing tests are
2585 * time/tst-strptime3.c (do_test): Likewise.
2587 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2589 Fix aio_error thread-safety.
2590 * sysdeps/pthread/aio_error.c: New file
2591 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2594 2015-03-06 Florian Weimer <fweimer@redhat.com>
2596 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2597 (group_number, vfprintf): Use it.
2598 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2599 (JUMP, REF): Use it.
2600 (WORK_BUFFER_SIZE): New enum constant.
2601 (process_arg, vfprintf): Use it.
2603 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2605 * manual/errno.texi (Error Messages): Complete example function
2606 by adding missing #define.
2607 (program_invocation_name): Add statement indicating GNU
2608 extension and reference which header file declares the variable.
2609 (program_invocation_short_name): Likewise.
2611 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2613 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2616 2015-03-05 Roland McGrath <roland@hack.frob.com>
2618 * Makeconfig (test-wrapper-env-only): New variable.
2619 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2620 then use that with $(test-wrapper-env-only) rather than using
2621 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2623 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2626 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2627 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2628 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2629 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2630 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2631 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2632 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2633 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2635 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2636 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2644 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2649 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2650 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2652 2015-03-04 Roland McGrath <roland@hack.frob.com>
2654 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2655 (ETH_ALEN): New macro.
2656 (struct ether_addr): Use it for length of ether_addr_octet.
2658 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2659 (setdb): Don't call __nss_configure_lookup for "rpc".
2660 (do_test): Don't call test_rpc.
2661 (output_rpcent, test_rpc): Functions moved ...
2662 * sunrpc/test-rpcent.c: ... to this new file.
2663 * sunrpc/Makefile (tests): Add it.
2665 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2667 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2668 * nptl/tst-signal6.c: Likewise.
2669 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2670 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2672 * configure.ac (libc_cv_cxx_link_ok): New check.
2673 Reset CXX to empty if it fails to link.
2674 * configure: Regenerated.
2675 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2676 bug-atexit3-lib only if $(CXX) is nonempty.
2677 * nptl/Makefile (tests): Likewise for tst-cancel24.
2678 (tests, tests-static): Likewise for tst-cancel24-static.
2679 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2680 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2681 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2682 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2684 2015-03-04 Andreas Schwab <schwab@suse.de>
2687 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2688 for non-GCC compilers.
2689 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2692 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2695 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2696 integer before bitwise and assembly operations.
2697 (feclearexcept): Likewise.
2698 * math/test-fenvinline.c: New file.
2699 * math/Makefile: Add test-fenvinline test.
2701 2015-03-03 Alan Modra <amodra@gmail.com>
2704 * scripts/localplt.awk: Strip off symbol version.
2705 * NEWS: Mention bug fix.
2707 2015-03-02 Roland McGrath <roland@hack.frob.com>
2709 * sysdeps/pthread/timer_routines.c
2710 (timer_free_list, thread_free_list, thread_active_list): Make static.
2712 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2715 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2716 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2718 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2719 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2721 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2722 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2725 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2728 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2729 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2731 2015-03-02 Andreas Schwab <schwab@suse.de>
2733 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2736 2015-03-02 Florian Weimer <fweimer@redhat.com>
2738 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2739 Return error status.
2741 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2744 * locale/findlocale.c (_nl_find_locale): Introduce const
2745 version of loc_name and drop unsafe type casts.
2747 2015-02-27 Roland McGrath <roland@hack.frob.com>
2749 * dlfcn/tststatic2.c (main): Converted to ...
2750 (do_test): ... this.
2751 (TEST_FUNCTION): New macro.
2752 Include test-skeleton.c.
2754 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2757 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2758 (tests-pie): Add vismain.
2759 (CFLAGS-vismain.c): New.
2760 * elf/vismain.c: Add comments for PIE requirement.
2762 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2767 0x1p-56L as threshold for just returning the argument.
2768 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2769 0x1p-32L as threshold for just returning the argument.
2770 * math/auto-libm-test-in: Add more tests of atanh.
2771 * math/auto-libm-test-out: Regenerated.
2772 * sysdeps/i386/fpu/libm-test-ulps: Update.
2773 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2775 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2777 * string/bcopy.c (bcopy): Call memmove for performance.
2779 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2781 * string/bzero.c (__bzero): Call memset for performance.
2783 2015-02-27 John David Anglin <dave.anglin@bell.net>
2786 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2789 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2791 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2793 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2795 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2796 (__kernel_standard): Use CSTR macro when setting exc.name.
2797 * sysdeps/ieee754/Makefile [$(subdir) = math]
2798 (CFLAGS-k_standard.c): Remove variable.
2800 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2801 setting p and q from "else if" to "else".
2803 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2805 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2807 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2809 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2811 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2816 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2817 return pi/2 for arguments below 0x1p-113L.
2818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2819 return pi/2 for arguments below 0x1p-106L.
2820 * math/auto-libm-test-in: Add more tests of acos.
2821 * math/auto-libm-test-out: Regenerated.
2824 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2826 (__ieee754_asin): Force underflow exception for results with small
2828 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2830 (__ieee754_asinf): Force underflow exception for results with
2831 small absolute value.
2832 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2833 (__ieee754_asin): Force underflow exception for results with small
2835 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2836 (__ieee754_asinf): Force underflow exception for results with
2837 small absolute value.
2838 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2839 (__ieee754_asinl): Force underflow exception for results with
2840 small absolute value.
2841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2842 (__ieee754_asinl): Force underflow exception for results with
2843 small absolute value.
2844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2845 (__ieee754_asinl): Force underflow exception for results with
2846 small absolute value.
2847 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2849 * math/auto-libm-test-in: Do not mark underflow exceptions as
2850 possibly missing for bug 16351.
2851 * math/auto-libm-test-out: Regenerated.
2854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2855 of power of 2 down when low part has opposite sign.
2856 * math/libm-test.inc (logb_test_data): Add more tests.
2858 2015-02-26 Andreas Schwab <schwab@suse.de>
2861 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2862 over collating symbol inside a bracket expression. Minor cleanup.
2863 * posix/tst-fnmatch3.c (do_test): Add test case.
2865 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2868 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2869 Adjust exponent of power of 2 down when low part has opposite
2871 * math/libm-test.inc (ilogb_test_data): Add more tests.
2873 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
2876 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2877 the previous change.
2880 * locale/findlocale.c (_nl_find_locale): Retry archive search
2881 after alias expansion.
2883 2015-02-25 Roland McGrath <roland@hack.frob.com>
2885 * iconv/tst-iconv3.c (main): Converted to ...
2886 (do_test): ... this.
2887 (TEST_FUNCTION): New macro.
2888 Include test-skeleton.c.
2890 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2891 (convert): Make function static.
2892 (test_unalign): Likewise. Add const to argument pointee types.
2893 (main): Replace with static function do_test.
2894 Print "Succeeded." only if RET is zero.
2895 (TEST_FUNCTION): New macro.
2896 Include test-skeleton.c.
2898 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2899 returns a null pointer.
2901 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2904 to __memcpy_ppc only for static builds.
2906 2015-02-25 Joseph Myers <joseph@codesourcery.com>
2909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2910 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2911 * math/auto-libm-test-in: Add more tests of asinh.
2912 * math/auto-libm-test-out: Regenerated.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2916 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2919 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2920 and ip6_mtuinfo definitions here.
2921 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2922 in this define too. Update comment.
2924 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
2926 * elf/sprof.c (load_shobj): Tweak error message to match others.
2928 2015-02-24 Kevin Easton <kevin@guarana.org>
2930 [BZ #16145] (partial fix)
2931 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2932 to reduce lock contention.
2934 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2936 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2937 (struct timex): Update time comment.
2938 (ADJ_SETOFFSET): Define.
2940 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2944 2**56 not 2**28 as threshold for log (2x) formula.
2945 * math/auto-libm-test-in: Add more tests of acosh.
2946 * math/auto-libm-test-out: Regenerated.
2947 * sysdeps/i386/fpu/libm-test-ulps: Update.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2952 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2953 parenthesis around the buf assignment.
2954 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2956 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2959 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2960 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2961 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2962 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2963 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2964 * math/libm-test.inc (scalb_test_data): Add more tests.
2966 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2969 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2970 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2972 2015-02-24 Eric Rannaud <e@nanocritical.com>
2975 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2976 * io/bits/fcntl2.h (open): Use it.
2978 * io/open.c (__libc_open): Likewise.
2979 * io/open64.c (__libc_open64): Likewise.
2980 * io/open64_2.c (__open64_2): Likewise.
2981 * io/open_2.c (__open_2): Likewise.
2982 * io/openat.c (__openat): Likewise.
2983 * io/openat64.c (__openat64): Likewise.
2984 * io/openat64_2.c (__openat64_2): Likewise.
2985 * io/openat_2.c (__openat_2): Likewise.
2986 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2987 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2988 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2989 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2990 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2991 (__open_nocancel): Likewise.
2992 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2993 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2994 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2996 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2999 * resolv/gethnamaddr.c (getanswer): Skip logging if
3000 RES_USE_DNSSEC is set.
3001 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3003 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3005 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3007 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3009 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3010 201304L, for Unicode 7.
3012 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3015 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3016 shared library. Add gmon-start.os otherwise.
3017 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3018 $(objpfx)gmon-start.os if builing shared library.
3019 ($(objpfx)g$(static-start-installed-name)): Likewise.
3021 2015-02-23 Andreas Schwab <schwab@suse.de>
3023 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3025 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3028 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3029 (enlarge_userbuf): Likewise.
3031 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3033 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3034 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3035 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3036 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3038 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3040 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3041 expression inside statement expression.
3043 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3045 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3046 <sysdeps/nptl/lowlevellock.h> and remove macros and
3047 functions that are now defined there.
3048 (SYS_futex): Remove.
3049 (lll_compare_and_swap): Remove.
3050 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3052 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3055 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3056 instead of scandirat.
3057 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3058 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3059 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3061 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3062 (__scandirat): Declare. Use libc_hidden_proto.
3063 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3065 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3067 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3070 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3072 (__ieee754_atan2): For results with small absolute value, force
3073 underflow exception and remove excess range and precision from
3075 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3077 (__ieee754_atan2f): For results with small absolute value, force
3078 underflow exception and remove excess range and precision from
3080 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3082 (__atan): For results with small absolute value, force underflow
3083 exception and remove excess range and precision from return value.
3084 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3086 (__atanf): For results with small absolute value, force underflow
3087 exception and remove excess range and precision from return value.
3088 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3090 (__ieee754_atan2): Force underflow exception for results with
3091 small absolute value.
3092 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3094 (atan): Force underflow exception for results with small absolute
3096 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3097 (__atanf): Force underflow exception for results with small
3099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3101 (__atanl): Force underflow exception for results with small
3103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3104 (__atanl): Force underflow exception for results with small
3106 * sysdeps/x86/fpu/bits/mathinline.h
3107 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3108 (__ieee754_atan2): Only define inline for long double.
3109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3110 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3111 * math/auto-libm-test-in: Do not mark underflow exceptions as
3112 possibly missing for bug 15319. Add more tests of atan2.
3113 * math/auto-libm-test-out: Regenerated.
3114 * math/libm-test.inc (casin_test_data): Do not mark underflow
3115 exceptions as possibly missing for bug 15319.
3116 (casinh_test_data): Likewise.
3117 * sysdeps/i386/fpu/libm-test-ulps: Update.
3119 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3121 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3122 * sysdeps/mips/bits/endian.h: Fix comments.
3124 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3127 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3128 (hdestroy_r): Likewise.
3129 (hsearch_r): Likewise.
3130 (__hcreate_r): Declare and use libc_hidden_proto.
3131 (__hdestroy_r): Likewise.
3132 (__hsearch_r): Likewise.
3133 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3134 (hcreate): Call __hcreate_r instead of hcreate_r.
3135 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3136 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3137 as weak alias of __hcreate_r.
3138 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3140 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3142 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3144 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3145 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3146 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3147 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3149 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3151 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3152 arena_lock into a single arena_get.
3154 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3156 * dl-reloc.c: Inlucde libc-internal.h.
3157 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3158 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3159 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3160 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3161 (grow_heap): Likewise.
3162 * malloc/malloc.c: Include libc-internal.h.
3163 (do_check_malloc): Call powerof2.
3164 (sysmalloc): Use pagesize. Call ALIGN_UP.
3165 (systrim): Use pagesize.
3166 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3167 (__libc_valloc): Use pagesize.
3168 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3170 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3173 * include/sys/resource.h (__getrlimit64): Declare. Use
3175 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3176 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3177 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3179 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3181 [!getrlimit64] (getrlimit64): Define as weak alias of
3182 __getrlimit64. Use libc_hidden_weak.
3183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3184 using __getrlimit64 not __new_getrlimit64.
3185 (__GI_getrlimit64): Likewise.
3186 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3188 (__GI_getrlimit64): Likewise.
3189 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3191 (getrlimit): Add __getrlimit64 alias.
3192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3194 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3196 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3197 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3199 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3201 * libio/fileops.c: Add missing sys/mman.h
3202 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3204 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3206 * manual/math.texi (Errors in Math Functions): Clarify goals
3207 regarding inexact and underflow exceptions.
3209 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3211 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3212 * sysdeps/mips/memset.S: Ditto.
3214 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3216 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3218 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3220 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3221 (__v1longjmp): Remove versioned symbol.
3222 (__v1siglongjmp): Remove alias and versioned symbol.
3223 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3224 (__v2siglongjmp): Likewise.
3226 2015-02-16 Torvald Riegel <triegel@redhat.com>
3228 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3230 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3232 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3234 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3237 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3238 zero result does not depend on the sign resulting from
3240 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3242 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3243 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3246 * math/libm-test.inc (remquo_test_data): Add more tests.
3248 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3250 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3251 Problem reported by J William Piggott.
3253 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3257 products 4 * y and 2 * y where those would overflow.
3258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3260 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3264 * math/libm-test.inc (remquo_test_data): Add more tests.
3266 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3268 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3269 [defined _COMPILING_NEWLIB].
3270 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3271 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3273 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3274 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3276 2015-02-16 Torvald Riegel <triegel@redhat.com>
3278 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3281 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3284 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3285 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3286 HOST_STACK_END_ADDR): Likewise.
3288 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3290 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3291 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3292 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3294 2015-02-13 Roland McGrath <roland@hack.frob.com>
3296 * sysdeps/generic/c++-types.data: New file.
3297 * sysdeps/generic/ld.abilist: New file.
3298 * sysdeps/generic/libBrokenLocale.abilist: New file.
3299 * sysdeps/generic/libanl.abilist: New file.
3300 * sysdeps/generic/libc.abilist: New file.
3301 * sysdeps/generic/libcrypt.abilist: New file.
3302 * sysdeps/generic/libdl.abilist: New file.
3303 * sysdeps/generic/libm.abilist: New file.
3304 * sysdeps/generic/libpthread.abilist: New file.
3305 * sysdeps/generic/libresolv.abilist: New file.
3306 * sysdeps/generic/librt.abilist: New file.
3308 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3312 Compute absolute value of x as modified by fmod, not original
3314 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3315 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3316 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3317 RUN_TEST_ffI_f1_mod8.
3318 (remquo_test_data): Add more tests.
3320 2015-02-13 Roland McGrath <roland@hack.frob.com>
3322 * sysdeps/init_array/pt-crti.S: New file.
3324 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3327 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3328 __builtin_fmaf instead of relying on contraction of a * b + c.
3330 2015-02-12 J William Piggott <elseifthen@gmx.com>
3333 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3336 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3339 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3340 __builtin_fma instead of relying on contraction of a * b + c.
3342 2015-02-12 Roland McGrath <roland@hack.frob.com>
3344 * Makeconfig (ASFLAGS): Add -Werror=undef.
3345 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3346 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3347 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3349 * Makeconfig (after-link): New variable.
3350 (+link-pie, +link-pie-tests): Use it.
3351 (+link-static, +link-static-tests): Likewise.
3352 (+link, +link-tests): Likewise.
3353 * Makerules (build-module, build-module-asneeded): Likewise.
3354 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3356 * elf/Makefile ($(objpfx)ld.so): Likewise.
3358 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3361 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3362 both struct timeval and struct timespec.
3364 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3367 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3369 (__ieee754_exp2l): Do not multiply small fractional parts by
3371 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3373 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3374 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3375 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3376 * math/auto-libm-test-in: Add more tests of exp2.
3377 * math/auto-libm-test-out: Regenerated.
3379 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3381 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3384 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3386 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3389 2015-02-12 Andreas Schwab <schwab@suse.de>
3392 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3393 Filter out elision flags from value returned in kind.
3394 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3395 * nptl/tst-pthread-mutexattr.c: New file.
3397 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3399 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3400 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3401 into gnu-gnu, and update comment to refer to abi-tags.
3403 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3406 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3407 (__sincos): Set errno to EDOM for infinite argument.
3408 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3409 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3410 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3411 (__sincosl): Set errno to EDOM for infinite argument.
3412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3413 (__sincosl): Set errno to EDOM for infinite argument.
3414 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3415 (__sincosl): Set errno to EDOM for infinite argument.
3416 * math/libm-test.inc (sincos_test_data): Test errno setting.
3418 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3420 * string/strxfrm_l.c: Remove #define STRCMP.
3421 * string/strcoll_l.c: Remove #define STRLEN.
3422 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3423 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3425 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3427 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3428 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3429 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3430 * sysdeps/mips/mips64/Makefile: ... here.
3431 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3432 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3433 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3434 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3435 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3436 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3437 * sysdeps/mips/mips64/n64/Implies: Likewise.
3439 2015-02-10 Roland McGrath <roland@hack.frob.com>
3441 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3442 <sys/time.h>, <string.h>, and <errno.h>.
3443 (dest_offset, dest_address, value, zero): Remove unused variables.
3444 (ldouble): Remove typedef.
3445 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3446 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3448 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3449 (check): Function removed.
3451 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3452 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3453 Don't call set_sigaction_FP and remove_sigaction_FP here.
3454 (ldouble_test): Just use 'long double' as macro argument, no need for
3455 the 'ldouble' typedef.
3456 (do_test): Set up SIGFPE handler at start, using plain signal rather
3457 than sigaction. Fix code style.
3459 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3465 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3467 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3468 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3470 * sysdeps/powerpc/configure.ac: Remove file.
3471 * sysdeps/powerpc/configure: Likewise.
3473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3474 [sysdep_routines]: Remove wordcopy-power6 object.
3475 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3476 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3478 (__memmove_ppc32): Likewise.
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3483 Remove preprocessor.
3485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3486 [sysdep_routines]: Remove wide chars objects.
3487 [wcsmbs]: New rule for wide char objects.
3489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3490 Remove wordcopy-power6 obejct.
3491 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3492 Use local call for wordcopy and memcpy symbols.
3493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3495 implementation for loader.
3496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3498 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3499 Remove wordcopy-power7 object.
3500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3502 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3503 (_wordcopy_fwd_dest_aligned): Likewise.
3504 (_wordcopy_bwd_aligned): Likewise.
3505 (_wordcopy_bwd_dest_aligned): Likewise.
3507 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3508 Rewrite to call __memmove_ppc instead of include default
3511 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3512 Remove wide chars objects.
3513 [wcsmbs]: New rule for wide char objects.
3515 2015-02-09 Andreas Schwab <schwab@suse.de>
3518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3519 in terms of __O_DIRECTORY.
3521 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3523 * time/getdate.c: Include <stdbool.h>.
3524 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3526 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3529 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3531 Add ersatz _Static_assert on older C hosts
3532 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3533 pre-C11 C platform that is not known to support _Static_assert.
3535 2015-02-07 Richard Braun <rbraun@sceen.net>
3537 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3539 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3541 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3543 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3544 priority against unexistent AIO_PRIO_DELTA_MAX.
3545 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3547 * misc/fchflags.c (fchflags): Likewise.
3548 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3549 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3550 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3551 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3552 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3554 [__USE_MISC] (chflags, fchflags): Declare functions.
3555 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3556 EINVAL when nfds is greater than FD_SETSIZE.
3557 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3558 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3560 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3561 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3562 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3564 * hurd/hurd/signal.h (_hurd_self_sigstate,
3565 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3566 Explicit casts from void *.
3567 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3568 * abi-tags: Rename gnu-gnu os into gnu.
3571 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3572 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3573 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3574 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3575 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3576 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3579 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3580 duplicates ADDR->sun_path with sockaddr LEN limitation.
3581 * sysdeps/mach/hurd/connect.c: Include <string.h>
3582 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3583 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3584 * sysdeps/mach/hurd/sendto.c: Likewise.
3585 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3586 implementing it by hand.
3588 2015-02-06 Roland McGrath <roland@hack.frob.com>
3590 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3591 Use sfi_breg on ldr.
3592 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3595 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3597 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3598 Test SIGSETXID only if it's defined.
3600 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3602 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3603 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3605 * nptl/tst-align2.c: Moved ...
3606 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3607 * nptl/Makefile (tests): Remove tst-align2.
3608 * sysdeps/unix/sysv/linux/Makefile
3609 [$(subdir) = nptl] (tests): Add tst-align-clone.
3610 * nptl/tst-getpid1.c: Moved ...
3611 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3612 * nptl/tst-getpid2.c: Moved ...
3613 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3614 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3615 * sysdeps/unix/sysv/linux/Makefile
3616 [$(subdir) = nptl] (tests): ... here.
3617 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3618 * sysdeps/unix/sysv/linux/Makefile
3619 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3621 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3622 Drop trailing \n from perror argument. Use return rather than exit.
3624 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3626 * nptl/tst-cancel21.c (do_test): Likewise.
3627 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3628 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3629 [!SA_SIGINFO]: Make it a stub test.
3631 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3632 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3634 * posix/tst-getlogin.c: Move to ...
3635 * login/tst-getlogin.c: ... here.
3636 * posix/Makefile (tests): Move tst-getlogin to ...
3637 * login/Makefile (tests): ... here.
3639 * libio/tst-atime.c (do_test): Move local variables SV and E
3640 inside [ST_NOATIME] conditional.
3642 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3644 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3646 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3647 (wait_code): New function replaces macro.
3648 Call nanosleep rather than syscall.
3650 * nptl/pt-system.c: Rewritten. Put everything under
3651 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3652 Use IFUNC to redirect when possible.
3654 * nptl/pt-longjmp.c: Rewritten. Put everything under
3655 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3656 Use IFUNC to redirect when possible.
3658 * nptl/pt-fork.c: Rewritten. Put everything under
3659 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3660 Use IFUNC to redirect when possible.
3661 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3663 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3664 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3665 unconditionally nowadays. This included the only reference to
3666 __vdso_clock_gettime that appears outside libc proper.
3667 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3668 Remove version set (containing only __vdso_clock_gettime).
3669 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3670 Add attribute_hidden.
3671 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3672 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3673 libc_hidden_data_def.
3674 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3677 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3678 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3679 setrpcent, and getrpcport to ...
3680 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3681 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3682 getrpcbynumber_r, and getrpcent_r to ...
3683 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3684 * inet/getrpcbyname.c: Moved ...
3685 * sunrpc/getrpcbyname.c: ... here.
3686 * inet/getrpcbyname_r.c: Moved ...
3687 * sunrpc/getrpcbyname_r.c: ... here.
3688 * inet/getrpcbynumber.c: Moved ...
3689 * sunrpc/getrpcbynumber.c: ... here.
3690 * inet/getrpcbynumber_r.c: Moved ...
3691 * sunrpc/getrpcbynumber_r.c: ... here.
3692 * inet/getrpcent.c: Moved ...
3693 * sunrpc/getrpcent.c: ... here.
3694 * inet/getrpcent_r.c: Moved ...
3695 * sunrpc/getrpcent_r.c: ... here.
3696 * inet/Makefile (routines): Move those to ...
3697 * sunrpc/Makefile (routines): ... here.
3698 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3699 the $(subdirs) list.
3700 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3701 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3702 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3703 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3705 * elf/Makefile (routines): Include $(all-dl-routines), not just
3707 (rtld-routines): Likewise. Use = rather than :=.
3708 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3709 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3710 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3711 * sysdeps/arm/Makefile: Likewise.
3712 * sysdeps/i386/Makefile: Likewise.
3713 * sysdeps/x86_64/Makefile: Likewise.
3714 * sysdeps/hppa/Makefile [$(subdir) = elf]
3715 (sysdep_routines, sysdep-rtld-routines): Don't add
3716 $(sysdep-dl-routines) to these.
3717 * sysdeps/ia64/Makefile: Likewise.
3718 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3719 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3720 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3721 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3722 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3723 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3725 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3726 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3727 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3728 these; sysdep-dl-routines alone is enough.
3730 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3733 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3734 where multiplication results in zero and third argument is finite
3736 * math/auto-libm-test-in: Add more tests of fma.
3737 * math/auto-libm-test-out: Regenerated.
3739 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3740 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3741 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3742 (_FP_CMP_EQ): Likewise.
3743 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3745 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3746 extra argument CHECK_NAN. Redefine as wrapper around
3749 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3751 * version.h (RELEASE): Set to "stable".
3752 (VERSION): Set to "2.21"
3753 * include/features.h (__GLIBC_MINOR__): Set to 21.
3755 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3757 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3758 Paul Eggert <eggert@cs.ucla.edu>
3761 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3763 size in bytes. Store needed elements in wpmax. Use needed size
3764 in bytes for extend_alloca.
3766 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3768 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3769 binutls 2.25, and texinfo 5.2.
3770 * INSTALL: Regenerate.
3771 * sysdeps/nios2/configure: Regenerate.
3772 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3773 * manual/contrib.texi: Update.
3797 * po/pt_BR.po: Update.
3806 * po/zh_CN.po: Update.
3807 * po/zh_TW.po: Update.
3809 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3810 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3811 * sysdeps/hppa/dl-irel.h: Remove #warning.
3812 * sysdeps/hppa/entry.h: Provide prototype for
3813 __canonicalize_funcptr_for_compare and cast argument.
3814 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3815 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3816 * sysdeps/hppa/sotruss-lib.c: New file.
3817 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3818 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3819 (atomic_compare_and_exchange_bool_acq): Likewise.
3820 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3821 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3823 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3824 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3825 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3827 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3829 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3830 called function in non-PIC case.
3832 2015-01-31 David S. Miller <davem@davemloft.net>
3834 * sysdeps/sparc/sparc32/bits/atomic.h
3835 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3836 unlock not after it.
3837 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3838 volatile register usage warnings from the compiler.
3840 * sysdeps/sparc/nptl/sem_init.c: Delete.
3841 * sysdeps/sparc/nptl/sem_post.c: Delete.
3842 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3843 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3844 * sysdeps/sparc/sparc32/sem_init.c: New file.
3845 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3846 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3847 padding explicitly initialized.
3848 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3849 padding for in-semaphore spinlock.
3850 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3851 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3852 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3853 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3854 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3855 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3856 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3857 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3859 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3860 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3862 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3866 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3867 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3869 (index_AVX_Fast_Unaligned_Load): Likewise.
3870 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3871 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3872 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3873 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3874 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3875 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3876 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3877 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3878 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3880 2015-01-29 Andreas Schwab <schwab@suse.de>
3882 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3884 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3887 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3889 2015-01-28 Martin Sebor <msebor@redhat.com>
3891 * math/README.libm-test: Clarify. Add "How to read the test output."
3893 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3895 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3898 2015-01-28 Joseph Myers <joseph@codesourcery.com>
3900 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3901 (__HAVE_64B_ATOMICS): Define to 0.
3903 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3906 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3907 value to set as new flag.
3910 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3911 and use _ARCH_PPCSQ instead.
3912 (__ieee754_sqrt): Likewise.
3913 (__ieee754_sqrtf): Likewise.
3914 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3915 _ARCH_PPCSQ is defined.
3916 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3918 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3919 _ARCH_PPCSQ is defined.
3920 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3922 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3924 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3926 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3927 bug (GCC BZ #64739).
3929 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3931 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3932 Mark _retval as used.
3933 (lll_futex_wake_unlock): Likewise.
3934 (lll_futex_timed_wait_requeue_pi): Likewise.
3936 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3937 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3940 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3943 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3944 (__bswap_64): Mark as __always_inline.
3946 2015-01-25 Bram <bug_rh@spam.wizbit.be>
3949 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3950 when none of the search directories exist.
3952 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3955 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3956 power8 in .machine directive.
3959 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3960 set dependency from opd value.
3962 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3965 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3968 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3971 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3973 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3975 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3976 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3977 Replace 1UL with (uint64_t) 1.
3978 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3981 2015-01-23 Roland McGrath <roland@hack.frob.com>
3983 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3984 (if_freenameindex): Likewise.
3986 * resource/getrlimit64.c: Add missing libc_hidden_def.
3988 2015-01-22 Joseph Myers <joseph@codesourcery.com>
3990 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3992 (_FP_FMA): Likewise.
3993 (_FP_TO_INT_ROUND): Likewise.
3994 (_FP_FROM_INT): Likewise.
3996 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3999 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4000 Make code racy and cancel safe.
4002 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4004 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4005 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4008 * pwd/tst-getpw.c: Rewrite.
4011 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4012 (modules-names): Add moddummy1 and moddummy2.
4013 ($(objpfx)tst-rec-dlopen): Define.
4014 * dlfcn/moddummy1.c: New file.
4015 * dlfcn/moddummy2.c: New file.
4016 * dlfcn/tst-rec-dlopen.c: New file.
4017 * elf/dl-cache.c (_dl_load_cache_lookup):
4018 Return char*. Copy result with alloca/strcpy/strdup.
4019 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4020 returns char*. Free cached. If not saving realname
4022 * elf/dl-open.c (dl_open_worker): Do not assert that
4023 _r_debug->r_state is RT_CONSISTENT.
4024 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4027 2015-01-21 Torvald Riegel <triegel@redhat.com>
4028 Carlos O'Donell <carlos@redhat.com>
4031 * nptl/sem_waitcommon.c: New file.
4032 * nptl/sem_wait.c: Include sem_waitcommon.c.
4033 (__sem_wait_cleanup, do_futex_wait): Remove.
4034 (__new_sem_wait): Adapt.
4035 (__new_sem_trywait): New function.
4036 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4037 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4038 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4039 (sem_timedwait): Adapt.
4040 * nptl/sem_post.c (__new_sem_post): Adapt.
4041 (futex_wake): New function.
4042 (__old_sem_post): Add release MO fence.
4043 * nptl/sem_open.c (sem_open): Adapt.
4044 * nptl/sem_init.c (__new_sem_init): Adapt.
4045 (futex_private_if_supported): New function.
4046 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4047 (__old_sem_getvalue): Add using previous code.
4048 * sysdeps/nptl/internaltypes.h: Adapt.
4049 * nptl/tst-sem13.c (do_test): Adapt.
4050 * nptl/tst-sem11.c (main): Adapt.
4051 * nptl/sem_trywait.c: Remove.
4052 * nptl/DESIGN-sem.txt: Remove.
4053 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4054 (gen-as-const-headers): Remove structsem.sym.
4055 * nptl/structsem.sym: Remove.
4056 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4057 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4058 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4059 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4060 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4061 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4062 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4063 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4064 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4065 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4066 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4067 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4068 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4069 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4070 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4071 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4072 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4073 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4074 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4075 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4076 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4077 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4079 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4081 * INSTALL: Regenerated.
4083 * po/libc.pot: Regenerated.
4085 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4086 Sandra Loosemore <sandra@codesourcery.com>
4087 Andrew Jenner <andrew@codesourcery.com>
4088 Joseph Myers <joseph@codesourcery.com>
4089 Nathan Sidwell <nathan@codesourcery.com>
4091 * NEWS: Mention new Nios II port.
4092 * sysdeps/nios2/Implies: New file.
4093 * sysdeps/nios2/Makefile: New file.
4094 * sysdeps/nios2/Subdirs: New file.
4095 * sysdeps/nios2/Versions: New file.
4096 * sysdeps/nios2/__longjmp.S: New file.
4097 * sysdeps/nios2/abort-instr.h: New file.
4098 * sysdeps/nios2/backtrace.c: New file.
4099 * sysdeps/nios2/bits/endian.h: New file.
4100 * sysdeps/nios2/bits/fenv.h: New file.
4101 * sysdeps/nios2/bits/link.h: New file.
4102 * sysdeps/nios2/bits/setjmp.h: New file.
4103 * sysdeps/nios2/bsd-_setjmp.S: New file.
4104 * sysdeps/nios2/bsd-setjmp.S: New file.
4105 * sysdeps/nios2/configure: New generated file.
4106 * sysdeps/nios2/configure.ac: New file.
4107 * sysdeps/nios2/crti.S: New file.
4108 * sysdeps/nios2/crtn.S: New file.
4109 * sysdeps/nios2/dl-init.c: New file.
4110 * sysdeps/nios2/dl-machine.h: New file.
4111 * sysdeps/nios2/dl-sysdep.h: New file.
4112 * sysdeps/nios2/dl-tls.h: New file.
4113 * sysdeps/nios2/dl-trampoline.S: New file.
4114 * sysdeps/nios2/gccframe.h: New file.
4115 * sysdeps/nios2/gmp-mparam.h: New file.
4116 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4117 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4118 * sysdeps/nios2/ldsodefs.h: New file.
4119 * sysdeps/nios2/libc-tls.c: New file.
4120 * sysdeps/nios2/libm-test-ulps: New file.
4121 * sysdeps/nios2/machine-gmon.h: New file.
4122 * sysdeps/nios2/math-tests.h: New file.
4123 * sysdeps/nios2/math_private.h: New file.
4124 * sysdeps/nios2/memusage.h: New file.
4125 * sysdeps/nios2/nptl/Makefile: New file.
4126 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4127 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4128 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4129 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4130 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4131 * sysdeps/nios2/nptl/tls.h: New file.
4132 * sysdeps/nios2/preconfigure: New file.
4133 * sysdeps/nios2/s_fma.c: New file.
4134 * sysdeps/nios2/s_fmaf.c: New file.
4135 * sysdeps/nios2/setjmp.S: New file.
4136 * sysdeps/nios2/sfp-machine.h: New file.
4137 * sysdeps/nios2/sotruss-lib.c: New file.
4138 * sysdeps/nios2/stackguard-macros.h: New file.
4139 * sysdeps/nios2/stackinfo.h: New file.
4140 * sysdeps/nios2/start.S: New file.
4141 * sysdeps/nios2/sysdep.h: New file.
4142 * sysdeps/nios2/tls-macros.h: New file.
4143 * sysdeps/nios2/tst-audit.h: New file.
4144 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4145 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4146 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4147 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4148 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4149 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4150 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4151 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4152 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4153 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4154 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4155 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4156 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4157 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4158 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4159 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4160 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4161 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4162 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4163 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4164 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4165 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4166 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4167 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4168 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4169 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4170 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4171 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4172 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4173 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4174 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4175 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4176 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4178 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4179 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4180 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4181 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4182 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4183 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4184 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4185 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4186 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4187 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4189 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4192 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4193 (getutent): Use weak_alias in non SHARED case
4194 and default_symbol_version in SHARED case.
4195 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4196 (getutent_r, pututline): Likewise.
4197 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4198 (getutid): Likewise.
4199 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4200 (getutid_r): Likewise.
4201 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4202 (getutline): Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4204 (getutline_r): Likewise.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4206 (updwtmp): Likewise.
4208 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4211 * sysdeps/s390/s390-32/memcmp.S
4212 (memcmp_g5): Rename to __memcmp_g5.
4213 * sysdeps/s390/s390-32/memcpy.S
4214 (memcpy_g5): Rename to __memcpy_g5.
4215 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4216 (memcpy_mvcle) Rename to __memcpy_mvcle.
4217 * sysdeps/s390/s390-32/memset.S
4218 (memset_g5): Rename to __memset_g5.
4219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4220 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4221 and use prefixed functions.
4222 * sysdeps/s390/s390-32/multiarch/memcmp.S
4223 (memcmp_z196): Rename to __memcmp_z196.
4224 (memcmp_z10): Rename to __memcmp_z10.
4225 (memcmp): Set alias to __memcmp_g5.
4226 (bcmp): Set alias to __memcmp_g5.
4227 * sysdeps/s390/s390-32/multiarch/memcpy.S
4228 (memcpy_z196): Rename to __memcpy_z196.
4229 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4230 (memcpy_z10): Rename to __memcpy_z10.
4231 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4232 (memcpy): Set alias to __memcpy_g5.
4233 * sysdeps/s390/s390-32/multiarch/memset.S
4234 (memset_z196): Rename to __memset_z196.
4235 Jump to __memset_mvcle instead of memset_mvcle.
4236 (memset_z10): Rename to __memset_z10.
4237 Jump to __memset_mvcle instead of memset_mvcle.
4238 (memset_mvcle) Rename to __memset_mvcle.
4239 (memset): Set alias to __memset_g5.
4240 * sysdeps/s390/s390-64/memcmp.S
4241 (memcmp_z900): Rename to __memcmp_z900.
4242 * sysdeps/s390/s390-64/memcpy.S
4243 (memcpy_z900): Rename to __memcpy_z900.
4244 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4245 (memcpy_mvcle) Rename to __memcpy_mvcle.
4246 * sysdeps/s390/s390-64/memset.S
4247 (memset_z900): Rename to __memset_z900.
4248 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4249 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4250 and use prefixed functions.
4251 * sysdeps/s390/s390-64/multiarch/memcmp.S
4252 (memcmp_z196): Rename to __memcmp_z196.
4253 (memcmp_z10): Rename to __memcmp_z10.
4254 (memcmp): Set alias to __memcmp_z900.
4255 (bcmp): Set alias to __memcmp_z900.
4256 * sysdeps/s390/s390-64/multiarch/memcpy.S
4257 (memcpy_z196): Rename to __memcpy_z196.
4258 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4259 (memcpy_z10): Rename to __memcpy_z10.
4260 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4261 (memcpy): Set alias to __memcpy_z900.
4262 * sysdeps/s390/s390-64/multiarch/memset.S
4263 (memset_z196): Rename to __memset_z196.
4264 Jump to __memset_mvcle instead of memset_mvcle.
4265 (memset_z10): Rename to __memset_z10.
4266 Jump to __memset_mvcle instead of memset_mvcle.
4267 (memset_mvcle) Rename to __memset_mvcle.
4268 (memset): Set alias to __memset_z900.
4270 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4274 __fesetenv instead of fesetenv.
4276 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4278 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4281 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4283 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4287 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4288 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4289 strncmp-power8 object.
4290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4291 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4292 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4295 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4296 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4298 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4299 trailing byte check.
4301 2015-01-13 David S. Miller <davem@davemloft.net>
4303 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4305 2015-01-13 Roland McGrath <roland@hack.frob.com>
4307 * login/logout.c (logout): Use memset rather than bzero.
4308 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4309 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4310 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4311 (_gethtbyaddr): Likewise.
4312 * locale/programs/simple-hash.c (bcopy): Macro removed.
4314 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4317 Add strcmp-power8 object.
4318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4319 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4320 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4321 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4322 __strcmp_power8 implementation.
4323 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4326 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4327 Add strncpy-power8 and stpncpy-power8 objects.
4328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4329 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4332 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4333 __stpncpy_power8 implementation.
4334 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4335 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4336 __strncpy_power8 implementation.
4337 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4338 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4341 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4342 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4343 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4345 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4346 strncat-power8 object.
4347 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4348 __strcat_power8 implementation.
4349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4350 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4351 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4352 optimized strcat for power8.
4354 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4355 strcpy-power8 and stpcpy-power8 objects.
4356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4357 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4359 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4360 multiarch stpcpy implementation for POWER8.
4361 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4362 multiarch strcpy implementation for POWER8.
4363 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4364 __strcpy_power8 function.
4365 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4367 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4371 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4374 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4375 weights and rules. Use do_xfrm_cached if data fits in cache,
4376 do_xfrm otherwise. Moved former main loop to...
4377 * (do_xfrm_cached): New function.
4378 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4379 find_idx, find_position and stack_push.
4380 * (find_idx): New function.
4381 * (find_position): Likewise.
4382 * localedata/sort-test.sh: Added test run for do_xfrm.
4383 * localedata/xfrm-test.c (main): Added command line option
4384 -nocache to run the test with strings that are too large for
4387 2015-01-13 Torvald Riegel <triegel@redhat.com>
4389 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4390 variable to lll_futex_wake call, not the value itself.
4392 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4396 twom64. Adjust value to 0x1p-64L.
4397 (__scalblnl): Only return standard underflowing result for K <=
4398 -64 not K <= -63; adjust exponent for underflowing result by 64
4400 * math/libm-test.inc (scalbn_test_data): Add more tests.
4401 (scalbln_test_data): Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4406 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4408 * math/libm-test.inc (scalbn_test_data): Add more tests.
4409 (scalbln_test_data): Likewise.
4411 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412 Stefani Seibold <stefani@seibold.net>
4414 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4415 (sysdep_routines): Add dl-vdso here, ...
4416 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4417 (sysdep_routines): ... not here.
4418 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4419 fallback when vDSO is not presented.
4420 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4421 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4422 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4423 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4424 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4426 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4428 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4430 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4431 fallback configurable symbol when vDSO is not available.
4432 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4433 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4434 be able to redefine fallback symbol when vDSO is not available.
4435 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4436 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4438 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4440 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4441 (TLS_INIT_TP): Add tm_capable initialization.
4442 (TLS_DEFINE_INIT_TP): Likewise.
4443 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4445 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4446 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4448 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4449 transactoion is lock elision is built and TCB tm_capable is set.
4450 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4452 (INTERNAL_SYSCALL_NCS): Likewise.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4454 (INTERNAL_SYSCALL_NCS): Likewise.
4455 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4457 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4459 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4460 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4461 and remove it for 32 bits case.
4462 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4463 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4465 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4466 Disable lock elision with rdlocks if elision is not available.
4468 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4469 (sysdep_routines): Add lock elision objects.
4470 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4471 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4472 [pthread_mutex_t] (__elision): Add field.
4473 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4474 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4475 elision definitions for powerpc.
4476 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4477 implementation of lock elision for powerpc.
4478 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4479 implementation of timed lock elision for powerpc.
4480 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4481 implementation of trylock with lock elision for powerpc.
4482 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4483 implementaion of unlock for lock elision for powerpc.
4484 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4485 automatic enable lock elision for mutexes.
4486 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4487 transaction execution definitions for powerpc.
4488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4490 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4491 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4493 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4496 2015-01-09 Roland McGrath <roland@hack.frob.com>
4498 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4499 for #include of <shm-directory.h>.
4501 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4504 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4506 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4509 * NEWS: Mention bug fix.
4510 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4511 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4512 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4514 2015-01-09 Torvald Riegel <triegel@redhat.com>
4516 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4518 2015-01-09 Torvald Riegel <triegel@redhat.com>
4520 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4522 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4524 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4525 pointer and cast to uintptr_t.
4527 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4529 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4531 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4533 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4535 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4538 2015-01-08 Roland McGrath <roland@hack.frob.com>
4540 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4541 <nptl/pthreadP.h> instead.
4542 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4544 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4546 [__SIGRTMIN] (init): Function removed.
4547 [__SIGRTMIN] (initialized): Variable removed.
4548 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4549 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4550 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4551 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4552 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4553 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4554 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4555 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4556 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4557 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4558 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4559 * sysdeps/nptl/allocrtsig.c: New file.
4560 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4561 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4562 * sysdeps/generic/testrtsig.h: File removed.
4564 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4565 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4567 * nptl/nptl-init.c (pthread_functions): Conditionalize
4568 .ptr__nptl_setxid initialization on [SIGSETXID].
4570 * sysdeps/nptl/sys/procfs.h: New file.
4571 * nptl_db/Makefile (headers): Add it.
4572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4574 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4575 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4576 * nptl/pthread_attr_setaffinity.c: Include it.
4577 * nptl/pthread_setattr_default_np.c: Likewise.
4578 * nptl/check-cpuset.h: New file.
4580 2015-01-08 Richard Henderson <rth@redhat.com>
4582 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4583 (CFLAGS-tst-execstack-prog.c): Likewise.
4584 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4586 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4587 Sandra Loosemore <sandra@codesourcery.com>
4588 Andrew Jenner <andrew@codesourcery.com>
4589 Joseph Myers <joseph@codesourcery.com>
4590 Nathan Sidwell <nathan@codesourcery.com>
4592 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4593 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4594 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4595 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4596 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4597 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4598 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4599 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4600 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4601 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4602 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4603 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4604 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4605 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4606 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4607 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4608 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4610 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4613 timespec struct member in syscall macro.
4614 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4615 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4616 first timeval struct member in syscall macro.
4617 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4619 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4622 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4623 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4624 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4625 __feupdateenv and define as weak alias of __feupdateenv. Use
4627 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4629 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4630 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4631 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4632 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4634 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4635 __feupdateenv and define as weak alias of __feupdateenv. Use
4637 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4639 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4640 __feupdateenv and define as weak alias of __feupdateenv. Use
4642 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4644 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4645 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4646 (__feupdateenv): Likewise.
4647 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4648 __feupdateenv and define as weak alias of __feupdateenv. Use
4650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4651 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4653 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4655 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4657 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4658 __feupdateenv instead of feupdateenv.
4659 (default_libc_feupdateenv_test): Likewise.
4660 (libc_feresetround_ctx): Likewise.
4662 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4667 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4669 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4670 COLL_SYM in a couple of places to avoid uninitialized variable
4671 wanings on tilegx gcc 4.8.2.
4673 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4675 * sysdeps/aarch64/strcpy.S: New file.
4676 * sysdeps/aarch64/stpcpy.S: New file.
4679 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4681 * sysdeps/aarch64/strrchr.S: New file.
4684 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4687 * stdlib/setenv.c: Fix memory leak when setting large,
4690 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4693 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4694 and tabs from buffer before parsing fstab entry.
4695 * misc/tst-mntent.c (main): Add test for mount entry with
4696 trailing spaces and tabs.
4698 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4701 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4702 * math/fesetround.c (fesetround): Rename to __fesetround and
4703 define as weak alias of __fesetround. Use libm_hidden_weak.
4704 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4705 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4706 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4707 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4708 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4709 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4710 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4711 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4712 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4713 __fesetround_inline.
4714 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4715 __fesetround_inline instead of __fesetround.
4716 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4717 __fesetround and define as weak alias of __fesetround. Use
4718 libm_hidden_weak. Call __fesetround_inline instead of
4720 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4721 __fesetround and define as weak alias of __fesetround. Use
4723 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4725 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4726 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4727 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4728 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4729 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4730 __fesetround and define as weak alias of __fesetround. Use
4732 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4733 __fesetround instead of fesetround.
4734 (default_libc_feholdexcept_setround): Likewise.
4735 (libc_feholdsetround_ctx): Likewise.
4736 (libc_feholdsetround_noex_ctx): Likewise.
4739 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4740 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4741 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4742 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4743 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4744 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4745 define as weak alias of __fesetenv. Use libm_hidden_weak.
4746 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4747 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4748 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4749 define as weak alias of __fesetenv. Use libm_hidden_weak.
4750 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4751 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4752 define as weak alias of __fesetenv. Use libm_hidden_weak.
4753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4755 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4758 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4759 define as weak alias of __fesetenv. Use libm_hidden_weak.
4760 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4761 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4762 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4763 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4764 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4765 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4766 __fesetenv instead of fesetenv.
4767 (libc_feresetround_noex_ctx): Likewise.
4768 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4769 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4770 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4771 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4772 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4773 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4774 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4775 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4776 (__feupdateenv): Likewise.
4777 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4778 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4779 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4780 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4782 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4785 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4786 addresses have been freed.
4788 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4790 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4793 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
4795 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4796 Clean up check_pf allocation pattern. addresses
4798 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4801 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4802 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4803 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4804 * nptl/pthread_join.c (pthread_join): Likewise.
4805 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4806 * sysdeps/posix/waitid.c (__waitid): Likewise.
4807 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4808 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4809 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4810 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4814 (__libc_pread64): Likewise.
4815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4816 (__libc_pwrite): Likewise.
4817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4818 (__libc_pwrite64): Likewsie.
4819 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4820 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4821 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4822 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4823 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4824 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4829 (__libc_pread64): Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4833 (__libc_pwrite64): Likewise.
4834 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4835 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4836 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4837 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4838 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4839 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4840 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4841 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4842 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4843 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4844 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4845 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4846 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4847 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4848 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4852 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4854 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4855 (CFLAGS-test-double.c): Likewise.
4856 (CFLAGS-test-ldouble.c): Likewise.
4857 (CPPFLAGS-test-ifloat.c): Likewise.
4858 (CPPFLAGS-test-idouble.c): Likewise.
4859 (CPPFLAGS-test-ildoubl.c): Likewise.
4860 (CFLAGS-test-test-fenv.c): Remove variable.
4861 (CFLAGS-test-misc.c): Likewise.
4863 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4866 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4867 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4868 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4869 CLOCKS_PER_SEC == 1000000.
4870 * time/clocktest.c (main): Replace %ld with %jd and cast to
4873 2015-01-05 Roland McGrath <roland@hack.frob.com>
4875 * sysdeps/generic/unwind-resume.h: New file.
4876 * sysdeps/gnu/unwind-resume.c: Include it.
4877 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4878 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4880 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4881 global rather than static.
4882 (_Unwind_Resume): Update user.
4883 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4884 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4885 rather than static. Add __attribute__ ((cold)).
4886 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4887 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4888 * sysdeps/arm/arm-unwind-resume.S: New file.
4889 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4890 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4891 * sysdeps/arm/Makefile [$(subdir) = csu]
4892 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4893 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4894 Add rt-arm-unwind-resume.
4896 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4897 Add pt-arm-unwind-resume.
4898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4899 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4901 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4904 * include/fenv.h (__feholdexcept): Declare. Use
4906 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4907 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4908 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4909 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4910 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4911 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4912 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4913 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4914 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4915 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4916 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4917 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4918 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4919 (feholdexcept): Likewise.
4920 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4921 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4922 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4923 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4924 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4925 __feholdexcept instead of feholdexcept.
4926 (default_libc_feholdexcept_setround): Likewise.
4928 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4930 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4931 to avoid using stl/str to align destination.
4933 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4935 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4937 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4940 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4941 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4942 Define as weak alias not strong alias.
4944 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4946 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4947 bltzal with addiupc.
4948 (RTLD_START): Ditto.
4950 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4952 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4953 for __vdso_* functions in declarations.
4954 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4956 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4957 INTERNAL_VSYSCALL): Use struct return types to check for error.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4960 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4961 function with cast from llround().
4962 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4963 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4966 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4970 Define as weak alias not strong alias.
4973 * ctype/ctype-c99.c: New file. isblank implementation moved from
4975 * ctype/ctype-extn.c: ... here.
4976 (__isblank_l): Move to ...
4977 * ctype/ctype-c99_l.c: ... here. New file.
4978 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4979 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4981 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4982 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4983 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4984 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4985 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4988 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4989 (posix_fadvise64): Define as weak alias not strong alias.
4990 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4991 (posix_fallocate64): Likewise.
4992 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4994 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4995 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4996 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4997 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4998 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5000 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5003 * NEWS: Mention bug fix.
5004 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5005 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5006 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5007 (HOST_STACK_END_ADDR): Likewise.
5009 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5012 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5013 * math/fegetround.c (fegetround): Rename to __fegetround and
5014 define as weak alias of __fegetround. Use libm_hidden_weak.
5015 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5016 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5017 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5018 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5019 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5020 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5021 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5022 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5023 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5024 Undefine after rather than before function definition; use
5025 parentheses around function name in definition.
5026 (__fegetround): Also undefine macro after function definition.
5027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5028 __fegetround and define as weak alias of __fegetround. Use
5029 libm_hidden_weak. Do not undefine as macro.
5030 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5032 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5033 __fegetround and define as weak alias of __fegetround. Use
5035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5036 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5037 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5038 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5039 __fegetround and define as weak alias of __fegetround. Use
5041 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5042 __fegetround instead of fegetround.
5045 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5046 Condition macro definition on [__USE_MISC].
5049 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5050 (struct sigaction): Change type of sa_flags field to int.
5053 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5054 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5057 * nptl/version.c (banner): Use single year in copyright notice.
5059 * NEWS: Update copyright dates.
5060 * catgets/gencat.c (print_version): Likewise.
5061 * csu/version.c (banner): Likewise.
5062 * debug/catchsegv.sh: Likewise.
5063 * debug/pcprofiledump.c (print_version): Likewise.
5064 * debug/xtrace.sh (do_version): Likewise.
5065 * elf/ldconfig.c (print_version): Likewise.
5066 * elf/ldd.bash.in: Likewise.
5067 * elf/pldd.c (print_version): Likewise.
5068 * elf/sotruss.sh: Likewise.
5069 * elf/sprof.c (print_version): Likewise.
5070 * iconv/iconv_prog.c (print_version): Likewise.
5071 * iconv/iconvconfig.c (print_version): Likewise.
5072 * locale/programs/locale.c (print_version): Likewise.
5073 * locale/programs/localedef.c (print_version): Likewise.
5074 * login/programs/pt_chown.c (print_version): Likewise.
5075 * malloc/memusage.sh (do_version): Likewise.
5076 * malloc/memusagestat.c (print_version): Likewise.
5077 * malloc/mtrace.pl: Likewise.
5078 * manual/libc.texinfo: Likewise.
5079 * nptl/version.c (banner): Likewise.
5080 * nscd/nscd.c (print_version): Likewise.
5081 * nss/getent.c (print_version): Likewise.
5082 * nss/makedb.c (print_version): Likewise.
5083 * posix/getconf.c (main): Likewise.
5084 * scripts/test-installation.pl: Likewise.
5085 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5087 2015-01-02 Will Newton <will.newton@linaro.org>
5089 * sysdeps/arm/armv7/configure: Removed.
5090 * sysdeps/arm/armv7/configure.ac: Likewise.
5092 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5094 * All files with FSF copyright notices: Update copyright dates
5095 using scripts/update-copyrights.
5096 * intl/plural.c: Regenerated.
5097 * locale/programs/charmap-kw.h: Likewise.
5098 * locale/programs/locfile-kw.h: Likewise.
5100 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5102 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5104 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5107 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5108 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5109 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5110 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5111 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5112 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5113 define as weak alias of __fegetenv. Use libm_hidden_weak.
5114 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5115 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5116 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5117 define as weak alias of __fegetenv. Use libm_hidden_weak.
5118 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5119 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5120 define as weak alias of __fegetenv. Use libm_hidden_weak.
5121 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5123 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5126 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5127 define as weak alias of __fegetenv. Use libm_hidden_weak.
5128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5129 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5130 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5131 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5132 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5133 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5134 __fegetenv instead of fegetenv.
5135 (libc_feholdsetround_noex_ctx): Likewise.
5137 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5139 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5140 (Elf_MIPS_ABIFlags_v0): New structure.
5141 (EF_MIPS_FP64): Define.
5142 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5143 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5144 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5145 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5146 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5147 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5148 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5149 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5150 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5151 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5152 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5153 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5154 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5155 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5156 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5157 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5158 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5159 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5160 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5161 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5162 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5163 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5165 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5167 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5168 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5169 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5170 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5171 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5172 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5173 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5174 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5175 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5176 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5177 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5178 record the current FP ABI extension.
5179 (mips-mode-switch): Define to show if kernel headers support mode
5181 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5182 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5183 supported SYSV ABI version to 3.
5184 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5187 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5188 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5190 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5192 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5194 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5196 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5197 __fegetround and redefine to call __fegetround. Remove condition
5198 on [!__NO_MATH_INLINES].
5199 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5201 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5202 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5205 instead of <fenv_libc.h>.
5206 (__llrintl): Call fegetround instead of __fegetround.
5207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5208 instead of <fenv_libc.h>.
5209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5210 (__lrintl): Call fegetround instead of __fegetround.
5211 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5212 instead of <fenv_libc.h>.
5213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5214 (__rintl): Call fegetround instead of __fegetround.
5216 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5218 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5221 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5224 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5225 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5226 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5228 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5230 * sysdeps/i386/tls-macros.h: Include <features.h>.
5231 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5235 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5236 define for GCC >= 5.0.
5238 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5240 * math/test-fenv.c (test_single_exception, set_single_exc,
5241 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5242 feexcp_mask_test, feenable_test, fe_single_test): Add
5243 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5244 case where they are not used.
5245 * math/libm-test.inc: Likewise.
5246 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5247 unused in the absence of FP rounding/exception support.
5248 * stdio-common/tst-printf-round.c: Likewise.
5249 * stdlib/tst-strtod-round.c: Likewise.
5250 * stdlib/tst-strtod-underflow.c: Likewise.
5252 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5255 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5256 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5257 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5258 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5260 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5261 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5262 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5264 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5265 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5267 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5269 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5270 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5271 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5273 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5275 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5276 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5277 (__feraiseexcept): Likewise.
5278 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5279 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5281 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5282 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5284 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5285 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5286 Use libm_hidden_def.
5287 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5289 (feraiseexcept): Define as weak not strong alias. Use
5291 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5292 New inline function. Factored out of ...
5293 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5294 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5295 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5297 * math/w_acos.c (__acos): Likewise.
5298 * math/w_asin.c (__asin): Likewise.
5299 * math/w_ilogb.c (__ilogb): Likewise.
5300 * math/w_j0.c (y0): Likewise.
5301 * math/w_j1.c (y1): Likewise.
5302 * math/w_jn.c (yn): Likewise.
5303 * math/w_log.c (__log): Likewise.
5304 * math/w_log10.c (__log10): Likewise.
5305 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5306 * sysdeps/aarch64/fpu/math_private.h
5307 (libc_feupdateenv_test_aarch64): Likewise.
5308 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5309 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5310 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5312 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5313 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5314 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5315 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5316 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5317 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5319 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5322 * io/test-utime.c (main): Replace %ld with %jd and cast to
5324 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5325 * nptl/tst-mutex5.c: Include <stdint.h>.
5326 (do_test): Replace %ld with %jd and cast to intmax_t.
5327 * posix/tst-regex.c (run_test): Likewise.
5328 (run_test_backwards): Likewise.
5329 * rt/tst-clock.c: Include <stdint.h>.
5330 (clock_test): Replace %ld with %jd and cast to intmax_t.
5331 * rt/tst-cpuclock1.c: Include <stdint.h>.
5332 (do_test): Replace %lu with %ju and cast to uintmax_t.
5333 * rt/tst-cpuclock2.c: Include <stdint.h>.
5334 (do_test): Replace %lu with %ju and cast to uintmax_t.
5335 * rt/tst-mqueue1.c: Include <stdint.h>.
5336 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5337 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5339 * rt/tst-mqueue4.c (do_test): Likewise.
5340 * rt/tst-timer4.c: Include <stdint.h>.
5341 (check_ts): Replace %ld with %jd and cast to intmax_t.
5342 (do_test): Likewise.
5343 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5344 and cast to intmax_t.
5345 * sysdeps/pthread/tst-timer.c (main): Likewise.
5346 * time/clocktest.c (main): Likewise.
5347 * time/tst-posixtz.c (do_test): Likewise.
5348 * timezone/tst-timezone.c (main): Likewise.
5350 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5351 H.J. Lu <hongjiu.lu@intel.com>
5353 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5354 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5358 version if bit_Fast_Unaligned_Load is set.
5359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5366 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5367 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5370 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5371 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5372 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5373 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5375 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5377 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5378 instead of #if to avoid a Wundef warning.
5379 * stdlib/tst-limits.c (do_test): Likewise.
5381 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5382 parallel other exception macros.
5383 (fegetenv): Convert from macro to extern inline so that it applies
5384 retroactively to inline functions already seen by the compiler.
5385 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5387 * posix/Makefile (before-compile): Use $(objpfx) for
5388 posix-conf-vars-def.h.
5390 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5392 * posix/getconf.c (main): Use size_t for type of I.
5393 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5396 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5397 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5398 * posix/posix-envs.def: Likewise.
5399 * sysdeps/posix/sysconf.c: Likewise.
5400 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5401 (specs): Remove array.
5402 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5405 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5406 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5407 (__sysconf): Use CONF_IS_* macros.
5409 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5410 ($(objpfx)posix-conf-vars-def.h): New target.
5411 * posix/posix-conf-vars.list: New file.
5412 * posix/posix-conf-vars.h: New file.
5413 * posix/confstr.c: Include posix-conf-vars.h.
5414 (confstr): Use CONF_IS_* macros.
5415 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5417 * scripts/gen-posix-conf-vars.awk: New file.
5419 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5421 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5422 fegetround): Add no-op macros to avoid linknamespace issues.
5424 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5425 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5427 * sysdeps/unix/sysv/linux/tile/sysdep.h
5428 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5429 assembly-specific section to avoid a redefinition warning.
5431 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5432 long before casting to pointer to avoid a cast warning.
5434 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5436 * sysdeps/tile/tilegx/Implies: New file.
5438 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5440 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5442 2014-12-23 Florian Weimer <fweimer@redhat.com>
5444 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5446 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5450 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5451 <kernel-features.h>.
5452 (__utimes) [__NR_utimes]: Make code unconditional.
5453 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5454 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5455 (__ASSUME_UTIMES): Do not undefine.
5456 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5457 (__ASSUME_UTIMES): Likewise.
5458 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5459 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5460 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5461 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5463 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5465 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5467 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5470 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5471 alias to weak alias for j0l, y0l.
5472 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5473 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5476 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5479 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5481 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5482 to zero if not already defined.
5484 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5488 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5489 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5490 (char *) casts added.
5491 * sysdeps/ieee754/k_standardf.c: New file.
5492 * sysdeps/ieee754/k_standardl.c: Likewise.
5493 * math/Makefile (libm-support): Remove k_standard.
5494 (libm-calls): Add k_standard.
5496 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5498 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5499 Optimize to avoid an unnecessary FPCR read.
5501 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5504 Optimize to reduce FPCR/FPSR accesses.
5506 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5508 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5509 Call libc_fetestexcept_aarch64.
5511 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5513 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5514 Call libc_fesetround_aarch64.
5516 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5520 (__bind): Do not define as weak alias.
5521 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5523 (__getsockname): Do not define as weak alias.
5525 2014-12-22 Will Newton <will.newton@linaro.org>
5527 * manual/install.texi: Document that we require bison 2.7
5529 * INSTALL: Regenerate.
5530 * configure.ac: Use AC_CHECK_PROG_VER instead of
5531 AC_PATH_PROG when checking for bison and check for
5532 version 2.7 or above.
5533 * configure: Regenerate.
5535 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5538 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5539 * sysdeps/tile/ffsll.c (ffsll): To here.
5541 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5543 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5545 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5547 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5549 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5550 hidden ___tls_get_addr.
5551 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5552 hidden __tls_get_addr.
5553 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5554 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5557 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5559 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5562 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5564 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5565 from "call _dl_init@PLT".
5566 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5568 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5570 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5573 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5575 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5577 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5580 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5583 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5585 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5587 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5588 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5589 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5590 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5591 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5593 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5595 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5596 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5597 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5598 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5599 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5601 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5603 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5605 * string/strncat.c (STRNCAT): Simplify implementation.
5607 2014-12-19 David S. Miller <davem@davemloft.net>
5609 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5610 access the quad as both a long double and as a series of 4 words.
5612 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5613 link_map->l_info array access.
5615 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5617 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5619 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5620 * math/atest-exp2.c (TIMEOUT): Likewise.
5621 * math/atest-sincos.c (TIMEOUT): Likewise.
5623 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5625 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5626 -Wno-error with -fno-builtin-lround.
5628 2014-12-19 Torvald Riegel <triegel@redhat.com>
5630 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5631 Contains futex constants and functions moved over from ...
5632 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5633 <lowlevellock-futex.h>.
5634 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5635 (lll_timedwait_tid): Add comments and parentheses around macro
5638 2014-12-19 Torvald Riegel <triegel@redhat.com>
5640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5641 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5642 (__lll_private_flag): Remove.
5643 (lll_futex_wait): Likewise.
5644 (lll_futex_timed_wait): Likewise.
5645 (lll_futex_wake): Likewise.
5646 (lll_futex_requeue): Likewise.
5647 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5648 (__lll_timedwait_tid): Spell out argument names.
5649 (lll_timedwait_tid): Add comments and parentheses around macro
5651 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5652 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5654 2014-12-19 Torvald Riegel <triegel@redhat.com>
5656 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5657 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5658 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5660 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5661 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5662 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5663 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5664 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5665 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5670 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5671 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5672 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5673 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5674 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5676 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5678 * sysdeps/x86_64/x32/Makefile: New file.
5680 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5682 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5683 1L with (mp_limb_t) 1.
5685 2014-12-17 Roland McGrath <roland@hack.frob.com>
5687 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5688 * nptl/libc_pthread_init.c: ... here.
5689 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5690 * nptl/register-atfork.c: ... here.
5692 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5693 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5694 Use assert_perror to check its return value.
5695 (__gai_create_helper_thread): Likewise.
5697 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5699 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5701 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5704 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5706 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5708 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5710 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5712 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5713 (profil_counter): Likewise.
5714 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5715 (profil_counter): Likewise.
5716 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5718 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5720 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5721 (profil_counter): Likewise.
5722 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5724 [!__profil_counter] (profil_counter): Define as weak alias of
5726 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5727 (profil_counter): Rename to __profil_counter.
5728 [!__profil_counter] (profil_counter): Define as weak alias of
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5731 (profil_counter): Rename to __profil_counter.
5732 [!__profil_counter] (profil_counter): Define as weak alias of
5734 * sysdeps/posix/profil.c: Update comment referring to
5736 (__profil): Use __profil_counter instead of profil_counter.
5737 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5738 __profil_counter. Use __profil_counter_ushort and
5739 __profil_counter_uint in definitions.
5740 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5741 instead of profil_counter_uint and profil_counter_ushort.
5744 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5745 define as weak alias of __inet_makeaddr.
5746 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5747 as weak alias of __inet_addr.
5748 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5749 as weak alias of __inet_pton. Use libc_hidden_weak.
5750 * include/arpa/inet.h (__inet_pton): Declare. Use
5752 (inet_makeaddr): Don't use libc_hidden_proto.
5753 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5754 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5755 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5756 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5758 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5759 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5761 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
5763 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5765 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5767 * stdio-common/bug-vfprintf-nargs.c (do_test):
5768 Cast value to intptr_t to avoid format warning
5769 for usage with PRIdPTR printing macro.
5771 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5773 * libio/tst-widetext.c (do_test):
5774 Use format type %td instead of %Zd for ptrdiff_t
5775 in order to avoid format warning.
5777 2014-12-17 Andreas Schwab <schwab@suse.de>
5779 * nscd/mem.c (gc): Add size_t cast to match printf format.
5781 2014-12-16 Roland McGrath <roland@hack.frob.com>
5783 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5784 (init): Apply PTR_MANGLE to pointers before storing them.
5785 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5788 2014-12-16 Joseph Myers <joseph@codesourcery.com>
5791 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5792 define as weak alias of __memrchr.
5793 (__memrchr): Do not define as strong alias of memrchr.
5794 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5796 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5797 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5798 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5801 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5802 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5803 (if_indextoname): Rename to __if_indextoname and define as weak
5804 alias of __if_indextoname. Use libc_hidden_weak.
5805 (if_freenameindex): Rename to __if_freenameindex and define as
5806 weak alias of __if_freenameindex.
5807 (if_nameindex): Rename to __if_nameindex and define as weak alias
5809 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5810 __if_nametoindex and define as weak alias of __if_nametoindex.
5811 Use libc_hidden_weak.
5812 (if_freenameindex): Rename to __if_freenameindex and define as
5813 weak alias of __if_freenameindex.
5814 (if_nameindex): Rename to __if_nameindex and define as weak alias
5816 (if_indextoname): Rename to __if_indextoname and define as weak
5817 alias of __if_indextoname. Use libc_hidden_weak.
5818 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5819 __if_nametoindex and define as weak alias of __if_nametoindex.
5820 Use libc_hidden_weak.
5821 (if_freenameindex): Rename to __if_freenameindex and define as
5822 weak alias of __if_freenameindex. Use libc_hidden_weak.
5823 (if_nameindex_netlink): Use __if_freenameindex instead of
5825 (if_nameindex): Rename to __if_nameindex and define as weak alias
5826 of __if_nameindex. Use libc_hidden_weak.
5827 (if_indextoname): Rename to __if_indextoname and define as weak
5828 alias of __if_indextoname. Use libc_hidden_weak.
5829 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5831 [!_ISOMAC] (__if_freenameindex): Likewise.
5832 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5834 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5836 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5837 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5838 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5839 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5840 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5841 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5842 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5844 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5846 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5847 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5849 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5851 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5852 subscript above bounds'
5854 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5857 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
5859 * libio/tst-fopenloc.c: Use test-skeleton.c.
5861 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5862 (entry): Rename to ITEM.
5863 (do_test, comp): Adjust.
5865 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5867 2014-12-16 Torvald Riegel <triegel@redhat.com>
5869 * string/tester.c: Include <libc-internal.h>.
5870 (test_memset): Ignore -Wmemset-transposed-args.
5872 2014-12-16 Torvald Riegel <triegel@redhat.com>
5874 * misc/tst-mntent2.c (do_test): Fix warning.
5876 2014-12-16 Torvald Riegel <triegel@redhat.com>
5878 * elf/tst-unique4lib.cc(a): Mark as used.
5880 2014-12-16 Florian Weimer <fweimer@redhat.com>
5883 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5886 2014-12-16 Allan McRae <allan@archlinux.org>
5888 * stdio-common/Makefile (tests): Re-add bug26.
5890 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
5893 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5896 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5898 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5899 (__lll_lock_wait): Likewise.
5900 (__lll_timedlock_wait): Likewise.
5901 (__lll_timedwait_tid): Likewise.
5902 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5903 (__lll_robust_timedlock_wait): Likewise.
5904 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5905 (lll_cond_trylock): Likewise.
5906 (__lll_lock): Likewise.
5907 (__lll_robust_lock): Likewise.
5908 (__lll_cond_lock): Likewise.
5909 (lll_robust_cond_lock): Likewise.
5910 (__lll_timedlock): Likewise.
5911 (__lll_robust_timedlock): Likewise.
5912 (__lll_unlock): Likewise.
5913 (__lll_robust_unlock): Likewise.
5914 (lll_wait_tid): Likewise.
5915 (lll_timedwait_tid): Likewise.
5917 2014-12-15 Torvald Riegel <triegel@redhat.com>
5919 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5921 2014-12-15 Torvald Riegel <triegel@redhat.com>
5923 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5925 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5927 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5928 * stdio-common/tst-sprintf.c: Likewise.
5930 2014-12-15 Torvald Riegel <triegel@redhat.com>
5932 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5934 2014-12-15 Jeff Law <law@redhat.com>
5937 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5938 on the heap. (CVE-2012-3406)
5939 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5940 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5941 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5943 2014-12-15 Will Newton <will.newton@linaro.org>
5945 * manual/install.texi: Bump required version of texinfo
5947 * INSTALL: Regenerated.
5948 * configure.ac: Check for makeinfo version 4.7 and above.
5949 * configure: Regenerated.
5951 2014-12-12 Roland McGrath <roland@hack.frob.com>
5953 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5954 PREFIX, string constant to insert between directory and name.
5955 * sysdeps/posix/shm_open.c: Update caller.
5956 * sysdeps/posix/shm_unlink.c: Likewise.
5957 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5958 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5959 (SEM_SHM_PREFIX): New macro.
5960 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5961 [$(have-thread-library) = no].
5962 * nptl/Makefile (libpthread-routines): Add shm-directory.
5963 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5964 * sysdeps/nptl/shm-directory.h: New file.
5965 * sysdeps/posix/shm-directory.c
5966 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5967 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5968 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5970 (__where_is_shmfs): Function removed.
5971 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5973 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5975 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5977 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5978 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5979 unconditional for use inside libpthread.
5980 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5982 2014-12-12 Roland McGrath <roland@hack.frob.com>
5984 * nptl/pthread_getaffinity.c: New file.
5985 * nptl/pthread_setaffinity.c: New file.
5986 * nptl/pthread_getname.c: New file.
5987 * nptl/pthread_setname.c: New file.
5989 * nptl/pthread_create.c (START_THREAD_DEFN)
5990 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5992 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5993 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5995 * resolv/res_send.c (send_vc): Disable warning resplen may
5996 be used uninitialized.
5998 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6001 (ATTR_NULL): New define checks ATTR against NULL.
6002 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6003 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6005 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6009 (mem2mem_check): Revert my previous change.
6010 (malloc_check_get_size): Revert my previous change.
6011 (mem2chunk_check): Revert my previous change.
6013 2014-12-11 Roland McGrath <roland@hack.frob.com>
6015 * sysdeps/posix/shm-directory.c: New file.
6016 * sysdeps/posix/shm-directory.h: New file.
6017 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6018 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6019 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6020 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6021 Transmute EPERM to EACCES.
6022 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6024 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6025 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6027 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6029 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6030 pointer and cast to uintptr_t.
6031 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6032 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6033 Add cast to avoid warning.
6034 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6036 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6038 * nptl/semaphore.h: Move to ...
6039 * sysdeps/pthread/semaphore.h: ... here.
6040 * Makefile (installed-headers): Change nptl/semaphore.h to
6041 sysdeps/pthread/semaphore.h.
6043 2014-12-11 Roland McGrath <roland@hack.frob.com>
6045 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6046 generated error format strings.
6048 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6049 -Wformat-extra-args warnings for scanf formats.
6050 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6051 test of zero-length format (duh).
6052 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6053 corner-case scanf format test.
6054 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6055 generated fprintf format string.
6056 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6057 corner-case sprintf format tests.
6058 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6059 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6060 -Wformat-extra-args warnings throughout.
6061 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6062 (CFLAGS-scanf4.c): Likewise.
6063 (CFLAGS-scanf7.c): Likewise.
6064 (CFLAGS-tst-sprintf.c): Likewise.
6065 (CFLAGS-tst-printf.c): Likewise.
6066 (CFLAGS-tst-printfsz.c): Likewise.
6068 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6070 * include/cpio.h: New file.
6071 * include/fmtmsg.h: Likewise.
6073 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6074 corresponding format argument to size_t.
6075 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6077 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6078 corresponding format argument to size_t.
6079 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6081 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6082 corresponding format argument to size_t.
6083 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6084 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6085 (CFLAGS-tst-mbswcs2.c): Likewise.
6086 (CFLAGS-tst-mbswcs3.c): Likewise.
6087 (CFLAGS-tst-mbswcs4.c): Likewise.
6088 (CFLAGS-tst-mbswcs5.c): Likewise.
6089 (CFLAGS-tst-trans.c): Likewise
6091 2014-12-11 Roland McGrath <roland@hack.frob.com>
6093 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6094 rather than assuming they won't contain any '%'s.
6096 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6098 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6099 inhibit_loop_to_libcall to avoid recursive calls.
6100 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6101 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6103 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6105 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6108 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6110 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6111 integer value instead of boolean.
6113 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6115 * malloc/malloc.c: Fix powerof2 check.
6117 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6119 * locale/programs/locfile.h (maybe_swap_uint32):
6120 Remove inline and add unused attribute.
6122 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6124 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6125 Truncating assembler expression to a .long expression.
6127 2014-12-11 Andreas Schwab <schwab@suse.de>
6129 * elf/rtld.c (struct map_args): Constify str member.
6130 (do_preload): Constify fname argument.
6132 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6135 constants definition.
6137 2014-12-11 Andreas Schwab <schwab@suse.de>
6140 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6141 FORCE_ELISION instead of DO_ELISION.
6142 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6144 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6147 * iconvdata/gconv-modules: Remove duplicate entry.
6149 2014-12-11 Will Newton <will.newton@linaro.org>
6151 Merge gettext 0.19.3 into intl/.
6153 This involves a number of cosmetic changes to comments
6154 and ANSI function definitions and prototypes throughout
6155 all the files. The gettext copyright header is used but
6156 with the date ranges taken from the glibc copy.
6158 * NEWS: Add gettext merge to 2.21.
6159 * intl/bindtextdom.c: Switch to gettext copyright.
6160 Use ANSI definitions and prototypes.
6161 Use gl_* locking primitives rather than __libc_* ones.
6162 Use __builtin_expect rather than __glibc_likely/unlikely.
6163 * intl/dcgettext.c: Switch to gettext copyright.
6164 Use ANSI definitions and prototypes.
6165 * intl/dcigettext.c: Switch to gettext copyright.
6166 Use ANSI definitions and prototypes.
6167 (INTDIV0_RAISES_SIGFPE): New define.
6168 Use gl_* locking primitives rather than __libc_* ones.
6169 Include eval-plural.h instead of plural-eval.c.
6170 Use __builtin_expect rather than __glibc_likely/unlikely.
6171 * intl/dcngettext.c: Switch to gettext copyright.
6172 Use ANSI definitions and prototypes.
6173 * intl/dgettext.c: Likewise.
6174 * intl/dngettext.c: Likewise.
6175 * intl/plural-eval.c: Renamed to...
6176 * intl/eval-plural.h: ...this.
6177 * intl/explodename.c: Switch to gettext copyright.
6178 Use ANSI definitions and prototypes.
6179 (_nl_explode_name): Use strchr instead of __rawmemchr.
6180 * intl/finddomain.c: Switch to gettext copyright.
6181 Use ANSI definitions and prototypes.
6182 Use gl_* locking primitives rather than __libc_* ones.
6183 (_nl_find_domain): Use malloc rather than alloca for
6184 allocation of temporary locale name.
6185 * intl/gettext.c: Switch to gettext copyright.
6186 Use ANSI definitions and prototypes.
6187 * intl/gettextP.h: Switch to gettext copyright.
6188 Use ANSI definitions and prototypes.
6189 Use gl_* locking primitives rather than __libc_* ones.
6190 * intl/gmo.h: Switch to gettext copyright.
6191 (struct sysdep_string): Move struct segment_pair outside of
6193 * intl/hash-string.c: Use ANSI definitions and prototypes.
6194 * intl/hash-string.h: Switch to gettext copyright.
6195 Use ANSI definitions and prototypes.
6196 * intl/l10nflist.c: Switch to gettext copyright.
6197 Use ANSI definitions and prototypes.
6198 (_nl_normalize_codeset): Avoid integer overflow.
6199 * intl/loadinfo.h: Switch to gettext copyright.
6200 Use ANSI definitions and prototypes.
6201 (LIBINTL_DLL_EXPORTED): New define.
6202 (PATH_SEPARATOR): New define.
6203 * intl/loadmsgcat.c: Switch to gettext copyright.
6204 * intl/localealias.c: Switch to gettext copyright.
6205 Use ANSI definitions and prototypes.
6206 (_nl_expand_alias): Use PATH_SEPARATOR.
6207 * intl/ngettext.c: Switch to gettext copyright.
6208 Use ANSI definitions and prototypes.
6209 * intl/plural-exp.c: Likewise.
6210 * intl/plural-exp.h: Switch to gettext copyright.
6211 Use ANSI definitions and prototypes.
6212 (struct expression): Move definition of enum operator outside
6213 of struct definition.
6214 * intl/plural.c: Regenerate.
6215 * intl/plural.y: Switch to gettext copyright.
6216 Use ANSI definitions and prototypes.
6218 * intl/textdomain.c: Switch to gettext copyright.
6219 Use ANSI definitions and prototypes.
6220 Use gl_* locking primitives rather than __libc_* ones.
6222 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6224 * debug/warning-nop.c: Add used atrribute.
6226 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6228 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6230 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6231 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6232 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6234 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6235 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6239 Undefine after defining function. Define as weak alias of
6240 __wcschr. Use libc_hidden_weak.
6241 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6242 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6243 (libc_hidden_def): Also define __GI___wcschr alias.
6244 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6245 __wcschr and define as weak alias of __wcschr.
6246 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6248 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6249 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6250 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6251 libc_hidden_weak. Do not use libc_hidden_def.
6252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6253 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6254 __GI___wcschr alias.
6255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6256 [IS_IN (libc)] (wcschr): Define as macro expanding to
6258 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6259 [IS_IN (libc)] (__wcschr_power6): Likewise.
6260 [IS_IN (libc)] (__wcschr_power7): Likewise.
6261 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6263 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6265 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6266 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6267 __wcschr and define as weak alias of __wcschr. Use
6268 libc_hidden_builtin_def.
6269 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6270 as weak alias of __wcschr. Use libc_hidden_weak.
6271 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6273 * time/era.c (_nl_init_era_entries): Likewise.
6274 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6276 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6277 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6279 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6281 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6282 format for long int variable.
6284 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6287 * manual/search.texi: (Array Sort Function): Remove claim how to make
6290 2014-12-10 Andreas Schwab <schwab@suse.de>
6293 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6294 user-controlled locks.
6296 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6298 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6301 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6303 * configure.ac (--disable-werror): New configure option.
6304 (enable_werror): New AC_SUBST.
6305 * configure: Regenerated.
6306 * config.make.in (enable-werror): New variable.
6307 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6309 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6310 * manual/install.texi (Configuring and compiling): Document
6312 * INSTALL: Regenerated.
6313 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6314 (CFLAGS-tst-chk2.c): Likewise.
6315 (CFLAGS-tst-chk3.c): Likewise.
6316 (CFLAGS-tst-chk4.cc): Likewise.
6317 (CFLAGS-tst-chk5.cc): Likewise.
6318 (CFLAGS-tst-chk6.cc): Likewise.
6319 (CFLAGS-tst-lfschk1.c): Likewise.
6320 (CFLAGS-tst-lfschk2.c): Likewise.
6321 (CFLAGS-tst-lfschk3.c): Likewise.
6322 (CFLAGS-tst-lfschk4.cc): Likewise.
6323 (CFLAGS-tst-lfschk5.cc): Likewise.
6324 (CFLAGS-tst-lfschk6.cc): Likewise.
6326 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6327 (main): Disable -Wdeprecated-declarations around calls to
6328 register_printf_function.
6330 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6331 (do_test): Disable -Wdiv-by-zero around some calls to
6332 fwrite_unlocked and fread_unlocked.
6334 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6335 (DIAG_POP_NEEDS_COMMENT): Likewise.
6336 (_DIAG_STR1): Likewise.
6337 (_DIAG_STR): Likewise.
6338 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6339 * stdio-common/bug21.c: Include <libc-internal.h>.
6340 (do_test): Disable -Wformat around call to sscanf.
6341 * stdio-common/scanf14.c: Include <libc-internal.h>.
6342 (main): Disable -Wformat around some calls to scanf functions.
6344 2014-12-09 Torvald Riegel <triegel@redhat.com>
6346 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6348 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6351 stack variable alignment.
6353 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6356 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6357 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6358 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6359 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6360 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6361 __getrlimit instead of getrlimit.
6362 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6363 __gettimeofday instead of gettimeofday.
6364 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6366 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6369 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6371 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6372 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6374 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6377 for wide-character tests.
6379 2014-12-04 Roland McGrath <roland@hack.frob.com>
6381 * io/openat64.c: #include <libc-internal.h>
6382 (__openat64): Prototypify. Use ignore_value on MODE.
6383 * io/openat.c: Likewise.
6384 * misc/reboot.c: #include <libc-internal.h>
6385 (reboot): Prototypify. Use ignore_value on HOWTO.
6386 * misc/ptrace.c: #include <libc-internal.h>
6387 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6389 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6391 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6392 XPG4, UNIX98 and XOPEN2K.
6393 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6395 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6397 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6399 * libio/fileops.c: Use ISO C style for function definitions.
6400 * libio/iofopen.c: Likewise.
6401 * libio/wfileops.c: Likewise.
6404 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6406 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6407 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6408 (fgets_func): Function pointer to fgets and fgetws.
6409 (do_ftell_test): Add test to verify ftell value after read
6411 (do_test): Set fgets_func.
6413 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6414 O_TRUNC flag for w and w+ modes.
6415 (do_rewind_test): Likewise.
6416 (do_ftell_test): Likewise.
6417 (do_write_test): Likewise.
6420 * libio/fileops.c (do_ftell): Seek only when there are
6422 * libio/wfileops.c (do_ftell_wide): Likewise.
6423 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6425 (do_one_test): Call it.
6427 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6429 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6430 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6431 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6433 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6434 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6435 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6437 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6439 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6441 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6444 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6445 as weak alias of __getifaddrs. Use libc_hidden_weak.
6446 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6447 __freeifaddrs. Use libc_hidden_weak.
6448 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6449 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6450 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6451 __freeifaddrs. Use libc_hidden_weak.
6452 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6453 __getifaddrs and define as weak alias of __getifaddrs. Use
6455 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6456 __freeifaddrs. Use libc_hidden_weak.
6457 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6459 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6460 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6462 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6465 * sysdeps/mips/start.S (__start): Use indirect jump to call
6468 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6470 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6472 * nptl/tst-mutex1.c: Include <stdbool.h>.
6473 [!ATTR] (ATTR_NULL): New macro.
6474 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6475 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6476 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6478 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6482 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6483 Change conditional to [__USE_MISC].
6486 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6488 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6490 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6492 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6494 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6495 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6496 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6497 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6499 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6500 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6501 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6502 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6504 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6506 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6509 Remove strpbrk objects.
6510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6511 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6512 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6513 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6514 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6515 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6517 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6518 Remove strcspn objects.
6519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6520 (__libc_ifunc_impl_list): Remove strcspn implementation.
6521 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6522 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6523 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6524 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6527 Remove strspn objetcs.
6528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6529 (__libc_ifunc_impl_list): Remove strspn implementation.
6530 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6531 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6532 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6533 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6535 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6539 (mem2mem_check): Add a terminator to the chain of checking blocks.
6540 (malloc_check_get_size): Use it here.
6541 (mem2chunk_check): Ditto.
6543 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6545 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6546 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6548 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6550 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6552 * nptl/nptl-init.c: Include libc-internal.h.
6553 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6555 * elf/ldconfig.c (search_dir): Expand comment.
6557 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6559 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6561 (linknamespace-symlist-stdlibs-tests): Likewise.
6562 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6563 instead of $(objpfx)symlist-stdlibs.
6564 (linknamespace-libs-isoc): New variable.
6565 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6566 (linknamespace-libs-ISO): New variable.
6567 (linknamespace-libs-ISO99): Likewise.
6568 (linknamespace-libs-ISO11): Likewise.
6569 (linknamespace-libs-XPG3): Likewise.
6570 (linknamespace-libs-XPG4): Likewise.
6571 (linknamespace-libs-POSIX): Likewise.
6572 (linknamespace-libs-UNIX98): Likewise.
6573 (linknamespace-libs-XOPEN2K): Likewise.
6574 (linknamespace-libs-POSIX2008): Likewise.
6575 (linknamespace-libs-XOPEN2K8): Likewise.
6576 ($(objpfx)symlist-stdlibs): Replace by
6577 $(linknamespace-symlist-stdlibs-tests). Use
6578 $(linknamespace-libs-$*) as set of libraries.
6579 ($(linknamespace-header-tests)): Update dependencies. Use
6580 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6581 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6582 * conform/linknamespace.pl: Remove comment about considering
6583 definitions of symbols from irrelevant libraries.
6585 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6588 * elf/dl-tls.c: Include <atomic.h>.
6589 (oom): Remove #ifdef SHARED/#endif.
6590 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6591 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6592 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6594 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6595 * nptl/Makefile (tests): Add tst-stack4.
6596 (modules-names): Add tst-stack4mod.
6597 ($(objpfx)tst-stack4): New.
6598 (tst-stack4mod.sos): Likewise.
6599 ($(objpfx)tst-stack4.out): Likewise.
6600 ($(tst-stack4mod.sos)): Likewise.
6602 * nptl/tst-stack4.c: New file.
6603 * nptl/tst-stack4mod.c: Likewise.
6605 2014-11-27 J. Brown <jb999@gmx.de>
6607 * sysdeps/x86/bits/string.h: Add recent CPUs.
6609 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6611 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6614 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6617 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6620 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6622 * nscd/connections.c: Include libc-internal.h because of macro
6625 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * string/bits/string3.h (__warn_memset_zero_len): Don't
6628 declare for gcc newer than 5.0.
6629 (memset): Don't test for zero-length __LEN for gcc newer than
6632 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6634 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6635 size_t for %zu format.
6637 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6638 difference, not %ju.
6640 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6642 * include/libc-internal.h (ignore_value): New macro.
6643 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6646 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6649 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6650 pthread_cleanup_push to void *.
6652 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6658 instead of 1L << 52.
6660 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6661 * libio/bug-rewind2.c (do_test): Likewise.
6663 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6664 * debug/test-strcpy_chk-ifunc.c: Likewise.
6665 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6666 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6667 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6668 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6669 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6670 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6671 * Rules [$(multi-arch) = no] (tests): Do not filter out
6673 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6674 * debug/Makefile (tests-ifunc): Remove variable.
6675 (tests): Do not add $(tests-ifunc).
6676 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6677 (tests): Do not add $(tests-ifunc).
6678 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6679 [TEST_IFUNC]: Remove conditionals.
6680 * string/test-string.h (TEST_IFUNC): Remove macro.
6681 [TEST_IFUNC]: Remove conditionals.
6683 * string/test-strchr.c [!WIDE] (L): New macro.
6684 [WIDE] (L): Likewise.
6685 (check1): Use CHAR instead of char. Use L on string and character
6688 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6690 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6692 * sysdeps/powerpc/bits/atomic.h
6693 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6694 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6695 (atomic_exchange_and_add_acq): Likewise.
6696 (atomic_exchange_and_add_rel): Likewise.
6697 * sysdeps/powerpc/powerpc32/bits/atomic.h
6698 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6699 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6700 * sysdeps/powerpc/powerpc64/bits/atomic.h
6701 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6702 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6704 2014-11-26 Torvald Riegel <triegel@redhat.com>
6706 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6707 Change synchronization of __sched_fifo_min_prio and
6708 __sched_fifo_max_prio.
6709 * nptl/pthread_mutexattr_getprioceiling.c
6710 (pthread_mutexattr_getprioceiling): Likewise.
6711 * nptl/pthread_mutexattr_setprioceiling.c
6712 (pthread_mutexattr_setprioceiling): Likewise.
6713 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6714 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6717 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6719 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6722 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6724 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6725 third argument const.
6727 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6729 fnmatch: work around GCC compiler warning bug with uninit var
6730 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6731 This works around a bug with x86-64 GCC 4.9.2 and earlier
6732 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6733 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6734 used uninitialized in this function [-Wmaybe-uninitialized]".
6736 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6738 * posix/bug-regex31.c (main): Return RES not 0.
6740 2014-11-25 Anton Blanchard <anton@samba.org>
6742 * sysdeps/powerpc/bits/atomic.h
6743 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6745 2014-11-24 Sterling Augustine <saugustine@google.com>
6747 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6749 2014-11-24 Ryan Cumming <etaoins@gmail.com>
6752 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6754 2014-11-24 Joseph Myers <joseph@codesourcery.com>
6757 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6758 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6760 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6761 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6763 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6765 * string/strncpy.c (strncpy): Improve performance by using memset.
6767 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6769 * string/strcpy.c (strcpy):
6770 Improve performance by using strlen and memcpy.
6772 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
6774 * string/strcoll_l.c (get_next_seq): __always_inline.
6775 * string/strcoll_l.c (do_compare): __always_inline.
6777 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6781 * include/mqueue.h: Likewise.
6782 * include/stdlib.h: Likewise.
6784 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6785 (get_null_defines): Adjust.
6786 * sunrpc/Makefile: Adjust comment.
6787 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6788 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6789 (CFLAGS-interp.c): Likewise.
6790 (CFLAGS-ldconfig.c): Likewise.
6791 (CPPFLAGS-.os): Likewise.
6792 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6793 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6794 * extra-modules.mk (extra-modules.mk): Likewise.
6795 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6796 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6797 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6798 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6799 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6800 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6801 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6802 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6803 * iconvdata/Makefile (CPPFLAGS): Likewise.
6804 (cpp-srcs-left): Add libof for all iconvdata routines.
6805 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6806 * include/assert.h: Likewise.
6807 * include/ctype.h: Likewise.
6808 * include/errno.h: Likewise.
6809 * include/libc-symbols.h: Likewise.
6810 * include/math.h: Likewise.
6811 * include/netdb.h: Likewise.
6812 * include/resolv.h: Likewise.
6813 * include/stdio.h: Likewise.
6814 * include/stdlib.h: Likewise.
6815 * include/string.h: Likewise.
6816 * include/sys/stat.h: Likewise.
6817 * include/wctype.h: Likewise.
6818 * intl/l10nflist.c: Likewise.
6819 * libidn/idn-stub.c: Likewise.
6820 * libio/libioP.h: Likewise.
6821 * nptl/libc_multiple_threads.c: Likewise.
6822 * nptl/pthreadP.h: Likewise.
6823 * posix/regex_internal.h: Likewise.
6824 * resolv/res_hconf.c: Likewise.
6825 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6826 * sysdeps/arm/memmove.S: Likewise.
6827 * sysdeps/arm/sysdep.h: Likewise.
6828 * sysdeps/generic/_itoa.h: Likewise.
6829 * sysdeps/generic/symbol-hacks.h: Likewise.
6830 * sysdeps/gnu/errlist.awk: Likewise.
6831 * sysdeps/gnu/errlist.c: Likewise.
6832 * sysdeps/i386/i586/memcpy.S: Likewise.
6833 * sysdeps/i386/i586/memset.S: Likewise.
6834 * sysdeps/i386/i686/memcpy.S: Likewise.
6835 * sysdeps/i386/i686/memmove.S: Likewise.
6836 * sysdeps/i386/i686/mempcpy.S: Likewise.
6837 * sysdeps/i386/i686/memset.S: Likewise.
6838 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6839 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6841 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6842 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6844 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6885 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6890 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6893 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6899 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6900 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6901 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6902 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6903 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6904 * sysdeps/posix/closedir.c: Likewise.
6905 * sysdeps/posix/opendir.c: Likewise.
6906 * sysdeps/posix/readdir.c: Likewise.
6907 * sysdeps/posix/rewinddir.c: Likewise.
6908 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6909 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6910 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6944 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6947 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6948 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6949 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6950 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6953 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6954 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6955 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6956 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6957 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6960 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6962 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6964 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6965 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6966 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6967 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6968 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6969 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6972 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6973 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6975 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6977 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6980 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6982 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6984 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6986 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6987 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6988 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6992 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6993 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6994 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6995 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6996 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6997 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6998 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6999 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7000 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7006 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7007 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7009 * sysdeps/unix/alpha/sysdep.S: Likewise.
7010 * sysdeps/unix/alpha/sysdep.h: Likewise.
7011 * sysdeps/unix/make-syscalls.sh: Likewise.
7012 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7015 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7016 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7017 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7018 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7019 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7020 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7021 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7023 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7025 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7026 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7027 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7028 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7029 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7030 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7031 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7032 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7033 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7034 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7035 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7036 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7037 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7041 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7051 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7052 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7053 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7054 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7055 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7056 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7063 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7064 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7065 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7066 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7070 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7071 * sysdeps/x86_64/memcpy.S: Likewise.
7072 * sysdeps/x86_64/memmove.c: Likewise.
7073 * sysdeps/x86_64/memset.S: Likewise.
7074 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7076 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7077 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7078 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7079 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7081 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7082 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7083 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7084 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7085 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7086 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7087 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7091 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7093 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7094 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7095 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7098 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7099 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7101 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7103 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7104 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7105 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7106 * sysdeps/x86_64/strcmp.S: Likewise.
7108 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7110 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7111 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7112 * elf/rtld-Rules: Likewise.
7113 * elf/setup-vdso.h: Likewise.
7114 * include/assert.h: Likewise.
7115 * include/bits/stdlib-float.h: Likewise.
7116 * include/errno.h: Likewise.
7117 * include/sys/stat.h: Likewise.
7118 * include/unistd.h: Likewise.
7119 * sysdeps/aarch64/setjmp.S: Likewise.
7120 * sysdeps/alpha/setjmp.S: Likewise.
7121 * sysdeps/arm/__longjmp.S: Likewise.
7122 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7123 * sysdeps/arm/setjmp.S: Likewise.
7124 * sysdeps/arm/sysdep.h: Likewise.
7125 * sysdeps/generic/_itoa.h: Likewise.
7126 * sysdeps/generic/dl-sysdep.h: Likewise.
7127 * sysdeps/generic/ldsodefs.h: Likewise.
7128 * sysdeps/i386/dl-tls.h: Likewise.
7129 * sysdeps/i386/setjmp.S: Likewise.
7130 * sysdeps/m68k/setjmp.c: Likewise.
7131 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7132 * sysdeps/mach/hurd/opendir.c: Likewise.
7133 * sysdeps/posix/getcwd.c: Likewise.
7134 * sysdeps/posix/opendir.c: Likewise.
7135 * sysdeps/posix/profil.c: Likewise.
7136 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7137 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7140 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7141 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7142 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7143 * sysdeps/s390/dl-tls.h: Likewise.
7144 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7145 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7146 * sysdeps/sh/sh3/setjmp.S: Likewise.
7147 * sysdeps/sh/sh4/setjmp.S: Likewise.
7148 * sysdeps/unix/alpha/sysdep.h: Likewise.
7149 * sysdeps/unix/arm/sysdep.S: Likewise.
7150 * sysdeps/unix/i386/sysdep.S: Likewise.
7151 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7152 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7154 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7157 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7158 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7160 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7161 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7162 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7166 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7170 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7174 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7175 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7178 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7179 * sysdeps/x86_64/setjmp.S: Likewise.
7181 * include/math.h: Use IS_IN instead of IS_IN_libm.
7182 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7194 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7202 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7203 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7204 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7205 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7206 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7207 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7209 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7210 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7211 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7212 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7213 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7214 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7225 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7226 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7227 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7228 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7229 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7230 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7237 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7238 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7239 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7241 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7242 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7243 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7244 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7245 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7246 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7249 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7251 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7253 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7254 * nptl/pthreadP.h: Likewise.
7255 * nptl_db/structs.def: Likewise.
7256 * sysdeps/arm/sysdep.h: Likewise.
7257 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7258 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7259 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7260 * sysdeps/unix/alpha/sysdep.h: Likewise.
7261 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7263 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7265 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7266 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7268 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7269 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7270 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7271 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7272 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7273 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7274 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7283 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7284 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7285 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7286 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7288 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7289 * nptl/pthreadP.h: Likewise.
7290 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7291 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7292 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7293 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7295 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7296 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7297 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7298 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7299 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7300 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7301 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7311 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7312 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7313 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7315 * dlfcn/dladdr.c: Use IS_IN.
7316 * dlfcn/dladdr1.c: Likewise.
7317 * dlfcn/dlclose.c: Likewise.
7318 * dlfcn/dlerror.c: Likewise.
7319 * dlfcn/dlinfo.c: Likewise.
7320 * dlfcn/dlmopen.c: Likewise.
7321 * dlfcn/dlopen.c: Likewise.
7322 * dlfcn/dlsym.c: Likewise.
7323 * dlfcn/dlvsym.c: Likewise.
7325 * include/ifaddrs.h: Use IS_IN.
7326 * inet/check_pf.c: Likewise.
7327 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7328 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7330 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7332 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7333 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7335 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7336 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7339 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7341 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7342 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7343 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7344 * include/libc-symbols.h (IS_IN_LIB): New macro.
7345 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7346 * include/netdb.h: Likewise.
7347 * include/stap-probe.h: Remove all uses of IN_LIB.
7349 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7350 instead of IN_MODULE.
7351 * include/libc-symbols.h (IN_MODULE): Define using
7353 (PASTE_NAME, PASTE_NAME1): New macros.
7354 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7356 (STAP_PROBE_ASM): Likewise.
7358 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7360 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7361 __mach_init in dlopened libc.
7363 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7365 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7366 * sysdeps/arm/preconfigure: Regenerate.
7368 2014-11-21 Roland McGrath <roland@hack.frob.com>
7370 * nptl/pthread_create.c (__pthread_create_2_1): Set
7371 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7372 when copying values from IATTR into PD.
7374 2014-11-21 Will Newton <will.newton@linaro.org>
7375 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7377 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7378 Refactor inline-asm. Also add comment.
7380 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7381 ElfW macro instead of hardcoded Elf64 types.
7382 (la_aarch64_gnu_pltenter): Likewise.
7383 * sysdeps/aarch64/dl-machine.h
7384 (elf_machine_runtime_setup): Use ElfW(Addr).
7386 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7387 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7388 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7389 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7390 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7391 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7392 (R_AARCH64_TLS_DTPMOD): This.
7393 (R_AARCH64_TLS_DTPREL64): Rename to ...
7394 (R_AARCH64_TLS_DTPREL): This.
7395 (R_AARCH64_TLS_TPREL64): Rename to ...
7396 (R_AARCH64_TLS_TPREL): This.
7397 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7398 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7399 R_AARCH64_TLS_TPREL64.
7400 (elf_machine_rela): Likewise.
7402 2014-11-21 Torvald Riegel <triegel@redhat.com>
7404 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7405 by setting it to 0. 64b atomics are not supported currently.
7407 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7410 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7411 search domain names.
7413 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7417 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7419 * posix/tst-getaddrinfo5.c: New.
7420 * posix/Makefile (tests): Add it.
7422 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7426 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7427 after parsing line but before break_if_match.
7428 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7429 if there is a protocol mismatch.
7431 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7433 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7434 because the potential race is on the user-supplied stream.
7436 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7438 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7439 string literal if not passed a buffer.
7440 * manual/job.texi (ctermid): Update reasoning, note deviation
7441 from posix, suggest mtasurace when not passed a buffer, for
7442 future non-preliminary safety notes.
7444 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7446 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7447 of not passing it a buffer.
7448 Reported by Peng Haitao.
7450 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7452 * manual/Makefile ($(objpfx)stamp-summary): Require
7453 check-safety.sh to pass.
7454 * manual/check-safety.sh: Wish for verification that every
7455 @deftypefn and @deftypefun is followed by a @safety remark.
7457 2014-11-20 Roland McGrath <roland@hack.frob.com>
7459 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7461 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7462 PTHREAD_CANCEL_ASYNCHRONOUS.
7463 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7466 * nptl/default-sched.h: New file.
7467 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7468 * nptl/pthread_create.c: Include it.
7469 (__pthread_create_2_1): Use collect_default_sched instead of making
7470 Linux syscalls here directly.
7472 2014-11-20 Torvald Riegel <triegel@redhat.com>
7474 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7475 __pthread_once): Use C11 atomics.
7477 2014-11-20 Torvald Riegel <triegel@redhat.com>
7479 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7481 2014-11-20 Torvald Riegel <triegel@redhat.com>
7483 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7484 atomic_thread_fence_acquire, atomic_thread_fence_release,
7485 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7486 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7487 atomic_compare_exchange_weak_relaxed,
7488 atomic_compare_exchange_weak_acquire,
7489 atomic_compare_exchange_weak_release,
7490 atomic_exchange_acquire, atomic_exchange_release,
7491 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7492 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7493 atomic_fetch_and_acquire,
7494 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7496 2014-11-20 Torvald Riegel <triegel@redhat.com>
7498 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7499 USE_ATOMIC_COMPILER_BUILTINS): Define.
7500 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7502 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7504 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7506 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7508 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7510 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7512 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7514 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7516 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7518 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7520 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7522 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7524 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7526 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7527 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7528 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7530 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7532 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7534 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7535 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7536 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7538 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7541 2014-11-19 Roland McGrath <roland@hack.frob.com>
7543 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7544 the sched_priority value here. It was already checked when the user
7545 called pthread_attr_setschedparam.
7547 * nptl/tst-bad-schedattr.c: New file.
7548 * nptl/Makefile (tests): Add it.
7550 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7551 Florian Weimer <fweimer@redhat.com>
7552 Joseph Myers <joseph@codesourcery.com>
7553 Adam Conrad <adconrad@0c3.net>
7554 Andreas Schwab <schwab@suse.de>
7555 Brooks <bmoses@google.com>
7558 * wordexp-test.c (__dso_handle): Add prototype.
7559 (__register_atfork): Likewise.
7560 (__app_register_atfork): New function.
7561 (registered_forks): New global.
7562 (register_fork): New function.
7563 (test_case): Add 3 new tests for WRDE_CMDSUB.
7564 (main): Call __app_register_atfork.
7565 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7566 fork count is non-zero fail the test.
7567 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7569 (parse_dollars): Remove check for WRDE_NOCMD.
7570 (parse_dquote): Likewise.
7572 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7574 * Makeconfig (built-modules): List non-library modules to be
7576 (module-cppflags): Include libc-modules.h for
7577 everything except shlib-versions.v.i.
7579 (before-compile): Add libc-modules.h.
7580 ($(common-objpfx)libc-modules.h,
7581 $(common-objpfx)libc-modules.stmp): New targets.
7582 (common-generated): Add libc-modules.h and libc-modules.stmp.
7583 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7584 * include/libc-symbols.h: Don't include libc-modules.h.
7585 * include/libc-modules.h: Remove file.
7586 * scripts/gen-libc-modules.awk: New script to generate
7588 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7589 Depend on libc-modules.stmp.
7591 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7593 * Makeconfig (in-module): Get value of libof set for the
7595 (CPPFLAGS): Use $(in-module).
7596 * Makerules: Don't suffix routine names for nonlib.
7597 * include/libc-modules.h: New file.
7598 * include/libc-symbols.h: Include libc-modules.h
7599 (IS_IN): New macro to replace IS_IN_* macros.
7600 * elf/Makefile: Set libof-* for each routine.
7601 * elf/rtld-Rules: Likewise.
7602 * extra-modules.mk: Likewise.
7603 * iconv/Makefile: Likewise.
7604 * iconvdata/Makefile: Likewise.
7605 * locale/Makefile: Likewise.
7606 * malloc/Makefile: Likewise.
7607 * nss/Makefile: Likewise.
7608 * sysdeps/gnu/Makefile: Likewise.
7609 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7610 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7611 * sysdeps/s390/s390-64/Makefile: Likewise.
7612 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7613 CPPFLAGS for nscd instead of nonlib.
7615 2014-11-18 Roland McGrath <roland@hack.frob.com>
7617 * nptl/createthread.c: New file.
7619 * nptl/createthread.c: Moved ...
7620 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7622 * nptl/createthread.c: Add proper top-line comment.
7623 (do_clone): Folded into ...
7624 (create_thread): ... here. Take new arguments STOPPED_START and
7625 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7626 increment __nptl_threads, do event-reporting logic, do
7627 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7628 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7629 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7630 just send SIGCANCEL.
7631 * nptl/pthread_create.c: Forward-declare create_thread before
7632 including createthread.c.
7633 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7634 declaration, and new macro START_THREAD_SELF to replace argument.
7635 Remove return statement.
7636 (report_thread_creation): New function.
7637 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7638 synchronization logic, and __nptl_nthreads increment here, around
7639 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7640 PD->parent_cancelhandling here, before create_thread. When
7641 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7642 __deallocate_stack, and ENOMEM translation here.
7644 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7647 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7648 (mptwo): Rename to __mptwo.
7649 (__inv): Use __mptwo instead of mptwo.
7650 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7651 (mptwo): Rename to __mptwo.
7652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7653 of mpone and __mptwo instead of mptwo.
7654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7657 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7658 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7659 of mpone and __mptwo instead of mptwo.
7660 (__mpranred): Use __mpone instead of mpone.
7661 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7663 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7664 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7665 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7666 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7667 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7668 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7669 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7670 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7671 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7672 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7673 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7674 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7675 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7676 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7677 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7678 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7679 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7680 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7681 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7683 2014-11-18 Tom de Vries <tom@codesoucery.com>
7685 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7686 replace BSD Handler xref with BSD Signal Handling.
7688 2014-11-17 Richard Henderson <rth@redhat.com>
7690 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7691 (_FP_PACK_RAW_2): Remove.
7692 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7693 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7694 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7695 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7696 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7697 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7698 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7699 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7700 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7701 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7702 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7703 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7704 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7705 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7706 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7707 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7709 2014-11-14 Roland McGrath <roland@hack.frob.com>
7711 * signal/signal.h [__USE_MISC]
7712 (struct sigvec): Remove type.
7713 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7714 (sigvec): Remove declaration.
7715 * sysdeps/posix/sigvec.c: Moved ...
7716 * signal/sigvec.c: ... here, replacing old file.
7717 (struct sigvec): New type, copied from old signal.h definition.
7718 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7719 (__sigvec): Convert definition to prototype.
7720 (sigvec): Replace weak_alias with compat_symbol.
7721 * signal/Versions (libc: GLIBC_2.21): New version set.
7722 * include/signal.h: Remove __sigvec declaration.
7723 * sysdeps/unix/bsd/sigvec.c: Remove file.
7724 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7725 * manual/signal.texi (BSD Handler): Remove subsection.
7726 Move siginterrupt up to ...
7727 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7728 (Blocking in BSD): Fold subsection into its parent.
7729 * NEWS: Mention sigvec removal.
7731 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7733 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7734 (DLA_FMS): Make definition conditional only on [__FMA4__].
7735 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7738 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7739 Make definition conditional only on [PROF].
7740 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7742 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7743 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7745 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7747 * include/signal.h (__sigpause): Move declaration above call to
7749 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7751 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7752 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7754 2014-11-14 David S. Miller <davem@davemloft.net>
7756 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7757 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7759 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7761 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7762 * configure: Regenerated.
7763 * manual/install.texi (Tools for Compilation): Document a
7764 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7765 compiler verified to work.
7766 * INSTALL: Regenerated.
7768 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7769 redeclare with asm name.
7770 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7771 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7772 including <string.h>.
7773 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7774 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7775 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7777 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7778 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7779 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7781 2014-11-13 Joseph Myers <joseph@codesourcery.com>
7783 * stdlib/strtol.c (__strtol): Use prototype definition.
7786 * stdlib/strtol.c (SYM__): New macro.
7788 (__strtol): Likewise.
7789 (strtol): Rename to __strtol and define as weak alias of
7790 __strtol. Use libc_hidden_weak.
7792 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7794 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7795 Use numbered labels in inline assembly.
7797 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7799 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7800 Add setjmp LIBC_PROBE.
7801 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7803 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7804 Add longjmp, longjmp_target LIBC_PROBE.
7805 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7808 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7810 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7811 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7812 to get rid of unused variable warning.
7814 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7816 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7817 Check for unwind_backtrace == NULL only in SHARED case.
7818 (__backchain_backtrace): Compile only in SHARED case.
7819 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7821 (__backchain_backtrace): Declare as static.
7823 2014-11-12 Roland McGrath <roland@hack.frob.com>
7825 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7826 (__libc_multiple_threads_ptr): Variable moved ...
7827 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7829 2014-11-12 Joseph Myers <joseph@codesourcery.com>
7831 * conform/GlibcConform.pm: New file.
7832 * conform/conformtest.pl: Use GlibcConform module.
7833 * conform/linknamespace.pl: New file.
7834 * conform/list-header-symbols.pl: Likewise.
7835 * conform/Makefile (linknamespace-symlists-base): New variable.
7836 (linknamespace-symlists-tests): Likewise.
7837 (linknamespace-header-base): Likewise.
7838 (linknamespace-header-tests): Likewise.
7839 (tests-special): Add new tests.
7840 ($(linknamespace-symlists-tests)): New rule.
7841 (linknamespace-libs): New variable.
7842 ($(objpfx)symlist-stdlibs): New rule.
7843 ($(linknamespace-header-tests)): Likewise.
7844 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7845 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7846 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7847 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7848 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7849 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7850 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7851 (test-xfail-ISO/math.h/linknamespace): Likewise.
7852 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7853 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7854 (test-xfail-ISO/time.h/linknamespace): Likewise.
7855 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7856 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7857 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7858 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7859 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7860 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7861 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7862 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7863 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7864 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7865 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7866 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7867 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7868 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7869 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7870 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7871 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7872 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7873 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7874 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7875 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7876 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7877 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7878 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7879 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7880 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7881 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7882 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7883 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7884 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7885 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7886 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7887 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7888 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7889 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7890 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7891 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7892 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7893 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7894 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7895 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7896 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7897 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7898 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7899 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7900 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7901 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7902 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7903 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7904 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7905 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7906 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7907 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7908 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7909 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7910 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7911 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7912 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7913 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7914 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7915 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7916 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7917 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7918 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7919 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7920 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7921 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7922 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7923 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7924 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7925 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7926 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7927 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7928 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7929 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7930 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7931 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7932 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7933 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7934 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7935 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7936 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7937 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7938 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7939 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7940 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7941 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7942 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7943 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7944 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7945 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7946 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7947 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7948 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7949 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7950 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7951 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7952 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7953 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7954 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7955 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7956 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7957 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7958 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7959 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7960 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7961 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7962 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7963 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7964 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7965 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7966 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7967 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7968 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7969 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7970 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7971 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7972 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7973 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7974 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7975 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7976 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7977 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7978 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7979 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7980 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7981 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7982 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7983 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7984 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7985 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7986 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7987 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7988 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7989 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7990 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7991 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7992 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7993 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7994 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7995 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7996 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7997 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7998 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7999 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8000 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8001 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8002 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8003 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8004 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8007 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8011 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8012 (memmem): Rename to __memmem and define as weak alias of
8013 __memmem. Use libc_hidden_weak.
8014 (__memmem): Use libc_hidden_def.
8015 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8016 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8020 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8021 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8022 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8023 and define as weak alias of __fgets_unlocked. Use
8025 (__fgets_unlocked): Use libc_hidden_def.
8026 * include/stdio.h (__fgets_unlocked): Declare. Use
8028 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8029 __fgets_unlocked instead of fgets_unlocked.
8030 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8031 (GET_NPROCS_CONF_PARSER): Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8033 (GET_NPROCS_CONF_PARSER): Likewise.
8036 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8037 weak alias of __wmemset. Use libc_hidden_weak.
8038 (__wmemset): Use libc_hidden_def.
8039 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8040 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8044 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8045 with asm name __mempcpy.
8046 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8049 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8050 and define as weak alias of __rawmemchr.
8051 (__rawmemchr): Do not define as strong alias of rawmemchr.
8054 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8056 (qsort): Call __qsort_r instead of qsort_r.
8057 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8058 (__qsort_r): Declare. Call libc_hidden_proto.
8059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8061 * nscd/gai.c (__qsort_r): Define to qsort_r.
8062 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8063 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8064 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8067 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8068 define as weak alias of __malloc_info.
8071 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8072 as weak alias of __rewinddir. Don't use libc_hidden_def.
8073 (__rewinddir): Use libc_hidden_def.
8074 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8075 as weak alias of __rewinddir. Don't use libc_hidden_def.
8076 (__rewinddir): Use libc_hidden_def.
8077 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8078 weak alias of __rewinddir. Don't use libc_hidden_def.
8079 (__rewinddir): Use libc_hidden_def.
8080 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8081 (__rewinddir): Use libc_hidden_proto.
8082 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8084 (__getcwd): Use __rewinddir instead of rewinddir.
8087 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8088 alias of __fileno. Use libc_hidden_weak.
8089 (__fileno): Use libc_hidden_def.
8090 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8091 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8093 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8095 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8096 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8098 (fread_unlocked): Don't use libc_hidden_ver.
8099 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8100 and define as weak alias of __fread_unlocked. Don't use
8102 (__fread_unlocked): Use libc_hidden_def.
8103 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8104 (ftello): Don't use libc_hidden_proto.
8105 (__ftello): Declare. Use libc_hidden_proto.
8106 (fread_unlocked): Don't use libc_hidden_proto.
8107 (__fread_unlocked): Declare. Use libc_hidden_proto.
8108 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8109 and __ftello instead of fileno, fread_unlocked and ftello.
8111 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8113 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8117 (_dl_start_user): Likewise.
8118 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8120 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8121 Siddhesh Poyarekar <siddhesh@redhat.com>
8123 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8124 Move argv and envp down instead of moving argc up.
8125 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8127 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8130 * test-skeleton.c (main): Return successful if one of
8131 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8132 * string/tst-strcoll-overflow.c: Define expected status.
8134 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8137 * locale/iso-639.def: Define Bhili and Tulu language codes.
8139 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8141 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8143 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8146 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8148 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8150 * configure.ac: Updated check of minimal required version to
8152 * manual/install.texi (Tools for Compilation): Updated version
8154 * configure: Regenerated.
8155 * INSTALL: Likewise.
8157 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8159 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8162 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8164 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8165 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8166 (__waitpid): Don't define as alias. Use libc_hidden_def not
8168 (waitpid): Define as alias of __waitpid.
8169 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8171 (__waitpid): Don't define as alias. Use libc_hidden_def not
8173 (waitpid): Define as alias of __waitpid.
8174 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8175 __libc_waitpid alias.
8176 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8179 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8180 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8181 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8183 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8185 (__waitpid): Don't define as alias. Use libc_hidden_def not
8187 (waitpid): Define as alias of __waitpid.
8189 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8191 * manual/llio.texi: Add comment that write safety has been
8194 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8195 (localplt-build-dso): Add elf/ld.so.
8196 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8197 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8200 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8205 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8206 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8207 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8208 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8209 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8210 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8211 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8212 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8213 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8214 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8217 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8220 * include/libc-symbols.h (INTUSE): Remove macro.
8222 (INTVARDEF): Likewise.
8223 (_INTVARDEF): Likewise.
8224 (INTDEF2): Likewise.
8225 (INTVARDEF2): Likewise.
8226 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8227 rtld_hidden_def instead of INTVARDEF.
8228 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8229 (_dl_starting_up_internal): Remove declaration.
8230 (_dl_starting_up): Use rtld_hidden_proto.
8231 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8233 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8234 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8236 * elf/dl-writev.h (_dl_writev): Likewise.
8237 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8238 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8239 _dl_starting_up_internal.
8241 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8246 2014-11-05 Will Newton <will.newton@linaro.org>
8248 * benchtests/Makefile: (bench-malloc): Add malloc thread
8249 scalability benchmark.
8250 * benchtests/bench-malloc-threads.c: New file.
8252 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8254 * sysdeps/aarch64/strchrnul.S: New file.
8256 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8258 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8260 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8268 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8271 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8273 * catgets/test-gencat.c: Use test-skeleton.c.
8274 * catgets/tst-catgets.c: Likewise.
8275 * csu/tst-empty.c: Likewise.
8276 * elf/tst-audit2.c: Likewise.
8277 * elf/tst-global1.c: Likewise.
8278 * elf/tst-pathopt.c: Likewise.
8279 * elf/tst-piemod1.c: Likewise.
8280 * elf/tst-tls10.c: Likewise.
8281 * elf/tst-tls11.c: Likewise.
8282 * elf/tst-tls12.c: Likewise.
8283 * gnulib/tst-gcc.c: Likewise.
8284 * iconvdata/tst-e2big.c: Likewise.
8285 * iconvdata/tst-loading.c: Likewise.
8286 * iconv/tst-iconv1.c: Likewise.
8287 * iconv/tst-iconv2.c: Likewise.
8288 * inet/test-inet6_opt.c: Likewise.
8289 * inet/tst-gethnm.c: Likewise.
8290 * inet/tst-network.c: Likewise.
8291 * inet/tst-ntoa.c: Likewise.
8292 * intl/tst-codeset.c: Likewise.
8293 * intl/tst-gettext2.c: Likewise.
8294 * intl/tst-gettext3.c: Likewise.
8295 * intl/tst-ngettext.c: Likewise.
8296 * intl/tst-translit.c: Likewise.
8297 * io/test-stat.c: Likewise.
8298 * libio/test-fmemopen.c: Likewise.
8299 * libio/tst-freopen.c: Likewise.
8300 * libio/tst-sscanf.c: Likewise.
8301 * libio/tst-ungetwc1.c: Likewise.
8302 * libio/tst-ungetwc2.c: Likewise.
8303 * libio/tst-widetext.c: Likewise.
8304 * localedata/tst-ctype.c: Likewise.
8305 * localedata/tst-digits.c: Likewise.
8306 * localedata/tst-leaks.c: Likewise.
8307 * localedata/tst-mbswcs1.c: Likewise.
8308 * localedata/tst-mbswcs2.c: Likewise.
8309 * localedata/tst-mbswcs3.c: Likewise.
8310 * localedata/tst-mbswcs4.c: Likewise.
8311 * localedata/tst-mbswcs5.c: Likewise.
8312 * localedata/tst-setlocale.c: Likewise.
8313 * localedata/tst-trans.c: Likewise.
8314 * localedata/tst-wctype.c: Likewise.
8315 * localedata/tst-xlocale1.c: Likewise.
8316 * login/tst-grantpt.c: Likewise.
8317 * malloc/tst-calloc.c: Likewise.
8318 * malloc/tst-malloc.c: Likewise.
8319 * malloc/tst-mallocstate.c: Likewise.
8320 * malloc/tst-mcheck.c: Likewise.
8321 * malloc/tst-mtrace.c: Likewise.
8322 * malloc/tst-obstack.c: Likewise.
8323 * math/atest-exp2.c: Likewise.
8324 * math/atest-exp.c: Likewise.
8325 * math/atest-sincos.c: Likewise.
8326 * math/test-matherr.c: Likewise.
8327 * math/test-misc.c: Likewise.
8328 * math/test-powl.c: Likewise.
8329 * math/tst-definitions.c: Likewise.
8330 * misc/tst-dirname.c: Likewise.
8331 * misc/tst-efgcvt.c: Likewise.
8332 * misc/tst-fdset.c: Likewise.
8333 * misc/tst-hsearch.c: Likewise.
8334 * misc/tst-mntent2.c: Likewise.
8335 * nptl/tst-sem7.c: Likewise.
8336 * nptl/tst-sem8.c: Likewise.
8337 * nptl/tst-sem9.c: Likewise.
8338 * nss/test-netdb.c: Likewise.
8339 * posix/tst-fnmatch.c: Likewise.
8340 * posix/tst-getlogin.c: Likewise.
8341 * posix/tst-gnuglob.c: Likewise.
8342 * posix/tst-mmap.c: Likewise.
8343 * pwd/tst-getpw.c: Likewise.
8344 * resolv/tst-inet_ntop.c: Likewise.
8345 * rt/tst-timer.c: Likewise.
8346 * stdio-common/test-fseek.c: Likewise.
8347 * stdio-common/test-popen.c: Likewise.
8348 * stdio-common/test-vfprintf.c: Likewise.
8349 * stdio-common/tst-cookie.c: Likewise.
8350 * stdio-common/tst-fileno.c: Likewise.
8351 * stdio-common/tst-gets.c: Likewise.
8352 * stdio-common/tst-obprintf.c: Likewise.
8353 * stdio-common/tst-perror.c: Likewise.
8354 * stdio-common/tst-sprintf2.c: Likewise.
8355 * stdio-common/tst-sprintf3.c: Likewise.
8356 * stdio-common/tst-sprintf.c: Likewise.
8357 * stdio-common/tst-swprintf.c: Likewise.
8358 * stdio-common/tst-tmpnam.c: Likewise.
8359 * stdio-common/tst-unbputc.c: Likewise.
8360 * stdio-common/tst-wc-printf.c: Likewise.
8361 * stdlib/tst-environ.c: Likewise.
8362 * stdlib/tst-fmtmsg.c: Likewise.
8363 * stdlib/tst-limits.c: Likewise.
8364 * stdlib/tst-rand48-2.c: Likewise.
8365 * stdlib/tst-rand48.c: Likewise.
8366 * stdlib/tst-random2.c: Likewise.
8367 * stdlib/tst-random.c: Likewise.
8368 * stdlib/tst-strtol.c: Likewise.
8369 * stdlib/tst-strtoll.c: Likewise.
8370 * stdlib/tst-tls-atexit.c: Likewise.
8371 * stdlib/tst-xpg-basename.c: Likewise.
8372 * string/test-ffs.c: Likewise.
8373 * string/tst-bswap.c: Likewise.
8374 * string/tst-inlcall.c: Likewise.
8375 * string/tst-strtok.c: Likewise.
8376 * string/tst-strxfrm.c: Likewise.
8377 * sysdeps/x86_64/tst-audit10.c: Likewise.
8378 * sysdeps/x86_64/tst-audit3.c: Likewise.
8379 * sysdeps/x86_64/tst-audit4.c: Likewise.
8380 * sysdeps/x86_64/tst-audit5.c: Likewise.
8381 * time/tst-ftime_l.c: Likewise.
8382 * time/tst-getdate.c: Likewise.
8383 * time/tst-mktime3.c: Likewise.
8384 * time/tst-mktime.c: Likewise.
8385 * time/tst-posixtz.c: Likewise.
8386 * time/tst-strptime2.c: Likewise.
8387 * time/tst-strptime3.c: Likewise.
8388 * wcsmbs/tst-btowc.c: Likewise.
8389 * wcsmbs/tst-mbrtowc.c: Likewise.
8390 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8391 * wcsmbs/tst-wchar-h.c: Likewise.
8392 * wcsmbs/tst-wcpncpy.c: Likewise.
8393 * wcsmbs/tst-wcrtomb.c: Likewise.
8394 * wcsmbs/tst-wcsnlen.c: Likewise.
8395 * wcsmbs/tst-wcstof.c: Likewise.
8397 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8400 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8402 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8404 (_dl_mcount): Use rtld_hidden_proto.
8405 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8407 * elf/rtld.c (_rtld_global_ro): Likewise.
8410 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8411 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8412 of _dl_init_internal.
8413 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8414 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8415 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8416 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8417 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8418 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8419 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8420 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8421 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8422 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8423 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8424 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8425 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8426 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8427 * sysdeps/tile/dl-start.S (_start): Likewise.
8428 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8429 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8432 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8433 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8434 (rtld_progname): Make macro definition unconditional.
8435 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8437 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8438 (dl_main): Likewise.
8439 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8440 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8441 instead of _dl_argv_internal.
8442 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8443 __GI__dl_argv instead of INTUSE(_dl_argv).
8444 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8445 __GI__dl_argv instead of _dl_argv_internal.
8447 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8448 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8450 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8451 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8453 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8454 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8456 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8457 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8459 2014-11-04 Andreas Schwab <schwab@suse.de>
8461 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8463 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8465 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8466 mtvsrd instruction in binary form.
8468 2014-11-03 Andreas Schwab <schwab@suse.de>
8471 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8472 for less than MB_LEN_MAX use a local buffer of that size.
8473 * libio/tst-fputws.c: New file.
8474 * libio/Makefile (tests): Add tst-fputws.
8476 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8478 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8479 the size of the fpu_fr.fpu_dregs[] array.
8481 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8483 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8484 (__nanosleep): Do not define as alias.
8485 (nanosleep): Define as alias of __nanosleep.
8486 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8487 __libc_nanosleep name.
8489 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8491 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8492 install.texi in comment.
8494 2014-10-31 Torvald Riegel <triegel@redhat.com>
8496 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8497 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8498 ... add here and use lwsync or sync ...
8499 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8500 ... and add here using lwsync.
8502 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8504 * elf/dl-machine-reject-phdr.h: New file.
8505 * elf/dl-load.c: #include that.
8506 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8507 if that returned true.
8509 2014-10-31 Roland McGrath <roland@hack.frob.com>
8512 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8513 gen-as-const-headers chunk. Add a big scare comment after the last
8514 safe place to touch before-compile.
8516 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8518 * manual/install.texi (Tools for Compilation): Update autoconf
8519 version requirements.
8520 * INSTALL: Regenerated.
8522 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8523 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8524 (__libc_pselect): Likewise.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8532 2014-10-31 Torvald Riegel <triegel@redhat.com>
8534 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8535 correct barrier instruction.
8536 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8538 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8541 2014-10-30 Roland McGrath <roland@hack.frob.com>
8543 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8544 after defining inlines. Instead, just use parens to defeat macro
8545 expansion of __isctype in its declaration.
8547 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8549 * include/sys/uio.h (__libc_readv): Remove declaration.
8550 (__libc_writev): Likewise.
8551 * misc/readv.c (__libc_readv): Rename to __readv.
8552 (__readv): Do not define as alias.
8553 (readv): Define as alias of __readv.
8554 * misc/writev.c (__libc_writev): Rename to __writev.
8555 (__writev): Do not define as alias.
8556 (writev): Define as alias of __writev.
8557 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8558 (__readv): Do not define as alias.
8559 (readv): Define unconditionally as alias of __readv.
8560 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8561 (__writev): Do not define as alias.
8562 (writev): Define unconditionally as alias of __writev.
8563 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8565 (writev): Do not define __libc_writev name.
8567 2014-10-30 Roland McGrath <roland@hack.frob.com>
8569 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8570 (convert_charseq): New function, broken out of ...
8571 (use_from_charmap): ... here. Call it.
8572 (use_to_charmap): Use convert_charseq and free instead of duplicating
8573 its code with a variable-length stack struct.
8575 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8577 * include/fcntl.h (__libc_creat): Remove declaration.
8578 * io/creat.c (__libc_creat): Rename to creat.
8579 (creat): Do not define as alias.
8580 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8581 of creat instead of __libc_creat.
8582 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8584 (creat): Do not define as alias.
8585 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8587 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8592 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8594 * manual/llio.texi: Add comments discussing why write() may be
8595 considered MT-unsafe on Linux.
8597 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8599 * dl-load.c (local_strdup): Remove.
8600 (expand_dynamic_string_token): Use __strdup.
8601 (decompose_rpath): Likewise.
8602 (_dl_map_object): Likewise.
8604 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8607 * sysdeps/generic/unwind-dw2-fde.c
8608 (__register_frame_info_bases_internal): Do not declare.
8609 (__register_frame_info_table_bases_internal): Likewise.
8610 (__deregister_frame_info_bases_internal): Likewise.
8611 (__register_frame_info_bases): Declare and use hidden_proto before
8612 definition. Use hidden_def instead of INTDEF.
8613 (__register_frame_info_table_bases): Likewise.
8614 (__deregister_frame_info_bases): Likewise.
8615 (__register_frame_info): Do not use INTUSE.
8616 (__register_frame): Likewise.
8617 (__register_frame_info_table): Likewise.
8618 (__register_frame_table): Likewise.
8619 (__deregister_frame_info): Likewise.
8620 (__deregister_frame): Likewise.
8622 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8624 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8625 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8627 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8629 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8632 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8635 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8636 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8637 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8638 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8639 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8640 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8641 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8642 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8643 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8644 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8646 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8647 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8649 (setfsuid): Likewise.
8650 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8651 (setfsuid): Likewise.
8652 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8653 (setfsuid): Likewise.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8656 (setfsuid): Likewise.
8657 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8658 (setfsuid): Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8661 (setfsuid): Likewise.
8663 2014-10-27 Andreas Schwab <schwab@suse.de>
8666 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8667 check for Slow_SSE4_2 feature bit.
8668 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8669 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8670 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8671 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8673 2014-10-24 Roland McGrath <roland@hack.frob.com>
8675 * configure.ac: Validate compiler version with a empirical test of
8676 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8678 * configure: Regenerated.
8680 * inet/htons.c (htons): Prototypify.
8681 * inet/htonl.c (htonl): Likewise.
8683 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8685 * string/strncat.c (strncat): Improve performance by using strlen.
8687 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8689 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8691 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8693 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8694 Call libc_fetestexcept_aarch64.
8696 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8698 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8699 Call libc_feholdexcept_aarch64.
8701 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8703 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8704 Call get_rounding_mode.
8706 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8708 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8711 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8713 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8716 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8719 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8720 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8721 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8722 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8723 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8724 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8725 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8726 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8727 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8728 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8729 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8730 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8731 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8732 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8733 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8734 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8735 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8736 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8737 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8738 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8739 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8740 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8742 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8744 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8745 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8746 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8747 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8748 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8749 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8750 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8751 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8752 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8753 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8755 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8756 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8757 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8758 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8759 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8761 (geteuid): Likewise.
8764 (getresgid): Likewise.
8765 (getresuid): Likewise.
8766 (getgroups): Likewise.
8767 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8768 (geteuid): Likewise.
8771 (getresgid): Likewise.
8772 (getresuid): Likewise.
8773 (getgroups): Likewise.
8774 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8775 (geteuid): Likewise.
8778 (getresgid): Likewise.
8779 (getresuid): Likewise.
8780 (getgroups): Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8783 (geteuid): Likewise.
8786 (getresgid): Likewise.
8787 (getresuid): Likewise.
8788 (getgroups): Likewise.
8789 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8790 (geteuid): Likewise.
8793 (getresgid): Likewise.
8794 (getresuid): Likewise.
8795 (getgroups): Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8798 (geteuid): Likewise.
8801 (getgroups): Likewise.
8804 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8805 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8806 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8807 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8809 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8810 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8811 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8812 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8816 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8818 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8825 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8833 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8835 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8838 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8840 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8843 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8845 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8846 Remove unused include.
8848 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8850 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8851 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8852 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8853 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8855 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8856 Helge Deller <deller@gmx.de>
8859 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8860 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8861 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8863 2014-10-23 Joseph Myers <joseph@codesourcery.com>
8866 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8867 Remove macro definition.
8868 (__ashrdi3_v_glibc20): Likewise.
8869 (__lshrdi3_v_glibc20): Likewise.
8870 (__cmpdi2_v_glibc20): Likewise.
8871 (__ucmpdi2_v_glibc20): Likewise.
8872 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8873 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8874 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8875 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8876 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8877 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8879 2014-10-22 Roland McGrath <roland@hack.frob.com>
8881 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8882 old GNU extension [0] syntax.
8883 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8884 alloca rather than an array member with variable length.
8885 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8886 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8887 (parse_opt): ... here. Likewise use alloca there.
8888 Validate the -i argument before checking for rootness.
8889 (send_shutdown): New function, broken out of ...
8890 (parse_opt): ... here.
8892 2014-10-22 Roland McGrath <roland@hack.frob.com>
8894 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8895 macro to get at the _rt_local_ro field.
8896 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8897 ([PIC] case) or _dl_hwcap ([!PIC] case).
8898 * sysdeps/arm/setjmp.S: Likewise.
8900 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8901 * sysdeps/arm/configure.ac: New check to define it.
8902 * sysdeps/arm/configure: Regenerated.
8903 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8904 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8905 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8906 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8907 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8908 Use move/movt pair instead of a load.
8909 (LDST_GLOBAL): Macro removed.
8910 (LDR_GLOBAL): New macro replaces it.
8911 (LDR_HIDDEN): New macro.
8912 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8913 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8915 * setjmp/tst-setjmp-static.c: New file.
8916 * setjmp/Makefile (tests): Add it.
8917 (tests-static): New variable.
8919 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8922 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8924 2014-10-21 Joseph Myers <joseph@codesourcery.com>
8927 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8929 2014-10-21 Roland McGrath <roland@hack.frob.com>
8931 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8933 2014-10-20 Roland McGrath <roland@hack.frob.com>
8935 * io/fts.c (dirent_not_directory): New function.
8936 (fts_build): Call it.
8938 2014-10-20 Roland McGrath <roland@hack.frob.com>
8940 * nptl/version.c (__nptl_main): Use normal __write rather than
8942 (banner): Update copyright years.
8944 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8946 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8947 * nptl/pthread_cond_timedwait.c: Likewise.
8948 * nptl/pthread_mutex_timedlock.c: Likewise.
8949 * nptl/sem_timedwait.c: Likewise.
8951 * sysdeps/nptl/bits/libc-lock.h
8952 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8953 (__libc_lock_init_recursive): Return void, not 0.
8954 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8955 (__libc_rwlock_init): Likewise.
8956 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8958 2014-10-20 Torvald Riegel <triegel@redhat.com>
8961 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8962 (__pthread_once_slow): ... here.
8963 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8964 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8966 2014-10-20 Torvald Riegel <triegel@redhat.com>
8969 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8970 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8971 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8972 * nptl/pthread_once.c (__pthread_once): Likewise.
8975 2014-10-20 Joseph Myers <joseph@codesourcery.com>
8978 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8980 (writev): Use __libc_writev as strong name.
8981 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8982 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8984 2014-10-17 Roland McGrath <roland@hack.frob.com>
8986 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8988 * sysdeps/i386/nptl/tls.h
8989 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8990 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8992 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8993 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8994 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8995 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8996 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8997 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8999 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9000 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9002 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9004 (__pthread_mutex_init): ... here. Call it.
9005 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9006 Conditionalize PI cases on [__NR_futex].
9007 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9008 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9009 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9011 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9012 conditional on [SIGSETXID].
9013 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9014 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9015 is defined. Likewise for SIGSETXID.
9016 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9017 Conditionalize definitions on [SIGSETXID].
9018 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9019 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9020 unblocking on [SIGCANCEL].
9022 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9023 [__NR_set_robust_list].
9025 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9027 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9028 (do_compare): Likewise.
9030 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9033 * string/strcoll_l.c: Don't include stdio.h.
9034 (coll_seq): Remove members idxarr and rulearr.
9035 (get_next_seq_cached): Remove function.
9036 (get_next_seq): Likewise.
9037 (get_next_seq_nocache): Rename to get_next_seq.
9038 (do_compare): Remove function.
9039 (do_compare_nocache): Rename to do_compare.
9040 (STRCOLL): Remove weight and rules cache.
9042 2014-10-16 Roland McGrath <roland@hack.frob.com>
9044 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9045 * sysdeps/arm/sfp-machine.h: ... to here.
9046 * sysdeps/arm/Implies: Remove arm/soft-fp.
9048 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9050 * conform/data/sys/utsname.h-data (*_t): Allow.
9051 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9052 [POSIX] (WEXITED): Do not expect constant.
9053 [POSIX] (WSTOPPED): Likewise.
9054 [POSIX] (WNOHANG): Likewise.
9055 [POSIX] (WNOWAIT): Likewise.
9056 [POSIX] (siginfo_t): Do not expect type or elements.
9057 [POSIX] (pid_t): Do not expect type.
9058 [POSIX] (signal.h): Do not allow header.
9059 [POSIX] (sys/resource.h): Likewise.
9060 [POSIX] (si_*): Do not allow pattern.
9061 [POSIX] (W*): Likewise.
9062 [POSIX] (P_*): Likewise.
9063 [POSIX] (BUS_*): Likewise.
9064 [POSIX] (CLD_*): Likewise.
9065 [POSIX] (FPE_*): Likewise.
9066 [POSIX] (ILL_*): Likewise.
9067 [POSIX] (POLL_*): Likewise.
9068 [POSIX] (SEGV_*): Likewise.
9069 [POSIX] (SI_*): Likewise.
9070 [POSIX] (TRAP_*): Likewise.
9071 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9074 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9078 infinite loop when __recvmsg returns 0.
9080 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9082 * CANCEL-FCT-WAIVE: Remove file.
9083 * CANCEL-FILE-WAIVE: Likewise.
9086 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9087 instead of INTVARDEF.
9088 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9089 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9090 rtld_hidden_data_def instead of INTVARDEF.
9091 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9092 * elf/dl-deps.c (expand_dst): Likewise.
9093 * elf/dl-load.c (_dl_dst_count): Likewise.
9094 (_dl_dst_substitute): Likewise.
9095 (decompose_rpath): Likewise.
9096 (_dl_init_paths): Likewise.
9097 (open_path): Likewise.
9098 (_dl_map_object): Likewise.
9099 * elf/rtld.c (dl_main): Likewise.
9100 (process_dl_audit): Likewise.
9101 (process_envvars): Likewise.
9102 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9104 (__libc_enable_secure): Use rtld_hidden_proto.
9106 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9109 (add_path): New function broken out of _dl_rtld_di_serinfo.
9110 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9112 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9114 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9115 parentheses around macro arguments.
9116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9120 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9121 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9122 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9127 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9128 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9129 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9130 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9131 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9132 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9145 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9146 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9147 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9148 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9149 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9150 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9151 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9153 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9154 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9155 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9156 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9157 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9158 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9159 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9160 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9161 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9162 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9163 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9164 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9165 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9166 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9167 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9168 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9169 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9171 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9172 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9173 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9174 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9175 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9176 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9177 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9178 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9179 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9180 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9181 (_FP_FRAC_SRS_1): Likewise.
9182 (_FP_FRAC_CLZ_1): Likewise.
9183 (_FP_MUL_MEAT_1_imm): Likewise.
9184 (_FP_MUL_MEAT_1_wide): Likewise.
9185 (_FP_MUL_MEAT_1_hard): Likewise.
9186 (_FP_SQRT_MEAT_1): Likewise.
9187 (_FP_FRAC_ASSEMBLE_1): Likewise.
9188 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9189 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9190 (__FP_CLZ_2): Likewise.
9191 (_FP_MUL_MEAT_2_wide): Likewise.
9192 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9193 (_FP_MUL_MEAT_2_gmp): Likewise.
9194 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9195 (_FP_SQRT_MEAT_2): Likewise.
9196 (_FP_FRAC_ASSEMBLE_2): Likewise.
9197 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9198 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9199 (_FP_FRAC_CLZ_4): Likewise.
9200 (_FP_MUL_MEAT_4_wide): Likewise.
9201 (_FP_MUL_MEAT_4_gmp): Likewise.
9202 (_FP_SQRT_MEAT_4): Likewise.
9203 (_FP_FRAC_ASSEMBLE_4): Likewise.
9204 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9205 * soft-fp/op-common.h (_FP_CMP): Likewise.
9206 (_FP_CMP_EQ): Likewise.
9207 (_FP_CMP_UNORD): Likewise.
9208 (_FP_TO_INT): Likewise.
9209 (_FP_FROM_INT): Likewise.
9210 [!__FP_CLZ] (__FP_CLZ): Likewise.
9211 (_FP_DIV_HELP_imm): Likewise.
9212 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9218 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9220 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9225 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9226 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9227 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9228 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9229 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9230 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9243 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9245 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9246 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9247 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9248 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9249 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9250 (FP_UNPACK_RAW_SP): Likewise.
9251 (FP_PACK_RAW_S): Likewise.
9252 (FP_PACK_RAW_SP): Likewise.
9253 (FP_UNPACK_S): Likewise.
9254 (FP_UNPACK_SP): Likewise.
9255 (FP_UNPACK_SEMIRAW_S): Likewise.
9256 (FP_UNPACK_SEMIRAW_SP): Likewise.
9257 (FP_PACK_S): Likewise.
9258 (FP_PACK_SP): Likewise.
9259 (FP_PACK_SEMIRAW_S): Likewise.
9260 (FP_PACK_SEMIRAW_SP): Likewise.
9261 (_FP_SQRT_MEAT_S): Likewise.
9262 (FP_CMP_S): Likewise.
9263 (FP_CMP_EQ_S): Likewise.
9264 (FP_CMP_UNORD_S): Likewise.
9265 (FP_TO_INT_S): Likewise.
9266 (FP_FROM_INT_S): Likewise.
9268 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9270 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9271 (FP_EX_INVALID_IMZ): Likewise.
9272 (FP_EX_INVALID_IMZ_FMA): Likewise.
9273 (FP_EX_INVALID_ISI): Likewise.
9274 (FP_EX_INVALID_ZDZ): Likewise.
9275 (FP_EX_INVALID_IDI): Likewise.
9276 (FP_EX_INVALID_SQRT): Likewise.
9277 (FP_EX_INVALID_CVI): Likewise.
9278 (FP_EX_INVALID_VC): Likewise.
9279 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9280 "invalid" exceptions.
9281 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9282 (_FP_ADD_INTERNAL): Likewise.
9283 (_FP_MUL): Likewise.
9284 (_FP_FMA): Likewise.
9285 (_FP_DIV): Likewise.
9286 (_FP_CMP_CHECK_NAN): Likewise.
9287 (_FP_SQRT): Likewise.
9288 (_FP_TO_INT): Likewise.
9289 (FP_EXTEND): Likewise.
9291 2014-10-09 Allan McRae <allan@archlinux.org>
9293 * po/fr.po: Update French translation from translation project.
9295 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9298 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9300 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9301 (__cxa_atexit): Use libc_hidden_proto.
9302 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9305 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9307 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9308 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9309 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9310 [!_ISOMAC] (__iswctype_internal): Likewise.
9311 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9312 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9314 (fcntl): Remove __fcntl_internal alias.
9315 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9316 __connect_internal alias.
9317 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9320 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9321 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9323 (_FP_CHECK_FLUSH_ZERO): New macro.
9324 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9325 (_FP_CMP): Likewise.
9326 (_FP_CMP_EQ): Likewise.
9327 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9329 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9330 (FP_TRUNC): Likewise.
9332 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9333 treated as invalid conversion, not as normal exponent.
9335 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9336 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9337 (_FP_CMP_EQ): Likewise.
9338 (_FP_CMP_UNORD): Likewise.
9339 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9340 (FP_CMP_EQ_D): Likewise.
9341 (FP_CMP_UNORD_D): Likewise.
9342 * soft-fp/extended.h (FP_CMP_E): Likewise.
9343 (FP_CMP_EQ_E): Likewise.
9344 (FP_CMP_UNORD_E): Likewise.
9345 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9346 (FP_CMP_EQ_Q): Likewise.
9347 (FP_CMP_UNORD_Q): Likewise.
9348 * soft-fp/single.h (FP_CMP_S): Likewise.
9349 (FP_CMP_EQ_S): Likewise.
9350 (FP_CMP_UNORD_S): Likewise.
9351 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9352 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9353 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9354 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9355 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9356 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9357 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9358 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9359 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9360 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9361 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9362 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9363 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9365 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9367 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9368 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9370 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9372 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9373 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9374 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9375 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9377 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9379 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9380 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9382 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9384 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9385 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9386 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9387 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9390 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9391 a subnormal result, set the underflow exception if trapping on
9392 underflow is enabled.
9393 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9394 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9395 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9397 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9398 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9399 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9400 * soft-fp/extendxftf2.c (__extendxftf2): Use
9401 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9403 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9404 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9405 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9406 FP_HANDLE_EXCEPTIONS.
9407 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9408 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9409 FP_HANDLE_EXCEPTIONS.
9410 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9411 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9412 FP_HANDLE_EXCEPTIONS.
9413 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9414 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9415 FP_HANDLE_EXCEPTIONS.
9417 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9420 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9421 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9423 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9424 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9426 (__adjtimex): Define using libc_hidden_ver.
9427 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9429 (ntp_gettime): Call __adjtimex directly.
9430 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9432 (ntp_gettimex): Call __adjtimex directly.
9433 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9434 __adjtimex_internal alias.
9436 2014-10-08 Roland McGrath <roland@hack.frob.com>
9439 * nscd/nscd.c (more_help): Rewrite list of tables collection
9440 using xstrdup and asprintf.
9442 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9444 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9445 Roland McGrath <roland@hack.frob.com>
9447 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9448 (do_lookup_unique): ... local function 'enter' here; update callers.
9450 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9452 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9453 compat_symbol calls on [SHARED].
9454 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9455 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9457 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9458 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9459 (oldsetrlimit): Remove.
9460 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9462 (lchown): New syscall entry.
9463 (oldsetrlimit): Remove.
9464 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9465 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9466 (oldsetrlimit): Remove.
9467 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9470 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9471 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9472 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9473 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9475 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9477 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9482 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9485 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9486 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9487 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9488 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9490 (__old_sem_post): Likewise.
9492 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9494 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9495 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9496 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9497 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9498 Use INLINE_VSYSCALL macro.
9499 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9500 __vdso_clock_gettime.
9501 * sysdeps/unix/sysv/linux/tile/init-first.c
9502 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9503 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9504 __vdso_clock_gettime.
9506 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9507 to set up frame more cleanly.
9509 * sysdeps/tile/memcmp.c: New file.
9511 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9513 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9514 * sysdeps/tile/tilegx/strcasestr.c: New file.
9515 * sysdeps/tile/tilegx/strnlen.c: New file.
9516 * sysdeps/tile/tilegx/strstr.c: New file.
9518 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9520 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9522 * nptl/tst-setuid3.c: Write errors to stdout.
9524 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9527 (preload): New functions broken out of _dl_map_object_deps.
9528 (_dl_map_object_deps): Remove a nested function. Update call sites.
9530 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9533 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9534 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9536 2014-10-01 Steve Ellcey <sellcey@mips.com>
9538 * sysdeps/mips/strcmp.S: New.
9540 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9543 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9545 (mkdirat): Likewise.
9546 (readlinkat): Likewise.
9547 (renameat): Likewise.
9548 (symlinkat): Likewise.
9549 (unlinkat): Likewise.
9550 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9551 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9552 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9553 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9554 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9555 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9556 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9558 2014-09-30 Will Newton <will.newton@linaro.org>
9560 * math/math.h: Define long double math functions if
9561 _LIBC_TEST is defined.
9562 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9564 * localedata/Makefile: Move assignment to tests-special
9565 into an ifdef testing run-built-tests.
9566 * timezone/Makefile: Likewise.
9568 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9570 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9571 with $(BASH) not $(SHELL).
9573 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9574 Matthew LeGendre <legendre1@llnl.gov>
9577 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9580 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9582 * stdio-common/printf_fp.c
9583 (hack_digit): New function, broken out of ...
9584 (__printf_fp): ... local function here. Update call sites.
9585 hack_digit now takes an additional parameter that is a pointer
9586 to a struct of the referenced locals. Those locals moved inside
9587 the struct and references updated.
9589 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9591 * aclocal.m4: Require autoconf 2.69.
9592 * configure: Regenerated.
9593 * sysdeps/aarch64/configure: Likewise.
9594 * sysdeps/alpha/configure: Likewise.
9595 * sysdeps/arm/armv7/configure: Likewise.
9596 * sysdeps/arm/configure: Likewise.
9597 * sysdeps/ia64/configure: Likewise.
9598 * sysdeps/mach/configure: Likewise.
9599 * sysdeps/mips/configure: Likewise.
9600 * sysdeps/s390/configure: Likewise.
9601 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9604 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9606 * sysdeps/ia64/configure.ac: Likewise.
9608 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9611 specify symbol version for ld.so. Do not include entry for
9613 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9614 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9615 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9618 * Makeconfig [$(build-shared) = yes]
9619 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9621 [$(build-shared) = yes && $(soversions.mk-done) = t]
9622 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9623 [$(build-shared) = yes && $(soversions.mk-done) = t]
9624 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9626 [$(build-shared) = yes && $(soversions.mk-done) = t]
9627 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9629 [$(build-shared) = yes && $(soversions.mk-done) = t]
9630 (common-generated): Don't append gnu/lib-names.h and
9631 gnu/lib-names.stmp here.
9632 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9633 (lib-names-h-abi): New variable.
9634 [$(build-shared) = yes && $(soversions.mk-done) = t]
9635 (lib-names-stmp-abi): Likewise.
9636 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9637 abi-variants] (before-compile): Append
9638 $(common-objpfx)$(lib-names-h-abi).
9639 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9640 abi-variants] (common-generated): Append gnu/lib-names.h.
9641 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9642 abi-variants] (install-others-nosubdir): Depend on
9643 $(inst_includedir)/$(lib-names-h-abi).
9644 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9645 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9646 [$(build-shared) = yes && $(soversions.mk-done) = t]
9647 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9648 [$(build-shared) = yes && $(soversions.mk-done) = t]
9649 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9650 [$(build-shared) = yes && $(soversions.mk-done) = t]
9651 (common-generated): Append $(lib-names-h-abi) and
9652 $(lib-names-stmp-abi).
9653 * scripts/lib-names.awk: Do not handle multi being set.
9654 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9656 (abi-lp64_be-ld-soname): Likewise.
9657 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9659 (abi-hard-ld-soname): Likewise.
9660 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9661 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9663 (abi-o32_hard-ld-soname): Likewise.
9664 (abi-o32_soft_2008-ld-soname): Likewise.
9665 (abi-o32_hard_2008-ld-soname): Likewise.
9666 (abi-n32_soft-ld-soname): Likewise.
9667 (abi-n32_hard-ld-soname): Likewise.
9668 (abi-n32_soft_2008-ld-soname): Likewise.
9669 (abi-n32_hard_2008-ld-soname): Likewise.
9670 (abi-n64_soft-ld-soname): Likewise.
9671 (abi-n64_hard-ld-soname): Likewise.
9672 (abi-n64_soft_2008-ld-soname): Likewise.
9673 (abi-n64_hard_2008-ld-soname): Likewise.
9674 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9676 (abi-64-v2-ld-soname): Likewise.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9679 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9681 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9683 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9685 (abi-64-ld-soname): Likewise.
9686 (abi-x32-ld-soname): Likewise.
9687 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9689 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9691 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9694 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9695 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9696 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9698 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9699 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9700 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9701 syscall entry for GLIBC_2.2 symbol version.
9702 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9705 (setrlimit): Likewise.
9706 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9709 2014-09-23 Will Newton <will.newton@linaro.org>
9711 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9712 _LINUX_ARM_SYSDEP_H include guard too.
9713 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9716 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9718 * sysdeps/unix/sysv/linux/eventfd.c:
9719 Make first argument unsigned.
9720 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9721 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9723 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9725 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9726 * socket/sys/socket.h: Likewise
9727 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9729 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9731 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9733 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9735 * time/tst-ftime.c: New test.
9736 * time/Makefile (tests): Add tst-ftime.
9738 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9740 * soft-fp/extended.h: Fix comment formatting.
9741 * soft-fp/op-1.h: Likewise.
9742 * soft-fp/op-2.h: Likewise.
9743 * soft-fp/op-4.h: Likewise.
9744 * soft-fp/op-8.h: Likewise.
9745 * soft-fp/op-common.h: Likewise.
9746 * soft-fp/soft-fp.h: Likewise.
9748 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9750 2014-09-16 Joseph Myers <joseph@codesourcery.com>
9753 * Makeconfig (soversions-default-setname): Remove variable.
9754 ($(common-objpfx)soversions.i): Don't pass default_setname to
9756 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9757 oldest_abi to abi-versions.awk.
9758 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9759 * config.make.in (oldest-abi): Remove variable.
9760 * configure.ac (--enable-oldest-abi): Remove configure option.
9761 * configure: Regenerated.
9762 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9764 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9765 * scripts/soversions.awk: Do not handle default_setname variable.
9766 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9768 * sysdeps/mach/hurd/configure: Regenerated.
9769 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9771 * sysdeps/unix/sysv/linux/configure: Regenerated.
9773 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9775 * elf/Makefile (CFLAGS-interp.c): Remove.
9776 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9778 * elf/interp.c: Include generated runtime-linker.h
9780 * Makerules (lib%.so): Don't include $(+interp) in
9782 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9783 * dlfcn/eval.c: Remove file.
9785 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9789 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9793 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9795 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 Jakub Jelinek <jakub@redhat.com>
9799 * libio/stdio.h: Check definition of __fortify_function
9800 instead of __extern_always_inline to include bits/stdio2.h.
9801 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9802 check if __extern_always_inline is defined.
9803 [__USE_MISC || __USE_XOPEN]: Likewise.
9804 [__USE_ISOC99] Likewise.
9805 * misc/sys/cdefs.h (__fortify_function): Define only if
9806 __extern_always_inline is defined.
9807 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9808 __extern_always_inline and __extern_inline only for g++-4.3
9809 and newer or a compatible gcc.
9811 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9814 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9815 last change to handle zero prefix length.
9817 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9819 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9822 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9825 2014-09-13 Allan McRae <allan@archlinux.org>
9827 * po/ru.po: Update Russian translation from translation project.
9829 2014-09-12 Roland McGrath <roland@hack.frob.com>
9831 * locale/programs/locale.c (show_locale_vars): Inline local function
9832 into its sole call site. Clean up some style nits.
9833 (print_item): New function, broken out of ...
9834 (show_info): ... local function here. Clean up style nits.
9836 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9838 (set_class_defaults): ... local function set_default here.
9839 Define set_default as a macro locally to pass constant parameters.
9840 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9841 rather than a shared local.
9843 * stdlib/rpmatch.c (try): New function, broken out of ...
9844 (rpmatch): ... local function here. Also, prototypify definition.
9846 2014-09-12 Joseph Myers <joseph@codesourcery.com>
9848 * scripts/soversions.awk: Do not handle configuration names.
9849 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9850 vendor and os variables to soversions.awk.
9851 * configure.ac: Do not modify gnu-* host_os.
9852 * configure: Regenerated
9853 * shlib-versions: Remove first column with configuration names.
9854 * nptl/shlib-versions: Likewise.
9855 * nptl_db/shlib-versions: Likewise.
9856 * sysdeps/hppa/shlib-versions: Likewise.
9857 * sysdeps/m68k/shlib-versions: Likewise.
9858 * sysdeps/mach/hurd/shlib-versions: Likewise.
9859 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9860 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9861 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9862 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9863 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9864 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9865 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9866 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9869 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9870 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9871 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9873 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9874 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9875 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9876 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9879 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9882 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9884 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9886 * shlib-versions: Remove OS-specific entries. Moved to files in
9888 * sysdeps/mach/hurd/shlib-versions: New file.
9889 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9891 * nptl/shlib-versions: Remove architecture-specific entries.
9892 Moved to files in sysdeps.
9893 * shlib-versions: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9896 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9897 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9901 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9902 (UDP_NO_CHECK6_RX): Likewise.
9904 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9906 * sysdeps/posix/sysconf.c (__sysconf): Spell
9907 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9909 2014-08-12 Florian Weimer <fweimer@redhat.com>
9911 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9913 * iconv/Versions (__gconv_transliterate): Export for use from
9915 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9916 (struct __gconv_trans_data, __gconv_trans_fct,
9917 __gconv_trans_context_fct, __gconv_trans_query_fct,
9918 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9920 (struct __gconv_step_data): Remove __trans member.
9921 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9922 longer hidden. Remove unused trans_data argument.
9923 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9924 (__gconv_translit_find): Remove declaration.
9925 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9927 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9928 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9929 trans_data argument. Add hidden definition.
9930 (__gconv_translit_find): Remove.
9931 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9932 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9933 * iconv/skeleton.c: Remove transliteration initialization.
9934 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9935 __gconv_step_data initialization.
9936 * libio/iofwide.c (__libio_translit_): Remove.
9937 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9938 * wcsmbs/btowc.c (__btowc): Likewise.
9939 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9940 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9941 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9942 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9943 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9944 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9945 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9946 * wcsmbs/wctob.c (wctob): Likewise.
9948 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9951 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9952 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9954 * sysdeps/x86/Makefile: Adjust.
9956 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9957 Roland McGrath <roland@hack.frob.com>
9959 * locale/weight.h: Add include guard.
9960 (findidx): Make static rather than auto; take new parameters
9961 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9962 * locale/weightwc.h: Likewise.
9963 * posix/fnmatch_loop.c
9964 (FCT): Change type of EXTRA from int32_t to wint_t.
9965 Don't include either header inside the function.
9966 Call FINDIDX rather than findidx, and pass new arguments.
9967 #undef FINDIDX at the end of the file.
9968 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9969 FINDIDX before including fnmatch_loop.c for the non-wide version.
9970 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9971 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9972 for the wide version.
9973 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9974 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9975 Pass new arguments to findidx.
9976 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9977 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9978 Don't #include it inside the function. Pass new arguments to findidx.
9979 * posix/regex_internal.h
9980 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9981 (re_string_elem_size_at): Don't #include it inside the function.
9982 Pass new arguments to findidx.
9983 * string/strcoll_l.c: #include WEIGHT_H at top level.
9984 (get_next_seq): Don't #include it inside the function.
9985 Pass new arguments to findidx.
9986 (get_next_seq_nocache): Likewise.
9987 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9988 (STRXFRM): Don't #include it inside the function.
9989 Pass new arguments to findidx.
9991 2014-09-11 Florian Weimer <fweimer@redhat.com>
9994 * malloc/malloc.c (unlink): Turn asserts into a call to
9997 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10000 * libio/wfileops (do_ftell_wide): Free OUT.
10002 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10004 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10006 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10009 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10010 group if the current group is empty.
10012 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * benchtests/bench-memset.c (test_main): Add more test from size
10015 from 32 to 512 bytes.
10016 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10017 Add POWER8 memset object.
10018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10019 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10020 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10022 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10024 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10025 multiarch POWER8 memset optimization.
10026 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10027 POWER8 memset optimization.
10029 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10030 Remove bzero multiarch objects.
10031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10032 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10034 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10036 [__bzero]: Redefine to specific name.
10037 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10038 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10039 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10041 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10042 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10044 2014-09-10 Florian Weimer <fweimer@redhat.com>
10046 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10047 warnings into errors.
10049 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10050 __cxa_thread_atexit_impl prototype.
10052 2014-09-09 Steve Ellcey <sellcey@mips.com>
10054 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10055 Fix capitalization of error message.
10057 2014-09-09 Steve Ellcey <sellcey@mips.com>
10059 * sysdeps/mips/preconfigure: Modify ABI tests.
10061 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10063 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10065 2014-09-07 Roland McGrath <roland@hack.frob.com>
10066 Carlos O'Donell <carlos@systemhalted.org>
10068 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10069 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10070 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10071 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10072 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10073 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10074 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10075 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10076 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10077 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10078 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10079 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10080 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10081 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10082 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10083 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10084 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10085 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10086 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10087 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10088 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10089 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10090 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10091 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10092 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10093 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10094 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10095 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10096 Deconditionalize the code that was previously under [RESET_PID].
10097 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10098 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10099 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10100 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10103 2014-09-08 Allan McRae <allan@archlinux.org>
10105 * version.h (RELEASE): Set to "development".
10106 (VERSION): Set to "2.20.90"
10108 2014-09-07 Allan McRae <allan@archlinux.org
10110 * version.h (RELEASE): Set to "stable".
10111 (VERSION): Set to "2.20"
10112 * include/features.h (__GLIBC_MINOR__): Set to 20.
10114 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10117 * po/ko.po: Update Korean translation from translation project.
10119 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10122 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10123 macro for handling signed relocations.
10125 2014-09-03 Florian Weimer <fweimer@redhat.com>
10128 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10129 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10131 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10132 * iconvdata/ibm935.c (BODY): Likewise.
10133 * iconvdata/ibm937.c (BODY): Likewise.
10134 * iconvdata/ibm939.c (BODY): Likewise.
10135 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10137 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10139 * iconvdata/run-iconv-test.sh: New test loop for checking for
10142 2014-09-02 Khem Raj <raj.khem@gmail.com>
10144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10147 2014-09-01 Allan McRae <allan@archlinux.org>
10149 * po/eo.po: Update Esperanto translation from translation project.
10151 * po/ca.po: Update Catalan translation from translation project.
10153 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10155 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10156 __proc_dostop call.
10158 2014-08-27 Mark Wielaard <mjw@redhat.com>
10161 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10162 to call set_thread_area instead of hand written asm.
10163 (__NR_set_thread_area): Removed define.
10164 (TLS_FLAG_WRITABLE): Likewise.
10165 (__ASSUME_SET_THREAD_AREA): Remove check.
10166 (TLS_EBX_ARG): Remove define.
10167 (TLS_LOAD_EBX): Likewise.
10169 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10171 Simplify atomicity of socket creation in bind.
10173 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10174 looking up the name after linking the file.
10176 2014-08-27 Allan McRae <allan@archlinux.org>
10178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10180 2014-08-26 Florian Weimer <fweimer@redhat.com>
10183 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10184 trans_compare, open_translit, __gconv_translit_find):
10185 Remove module loading code.
10187 2014-08-26 Allan McRae <allan@archlinux.org>
10189 * po/vi.po: Update Vietnamese translation from translation project.
10191 * po/uk.po: Update Ukrainian translation from translation project.
10193 * po/fr.po: Update French translation from translation project.
10195 * po/ru.po: Update Russian translation from translation project.
10197 * po/pl.po: Update Polish translation from translation project.
10199 * po/cs.po: Update Czech translation from translation project.
10201 * po/de.po: Update German translation from translation project.
10203 * po/bg.po: Update Bulgarian translation from translation project.
10205 * po/sv.po: Update Sweedish translation from translation project.
10207 * po/nl.po: Update Dutch translation from translation project.
10209 * po/es.po: Update Spanish translation from translation project.
10211 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10213 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10215 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10216 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10217 (CPPFLAGS-iconvconfig): Likewise.
10218 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10220 * include/libc-symbols.h: Remove unnecessary check for
10222 * nptl/pthreadP.h: Likewise.
10223 * sysdeps/aarch64/setjmp.S: Likewise.
10224 * sysdeps/alpha/setjmp.S: Likewise.
10225 * sysdeps/arm/sysdep.h: Likewise.
10226 * sysdeps/i386/setjmp.S: Likewise.
10227 * sysdeps/m68k/setjmp.c: Likewise.
10228 * sysdeps/posix/getcwd.c: Likewise.
10229 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10230 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10231 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10232 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10233 * sysdeps/sh/sh3/setjmp.S: Likewise.
10234 * sysdeps/sh/sh4/setjmp.S: Likewise.
10235 * sysdeps/unix/alpha/sysdep.h: Likewise.
10236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10238 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10239 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10244 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10247 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10249 * sysdeps/x86_64/setjmp.S: Likewise.
10251 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10256 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10257 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10259 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10261 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10264 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10265 and __x86_64__ when disabling x87 inline functions.
10267 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10270 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10271 asm statement with __cpuid_count.
10273 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10275 * configure.ac: Change __ehdr_start code to dereference the struct.
10276 Run readelf on the output to look for relocations.
10277 * configure: Regenerated.
10279 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10282 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10284 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10286 2014-08-12 Roland McGrath <roland@hack.frob.com>
10288 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10290 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10293 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10294 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10296 2014-08-12 Sean Anderson <seanga2@gmail.com>
10298 * malloc/malloc.c: Fix typo in comment.
10300 2014-08-09 Allan McRae <allan@archlinux.org>
10302 * Regenerate libc.po.
10304 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10306 * intl/tst-gettext2.sh: Check every lang file for creation.
10308 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10310 * sysdeps/aarch64/fpu/math_private.h
10311 (libc_feholdsetround_noex_aarch64_ctx): New function.
10313 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10315 * sysdeps/arm/armv6/strcpy.S (strcpy):
10316 Fix performance issue in misaligned cases.
10318 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10321 Move definition from termios.h.
10322 (struct termio): Likewise.
10323 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10324 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10325 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10326 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10328 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10329 Move definition to ioctl-types.h
10330 (struct termio): Likewise.
10331 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10332 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10333 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10334 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10337 2014-08-05 Richard Henderson <rth@redhat.com>
10339 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10341 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10343 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10344 Use __feraiseexcept.
10345 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10346 Protect libm symbols with IS_IN_libm.
10348 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10350 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10352 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10354 2014-08-04 Will Newton <will.newton@linaro.org>
10356 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10359 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10361 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10362 variants for each function.
10364 2014-08-04 Roland McGrath <roland@hack.frob.com>
10366 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10368 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10369 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10371 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10372 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10373 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10374 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10375 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10376 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10377 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10378 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10379 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10380 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10395 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10397 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10399 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10401 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10402 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10403 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10405 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10406 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10407 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10408 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10409 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10410 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10411 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10413 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10415 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10417 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10418 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10419 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10420 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10421 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10422 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10423 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10425 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10426 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10428 2014-08-04 Roland McGrath <roland@hack.frob.com>
10430 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10431 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10432 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10433 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10434 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10435 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10437 2014-08-04 Roland McGrath <roland@hack.frob.com>
10439 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10440 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10441 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10442 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10444 2014-08-04 Roland McGrath <roland@hack.frob.com>
10446 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10447 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10448 (__libc_vfork): Define function under this name.
10449 (__vfork): Define as an alias.
10450 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10451 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10453 2014-08-04 Roland McGrath <roland@hack.frob.com>
10455 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10456 that was previously under [RESET_PID].
10457 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10459 2014-08-04 Andreas Schwab <schwab@suse.de>
10461 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10463 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10465 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10468 2014-08-01 Roland McGrath <roland@hack.frob.com>
10470 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10472 2014-08-01 Richard Henderon <rth@redhat.com>
10474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10475 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10476 typo in exact zero test.
10477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10481 2014-08-01 Roland McGrath <roland@hack.frob.com>
10483 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10484 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10485 * sysdeps/arm/sysdep.h: ... here.
10486 [!__ASSEMBLER__]: Include <stdint.h>.
10488 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10490 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10491 (HAVE_WCTYPE_H): Likewise.
10492 (HAVE_ISWCTYPE): Likewise.
10493 (ENABLE_NLS): Likewise.
10494 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10495 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10497 * posix/regex_internal.c: Check if DEBUG is defined and is
10500 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10501 (HAVE_MBSRTOWCS): Likewise.
10502 * posix/fnmatch.c: Include string.h unconditionally.
10504 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10506 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10509 2014-07-31 Roland McGrath <roland@hack.frob.com>
10511 * sysdeps/generic/safe-fatal.h: New file.
10512 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10513 * nptl/forward.c: Include it.
10514 (__pthread_unwind): Use __safe_fatal as default action, rather
10515 than a bogus use of INTERNAL_SYSCALL that could never work.
10517 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10518 * configure.ac (libc_cv_builtin_trap): New test.
10519 * configure: Regenerated.
10520 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10521 (ABORT_INSTRUCTION): Define using __builtin_trap.
10523 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10524 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10525 * sysdeps/nptl/nptl-signals.h: New file.
10526 * nptl/pthreadP.h: Include <nptl-signals.h>.
10528 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10530 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10531 (ONE_DIRECTION): Define.
10532 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10533 (ONE_DIRECTION): Define.
10534 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10535 (ONE_DIRECTION): Define.
10537 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10539 * sysdeps/s390/Makefile: Delete file.
10540 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10541 * sysdeps/s390/__longjmp.c: Delete file.
10542 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10543 Remove fields __flags and __reserved.
10544 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10545 and add versioning.
10546 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10547 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10548 * sysdeps/s390/rtld-setjmp.S: Likewise.
10549 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10550 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10551 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10552 * sysdeps/s390/s390-32/setjmp.S: ... here.
10554 (__sigsetjmp): Remove setting __flags field.
10555 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10556 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10557 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10558 * sysdeps/s390/s390-64/setjmp.S: ... here.
10560 (__sigsetjmp): Remove setting __flags field.
10561 * sysdeps/s390/setjmp.S: Delete file.
10562 * sysdeps/s390/sigjmp.c: Likewise.
10563 * sysdeps/s390/v1-longjmp.c: Likewise.
10564 * sysdeps/s390/v1-setjmp.h: Likewise.
10565 * sysdeps/s390/v1-sigjmp.c: Likewise.
10566 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10567 Remove v1-longjmp_chk.
10568 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10569 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10570 Include debug/longjmp_chk.c and add versioning.
10571 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10572 Include nptl/pt-longjmp.c and add versioning.
10573 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10574 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10575 Include __longjmp.c.
10576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10579 (__getcontext): Remove setting __flags field.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10582 Don't restore upper high grps.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10585 (__swapcontext): Remove setting uc_flags field.
10586 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10588 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10589 Include __longjmp.c.
10590 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10593 (__getcontext): Remove setting __flags field.
10595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10596 (__swapcontext): Remove setting uc_flags field.
10597 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10599 Remove fields uc_high_gprs and __reserved.
10600 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10601 New file with reverted content.
10602 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10608 2014-07-31 Andreas Schwab <schwab@suse.de>
10610 * config.h.in (HAVE_IFUNC): Define to 0.
10611 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10614 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10617 memmove-avx-unaligned, memcpy-avx-unaligned and
10618 mempcpy-avx-unaligned.
10619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10620 Add tests for AVX memcpy functions.
10621 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10622 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10624 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10625 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10627 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10628 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10630 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10631 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10632 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10634 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10637 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10640 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10643 * manual/llio.texi: Add section about open file description locks.
10644 * manual/examples/ofdlocks.c: Example of open file description
10646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10647 F_OFD_SETLK, and F_OFD_SETLKW.
10649 2014-07-23 Allan McRae <allan@archlinux.org>
10651 * po/es.po: Update Spanish translation from translation project.
10653 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10655 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10657 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10660 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10661 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10662 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10664 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10667 * math/fesetenv.c (__fesetenv)
10668 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10669 * math/feupdateenv.c (__feupdateenv)
10670 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10672 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10673 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10674 (__ASSUME_SOCKETCALL): Do not define.
10676 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10677 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10678 (__ASSUME_SOCKETCALL): Do not define.
10679 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10680 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10681 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10682 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10683 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10684 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10686 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10688 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10689 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10690 (__ASSUME_SOCKETCALL): Do not define.
10691 (__ASSUME_IPC64): Define unconditionally.
10692 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10693 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10694 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10695 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10696 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10697 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10698 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10701 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10702 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10703 (__ASSUME_SOCKETCALL): Do not define.
10704 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10705 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10706 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10707 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10708 (__ASSUME_REQUEUE_PI): Define unconditionally.
10709 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10710 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10711 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10712 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10713 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10714 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10716 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10717 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10718 (__ASSUME_SOCKETCALL): Do not define.
10719 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10720 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10721 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10722 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10723 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10724 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10727 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10728 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10729 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10730 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10731 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10732 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10733 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10734 (__ASSUME_GETCPU_SYSCALL): Likewise.
10736 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10737 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10738 cases for individual architectures.
10739 * sysdeps/gnu/configure: Regenerated.
10740 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10741 LIBC_SLIBDIR_RTLDDIR.
10742 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10743 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10744 LIBC_SLIBDIR_RTLDDIR.
10745 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10747 LIBC_SLIBDIR_RTLDDIR.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10750 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10756 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10757 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10761 * sysdeps/aarch64/shlib-versions: Move to ...
10762 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10763 * sysdeps/alpha/shlib-versions: Move to ...
10764 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10765 * sysdeps/arm/shlib-versions: Move to ...
10766 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10767 * sysdeps/hppa/shlib-versions: Move all contents except for
10768 libgcc_s entry to ...
10769 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10771 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10772 * sysdeps/ia64/shlib-versions: Move to ...
10773 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10775 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10776 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10777 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10778 * sysdeps/microblaze/shlib-versions: Move to ...
10779 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10780 * sysdeps/mips/shlib-versions: Move to ...
10781 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10783 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10784 * sysdeps/tile/shlib-versions: Move to ...
10785 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10786 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10788 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10789 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10791 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10793 2014-07-17 Will Newton <will.newton@linaro.org>
10795 * sysdeps/arm/bits/atomic.h
10796 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10797 (__arch_compare_and_exchange_bool_16_int): Likewise.
10798 (__arch_compare_and_exchange_bool_64_int): Likewise.
10800 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10801 into an #else block.
10803 2014-07-16 Roland McGrath <roland@hack.frob.com>
10805 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10806 just Linux configurations. Test empirically that the compiler sets
10807 __ARM_EABI__, rather than using the tuple to decide.
10808 * sysdeps/arm/preconfigure: Regenerated.
10809 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10810 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10811 contents appended ...
10812 * sysdeps/arm/configure.ac: ... here.
10813 * sysdeps/arm/configure: Regenerated.
10815 2014-07-15 Roland McGrath <roland@hack.frob.com>
10817 * nptl/pthread_kill.c: New file.
10818 * nptl/pthread_sigmask.c: New file.
10819 * nptl/pthread_sigqueue.c: New file.
10821 * sysdeps/nptl/lowlevellock.h: New file.
10822 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10823 * sysdeps/nptl/lowlevellock-futex.h: New file.
10825 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10826 Remove dead declarations.
10828 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10830 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10831 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10832 config-cflags-avx2.
10833 * sysdeps/x86_64/configure.ac: Likewise.
10834 * sysdeps/i386/configure: Regenerated.
10835 * sysdeps/x86_64/configure: Likewise.
10836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10837 memset-avx2 only if config-cflags-avx2 is yes.
10838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10839 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10841 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10842 only if HAVE_AVX2_SUPPORT is defined.
10843 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10845 2014-07-14 Alan Modra <amodra@gmail.com>
10848 * elf/elf.h (DT_PPC64_NUM): Correct value.
10849 * NEWS: Add to fixed bug list.
10851 2014-07-13 Jim Meyering <meyering@fb.com>
10854 regex: don't deref NULL upon heap allocation failure
10855 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10856 failure in one more place.
10857 To trigger the segfault, configure grep -with-included-regex,
10858 build it, and run these commands:
10859 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10861 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10863 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10865 2014-07-11 Richard Henderson <rth@redhat.com>
10867 * sysdeps/aarch64/libm-test-ulps: Update.
10869 2014-07-10 Florian Weimer <fweimer@redhat.com>
10872 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10873 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10874 (__nptl_setxid): Initialize error member. Call
10875 __nptl_setxid_error.
10876 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10877 * nptl/descr.h (struct xid_command): Add error member.
10878 * nptl/tst-setuid3.c: New file.
10879 * nptl/Makefile (tests): Add it.
10881 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10885 (__lll_trylock): Use __lll_base_trylock.
10886 (__lll_cond_trylock): Likewise.
10888 2014-07-10 Roland McGrath <roland@hack.frob.com>
10890 * nptl/pthread_create.c (start_thread): Use atomic_or and
10891 lll_futex_wake directly rather than lll_robust_dead.
10892 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10893 (lll_robust_dead): Macro removed.
10894 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10895 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10896 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10897 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10899 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10900 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10901 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10902 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10907 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10908 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10910 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10911 Use atomic_compare_and_exchange_val_acq directly rather than
10912 lll_robust_trylock.
10913 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10914 (__lll_robust_trylock, lll_robust_trylock): Removed.
10915 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10916 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10917 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10918 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10919 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10920 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10921 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10922 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10923 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10924 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10925 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10930 2014-07-02 Florian Weimer <fweimer@redhat.com>
10932 * manual/locale.texi (Locale Names): New section documenting
10933 locale name syntax. Adjust menu and node chaining accordingly.
10934 (Choosing Locale): Reference Locale Names, Locale Categories.
10935 Mention setting LC_ALL=C. Reflect that name syntax is now
10937 (Locale Categories): New section title. Reference Locale Names.
10938 LC_ALL is an environment variable, but not a category.
10939 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10940 description, now in Locale Name. Reference that section. Locale
10941 name syntax is now documented.
10943 2014-07-02 Florian Weimer <fweimer@redhat.com>
10946 * locale/findlocale.c (name_present, valid_locale_name): New
10948 (_nl_find_locale): Use the loc_name variable to store name
10949 candidates. Call name_present and valid_locale_name to check and
10950 validate locale names. Return an error if the locale is invalid.
10952 2014-07-02 Florian Weimer <fweimer@redhat.com>
10954 * locale/setlocale.c (setlocale): Use strdup for allocating
10955 composite name copy.
10957 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 Sync up with gnulib.
10960 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10961 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10962 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10963 and _GL_ARG_NONNULL.
10964 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10965 [!_LIBC]: Include code for Windows and Cygwin.
10966 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10967 Include prototype for int strerror_r.
10968 [!_LIBC] (is_open): New function.
10969 (flush_stdout): New function.
10970 (print_errno_message): Use it.
10972 (error_at_line): Likewise.
10973 (error_tail) Add function attribute macros. Use
10976 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10978 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10980 * io/ftw.c: Include sys/param.h unconditionally.
10982 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10985 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10987 (freecache): New function to free CACHE on exit.
10989 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10992 2014-07-09 David S. Miller <davem@davemloft.net>
10994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10996 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10997 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10999 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11000 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11001 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11002 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11003 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11004 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11006 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11007 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11008 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11010 2014-07-09 Andreas Schwab <schwab@suse.de>
11012 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11014 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11015 (do_test): Likewise.
11017 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11019 2014-07-09 Will Newton <will.newton@linaro.org>
11021 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11022 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11023 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11024 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11025 * sysdeps/hppa/start.S (_start): Likewise.
11027 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11029 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11031 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11034 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11036 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11037 after checking that it is non-NULL.
11039 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11041 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11043 * sysdeps/powerpc/memmove.c: Remove file.
11044 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11045 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11047 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11049 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11050 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11051 string memmove instead of removed powerpc one.
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11054 [weak_alias]: Fix compiler warning due trailing data.
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11056 [weak_alias]: Likewise.
11057 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11058 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11061 (__libc_ifunc_impl_list): Add memmove functions.
11063 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11065 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11067 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11069 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11071 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11073 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11075 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11077 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11079 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11081 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11083 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11085 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11087 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11089 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11091 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11093 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11095 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11097 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11100 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11103 to avoid alignment traps in non-cacheable memory.
11104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11108 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11109 file: multiarch power7 memmove.
11110 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11111 multiarch default memmove.
11112 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11113 multiarch memove for powerpc32/power4.
11115 * string/bcopy.c: Use full path to include memmove.c.
11116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11118 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11119 bcopy for powerpc64.
11120 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11121 bcopy for powerpc64.
11122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11123 and memmove implementations.
11124 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11125 optimized multiarch memmove for POWER7/powerpc64.
11126 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11127 default multiarch memmove for powerpc64.
11128 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11129 multiarch for powerpc64.
11130 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11131 for POWER7/powerpc64.
11132 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11133 memmove for POWER7/powerpc64.
11135 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11138 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11139 __ELF_NATIVE_CLASS equal to 64.
11141 2014-07-07 Roland McGrath <roland@hack.frob.com>
11143 * sysdeps/nptl/lowlevellock.h: File removed.
11145 * NEWS: NPTL is no longer an add-on!
11146 * nptl/internaltypes.h: Moved ...
11147 * sysdeps/nptl/internaltypes.h: ... here.
11148 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11149 * sysdeps/nptl/fork.c: Likewise.
11150 * sysdeps/nptl/gai_misc.h: Likewise.
11151 * sysdeps/nptl/librt-cancellation.c: Likewise.
11152 * sysdeps/nptl/jmp-unwind.c: Likewise.
11153 * sysdeps/nptl/setxid.h: Likewise.
11154 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11155 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11156 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11157 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11158 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11159 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11160 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11161 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11162 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11163 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11164 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11165 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11166 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11167 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11168 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11169 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11171 * nptl/Makeconfig: Moved ...
11172 * sysdeps/nptl/Makeconfig: ... here.
11173 * nptl/configure: File removed.
11174 * nptl/ANNOUNCE: File removed.
11175 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11176 * sysdeps/unix/sysv/linux/configure: Regenerated.
11178 * nptl/Makefile (routines): Add libc_pthread_init,
11179 libc_multiple_threads, register-atfork and unregister-atfork.
11180 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11181 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11182 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11183 pthread-pi-defines.sym, structsem.sym.
11184 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11185 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11186 [$(subdir) = nptl] (tests): Add tst-setgetname.
11187 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11188 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11189 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11190 [!LIBC_SIGACTION]: Remove aliases.
11191 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11192 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11193 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11194 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11195 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11196 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11198 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11200 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11201 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11202 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11203 __libc_allocate_rtsig_private.
11204 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11205 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11206 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11208 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11209 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11210 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11211 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11212 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11213 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11214 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11215 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11216 * nptl/internaltypes.h: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11218 * sysdeps/nptl/jmp-unwind.c: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11220 * nptl/libc-lowlevellock.c: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11222 * nptl/libc_multiple_threads.c: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11224 * nptl/libc_pthread_init.c: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11226 * nptl/lowlevelbarrier.sym: ... here.
11227 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11228 * nptl/lowlevelcond.sym: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11230 * nptl/lowlevellock.c: ... here.
11231 * nptl/lowlevellock.h: Moved ...
11232 * sysdeps/nptl/lowlevellock.h: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11234 * nptl/lowlevelrobustlock.c: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11236 * nptl/lowlevelrobustlock.sym: ... here.
11237 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11238 * nptl/lowlevelrwlock.sym: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11240 * nptl/pt-fork.c: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11242 * nptl/pthread-pi-defines.sym: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11244 * nptl/pthread_attr_getaffinity.c: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11246 * nptl/pthread_attr_setaffinity.c: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11248 * nptl/pthread_mutex_cond_lock.c: ... here.
11249 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11251 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11252 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11253 * nptl/pthread_once.c: ... here, replacing old file.
11254 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11255 * nptl/pthread_yield.c: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11257 * nptl/register-atfork.c: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11259 * nptl/sem_post.c: ... here.
11260 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11261 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11262 * nptl/sem_timedwait.c: ... here.
11263 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11264 * nptl/sem_trywait.c: ... here.
11265 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11266 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11267 * nptl/sem_wait.c: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11269 * nptl/structsem.sym: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11271 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11272 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11273 * nptl/unregister-atfork.c: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11275 * nptl/unwindbuf.sym: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11277 * sysdeps/nptl/fork.c: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11279 * sysdeps/nptl/fork.h: ... here.
11280 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11281 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11282 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11284 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11286 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11288 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11290 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11292 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11294 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11296 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11298 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11300 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11302 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11304 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11306 * sysdeps/unix/sysv/linux/raise.c: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11308 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11310 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11312 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11314 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11316 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11318 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11320 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11321 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11323 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11325 * sysdeps/generic/memcopy.h: Add comment for
11326 MEMCPY_OK_FOR_FWD_MEMMOVE.
11328 2014-07-04 Will Newton <will.newton@linaro.org>
11330 * string/memchr.c: Merge from gnulib.
11331 [_LIBC]: Remove conditionals.
11332 (__ptr_t): Remove define.
11333 (LONG_MAX_32_BITS): Likewise.
11334 (LONG_MAX): Likewise.
11335 (MEMCHR): Use ANSI prototype and optimize algorithm.
11337 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11339 2014-07-03 Roland McGrath <roland@hack.frob.com>
11341 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11342 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11344 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11345 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11346 in a bare environment with no <stdlib.h> installed.
11347 * sysdeps/nptl/configure: Regenerated.
11349 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11351 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11352 AC_EGREP_CPP for kernel header checks, so they only succeed if
11353 including <linux/version.h> actually works right.
11354 * sysdeps/unix/sysv/linux/configure: Regenerated.
11356 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11357 value so it's not diagnosed as unused.
11359 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11360 thing) with "ifeq ($(subdir),rt)".
11362 2014-07-03 Richard Henderson <rth@redhat.com>
11364 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11365 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11366 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11368 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11369 (math_force_eval): New.
11371 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11372 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11374 * sysdeps/alpha/fpu/s_round.c: Remove file.
11375 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11377 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11378 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11379 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11380 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11381 (_dl_start, print_statistics): Likewise.
11382 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11383 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11385 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11386 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11387 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11388 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11390 (HP_SMALL_TIMING_AVAIL): Define.
11391 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11392 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11393 (HP_SMALL_TIMING_AVAIL): Define.
11394 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11395 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11397 * sysdeps/aarch64/hp-timing.h: New file.
11399 * sysdeps/generic/hp-timing.h: Remove dead comment.
11400 * sysdeps/generic/hp-timing-common.h: New file.
11401 * sysdeps/alpha/hp-timing.h: Include it.
11402 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11403 * sysdeps/i386/i686/hp-timing.h: Likewise.
11404 * sysdeps/ia64/hp-timing.h: Likewise.
11405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11407 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11408 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11409 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11410 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11411 (hp_timing_t): New.
11413 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11414 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11415 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11416 * elf/rtld.c (_dl_start_final): Likewise.
11417 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11418 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11419 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11420 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11421 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11423 (HP_TIMING_DIFF_INIT): Remove.
11424 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11425 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11426 (HP_TIMING_DIFF_INIT): Remove.
11427 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11428 * sysdeps/i386/i686/hp-timing.c: Remove file.
11429 * sysdeps/x86_64/hp-timing.c: Remove file.
11430 * sysdeps/ia64/hp-timing.c: Remove file.
11431 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11432 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11434 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11436 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11437 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11438 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11439 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11441 (HP_TIMING_ACCUM): Remove.
11442 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11443 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11444 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11446 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11447 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11448 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11449 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11451 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11453 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11455 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11457 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11459 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11461 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11463 Sync up with gettext.
11464 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11465 [_MSC_VER]: Include malloc.h
11466 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11467 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11468 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11469 TEMP_FAILURE_RETRY. Cast return of alloca.
11470 [!_LIBC] Call gl_rwlock_init.
11471 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11473 2014-07-02 Roland McGrath <roland@hack.frob.com>
11475 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11476 before checking its value.
11478 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11480 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11482 * debug/memcpy_chk.c: Don't include pagecopy.h.
11483 * debug/mempcpy_chk.c: Likewise.
11484 * string/memcpy.c: Likewise.
11485 * string/memmove.c: Likewise.
11486 * sysdeps/powerpc/memmove.c: Likewise.
11487 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11488 definition of PAGE_COPY_FWD_MAYBE here...
11489 * sysdeps/generic/pagecopy.h: ... from here.
11490 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11492 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11493 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11495 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11499 (__libc_ifunc_impl_list): Likewise.
11500 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11501 multiarch strcat for PPC64.
11502 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11503 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11505 2014-07-02 Roland McGrath <roland@hack.frob.com>
11507 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11509 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11511 * intl/loadmsgcat.c: Remove declaration of
11512 get_sysdep_segment_value.
11513 (get_sysdep_segment_value): Use ISO C style.
11514 (_nl_load_domain): Use ISO C style. Get rid of redundant
11515 semicolon. Fix typo and formatting in comment.
11516 (_nl_unload_domain): Use ISO C style.
11518 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11520 2014-07-02 Will Newton <will.newton@linaro.org>
11522 * malloc/obstack.c: Merge from gnulib master.
11523 [HAVE_CONFIG_H]: Remove conditional code.
11524 [!_LIBC]: Include config.h.
11525 [!ELIDE_CODE]: Don't include inttypes.h, include
11526 stdint.h unconditionally.
11527 (print_and_abort): Mark as _Noreturn.
11528 (_obstack_allocated_p): Mark as __attribute_pure__.
11529 (obstack_free): Rename to __obstack_free.
11530 [!__attribute__]: Remove conditional code.
11531 * malloc/obstack.h: Merge from gnulib master.
11532 [__cplusplus]: Move conditional down.
11533 [!__attribute_pure__]: Define __attribute_pure__ here
11534 if it is not already defined.
11535 (_obstack_memory_used): Mark as __attribute_pure__.
11536 [!__obstack_free]: Define as obstack_free.
11537 [__GNUC__]: Remove check for ancient NeXT gcc.
11539 2014-07-02 Will Newton <will.newton@linaro.org>
11540 Paul Eggert <eggert@cs.ucla.edu>
11542 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11544 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11546 * resolv/gethnamaddr.c: Add comment warning that the file is
11549 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11551 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11554 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11555 entry for aio_cancel and aio_cancel64.
11556 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11557 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11558 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11559 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11560 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11561 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11562 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11563 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11564 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11565 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11566 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11567 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11568 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11570 2014-07-01 Roland McGrath <roland@hack.frob.com>
11572 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11573 * nptl/pthread_mutex_lock.c: Likewise.
11574 * nptl/pthread_mutex_timedlock.c: Likewise.
11575 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11577 2014-07-01 Richard henderson <rth@redhat.com>
11579 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11580 (__isnan, __isnanl): Remove.
11581 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11583 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11585 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11587 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11589 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * resolv/nss_dns/dns-host.c (getanswer_r)
11592 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11594 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11597 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11599 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11600 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11602 2014-07-01 Roland McGrath <roland@hack.frob.com>
11604 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11605 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11607 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11608 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11610 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11611 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11613 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11614 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11616 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11617 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11618 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11619 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11621 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11622 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11623 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11627 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11629 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11636 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11637 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11638 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11639 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11640 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11641 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11642 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11643 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11644 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11645 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11646 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11647 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11648 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11650 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11653 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11654 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11655 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11656 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11657 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11659 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11661 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11662 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11663 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11666 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11670 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11672 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11673 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11675 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11677 * sysdeps/arm/libm-test-ulps: Regenerated.
11679 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11680 Roland McGrath <roland@hack.frob.com>
11682 * test-skeleton.c (signal_handler): Kill the whole process group
11683 before killing the child individually.
11684 (main): Report any failure on `setpgid'.
11686 2014-06-30 Roland McGrath <roland@hack.frob.com>
11688 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11689 from _TLS_H to _ARM_NPTL_TLS_H.
11690 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11691 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11693 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11697 (__expm1l): Return argument unchanged when small but not
11700 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11701 include macro name.
11702 (_FP_UNPACK_RAW_1_P): Likewise.
11703 (_FP_PACK_RAW_1): Likewise.
11704 (_FP_PACK_RAW_1_P): Likewise.
11705 (_FP_MUL_MEAT_1_wide): Likewise.
11706 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11707 (_FP_MUL_MEAT_1_hard): Likewise.
11708 (_FP_DIV_MEAT_1_imm): Likewise.
11709 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11710 (_FP_DIV_MEAT_1_udiv): Likewise.
11711 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11712 (_FP_UNPACK_RAW_2): Likewise.
11713 (_FP_UNPACK_RAW_2_P): Likewise.
11714 (_FP_PACK_RAW_2): Likewise.
11715 (_FP_PACK_RAW_2_P): Likewise.
11716 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11717 (_FP_MUL_MEAT_2_wide): Likewise.
11718 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11719 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11720 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11721 (_FP_MUL_MEAT_2_gmp): Likewise.
11722 (_FP_DIV_MEAT_2_udiv): Likewise.
11723 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11724 (_FP_FRAC_SRL_4): Likewise.
11725 (_FP_FRAC_SRST_4): Likewise.
11726 (_FP_FRAC_SRS_4): Likewise.
11727 (_FP_UNPACK_RAW_4): Likewise.
11728 (_FP_UNPACK_RAW_4_P): Likewise.
11729 (_FP_PACK_RAW_4): Likewise.
11730 (_FP_PACK_RAW_4_P): Likewise.
11731 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11732 (_FP_MUL_MEAT_4_wide): Likewise.
11733 (_FP_MUL_MEAT_4_gmp): Likewise.
11734 (umul_ppppmnnn): Likewise.
11735 (_FP_DIV_MEAT_4_udiv): Likewise.
11736 (__FP_FRAC_ADD_4): Likewise.
11737 (__FP_FRAC_SUB_3): Likewise.
11738 (__FP_FRAC_SUB_4): Likewise.
11739 (__FP_FRAC_DEC_3): Likewise.
11740 (__FP_FRAC_DEC_4): Likewise.
11741 (__FP_FRAC_ADDI_4): Likewise.
11742 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11743 (_FP_FRAC_SRL_8): Likewise.
11744 (_FP_FRAC_SRS_8): Likewise.
11746 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11747 include macro name.
11748 (FP_UNPACK_RAW_EP): Likewise.
11749 (FP_PACK_RAW_E): Likewise.
11750 (FP_PACK_RAW_EP): Likewise.
11751 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11752 (_FP_ISSIGNAN): Likewise.
11753 (_FP_ADD_INTERNAL): Likewise.
11754 (_FP_FMA): Likewise.
11755 (_FP_CMP): Likewise.
11756 (_FP_SQRT): Likewise.
11757 (_FP_TO_INT): Likewise.
11758 (_FP_FROM_INT): Likewise.
11759 (FP_EXTEND): Likewise.
11760 (_FP_DIV_MEAT_N_loop): Likewise.
11762 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11764 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11767 2014-06-29 Joseph Myers <joseph@codesourcery.com>
11770 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11771 result with correct sign in case of exponents that produce
11772 overflow except for X very close to 1.
11774 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11776 mktime: merge #if/#ifdef usage from glibc
11777 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11778 as that works with both Glibc's and Gnulib's style.
11779 See thread starting at Siddhesh Poyarekar's bug report at:
11780 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11782 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11784 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11785 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11786 * sysdeps/tile/tilegx/memmove.c: Remove file.
11788 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11790 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11791 abi-name definition.
11792 * scripts/soversions.awk: Do not handle or generate ABI lines.
11793 * shlib-versions: Remove ABI entries.
11794 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11795 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11797 2014-06-27 Roland McGrath <roland@hack.frob.com>
11799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11800 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11801 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11804 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11807 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11810 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11814 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11816 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11820 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11825 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11833 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11840 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11842 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11844 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11847 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11852 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11855 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11856 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11857 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11860 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11863 Identical file removed.
11864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11866 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11868 Identical file removed.
11869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11873 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11875 Identical file removed.
11876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11879 Identical file removed.
11880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11883 Identical file removed.
11884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11885 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11887 Identical file removed.
11888 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11890 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11892 Identical file removed.
11893 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11895 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11897 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11898 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11899 Identical file removed.
11900 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11902 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11905 Identical file removed.
11906 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11908 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11910 Identical file removed.
11911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11913 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11915 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11918 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11920 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11922 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11924 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11925 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11926 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11927 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11928 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11930 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
11933 * nscd/nscd.c (monitor_child): Return exit status of child
11934 instead of return value from wait syscall.
11936 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11938 * configure.ac (libc_commonpagesize): Remove variable.
11939 (libc_relro_required): Likewise.
11940 (libc_cv_z_relro): Remove configure test.
11941 * configure: Regenerated.
11942 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11944 (libc_relro_required): Likewise.
11945 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11946 (libc_relro_required): Likewise.
11947 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11948 (libc_relro_required): Likewise.
11949 * sysdeps/arm/preconfigure: Regenerated.
11950 * sysdeps/ia64/preconfigure: Remove file.
11951 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11953 (libc_relro_required): Likewise.
11957 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11958 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11959 recompute overflowing results in original rounding mode.
11960 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11961 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11962 recompute overflowing results in original rounding mode.
11963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11964 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11965 recompute overflowing results in original rounding mode.
11966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11967 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11968 recompute overflowing results in original rounding mode.
11969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11970 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11971 recompute overflowing results in original rounding mode.
11972 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11973 (libc_feholdsetround_ctx): New macro.
11974 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11975 * sysdeps/i386/fpu/libm-test-ulps: Update.
11976 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11978 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11980 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11981 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11982 corresponding .cpsetup call.
11984 2014-06-26 Roland McGrath <roland@hack.frob.com>
11986 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11987 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11988 * sysdeps/arm/Makefile [$(subdir) = csu]
11989 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11990 (static-only-routines): Add aeabi_read_tp here.
11991 (shared-only-routines): Add libc-aeabi_read_tp here.
11992 (CFLAGS-libc-start.c): Add -fexceptions here.
11993 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11994 (sysdep_routines, static-only-routines, shared-only-routines):
11995 Don't add to these here.
11996 (CFLAGS-libc-start.c): Likewise.
11998 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11999 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12000 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12001 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12002 * sysdeps/arm/Makefile [$(subdir) = rt]
12003 (librt-sysdep_routines, librt-shared-only-routines):
12004 Append rt-aeabi_unwind_cpp_pr1 here.
12005 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12006 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12007 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12008 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12009 Append nptl-aeabi_unwind_cpp_pr1 here.
12010 (tests): Filter out tst-cleanupx4 here.
12011 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12012 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12013 Don't do those here.
12015 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12017 * scripts/list-sources.sh: Do not handle ports specially.
12019 2014-06-26 Roland McGrath <roland@hack.frob.com>
12021 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12022 * sysdeps/arm/feupdateenv.c: Likewise.
12024 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12026 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12028 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12029 trailing whitespace removed.
12030 * scripts/config.guess: Update to version 2014-03-23.
12031 * scripts/config.sub: Update to version 2014-05-01
12032 * scripts/install-sh: Update to version 2013-12-25.23.
12033 * scripts/move-if-change: Update from gnulib.
12035 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * debug/memmove_chk.c: Remove pagecopy.h include.
12039 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12041 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12042 identical to gnulib mktime.
12044 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12046 * configure.ac: Do not test for machine being rs6000. Do not test
12047 for powerpc*-*soft.
12048 * configure: Regenerated.
12051 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12053 * configure: Regenerated.
12054 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12055 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12056 Remove configure test.
12057 * sysdeps/arm/configure: Regenerated.
12058 * sysdeps/nptl/configure.ac: Do not check
12059 libc_cv_asm_cfi_directives.
12060 * sysdeps/nptl/configure: Regenerated.
12061 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12062 * sysdeps/x86_64/nptl/configure: Remove generated file.
12063 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12065 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12067 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12069 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12070 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12071 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12074 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12075 instead of whether it is defined.
12076 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12077 * sysdeps/hppa/dl-machine.h: Likewise.
12078 * sysdeps/ia64/dl-machine.h: Likewise.
12079 * sysdeps/m68k/dl-machine.h: Likewise.
12080 * sysdeps/microblaze/dl-machine.h: Likewise.
12081 * sysdeps/mips/dl-machine.: Likewise.
12082 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12083 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12084 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12085 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12086 * sysdeps/sh/dl-machine.h: Likewise.
12087 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12088 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12089 * sysdeps/tile/dl-machine.h: Likewise.
12090 * sysdeps/x86_64/dl-machine.h: Likewise.
12092 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12094 (verify_persistent_db): Likewise.
12096 2014-06-26 Roland McGrath <roland@hack.frob.com>
12098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12099 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12104 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12107 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12109 Identical file removed.
12110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12119 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12122 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12124 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12126 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12129 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12131 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12133 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12135 Identical file removed.
12136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12137 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12142 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12156 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12159 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12161 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12164 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12166 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12168 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12170 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12171 * sysdeps/unix/sysv/linux/s390/Versions
12172 (libpthread: GLIBC_2.19): New version set.
12173 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12175 (librt: GLIBC_2.3.3): New version set.
12176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12177 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12178 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12179 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12180 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12181 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12182 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12183 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12184 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12185 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12186 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12188 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12190 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12192 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12196 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12198 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12200 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12201 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12202 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12204 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12206 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12207 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12214 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12216 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12218 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12220 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12222 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12223 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12224 (__libc_vfork): Define the function under this name.
12225 [!NOT_IN_libc] (__vfork): Make this an alias.
12226 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12228 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12229 (__libc_vfork): Define the function under this name.
12230 [!NOT_IN_libc] (__vfork): Make this an alias.
12231 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12232 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12235 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12236 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12238 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12239 code that was previously under [RESET_PID].
12240 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12245 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12246 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12247 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12248 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12249 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12250 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12251 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12252 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12253 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12254 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12256 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12272 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12273 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12274 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12275 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12278 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12279 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12280 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12281 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12282 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12283 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12284 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12286 2014-06-25 Roland McGrath <roland@hack.frob.com>
12288 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12289 that was previously under [RESET_PID].
12290 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12292 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12294 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12295 not undefine and redefine.
12296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12297 [O_CLOEXEC]: Make code unconditional.
12298 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12299 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12300 <kernel-features.h>.
12301 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12302 conditional variable definition.
12303 (shm_open) [O_CLOEXEC]: Make code unconditional.
12304 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12307 * configure.ac (USE_REGPARMS): Don't define here.
12308 * configure: Regenerated.
12309 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12310 * sysdeps/i386/configure: Regenerated.
12312 * nptl/createthread.c: Don't include kernel-features.h.
12313 * nptl/pthread_cancel.c: Likewise.
12314 * nptl/pthread_condattr_setclock.c: Likewise.
12315 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12316 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12317 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12318 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12319 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12321 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12324 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12325 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12326 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12327 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12328 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12329 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12330 * nscd/gai.c: Likewise.
12331 * nss/nss_db/db-open.c: Likewise.
12332 * sysdeps/generic/ldsodefs.h: Likewise.
12333 * sysdeps/sh/nptl/tls.h: Likewise.
12334 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12335 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12336 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12337 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12338 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12339 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12340 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12341 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12343 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12344 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12345 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12346 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12347 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12348 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12349 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12350 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12351 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12352 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12353 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12355 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12356 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12357 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12359 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12360 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12361 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12362 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12363 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12364 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12365 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12366 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12367 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12369 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12370 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12371 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12372 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12373 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12374 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12375 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12376 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12379 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12380 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12381 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12382 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12383 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12384 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12385 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12386 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12388 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12389 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12414 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12415 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12416 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12417 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12418 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12423 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12424 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12426 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12427 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12428 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12429 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12432 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12433 * sysdeps/unix/sysv/linux/system.c: Likewise.
12434 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12435 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12436 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12437 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12438 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12440 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12442 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12443 * configure: Regenerated.
12444 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12446 * configure.ac (base_machine): Do not set specially for particular
12448 * configure: Regenerated.
12449 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12450 settings from configure.ac.
12451 * sysdeps/i386/preconfigure: New file.
12452 * sysdeps/s390/preconfigure: Likewise.
12453 * sysdeps/sh/preconfigure: Likewise.
12454 * sysdeps/sparc/preconfigure: Likewise.
12456 2014-06-25 Roland McGrath <roland@hack.frob.com>
12458 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12459 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12460 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12461 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12462 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12463 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12464 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12465 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12466 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12467 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12468 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12469 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12470 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12471 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12472 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12473 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12474 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12475 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12476 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12478 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12479 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12480 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12481 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12482 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12483 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12484 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12485 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12486 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12487 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12488 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12489 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12490 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12491 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12492 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12493 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12494 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12495 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12496 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12497 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12499 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12503 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12504 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12505 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12507 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12508 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12509 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12510 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12511 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12512 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12513 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12514 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12515 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12523 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12526 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12528 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12531 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12533 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12537 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12540 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12543 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12545 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12548 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12552 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12554 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12556 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12559 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12562 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12564 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12567 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12569 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12571 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12576 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12579 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12581 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12584 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12586 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12588 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12590 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12592 * timezone/checktab.awk: Update from tzcode 2014e.
12593 * timezone/private.h: Likewise.
12594 * timezone/tzfile.h: Likewise.
12595 * timezone/zdump.c: Likewise.
12596 * timezone/zic.c: Likewise.
12598 * sysdeps/unix/sysv/linux/kernel-features.h
12599 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12601 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12602 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12603 Remove conditional code.
12605 2014-06-25 Will Newton <will.newton@linaro.org>
12607 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12608 (_dl_arm_cap_flags): Add HWCAP2 values.
12609 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12610 (_DL_HWCAP_COUNT): Increase to 37.
12611 (_DL_HWCAP_LAST): New define.
12612 (_DL_HWCAP2_LAST): New define.
12613 (_dl_procinfo): Add support for printing
12615 (_dl_string_hwcap): Use _dl_hwcap_string.
12617 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12621 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12623 * README: Do not mention ports directory.
12625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12627 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12628 <kernel-features.h>.
12629 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12630 conditional variable definition.
12631 (__futimes): Update comment.
12632 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12633 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12636 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12637 arguments close to 0.
12638 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12640 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12642 * math/auto-libm-test-in: Add more tests of exp10.
12643 * math/auto-libm-test-out: Regenerated.
12644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12646 * sysdeps/unix/sysv/linux/kernel-features.h
12647 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12648 * sysdeps/unix/sysv/linux/readv.c: Do not include
12649 <kernel-features.h>.
12650 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12651 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12652 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12654 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12656 * sysdeps/unix/sysv/linux/writev.c: Do not include
12657 <kernel-features.h>.
12658 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12659 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12660 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12662 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12665 2014-06-25 Will Newton <will.newton@linaro.org>
12667 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12668 comment changes throughout the file. Remove checks
12669 for HAVE_*_H definitions that are not required.
12670 (__gen_tempname): Call abort if an unknown kind value is
12673 2014-06-25 Andreas Schwab <schwab@suse.de>
12676 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12677 scalbln, scalblnf, scalblnl in libc.
12679 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12682 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12683 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12684 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12686 2014-06-24 Roland McGrath <roland@hack.frob.com>
12688 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12689 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12690 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12691 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12693 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12694 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12696 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12697 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12698 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12699 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12700 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12701 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12702 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12703 * sysdeps/x86/bits/semaphore.h: ... here.
12704 * sysdeps/x86/nptl/elide.h: Moved ...
12705 * sysdeps/x86/elide.h: ... here.
12706 * sysdeps/x86_64/nptl/Implies: File removed.
12707 * sysdeps/i386/nptl/Implies: File removed.
12709 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12713 return the argument for normal arguments with exponent below -64.
12714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12716 * math/auto-libm-test-in: Add another test of expm1.
12717 * math/auto-libm-test-out: Regenerated.
12720 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12721 calling __erfcl for arguments at least 16.
12722 * math/auto-libm-test-in: Add more tests of erf.
12723 * math/auto-libm-test-out: Regenerated.
12725 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12726 individual architectures.
12727 * sysdeps/unix/sysv/linux/configure: Regenerated.
12728 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12729 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12730 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12731 (ldd_rewrite_script): Define variable.
12732 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12737 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12738 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12739 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12740 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12741 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12742 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12743 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12744 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12746 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12750 Rename member __data.d to __data.__elision_data.
12752 2014-06-24 Wilco <wdijkstr@arm.com>
12754 * NEWS: Add 16918 to fixed bug list.
12756 2014-06-24 Wilco <wdijkstr@arm.com>
12758 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12760 2014-06-24 Wilco <wdijkstr@arm.com>
12762 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12763 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12764 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12765 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12766 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12767 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12768 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12771 2014-06-24 Wilco <wdijkstr@arm.com>
12773 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12775 2014-06-24 Wilco <wdijkstr@arm.com>
12777 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12778 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12779 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12780 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12782 2014-06-24 Wilco <wdijkstr@arm.com>
12785 * sysdeps/arm/feupdateenv.c (feupdateenv):
12786 Rewrite to reduce FPSCR accesses and fix return value.
12788 2014-06-24 Wilco <wdijkstr@arm.com>
12790 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12791 Optimize to avoid unnecessary FPSCR writes.
12792 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12793 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12794 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12795 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12797 2014-06-24 Wilco <wdijkstr@arm.com>
12799 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12800 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12801 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12802 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12803 Call libc_fetestexcept_vfp.
12804 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12805 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12806 __SOFTFP__ ifdef so that they can be built for softfp.
12808 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12810 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12811 argument type signed char.
12813 * Makerules (check-abi): Dump diff of symlist if the test
12816 2014-06-23 Roland McGrath <roland@hack.frob.com>
12818 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12821 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12822 Remove unused variable ST.
12824 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12828 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12829 small arguments before calling __expm1.
12830 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12831 small arguments before calling __expm1f.
12832 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12833 small arguments before calling __expm1l.
12834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12836 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12837 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12838 spurious underflow for some cosh tests.
12839 * math/auto-libm-test-out: Regenerated.
12840 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12844 (__ieee754_y1): Set errno if return value overflows.
12845 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12846 (__ieee754_y1f): Set errno if return value overflows.
12847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12848 (__ieee754_y1l): Set errno if return value overflows.
12849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12850 (__ieee754_y1l): Set errno if return value overflows.
12851 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12852 * math/auto-libm-test-out: Regenerated.
12854 * math/gen-auto-libm-tests.c: Document use of
12855 ignore-zero-inf-sign.
12856 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12857 (input_flags): Add ignore-zero-inf-sign.
12858 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12859 * math/gen-libm-test.pl (generate_testfile): Handle
12860 ignore-zero-inf-sign.
12861 * math/auto-libm-test-in: Mark some cpow tests with
12862 ignore-zero-inf-sign and some with xfail-rounding.
12863 * math/auto-libm-test-out: Regenerated.
12864 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12865 * sysdeps/i386/fpu/libm-test-ulps: Update.
12866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12870 overflowing or underflowing operations take place with sign of
12872 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12873 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12874 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12875 (__ieee754_pow): Recompute overflowing and underflowing results in
12876 original rounding mode.
12877 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12878 (__powl_helper): Allow negative argument X and scale negated value
12879 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12880 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12881 overflowing or underflowing operations take place with sign of
12883 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12885 * math/auto-libm-test-in: Add more tests of pow.
12886 * math/auto-libm-test-out: Regenerated.
12887 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12888 (pow_tonearest_test_data): Remove.
12889 (pow_test_tonearest): Likewise.
12890 (pow_towardzero_test_data): Likewise.
12891 (pow_test_towardzero): Likewise.
12892 (pow_downward_test_data): Likewise.
12893 (pow_test_downward): Likewise.
12894 (pow_upward_test_data): Likewise.
12895 (pow_test_upward): Likewise.
12896 (main): Don't call removed functions.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12900 2014-06-23 Roland McGrath <roland@hack.frob.com>
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13076 2014-06-23 Will Newton <will.newton@linaro.org>
13077 Wilco <wdijkstr@arm.com>
13079 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13080 implementation. Include get-rounding-mode.h.
13081 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13082 [!libc_feholdsetround_noex_ctx]: Define
13083 libc_feholdsetround_noex_ctx.
13084 [!libc_feholdsetround_noexf_ctx]: Define
13085 libc_feholdsetround_noexf_ctx.
13086 [!libc_feholdsetround_noexl_ctx]: Define
13087 libc_feholdsetround_noexl_ctx.
13088 (libc_feholdsetround_ctx): New function.
13089 (libc_feresetround_ctx): New function.
13090 (libc_feholdsetround_noex_ctx): New function.
13091 (libc_feresetround_noex_ctx): New function.
13093 2014-06-23 Roland McGrath <roland@hack.frob.com>
13095 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13096 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13097 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13098 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13099 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13100 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13102 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13103 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13104 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13105 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13106 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13107 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13109 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13111 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13114 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13117 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13119 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13122 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13124 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13128 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13131 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13134 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13135 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13136 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13139 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13141 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13142 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13143 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13144 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13145 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13147 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13150 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13153 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13155 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13157 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13159 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13161 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13162 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13163 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13166 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13168 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13173 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13175 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13176 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13177 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13179 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13180 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13182 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13186 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13192 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13194 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13195 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13200 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13201 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13202 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13206 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13208 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13211 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13212 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13213 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13214 (IPV6_PMTUDISC_INTERFACE): Likewise.
13215 (IPV6_PMTUDISC_OMIT): Likewise.
13217 2014-06-23 Andreas Schwab <schwab@suse.de>
13219 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13220 Remove unused errout label.
13222 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13224 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13225 macro: hardware supports Vector Crypto instructions.
13227 2014-06-23 Will Newton <will.newton@linaro.org>
13229 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13230 rather than __builtin_expect.
13232 * elf/dl-lookup.c (undefined_msg): Remove variable.
13233 (_dl_lookup_symbol_x): Replace undefined_msg with string
13236 * elf/dl-lookup.c (do_lookup_unique): New function.
13237 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13238 to a separate function.
13240 2014-06-23 Andreas Schwab <schwab@suse.de>
13243 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13244 before reading the next line.
13246 2014-06-23 Will Newton <will.newton@linaro.org>
13248 * test-skeleton.c (signal_handler): Use printf and %m
13249 rather than perror. Use printf rather than fprintf to
13250 stderr. Use puts rather than fputs to stderr.
13253 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13255 * nscd/nscd.c (thread_info_t): Remove typedef.
13256 (thread_info): Remove variable.
13258 2014-06-21 Allan McRae <allan@archlinux.org>
13260 * NEWS: Mention CVE-2014-4043.
13262 2014-06-20 Roland McGrath <roland@hack.frob.com>
13264 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13265 * nptl/smp.h: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13269 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13270 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13271 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13272 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13274 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13275 * nptl/stack-aliasing.h: New file.
13276 * sysdeps/i386/i686/stack-aliasing.h: New file.
13277 * sysdeps/i386/i686/nptl/Makefile: File removed.
13278 * sysdeps/x86_64/stack-aliasing.h: New file.
13279 * sysdeps/x86_64/nptl/Makefile
13280 (CFLAGS-pthread_create.c): Variable removed.
13282 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13283 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13285 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13286 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13289 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13292 (__ASSUME_SIGFRAME_V2): Remove macro.
13293 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13294 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13295 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13296 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13297 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13298 Declare as function. Remove conditional macro definitions.
13299 (__default_rt_sa_restorer): Likewise.
13300 (__default_sa_restorer_v1): Remove declaration.
13301 (__default_sa_restorer_v2): Likewise.
13302 (__default_rt_sa_restorer_v1): Likewise.
13303 (__default_rt_sa_restorer_v2): Likewise.
13304 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13305 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13306 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13308 2014-06-20 Roland McGrath <roland@hack.frob.com>
13310 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13311 (libpthread-routines): Add sysdep.
13312 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13313 * sysdeps/unix/sysv/linux/sparc/Versions
13314 (libpthread: GLIBC_2.3.3): New version set.
13315 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13316 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13317 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13319 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13320 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13322 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13323 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13324 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13325 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13326 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13327 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13328 * sysdeps/sparc/nptl/sem_init.c: ... here.
13329 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13330 * sysdeps/sparc/nptl/sem_post.c: ... here.
13331 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13332 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13334 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13336 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13337 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13338 (libpthread-routines): Add cpu_relax.
13339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13341 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13342 (librt: GLIBC_2.3.3): New version set.
13343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13344 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13345 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13346 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13349 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13352 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13354 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13356 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13358 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13360 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13363 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13367 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13379 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13383 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13386 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13394 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13397 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13399 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13403 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13405 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13406 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13407 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13408 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13409 * nscd/nscd.c: Likewise.
13410 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13411 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13412 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13413 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13415 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13416 <kernel-features.h>.
13417 (init_mq_netlink): Remove conditional have_sock_cloexec
13418 definitions. Remove code conditional on have_sock_cloexec < 0.
13419 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13420 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13421 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13422 <kernel-features.h>.
13423 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13424 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13426 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13429 Add tests for memset_chk and memset.
13431 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13434 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13437 * elf/tst-dl-iter-static.c: New file.
13438 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13440 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13443 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13445 * sysdeps/unix/sysv/linux/kernel-features.h
13446 (__ASSUME_F_GETOWN_EX): Remove macro.
13447 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13448 <kernel-features.h>.
13449 (miss_F_GETOWN_EX): Remove variable or macro.
13450 (do_fcntl): Do not check miss_F_GETOWN_EX.
13451 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13456 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13457 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13459 * sysdeps/unix/sysv/linux/kernel-features.h
13460 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13461 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13462 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13463 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13465 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13468 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13469 Fix calculation of the symbol's value.
13470 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13471 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13472 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13473 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13474 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13475 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13476 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13477 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13478 (modules-names): Add `tst-armtlsdescmod',
13479 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13480 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13481 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13482 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13483 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13484 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13485 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13486 ($(objpfx)tst-armtlsdescloc): New dependency.
13487 ($(objpfx)tst-armtlsdescextnow): Likewise.
13488 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13489 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13490 TLS scheme support.
13491 * sysdeps/arm/configure: Regenerate.
13493 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13495 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13496 (__atfct_seterrno_2): Likewise.
13497 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13498 <kernel-features.h>.
13499 (__ASSUME_ATFCTS): Do not undefine and redefine.
13500 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13501 (__have_atfcts): Remove conditional definition.
13502 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13503 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13504 unreachable if [__ASSUME_ATFCTS].
13505 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13506 not undefine and redefine.
13507 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13508 <kernel-features.h>.
13509 (faccessat) [__NR_faccessat]: Make code unconditional.
13510 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13512 <kernel-features.h>.
13513 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13514 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13515 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13516 <kernel-features.h>.
13517 (fchownat) [__NR_fchownat]: Make code unconditional.
13518 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13519 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13520 <kernel-features.h>.
13521 (futimesat) [__NR_futimesat]: Make code unconditional.
13522 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13523 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13524 <kernel-features.h>.
13525 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13526 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13527 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13528 <kernel-features.h>.
13529 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13530 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13531 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13532 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13533 <kernel-features.h>.
13534 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13535 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13536 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13537 <kernel-features.h>.
13538 (linkat) [__NR_linkat]: Make code unconditional.
13539 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13540 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13541 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13542 <kernel-features.h>.
13543 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13544 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13545 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13546 <kernel-features.h>.
13547 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13548 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13549 * sysdeps/unix/sysv/linux/openat.c: Do not include
13550 <kernel-features.h>.
13551 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13552 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13553 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13554 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13555 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13556 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13557 <kernel-features.h>.
13558 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13559 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13560 result of INLINE_SYSCALL directly, not via int variable.
13561 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13562 <kernel-features.h>.
13563 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13564 (renameat) [__NR_renameat]: Make code unconditional.
13565 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13566 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13567 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13568 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13569 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13570 (__ASSUME_ATFCTS): Do not undefine and redefine.
13571 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13572 <kernel-features.h>.
13573 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13574 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13576 <kernel-features.h>.
13577 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13578 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13580 (__ASSUME_ATFCTS): Do not undefine and redefine.
13581 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13582 <kernel-features.h>.
13583 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13584 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13585 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13586 <kernel-features.h>.
13587 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13588 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13590 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13592 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13594 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13597 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13598 constructed tree before returning error.
13599 * posix/bug-regexp36.c: Expand test case.
13601 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13604 * math/libm-test.inc (scalbln_test_date):
13605 Add errno expectations.
13606 * math/w_scalblnf.c: New File.
13607 Add wrapper which checks for setting errno to ERANGE.
13608 Add weak_alias for corresponding scalbln function.
13609 * math/w_scalbln.c: Likewise.
13610 * math/w_scalblnl.c: Likewise.
13611 * math/Makefile (libm-calls): Add w_scalbln.
13612 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13613 Remove weak_alias for corresponding scalbln function.
13614 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13618 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13619 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13620 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13621 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13622 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13623 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13624 Remove long_double_symbol for scalblnl function in libm, libc.
13625 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13626 Add wrapper which checks for setting errno to ERANGE.
13627 Add long_double_symbol for scalblnl function in libm, libc.
13628 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13629 Remove long_double_symbol for scalblnl in libm.
13630 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13631 Add wrapper which checks for setting errno to ERANGE.
13632 Add long_double_symbol for scalblnl function in libm.
13633 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13634 Do not use wrapper because of own implementation.
13636 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13638 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13639 3 bytes for __pad1 for x32.
13640 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13642 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13643 H.J. Lu <hongjiu.lu@intel.com>
13645 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13646 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13647 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13648 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13649 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13651 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13654 * posix/regcomp.c (parse_expression): Deallocate partially
13655 constructed tree before returning error.
13656 * posix/Makefile.c (tests): Add bug-regex36.
13657 (generated): Add bug-regex36.mtrace.
13658 (tests-special): Add $(objpfx)bug-regex36-mem.out
13659 (bug-regex36-ENV): New variable.
13660 ($(objpfx)bug-regex36-mem.out): New rule.
13661 * posix/bug-regex36.c: New file.
13663 2014-06-19 Will Newton <will.newton@linaro.org>
13665 * malloc/malloc.c (systrim): If extra is zero then return
13668 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13670 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13672 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13674 * sysdeps/aarch64/strchr.S: New file.
13676 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13679 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13680 from arguments -2 or below.
13681 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13682 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13684 2014-06-18 Andreas Schwab <schwab@suse.de>
13687 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13688 of a bracket expr not to run off the end of the string.
13689 * posix/Makefile (tests): Add tst-fnmatch3.
13690 * posix/tst-fnmatch3.c: New file.
13692 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13694 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13695 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13696 [$(cross-compiling) = no]: Likewise.
13697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13698 [$(cross-compiling) = no]: Likewise.
13700 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13704 double, adjusted for any remainder from the high double.
13705 * math/libm-test.inc (nearbyint): Add tests.
13708 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13710 * nptl/sysdeps/powerpc/Makefile: Moved ...
13711 * sysdeps/powerpc/nptl/Makefile: ... here.
13712 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13713 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13714 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13715 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13716 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13717 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13718 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13719 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13720 * nptl/sysdeps/powerpc/tls.h: Moved ...
13721 * sysdeps/powerpc/nptl/tls.h: ... here.
13723 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13726 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13727 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13728 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13729 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13730 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13731 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13732 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13733 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13734 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13736 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13738 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13740 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13742 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13745 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13748 2014-06-16 Florian Weimer <fweimer@redhat.com>
13751 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13752 non-executed part of the test.
13754 2014-06-16 Andreas Schwab <schwab@suse.de>
13756 * string/bits/string2.h (strdup, strndup): Update feature guard.
13758 2014-06-14 David S. Miller <davem@davemloft.net>
13760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13762 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13764 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13765 that was previously under [RESET_PID].
13766 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13768 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13769 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13770 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13771 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13772 (__libc_vfork): New strong alias.
13773 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13775 2014-06-14 Andi Kleen <ak@linux.intel.com>
13777 * sysdeps/generic/elide.h: New file.
13779 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13781 * Makefile (installed-headers): Adjust path of pthread.h header.
13783 2014-06-13 Roland McGrath <roland@hack.frob.com>
13785 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13786 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13787 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13788 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13790 * nptl/sysdeps/s390/Makefile: Moved ...
13791 * sysdeps/s390/nptl/Makefile: ... here.
13792 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13793 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13794 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13795 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13796 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13797 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13798 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13799 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13800 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13801 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13802 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13803 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13804 * nptl/sysdeps/s390/tls.h: Moved ...
13805 * sysdeps/s390/nptl/tls.h: ... here.
13807 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13808 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13810 2014-06-13 David S. Miller <davem@davemloft.net>
13812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13815 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13819 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13820 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13821 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13822 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13823 Remove RESET_PID cpp guards.
13824 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13825 Remove RESET_PID cpp guards.
13826 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13828 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13830 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13833 2014-06-13 Andi Kleen <ak@linux.intel.com>
13835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13837 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13839 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13841 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13842 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13843 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13845 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13846 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13848 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13849 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13852 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13853 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13854 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13856 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13857 (pthread_rwlock_rdlock): Add elision.
13858 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13859 (pthread_rwlock_wrlock): Add elision.
13860 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13861 (pthread_rwlock_trywrlock): Add elision.
13862 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13863 (pthread_rwlock_tryrdlock): Add elision.
13864 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13865 (pthread_rwlock_tryrdlock): Add elision unlock.
13866 * nptl/sysdeps/pthread/pthread.h:
13867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13868 (PTHREAD_RWLOCK_INITIALIZER,
13869 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13870 Handle new elision field.
13871 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13872 * sysdeps/arm/nptl/bits/pthreadtypes.h
13873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13874 * sysdeps/sh/nptl/bits/pthreadtypes.h
13875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13876 * sysdeps/tile/nptl/bits/pthreadtypes.h
13877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13878 * sysdeps/a/nptl/bits/pthreadtypes.h
13879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13880 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13882 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13884 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13886 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13888 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13890 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13892 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13894 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13896 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13897 (elision_init): Set try_xbegin to zero when no RTM.
13898 * sysdeps/x86/nptl/bits/pthreadtypes.h
13899 (pthread_rwlock_t): Change __pad1 to __rwelision.
13900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13902 2014-06-13 Andi Kleen <ak@linux.intel.com>
13904 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13905 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13906 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13907 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13909 2014-06-13 Meador Inge <meadori@codesourcery.com>
13912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13913 that the cached result has been set before returning it.
13915 2014-06-12 Roland McGrath <roland@hack.frob.com>
13917 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13918 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13919 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13920 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13921 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13922 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13924 * nptl/sysdeps/sparc/Makefile: Moved ...
13925 * sysdeps/sparc/nptl/Makefile: ... here.
13926 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13927 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13928 * nptl/sysdeps/sparc/tls.h: Moved ...
13929 * sysdeps/sparc/nptl/tls.h: ... here.
13930 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13931 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13932 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13933 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13934 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13935 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13936 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13937 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13938 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13939 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13940 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13941 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13942 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13943 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13944 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13945 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13946 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13949 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13952 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13955 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13959 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13961 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13962 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13964 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13965 (struct list_links): Type removed.
13966 (struct thread_node, struct timer_node): Replace struct list_links
13967 with struct list_head.
13968 (list_unlink_ip): Likewise.
13969 * sysdeps/pthread/timer_routines.c
13970 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13971 (list_append, list_insbefore): Likewise.
13972 (list_init): Function removed.
13973 (thread_init, init_module): Use INIT_LIST_HEAD instead.
13974 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13975 * sysdeps/pthread/Makefile: ... here, new file.
13977 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13978 * sysdeps/nptl/Implies: ... here.
13979 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13980 * nptl/sysdeps/pthread/list.h: Moved ...
13981 * include/list.h: ... here.
13982 * nptl/sysdeps/pthread/createthread.c: Moved ...
13983 * nptl/createthread.c: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13985 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13986 * nptl/pt-longjmp.c: ... here.
13987 * nptl/sysdeps/pthread/Makefile: Moved ...
13988 * sysdeps/nptl/Makefile: ... here.
13989 * nptl/sysdeps/pthread/Subdirs: Moved ...
13990 * sysdeps/nptl/Subdirs: ... here.
13991 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13992 * sysdeps/nptl/aio_misc.h: ... here.
13993 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13994 * sysdeps/nptl/bits/libc-lock.h: ... here.
13995 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13996 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13997 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13998 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13999 * nptl/sysdeps/pthread/configure: Moved ...
14000 * sysdeps/nptl/configure: ... here.
14001 * nptl/sysdeps/pthread/configure.ac: Moved ...
14002 * sysdeps/nptl/configure.ac: ... here.
14003 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14004 * sysdeps/nptl/gai_misc.h: ... here.
14005 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14006 * sysdeps/nptl/librt-cancellation.c: ... here.
14007 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14008 * sysdeps/nptl/malloc-machine.h: ... here.
14009 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14010 * sysdeps/nptl/pthread-functions.h: ... here.
14011 * nptl/sysdeps/pthread/pthread.h: Moved ...
14012 * sysdeps/nptl/pthread.h: ... here.
14013 * nptl/sysdeps/pthread/setxid.h: Moved ...
14014 * sysdeps/nptl/setxid.h: ... here.
14015 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14016 * sysdeps/nptl/sigfillset.c: ... here.
14017 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14018 * sysdeps/nptl/tcb-offsets.h: ... here.
14019 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14020 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14021 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14022 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14023 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14024 * sysdeps/pthread/allocalim.h: ... here.
14025 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14026 * sysdeps/pthread/bits/sigthread.h: ... here.
14027 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14028 * sysdeps/pthread/flockfile.c: ... here.
14029 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14030 * sysdeps/pthread/ftrylockfile.c: ... here.
14031 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14032 * sysdeps/pthread/funlockfile.c: ... here.
14033 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14034 * sysdeps/pthread/posix-timer.h: ... here.
14035 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14036 * sysdeps/pthread/timer_create.c: ... here.
14037 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14038 * sysdeps/pthread/timer_delete.c: ... here.
14039 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14040 * sysdeps/pthread/timer_getoverr.c: ... here.
14041 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14042 * sysdeps/pthread/timer_gettime.c: ... here.
14043 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14044 * sysdeps/pthread/timer_routines.c: ... here.
14045 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14046 * sysdeps/pthread/timer_settime.c: ... here.
14047 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14048 * sysdeps/pthread/tst-timer.c: ... here.
14049 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14050 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14052 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14053 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14055 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14056 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14057 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14058 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14059 Update #include target.
14060 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14061 * sysdeps/i386/i686/nptl/Makefile: ... here.
14062 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14063 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14064 Update #include target.
14065 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14066 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14067 * nptl/sysdeps/i386/Makefile: Moved ...
14068 * sysdeps/i386/nptl/Makefile: ... here.
14069 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14070 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14071 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14072 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14073 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14074 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14075 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14076 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14077 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14078 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14079 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14080 * nptl/sysdeps/i386/tls.h: Moved ...
14081 * sysdeps/i386/nptl/tls.h: ... here.
14083 * sysdeps/sh/Makefile [$(subdir) = csu]
14084 (gen-as-const-headers): Add tcb-offsets.sym.
14085 * nptl/sysdeps/sh/Makefile: File removed.
14086 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14087 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14088 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14089 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14090 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14091 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14092 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14093 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14094 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14095 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14096 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14097 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14098 * nptl/sysdeps/sh/tls.h: Moved ...
14099 * sysdeps/sh/nptl/tls.h: ... here.
14100 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14101 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14102 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14103 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14104 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14105 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14106 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14107 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14109 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14111 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14113 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14115 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14117 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14119 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14121 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14129 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14131 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14133 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14134 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14135 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14136 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14137 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14138 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14139 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14140 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14141 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14142 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14143 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14144 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14145 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14149 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14151 * posix/spawn_faction_addopen.c: Include string.h.
14153 2014-06-11 Roland McGrath <roland@hack.frob.com>
14155 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14156 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14157 * nptl/sysdeps/x86_64/Makefile: Moved ...
14158 * sysdeps/x86_64/nptl/Makefile: ... here.
14159 * nptl/sysdeps/x86_64/configure: Moved ...
14160 * sysdeps/x86_64/nptl/configure: ... here.
14161 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14162 * sysdeps/x86_64/nptl/configure.ac: ... here.
14163 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14164 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14165 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14166 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14167 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14168 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14169 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14170 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14171 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14172 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14173 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14174 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14175 * nptl/sysdeps/x86_64/tls.h: Moved ...
14176 * sysdeps/x86_64/nptl/tls.h: ... here.
14177 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14178 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14179 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14180 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14182 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14184 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14188 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14190 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14192 [POSIX] (off_t): Likewise.
14193 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14194 [POSIX] (S_ISBLK): Require macro.
14195 [POSIX] (S_ISCHR): Likewise.
14196 [POSIX] (S_ISDIR): Likewise.
14197 [POSIX] (S_ISFIFO): Likewise.
14198 [POSIX] (S_ISREG): Likewise.
14199 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14201 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14203 [POSIX] (time_t): Likewise.
14204 [POSIX] (timer_t): Likewise.
14206 2014-06-11 Florian Weimer <fweimer@redhat.com>
14209 * posix/spawn_int.h (struct __spawn_action): Make the path string
14210 non-const to support deallocation.
14211 * posix/spawn_faction_addopen.c
14212 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14213 * posix/spawn_faction_destroy.c
14214 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14215 path in all spawn_do_open actions.
14216 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14217 posix_spawn_file_actions_addopen.
14219 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14221 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14222 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14223 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14224 conditional code always true.
14225 (__libc_vfork): New alias.
14227 2014-06-11 Roland McGrath <roland@hack.frob.com>
14229 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14230 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14232 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14234 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14235 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14237 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14238 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14240 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14241 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14243 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14245 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14246 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14247 multiarch strcmp for PPC64.
14248 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14251 multiarch optimizations.
14252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14253 (__libc_ifunc_impl_list): Likewise.
14255 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14257 * benchtests/scripts/validate_benchout.py: New script.
14258 * benchtests/Makefile (bench-func): Call it.
14259 * benchtests/scripts/benchout.schema.json: New file.
14261 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14263 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14264 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14265 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14266 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14267 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14268 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14269 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14270 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14271 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14272 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14273 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14274 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14275 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14276 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14277 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14278 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14383 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14388 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14391 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14393 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14397 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14399 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14401 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14404 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14407 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14409 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14412 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14416 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14417 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14418 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14420 2014-06-10 Wilco <wdijkstr@arm.com>
14422 * math/test-fenv-return.c: New file.
14423 * math/Makefile: Add new test test-fenv-return.
14425 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14428 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14429 when x - 1 is zero.
14430 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14431 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14432 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14433 0.0L for an argument of 1.0L.
14434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14436 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14437 value when x - 1 is zero.
14438 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14439 * sysdeps/i386/fpu/libm-test-ulps: Update.
14440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14445 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14447 2014-06-09 Roland McGrath <roland@hack.frob.com>
14449 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14450 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14452 2014-06-09 Roland McGrath <roland@hack.frob.com>
14454 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14455 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14457 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14458 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14460 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14461 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14463 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14464 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14466 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14467 if not already defined.
14468 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14469 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14470 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14471 (TLS_INIT_TP): Use it.
14472 (TLS_DEFINE_INIT_TP): New macro.
14473 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14475 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14477 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14479 [POSIX] (IXANY): Likewise.
14480 [POSIX] (OLCUC): Likewise.
14481 [POSIX || POSIX2008] (CBAUD): Do not allow.
14482 [POSIX || POSIX2008] (DEFECHO): Likewise.
14483 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14484 [POSIX || POSIX2008] (ECHOKE): Likewise.
14485 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14486 [POSIX || POSIX2008] (EXTA): Likewise.
14487 [POSIX || POSIX2008] (EXTB): Likewise.
14488 [POSIX || POSIX2008] (FLUSHO): Likewise.
14489 [POSIX || POSIX2008] (LOBLK): Likewise.
14490 [POSIX || POSIX2008] (PENDIN): Likewise.
14491 [POSIX || POSIX2008] (SWTCH): Likewise.
14492 [POSIX || POSIX2008] (VDISCARD): Likewise.
14493 [POSIX || POSIX2008] (VDSUSP): Likewise.
14494 [POSIX || POSIX2008] (VLNEXT): Likewise.
14495 [POSIX || POSIX2008] (VREPRINT): Likewise.
14496 [POSIX || POSIX2008] (VSTATUS): Likewise.
14497 [POSIX || POSIX2008] (VWERASE): Likewise.
14498 (B*): Change to B[0123456789]*.
14499 * conform/data/time.h-data [POSIX || UNIX98]
14500 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14501 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14502 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14503 [POSIX] (tm_*): Do not allow.
14505 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14507 * Makefile (install): Don't set LANGUAGE.
14508 * Makefile.in (install): Likewise.
14509 * assert/Makefile (test-assert-ENV): Remove variable.
14510 (test-assert-perr-ENV): Likewise.
14511 * elf/Makefile (neededtest4-ENV): Likewise.
14512 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14513 [$(cross-compiling) = no]: Don't set LANGUAGE.
14514 * io/ftwtest-sh (LANG): Remove variable.
14515 * libio/Makefile (tst-widetext-ENV): Likewise.
14516 * manual/install.texi (Running make install): Don't refer to
14517 environment settings for make install.
14518 * INSTALL: Regenerated.
14519 * nptl/tst-tls6.sh: Don't set LANG.
14520 * posix/globtest.sh (LANG): Remove variable.
14521 * string/Makefile (tester-ENV): Likewise.
14522 (inl-tester-ENV): Likewise.
14523 (noinl-tester-ENV): Likewise.
14524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14525 [$(cross-compiling) = no]: Don't set LANGUAGE.
14526 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14527 without explicit environment settings.
14529 2014-06-06 Roland McGrath <roland@hack.frob.com>
14531 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14532 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14533 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14534 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14536 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14538 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14539 other files in the crypt directory.
14540 * crypt/crypt.c: Remove duplicate includes.
14541 * crypt/crypt-entry.c: Likewise.
14542 * crypt/crypt_util.c: Likewise.
14544 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14546 * Makeconfig (run-program-env): New variable.
14547 (run-program-prefix-before-env): Likewise.
14548 (run-program-prefix-after-env): Likewise.
14549 (run-program-prefix): Define in terms of new variables.
14550 (built-program-cmd-before-env): New variable.
14551 (built-program-cmd-after-env): Likewise.
14552 (built-program-cmd): Define in terms of new variables.
14553 (test-program-prefix-before-env): New variable.
14554 (test-program-prefix-after-env): Likewise.
14555 (test-program-prefix): Define in terms of new variables.
14556 (test-program-cmd-before-env): New variable.
14557 (test-program-cmd-after-env): Likewise.
14558 (test-program-cmd): Define in terms of new variables.
14559 * Rules (make-test-out): Use $(run-program-env).
14560 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14561 (help): Do not mention environment variables. Mention
14562 --timeoutfactor option.
14563 (timeoutfactor): New variable.
14564 (blacklist_exports): Remove function.
14565 (exports): Remove variable.
14566 (command): Do not include ${exports}.
14567 * manual/install.texi (Configuring and compiling): Do not mention
14568 test wrappers preserving environment variables. Mention that last
14569 assignment to a variable must take precedence.
14570 * INSTALL: Regenerated.
14571 * benchtests/Makefile (run-bench): Use $(run-program-env).
14572 * catgets/Makefile ($(objpfx)test1.cat): Use
14573 $(built-program-cmd-before-env), $(run-program-env) and
14574 $(built-program-cmd-after-env).
14575 ($(objpfx)test2.cat): Do not specify environment variables
14577 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14578 $(run-program-env) and $(built-program-cmd-after-env).
14579 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14580 $(run-program-env) and $(test-program-cmd-after-env).
14581 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14583 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14584 run_program_env and test_program_cmd_after_env arguments.
14585 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14586 * elf/tst-pathopt.sh: Use run_program_env argument.
14587 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14588 $(test-wrapper-env) and $(run-program-env).
14589 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14590 run_program_env arguments.
14591 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14592 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14593 $(test-program-prefix-before-env), $(run-program-env) and
14594 $(test-program-prefix-after-env).
14595 ($(objpfx)tst-gettext2.out): Likewise.
14596 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14597 run_program_env and test_program_prefix_after_env arguments.
14598 * intl/tst-gettext2.sh: Likewise.
14599 * intl/tst-gettext4.sh: Do not set environment variables
14601 * intl/tst-gettext6.sh: Likewise.
14602 * intl/tst-translit.sh: Likewise.
14603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14604 $(test-program-prefix-before-env), $(run-program-env) and
14605 $(test-program-prefix-after-env).
14606 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14607 run_program_env and test_program_prefix_after_env arguments.
14608 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14609 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14610 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14611 explicitly with each use of ${test_wrapper_env}.
14612 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14613 $(test-program-prefix-before-env), $(run-program-env) and
14614 $(test-program-prefix-after-env).
14615 * posix/tst-getconf.sh: Do not set environment variables
14617 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14618 run_program_env and test_program_prefix_after_env arguments.
14619 * stdio-common/tst-printf.sh: Do not set environment variables
14621 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14622 $(test-program-prefix-before-env), $(run-program-env) and
14623 $(test-program-prefix-after-env).
14624 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14625 run_program_env and test_program_prefix_after_env arguments.
14626 Split $test calls into $test_pre and $test.
14627 * timezone/Makefile (build-testdata): Use
14628 $(built-program-cmd-before-env), $(run-program-env) and
14629 $(built-program-cmd-after-env).
14631 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14633 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14634 strlen for non SHARED builds.
14636 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14638 * nptl/allocatestack.c (check_list): Inlined function...
14639 (__reclaim_stacks): ... here.
14641 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14644 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14647 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14649 * Rules (make-test-out): Include
14650 LOCPATH=$(common-objpfx)localedata in default environment.
14651 * debug/Makefile (tst-chk1-ENV): Remove variable.
14652 (tst-chk2-ENV): Likewise.
14653 (tst-chk3-ENV): Likewise.
14654 (tst-chk4-ENV): Likewise.
14655 (tst-chk5-ENV): Likewise.
14656 (tst-chk6-ENV): Likewise.
14657 (tst-lfschk1-ENV): Likewise.
14658 (tst-lfschk2-ENV): Likewise.
14659 (tst-lfschk3-ENV): Likewise.
14660 (tst-lfschk4-ENV): Likewise.
14661 (tst-lfschk5-ENV): Likewise.
14662 (tst-lfschk6-ENV): Likewise.
14663 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14664 (tst-iconv7-ENV): Likewise.
14665 * intl/Makefile (LOCPATH-ENV): Likewise.
14666 (tst-codeset-ENV): Likewise.
14667 (tst-gettext3-ENV): Likewise.
14668 (tst-gettext5-ENV): Likewise.
14669 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14670 (tst-fopenloc-ENV): Likewise.
14671 (tst-fgetws-ENV): Remove variable.
14672 (tst-ungetwc1-ENV): Likewise.
14673 (tst-ungetwc2-ENV): Likewise.
14674 (bug-ungetwc2-ENV): Likewise.
14675 (tst-swscanf-ENV): Likewise.
14676 (bug-ftell-ENV): Likewise.
14677 (tst-fgetwc-ENV): Likewise.
14678 (tst-fseek-ENV): Likewise.
14679 (tst-ftell-partial-wide-ENV): Likewise.
14680 (tst-ftell-active-handler-ENV): Likewise.
14681 (tst-ftell-append-ENV): Likewise.
14682 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14683 (tst-regexloc-ENV): Likewise.
14684 (bug-regex1-ENV): Likewise.
14685 (tst-regex-ENV): Likewise.
14686 (tst-regex2-ENV): Likewise.
14687 (bug-regex5-ENV): Likewise.
14688 (bug-regex6-ENV): Likewise.
14689 (bug-regex17-ENV): Likewise.
14690 (bug-regex18-ENV): Likewise.
14691 (bug-regex19-ENV): Likewise.
14692 (bug-regex20-ENV): Likewise.
14693 (bug-regex22-ENV): Likewise.
14694 (bug-regex23-ENV): Likewise.
14695 (bug-regex25-ENV): Likewise.
14696 (bug-regex26-ENV): Likewise.
14697 (bug-regex30-ENV): Likewise.
14698 (bug-regex32-ENV): Likewise.
14699 (bug-regex33-ENV): Likewise.
14700 (bug-regex34-ENV): Likewise.
14701 (bug-regex35-ENV): Likewise.
14702 (tst-rxspencer-ENV): Likewise.
14703 (tst-rxspencer-no-utf8-ENV): Likewise.
14704 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14705 (tst-sscanf-ENV): Likewise.
14706 (tst-swprintf-ENV): Likewise.
14707 (tst-swscanf-ENV): Likewise.
14708 (test-vfprintf-ENV): Likewise.
14709 (scanf13-ENV): Likewise.
14710 (bug14-ENV): Likewise.
14711 (tst-grouping-ENV): Likewise.
14712 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14713 (tst-strtod3-ENV): Likewise.
14714 (tst-strtod4-ENV): Likewise.
14715 (tst-strtod5-ENV): Likewise.
14716 (testmb2-ENV): Likewise./
14717 * string/Makefile (tst-strxfrm-ENV): Likewise.
14718 (tst-strxfrm2-ENV): Likewise.
14719 (bug-strcoll1-ENV): Likewise.
14720 (test-strcasecmp-ENV): Likewise.
14721 (test-strncasecmp-ENV): Likewise.
14722 * time/Makefile (tst-strptime-ENV): Likewise.
14723 (tst-ftime_l-ENV): Likewise.
14724 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14725 (tst-mbrtowc-ENV): Likewise.
14726 (tst-wcrtomb-ENV): Likewise.
14727 (tst-mbrtowc2-ENV): Likewise.
14728 (tst-c16c32-1-ENV): Likewise.
14729 (tst-mbsnrtowcs-ENV): Likewise.
14731 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14733 * manual/resource.texi (How to get information about the memory
14734 subsystem?): Fix typo.
14735 Reported by Peon de la Parra Ivan <peon@keba.com>
14737 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14740 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14741 (pthread_spin_lock): Branch out of spin loop to proper location.
14742 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14743 (pthread_spin_lock): Likewise.
14745 * nptl/tst-spin4.c: New test.
14746 * nptl/Makefile (tests): Add tst-spin4.
14748 2014-06-03 Andreas Schwab <schwab@suse.de>
14751 * resolv/res_send.c (send_dg): Reload file descriptor after
14754 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14758 2014-06-03 Richard Henderson <rth@redhat.com>
14760 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14761 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14762 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14763 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14764 in the SAVE_PID block.
14765 (__libc_vfork): New alias.
14766 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14768 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14769 child in registers, not on the stack. Remove RESET_PID conditionals.
14770 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14772 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14774 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14776 2014-06-03 Wilco <wdijkstr@arm.com>
14778 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14779 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14780 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14781 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14782 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14785 2014-06-03 Wilco <wdijkstr@arm.com>
14787 * sysdeps/aarch64/fpu/math_private.h
14788 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14789 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14790 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14791 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14794 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14796 * crypt/crypt-private.h: Include ufc-crypt.h.
14797 (__b64_from_24bit): Declare extern.
14798 * crypt/crypt_util.c(__b64_from_24bit): New function.
14799 (b64t): New static const variable.
14800 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14801 (b64t): Remove variable.
14802 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14803 * crypt/sha256-crypt.c: Include crypt-private.h.
14804 (b64t): Remove variable.
14805 (__sha256_crypt_r): Remove b64_from_24bit and replace
14806 with __b64_from_24bit.
14807 * crypt/sha512-crypt.c: Likewise.
14809 2014-06-02 Roland McGrath <roland@hack.frob.com>
14811 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14812 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14813 Label the code __libc_vfork rather than __vfork.
14814 [!NOT_IN_libc] (vfork): Define as weak alias.
14815 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14816 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14817 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14819 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14821 * malloc/malloc.c (malloc_info): Fix format specifier for
14824 2014-06-02 Wilco <wdijkstr@arm.com>
14826 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14829 2014-06-02 Wilco <wdijkstr@arm.com>
14832 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14833 Rewrite to reduce FPCR/FPSR accesses.
14835 2014-06-01 David S. Miller <davem@davemloft.net>
14837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14839 2014-05-31 David S. Miller <davem@davemloft.net>
14841 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14842 to occur in round to nearest mode when |x| >= 2.0
14844 2014-05-30 Richard Henderson <rth@twiddle.net>
14846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14847 (PSEUDO_RET_NOERRNO): Remove.
14848 (ret): Don't redefine.
14849 (ret_NOERRNO): Define in terms of ret.
14850 (ret_ERRVAL): Likewise.
14852 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14853 use of PSEUDO_RET; perform the error check directly.
14855 2014-05-30 Marko Myllynen <myllynen@redhat.com>
14857 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14860 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14862 * malloc/malloc (malloc_info): Fix formatting.
14864 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14865 Roland McGrath <roland@hack.frob.com>
14867 * malloc/malloc (malloc_info): Also print mmapped statistics.
14869 2014-05-30 Roland McGrath <roland@hack.frob.com>
14871 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14872 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14874 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
14876 * malloc/malloc.c (malloc_info): Inline mi_arena.
14878 2014-05-29 Richard Henderson <rth@twiddle.net>
14880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14881 Remove comma before expanding ASM_ARGS_##nr.
14882 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14883 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14885 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14886 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14887 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14888 (ASM_ARGS_1): Add leading comma.
14890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14891 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14892 to __errno_location.
14893 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14894 Remove the expected plt for __errno_location.
14896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14897 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14901 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14902 it and break it down.
14903 (DOCARGS_0, DOCARGS_1): Do nothing.
14904 (DOCARGS_2): Update to store into the new stack frame.
14905 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14906 (UNDOCARGS_1): Update to restore from the new stack frame.
14907 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14908 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14910 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14911 (SINGLE_THREAD_P): New parameter for result regno.
14912 (PSEUDO): Update to match; use cbz instead of beq.
14914 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14915 Use ENTRY to define the _nocancel entry point. Share the syscall
14916 and syscall error check paths with the cancel path.
14919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14920 whitespace; tabs before and after asm mnemonics.
14922 2014-05-29 Eric Wong <normalperson@yhbt.net>
14925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14926 Call fstat64 or stat64 internally, depending on arguments passed.
14927 Replace stat buffer argument with file descriptor argument.
14928 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14929 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14930 Pass fd to __internal_statvfs instead of calling fstat64.
14931 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14932 Pass fd to __internal_statvfs64 instead of calling fstat64.
14933 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14934 Pass -1 to __internal_statvfs instead of calling stat64.
14935 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14936 Pass -1 to __internal_statvfs64 instead of calling stat64.
14938 2014-05-28 Roland McGrath <roland@hack.frob.com>
14940 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14941 that was previously under [RESET_PID].
14942 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14944 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14945 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14947 2014-05-27 Roland McGrath <roland@hack.frob.com>
14949 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14951 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14952 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14954 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
14956 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14958 2014-05-27 Andreas Schwab <schwab@suse.de>
14960 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14962 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14963 * elf/rtld.c (init_tls, dl_main): Likewise.
14964 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14965 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14966 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14967 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14968 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14969 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14970 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14971 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14972 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14973 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14974 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14975 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14976 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14977 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14978 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14979 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14980 * sysdeps/generic/tls.h: Update description.
14982 2014-05-27 Will Newton <will.newton@linaro.org>
14985 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14986 and restore r2 rather than just restoring.
14988 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14991 * libio/tst-ftell-append.c: New test case.
14992 * libio/Makefile (tests): Add test case.
14993 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14995 * libio/wfileops.c (do_ftell_wide): Likewise.
14997 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15001 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15005 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15006 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15007 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15008 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15009 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15010 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15017 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15018 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15019 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15020 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15021 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15023 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15024 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15026 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15028 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15030 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15031 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15032 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15034 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15035 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15036 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15037 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15060 conditional [RESET_PID].
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15070 (__libc_vfork): New strong alias.
15071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15078 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15079 (__libc_vfork): New strong alias.
15080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15085 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15087 * malloc/malloc.c (mi_arena): New function.
15088 (malloc_info): Remove nested function mi_arena. Call non-nosted
15091 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15093 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15095 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15096 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15097 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15098 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15100 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15103 2014-05-26 Andreas Schwab <schwab@suse.de>
15106 * locale/programs/repertoire.c (repertoire_read): Add slash
15107 between I18NPATH element and file name.
15108 * locale/programs/locfile.c (locfile_read): Likewise.
15110 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15112 * nptl/pthread_mutexattr_settype.c
15113 (__pthread_mutexattr_settype):
15114 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15116 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15118 * nptl/tst-mutex5 (do_test):
15119 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15121 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15123 * benchtests/README: Document 'init' directive.
15124 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15126 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15127 (parse_file): Recognize 'init' directive.
15129 2014-05-26 Kyle McMartin <kyle@redhat.com>
15132 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15133 alignment of struct pthread.
15135 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15138 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15139 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15140 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15141 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15143 2014-05-25 Richard Henderson <rth@twiddle.net>
15145 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15146 (SINGLE_THREAD_P_PIC): Remove.
15147 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15148 (SINGLE_THREAD_P_PIC): Remove.
15150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15151 branch to syscall error ...
15152 (PSEUDO): ... here.
15153 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15154 from __local_syscall_error to .Lsyscall_error.
15155 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15156 (SYSCALL_ERROR): Update label name.
15158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15159 Do not use DOARGS/UNDOARGS.
15160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15161 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15162 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15163 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15164 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15169 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15170 define if !NOT_IN_libc.
15171 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15172 define with non-default symbol versions.
15174 2014-05-23 Richard Henderson <rth@twiddle.net>
15176 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15177 (vfork, __vfork): Define via compat_symbol.
15179 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15180 [!HAVE_IFUNC] (vfork_compat): Remove.
15181 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15183 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15186 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15187 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15190 2014-05-23 Richard Henderson <rth@twiddle.net>
15192 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15193 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15194 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15195 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15197 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15198 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15199 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15200 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15201 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15202 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15203 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15204 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15205 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15206 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15207 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15208 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15209 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15210 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15211 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15212 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15213 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15214 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15215 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15216 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15217 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15218 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15219 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15220 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15221 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15223 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15224 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15226 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15227 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15230 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15232 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15233 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15234 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15235 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15236 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15237 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15238 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15239 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15240 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15241 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15244 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15246 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15247 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15248 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15250 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15252 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15254 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15255 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15256 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15257 before exiting on error.
15258 (__libc_vfork): New strong alias.
15259 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15260 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15262 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15263 that was previously under [RESET_PID].
15264 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15266 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15268 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15271 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15272 value when x - 1 is zero.
15273 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15274 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15276 0.0L for an argument of 1.0L.
15277 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15279 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15280 value when x - 1 is zero.
15281 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15287 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15288 alphasort and versionsort.
15290 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15292 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15294 [copysignf]: Likewise.
15296 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15298 * crypt/md5-crypt.c: Fix formatting.
15300 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15302 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15303 (b64_from_24bit): New function.
15305 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15308 libc_hidden_builtin_def to ifunc.
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15310 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15312 2014-05-21 Roland McGrath <roland@hack.frob.com>
15314 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15315 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15317 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15319 * nscd/Depend (linuxthreads): Remove.
15321 * resolv/Depend (linuxthreads): Remove.
15322 * rt/Depend (linuxthreads): Remove.
15324 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15325 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15326 $(common-objpfx)elf/.
15327 (link-libc-before-gnulib): Likewise.
15328 (elfobjdir): Remove variable.
15329 * Makefile (install): Use $(elf-objpfx) instead of
15330 $(common-objpfx)elf/.
15331 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15333 (link-libc-deps): Likewise.
15334 ($(common-objpfx)libc.so): Likewise.
15335 ($(common-objpfx)linkobj/libc.so): Likewise.
15336 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15337 instead of $(common-objpfx)elf/.
15338 (symbolic-link-list): Likewise.
15339 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15340 [$(cross-compiling) = no]: Likewise.
15341 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15343 (static-gnulib-arch): Likewise.
15344 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15345 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15346 $(common-objpfx)elf/.
15348 2014-05-21 Richard Henderson <rth@redhat.com>
15350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15351 (SINGLE_THREAD_P): Use the correct width load. Fold
15352 into the ldr offset.
15354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15355 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15357 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15359 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15360 (libgcc_s_resume): Use __attribute_used__.
15361 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15364 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15367 optimization when used with float constants.
15369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15371 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15374 * locale/nl_langinfo_l.c: Make direct reference to every
15375 _nl_current_CATEGORY symbol.
15376 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15377 (tests-static): Add tst-langinfo-static.
15378 (tests-special): Add tst-langinfo-static.out.
15379 ($(objpfx)tst-langinfo.out): Redirect output.
15380 ($(objpfx)tst-langinfo-static.out): New.
15381 * localedata/tst-langinfo.sh: Send output to stdout.
15382 * localedata/tst-langinfo-static.c: New file.
15385 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15386 when the shift amount is modulo the limb size.
15388 2014-05-20 Richard Henderson <rth@redhat.com>
15391 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15392 Change type of sa_flags from unsigned int to int.
15395 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15397 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15399 2014-05-20 Will Newton <will.newton@linaro.org>
15401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15402 Test the return value of the system call in the nocancel case.
15404 2014-05-20 Will Newton <will.newton@linaro.org>
15405 Yvan Roux <yvan.roux@linaro.org>
15407 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15408 #include of asm/ptrace.h.
15409 (PTRACE_GET_THREAD_AREA): Remove #undef.
15410 (PTRACE_GETHBPREGS): Likewise.
15411 (PTRACE_SETHBPREGS): Likewise.
15412 (struct user_regs_struct): New structure.
15413 (struct user_fpsimd_struct): New structure.
15414 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15415 #include of asm/ptrace.h and second #include of sys/user.h.
15416 (PTRACE_GET_THREAD_AREA): Remove #undef.
15417 (PTRACE_GETHBPREGS): Likewise.
15418 (PTRACE_SETHBPREGS): Likewise.
15419 (ELF_NGREG): Use new struct user_regs_struct.
15420 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15422 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15427 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15431 membar to avoid block loads/stores to overlap previous stores.
15433 2014-05-17 Richard Henderson <rth@redhat.com>
15435 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15436 Create the __##syscall_name##_nocancel entry point.
15437 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15438 Remove; let the sysdep-cancel.h code create it.
15440 2014-05-17 David S. Miller <davem@davemloft.net>
15442 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15443 Protect with __USE_GNU.
15444 (TIOCSET_TEMPT): Likewise.
15445 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15446 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15447 these are already provided in bits/ioctl-types.h
15449 2014-05-16 Roland McGrath <roland@hack.frob.com>
15451 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15452 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15454 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15455 Use wait4 regardless of [__NR_waitpid].
15457 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15461 (_FP_NANSIGN_Q): Set the quiet bit.
15463 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15465 * benchtests/Makefile
15466 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15467 not $(common-objpfx)math/libm.so.
15468 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15469 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15470 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15471 $(common-objpfx)dlfcn/libdl.so.
15472 ($(objpfx)tst-audit8): Depend on $(libm), not
15473 $(common-objpfx)math/libm.so.
15474 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15475 not $(common-objpfx)dlfcn/libdl.so.
15477 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15478 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15479 [$(build-shared) = yes].
15480 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15481 $(common-objpfx)nptl/libpthread.so.
15482 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15483 $(common-objpfx)math/libm.so$(libm.so-version) or
15484 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15485 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15486 $(common-objpfx)dlfcn/libdl.so.
15487 * setjmp/Makefile (link-libm): Remove variable.
15488 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15489 * stdio-common/Makefile (link-libm): Remove variable.
15490 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15491 * stdlib/Makefile (link-libm): Remove variable.
15492 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15493 ($(objpfx)tst-strtod-round): Likewise.
15494 ($(objpfx)tst-tininess): Likewise.
15495 ($(objpfx)tst-strtod-underflow): Likewise.
15496 ($(objpfx)tst-strtod6): Likewise.
15497 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15498 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15499 $(common-objpfx)dlfcn/libdl.so.
15501 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15503 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15504 BSD terminal modes definitions.
15506 2014-05-16 Roland McGrath <roland@hack.frob.com>
15508 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15509 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15511 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15512 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15513 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15514 Don't do #include_next.
15515 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15516 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15517 Don't do #include_next.
15518 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15519 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15520 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15521 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15523 2014-05-16 Allan McRae <allan@archlinux.org>
15525 * po/sv.po: Update Swedish translation from translation project.
15527 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15530 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15533 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15534 errno if the TIOCGPTN ioctl fails with an error different than
15536 * login/tst-ptsname.c: New file.
15537 * login/Makefile (tests): Add tst-ptsname.
15540 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15543 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15547 herrno to return EAI_AGAIN.
15549 2014-05-14 Roland McGrath <roland@hack.frob.com>
15551 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15552 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15553 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15554 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15558 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15560 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15561 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15562 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15564 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15566 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15567 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15568 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15569 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15570 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15571 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15572 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15574 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15575 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15576 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15577 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15578 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15580 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15582 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15584 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15587 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15589 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15591 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15593 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15595 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15597 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15599 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15601 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15603 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15605 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15607 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15609 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15611 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15613 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15616 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15618 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15622 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15624 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15626 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15628 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15630 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15632 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15634 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15637 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15639 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15641 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15642 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15643 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15644 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15645 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15646 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15647 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15648 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15649 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15650 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15651 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15652 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15653 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15654 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15655 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15656 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15657 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15658 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15659 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15661 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15662 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15663 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15664 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15665 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15666 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15667 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15669 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15671 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15673 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15674 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15676 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15677 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15678 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15679 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15680 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15689 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15693 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15694 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15697 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15698 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15699 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15701 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15702 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15703 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15704 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15706 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15711 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15712 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15713 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15714 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15719 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15722 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15723 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15724 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15725 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15728 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15731 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15734 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15738 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15739 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15742 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15743 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15744 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15746 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15747 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15748 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15749 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15751 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15756 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15757 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15759 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15764 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15766 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15767 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15768 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15769 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15770 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15771 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15772 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15773 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15774 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15777 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15780 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15783 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15784 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15786 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15788 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15790 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15793 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15794 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15795 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15797 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15798 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15799 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15802 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15807 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15808 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15809 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15810 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15815 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15817 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15818 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15819 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15820 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15821 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15822 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15823 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15824 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15825 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15826 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15827 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15829 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15830 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15832 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15833 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15835 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15836 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15837 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15838 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15839 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15840 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15841 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15842 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15843 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15844 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15845 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15846 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15848 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15849 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15850 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15851 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15854 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15856 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15859 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15861 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15863 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15868 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15869 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15871 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15875 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15877 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15878 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15879 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15880 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15881 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15882 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15883 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15884 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15885 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15886 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15887 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15889 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15890 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15891 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15892 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15893 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15895 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15896 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15897 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15898 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15899 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15900 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15901 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15902 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15903 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15904 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15907 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15909 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15910 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15911 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15912 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15914 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15915 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15916 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15917 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15918 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15919 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15920 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15921 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15922 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15944 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15945 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15946 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15947 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15948 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15949 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15950 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15951 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15952 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
15959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15960 that was previously under [RESET_PID].
15961 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15962 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15963 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15965 * sysdeps/i386/nptl/Implies: New file.
15966 * sysdeps/x86_64/nptl/Implies: New file.
15967 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15968 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15970 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15972 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15973 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15974 (__libc_vfork): New strong alias.
15975 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15976 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15978 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15979 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15980 (__libc_vfork): New strong alias.
15981 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15982 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15984 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15985 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15986 (__libc_vfork): New strong alias.
15987 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15988 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15989 * nptl/pt-vfork.c: New file.
15990 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15991 (libpthread: GLIBC_2.20): New version set (empty).
15993 2014-05-14 Will Newton <will.newton@linaro.org>
15995 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15998 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16002 arguments with exponent 65 or above.
16003 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16004 arguments 0x1p113L or above.
16005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16006 to arguments 0x1p107L or above.
16007 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16008 positive arguments with exponent 65 or above.
16009 * math/auto-libm-test-in: Add more tests of log1p.
16010 * math/auto-libm-test-out: Regenerated.
16013 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16014 non-finite arguments is +0.
16015 * math/s_cacosf.c (__cacosf): Likewise.
16016 * math/s_cacosl.c (__cacosl): Likewise.
16017 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16018 * sysdeps/i386/fpu/libm-test-ulps: Update.
16019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16022 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16024 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16025 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16026 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16027 for explicit high bit of mantissa when testing for argument equal
16029 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16030 * sysdeps/i386/fpu/libm-test-ulps: Update.
16031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16035 (__erf): Scale by 16 instead of 8 in potentially underflowing
16036 case. Ensure exception if result actually underflows.
16037 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16038 (__erff): Scale by 16 instead of 8 in potentially underflowing
16039 case. Ensure exception if result actually underflows.
16040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16041 (efx8): Remove variable.
16042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16043 case. Ensure exception if result actually underflows.
16044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16045 (efx8): Remove variable.
16046 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16047 case. Ensure exception if result actually underflows.
16048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16049 (efx8): Remove variable.
16050 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16051 case. Ensure exception if result actually underflows.
16052 * math/auto-libm-test-in: Add more tests of erf.
16053 * math/auto-libm-test-out: Regenerated.
16055 2014-05-14 Andreas Schwab <schwab@suse.de>
16057 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16058 Remove code conditionalized on USE___THREAD.
16060 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16061 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16064 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16067 Define unconditionally.
16068 (__ASSUME_O_CLOEXEC): Likewise.
16069 (__ASSUME_SOCK_CLOEXEC): Likewise.
16070 (__ASSUME_IN_NONBLOCK): Likewise.
16071 (__ASSUME_PIPE2): Likewise.
16072 (__ASSUME_EVENTFD2): Likewise.
16073 (__ASSUME_SIGNALFD4): Likewise.
16074 (__ASSUME_DUP3): Likewise.
16075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16076 (__ASSUME_DUP3): Do not define.
16077 (__ASSUME_EVENTFD2): Likewise.
16078 (__ASSUME_IN_NONBLOCK): Likewise.
16079 (__ASSUME_O_CLOEXEC): Likewise.
16080 (__ASSUME_PIPE2): Likewise.
16081 (__ASSUME_SIGNALFD4): Likewise.
16082 (__ASSUME_SOCK_CLOEXEC): Likewise.
16083 (__ASSUME_UTIMES): Undefine.
16084 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16085 (__ASSUME_UTIMES): Do not define.
16086 (__ASSUME_O_CLOEXEC): Likewise.
16087 (__ASSUME_SOCK_CLOEXEC): Likewise.
16088 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16089 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16091 (__ASSUME_PIPE2): Likewise.
16092 (__ASSUME_EVENTFD2): Likewise.
16093 (__ASSUME_SIGNALFD4): Likewise.
16094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16095 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16097 (__ASSUME_EVENTFD2): Likewise.
16098 (__ASSUME_SIGNALFD4): Likewise.
16099 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16100 (__ASSUME_32BITUIDS): Likewise.
16101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16102 (__ASSUME_IPC64): Likewise.
16103 (__ASSUME_ST_INO_64_BIT): Likewise.
16104 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16105 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16107 (__ASSUME_UTIMES): Do not define.
16108 (__ASSUME_PSELECT): Likewise.
16109 (__ASSUME_PPOLL): Likewise.
16110 (__ASSUME_O_CLOEXEC): Likewise.
16111 (__ASSUME_SOCK_CLOEXEC): Likewise.
16112 (__ASSUME_IN_NONBLOCK): Likewise.
16113 (__ASSUME_PIPE2): Likewise.
16114 (__ASSUME_EVENTFD2): Likewise.
16115 (__ASSUME_SIGNALFD4): Likewise.
16116 (__ASSUME_DUP3): Likewise.
16117 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16118 (__ASSUME_UTIMES): Likewise.
16119 (__ASSUME_O_CLOEXEC): Likewise.
16120 (__ASSUME_SOCK_CLOEXEC): Likewise.
16121 (__ASSUME_IN_NONBLOCK): Likewise.
16122 (__ASSUME_PIPE2): Likewise.
16123 (__ASSUME_EVENTFD2): Likewise.
16124 (__ASSUME_SIGNALFD4): Likewise.
16125 (__ASSUME_DUP3): Likewise.
16126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16127 (__ASSUME_UTIMES): Likewise.
16128 (__ASSUME_O_CLOEXEC): Likewise.
16129 (__ASSUME_SOCK_CLOEXEC): Likewise.
16130 (__ASSUME_IN_NONBLOCK): Likewise.
16131 (__ASSUME_PIPE2): Likewise.
16132 (__ASSUME_EVENTFD2): Likewise.
16133 (__ASSUME_SIGNALFD4): Likewise.
16134 (__ASSUME_DUP3): Likewise.
16135 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16137 (__ASSUME_UTIMES): Likewise.
16138 (__ASSUME_EVENTFD2): Likewise.
16139 (__ASSUME_SIGNALFD4): Likewise.
16140 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16141 (__ASSUME_O_CLOEXEC): Likewise.
16142 (__ASSUME_SOCK_CLOEXEC): Likewise.
16143 (__ASSUME_IN_NONBLOCK): Likewise.
16144 (__ASSUME_PIPE2): Likewise.
16145 (__ASSUME_EVENTFD2): Likewise.
16146 (__ASSUME_SIGNALFD4): Likewise.
16147 (__ASSUME_DUP3): Likewise.
16148 (__ASSUME_UTIMES): Undefine.
16150 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16151 feclearexcept. Remove symbol versioning code.
16152 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16153 symbol versioning code.
16154 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16155 symbol versioning code.
16156 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16157 feupdateenv. Remove symbol versioning code.
16158 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16159 fegetexceptflag. Remove symbol versioning code.
16160 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16161 fesetexceptflag. Remove symbol versioning code.
16162 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16163 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16164 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16165 (__posix_fadvise64_l32): Remove prototype.
16166 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16169 2014-05-13 Roland McGrath <roland@hack.frob.com>
16171 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16172 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16173 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16174 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16176 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16178 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16179 current working directory
16181 2014-05-13 Roland McGrath <roland@hack.frob.com>
16183 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16184 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16185 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16186 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16187 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16188 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16189 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16190 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16191 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16192 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16193 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16194 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16196 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16197 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16198 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16199 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16200 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16201 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16202 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16203 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16204 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16205 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16206 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16207 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16208 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16209 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16210 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16211 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16212 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16214 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16215 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16216 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16217 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16218 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16219 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16220 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16221 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16222 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16223 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16224 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16226 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16227 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16229 * sysdeps/unix/sysv/linux/arm/Makefile
16230 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16231 Add rt-aeabi_unwind_cpp_pr1.
16232 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16233 Add nptl-aeabi_unwind_cpp_pr1.
16234 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16235 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16236 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16237 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16238 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16239 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16241 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16242 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16243 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16244 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16246 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16247 Deconditionalize the code that was previously under [RESET_PID].
16248 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16250 * sysdeps/generic/exit-thread.h: New file.
16251 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16252 * include/unistd.h (__exit_thread): Remove declaration.
16253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16254 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16255 * csu/libc-start.c: Include <exit-thread.h>.
16256 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16257 * nptl/pthread_create.c: Include <exit-thread.h>.
16258 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16259 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16260 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16261 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16262 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16263 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16264 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16265 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16266 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16267 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16268 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16269 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16270 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16271 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16272 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16273 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16274 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16276 2014-05-13 Andreas Schwab <schwab@suse.de>
16278 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16280 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16282 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16283 (__ASSUME_UTIMES): Do not condition on kernel version.
16284 (__ASSUME_PSELECT): Define unconditionally.
16285 (__ASSUME_PPOLL): Likewise.
16286 (__ASSUME_ATFCTS): Likewise.
16287 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16288 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16289 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16290 (__ASSUME_UTIMENSAT): Define unconditionally.
16291 (__ASSUME_PRIVATE_FUTEX): Likewise.
16292 (__ASSUME_FALLOCATE): Likewise.
16293 (__ASSUME_O_CLOEXEC): Likewise.
16294 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16295 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16296 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16297 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16298 (__ASSUME_IN_NONBLOCK): Likewise.
16299 (__ASSUME_PIPE2): Likewise.
16300 (__ASSUME_EVENTFD2): Likewise.
16301 (__ASSUME_SIGNALFD4): Likewise.
16302 (__ASSUME_DUP3): Likewise.
16303 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16304 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16305 (__ASSUME_AT_RANDOM): Likewise.
16306 (__ASSUME_PREADV): Likewise.
16307 (__ASSUME_PWRITEV): Likewise.
16308 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16309 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16310 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16312 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16314 (__ASSUME_O_CLOEXEC): Define unconditionally.
16315 (__ASSUME_PSELECT): Do not undefine conditionally.
16316 (__ASSUME_PPOLL): Likewise.
16317 (__ASSUME_ATFCTS): Likewise.
16318 (__ASSUME_SET_ROBUST_LIST): Likewise.
16319 (__ASSUME_UTIMENSAT): Likewise.
16320 (__ASSUME_FDATASYNC): Define unconditionally.
16321 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16322 (__ASSUME_SIGFRAME_V2): Likewise.
16323 )__ASSUME_EVENTFD2): Likewise.
16324 (__ASSUME_SIGNALFD4): Likewise.
16325 (__ASSUME_PSELECT): Do not undefine conditionally.
16326 (__ASSUME_PPOLL): Likewise.
16327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16328 (__ASSUME_PSELECT): Define unconditionally.
16329 (__ASSUME_PPOLL): Likewise.
16330 (__ASSUME_O_CLOEXEC): Likewise.
16331 (__ASSUME_SOCK_CLOEXEC): Likewise.
16332 (__ASSUME_IN_NONBLOCK): Likewise.
16333 (__ASSUME_PIPE2): Likewise.
16334 (__ASSUME_EVENTFD2): Likewise.
16335 (__ASSUME_SIGNALFD4): Likewise.
16336 (__ASSUME_DUP3): Likewise.
16337 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16338 (__ASSUME_O_CLOEXEC): Likewise.
16339 (__ASSUME_SOCK_CLOEXEC): Likewise.
16340 (__ASSUME_IN_NONBLOCK): Likewise.
16341 (__ASSUME_PIPE2): Likewise.
16342 (__ASSUME_EVENTFD2): Likewise.
16343 (__ASSUME_SIGNALFD4): Likewise.
16344 (__ASSUME_DUP3): Likewise.
16345 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16346 (__ASSUME_EVENTFD2): Likewise.
16347 (__ASSUME_SIGNALFD4): Likewise.
16348 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16350 2014-05-12 Andreas Schwab <schwab@suse.de>
16353 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16354 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16355 than maximum RPC packet size.
16356 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16357 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16358 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16359 (_nss_nis_getservbyport_r): Likewise.
16361 2014-05-12 Will Newton <will.newton@linaro.org>
16363 * malloc/Makefile (tests): Add tst-mallopt.
16364 * malloc/tst-mallopt.c: New file.
16366 2014-05-09 Roland McGrath <roland@hack.frob.com>
16368 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16369 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16371 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16373 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16374 (tst-tlsmod6.so): Likewise.
16376 2014-05-09 Roland McGrath <roland@hack.frob.com>
16378 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16380 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16383 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16384 and <dl-procinfo.h>.
16385 (__fegetenv): Save SSE state in envp->__eip if supported.
16386 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16387 envp->__eip if supported.
16388 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16389 and <dl-procinfo.h>.
16390 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16391 __data_offset and __data_selector in environment to 0. Set SSE
16392 state if supported.
16393 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16395 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16397 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16399 2014-05-09 Will Newton <will.newton@linaro.org>
16401 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16402 and libc_relro_required for ARM.
16403 * sysdeps/arm/preconfigure: Regenerate.
16405 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16406 Stefan Liebler <stli@linux.vnet.ibm.com>
16408 * config.make.in (enable-lock-elision): New Makefile variable.
16409 * configure.ac: Likewise.
16410 * configure: Regenerate.
16411 * sysdeps/s390/configure.ac:
16412 Add check for gcc transactions support.
16413 * sysdeps/s390/configure: Regenerate.
16414 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16415 Build elision files if enabled.
16416 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16417 Add lock elision support for s390.
16418 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16419 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16420 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16421 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16422 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16423 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16432 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16433 (__lll_timedlock_elision, __lll_lock_elision)
16434 (__lll_unlock_elision, __lll_trylock_elision)
16435 (lll_timedlock_elision, lll_lock_elision)
16436 (lll_unlock_elision, lll_trylock_elision): Add.
16437 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16438 (pthread_mutex_t): Add lock elision support for s390.
16440 2014-05-14 Wilco <wdijkstr@arm.com>
16442 * sysdeps/arm/fclrexcpt.c: Cleanup.
16443 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16444 * sysdeps/arm/feenablxcpt.c: Cleanup.
16445 * sysdeps/arm/fegetenv.c: Cleanup.
16446 * sysdeps/arm/fegetexcept.c: Cleanup.
16447 * sysdeps/arm/fegetround.c: Cleanup.
16448 * sysdeps/arm/feholdexcpt.c: Cleanup.
16449 * sysdeps/arm/fesetenv.c: Cleanup.
16450 * sysdeps/arm/fesetround.c: Cleanup.
16451 * sysdeps/arm/feupdateenv.c: Cleanup.
16452 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16453 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16454 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16455 * sysdeps/arm/ftestexcept.c: Cleanup.
16456 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16457 * sysdeps/arm/setfpucw.c: Cleanup.
16459 2014-05-09 Will Newton <will.newton@linaro.org>
16461 * sysdeps/arm/armv7/strcmp.S: New file.
16462 * NEWS: Mention addition of ARMv7 optimized strcmp.
16464 2014-05-08 Roland McGrath <roland@hack.frob.com>
16466 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16467 look for %.ac rather than %.in.
16469 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16470 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16471 * sysdeps/mach/hurd/configure: Regenerated.
16472 * sysdeps/unix/sysv/linux/configure: Regenerated.
16474 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16476 2014-05-07 Steve Ellcey <sellcey@mips.com>
16479 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16483 2014-05-07 Andreas Schwab <schwab@suse.de>
16485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16486 when skipping over non-matching result from nscd.
16488 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16491 * nptl/sockperf.c (client): Check socket return value.
16494 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16495 nscd security class.
16497 2014-05-06 Roland McGrath <roland@hack.frob.com>
16499 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16500 * sysdeps/arm/unwind.h: ... here.
16502 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16505 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16508 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16510 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16511 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16512 multiarch strncpy for PPC64.
16513 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16514 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16516 multiarch optimizations.
16517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16518 (__libc_ifunc_impl_list): Likewise.
16519 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16521 multiarch stpncpy for PPC64.
16522 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16523 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16525 2014-05-06 Andreas Schwab <schwab@suse.de>
16528 * gmon/mcount.c (_MCOUNT_DECL): Use
16529 atomic_compare_and_exchange_bool_acq instead of
16530 catomic_compare_and_exchange_bool_acq.
16532 2014-05-05 Roland McGrath <roland@hack.frob.com>
16534 * elf/Makefile (others, install-bin): Remove pldd.
16535 (pldd-modules): Variable removed.
16536 ($(objpfx)pldd): Target removed.
16537 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16538 (others, install-bin): Append pldd here.
16539 ($(objpfx)pldd): New target.
16541 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16542 to 0, so the first #if test emitted later doesn't see it undefined.
16543 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16544 * sysdeps/gnu/errlist.c: Regenerated.
16546 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16549 [libc_hidden_builtin_def]: Define to empty value.
16550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16551 [libc_hidden_builtin_def]: Likewise.
16552 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16553 [libc_hidden_builtin_def]: Likewise.
16554 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16555 [libc_hidden_builtin_def]: Likewise.
16556 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16557 __redirect_memcpy and define ifunc as default hidden symbol.
16558 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16559 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16561 2014-05-04 Adam Conrad <adconrad@0c3.net>
16563 * locale/iso-4217.def: Reintroduce XDR currency.
16565 2014-05-04 Allan McRae <allan@archlinux.org>
16567 * po/eo.po: Update Esperanto translation from translation project.
16569 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16571 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16572 and FEATURE_INDEX_MAX to 1.
16573 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16575 2014-05-01 Steve Ellcey <sellcey@mips.com>
16577 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16578 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16579 * iconvdata/big5.c (ONE_DIRECTION): Define.
16580 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16581 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16582 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16583 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16584 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16585 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16586 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16587 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16588 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16589 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16590 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16591 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16592 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16593 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16594 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16595 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16596 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16597 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16598 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16599 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16600 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16601 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16602 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16603 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16604 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16605 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16606 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16607 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16608 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16609 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16610 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16611 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16612 * iconvdata/johab.c (ONE_DIRECTION): Define.
16613 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16614 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16615 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16616 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16617 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16618 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16619 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16620 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16621 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16622 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16624 2014-05-01 Roland McGrath <roland@hack.frob.com>
16626 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16627 (_IO_JUMPS_OFFSET): Define to 0.
16629 * nptl/sysdeps/pthread/bits/libc-lock.h
16630 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16631 (__libc_lock_define_initialized_recursive): Always define using
16632 initializer. Modern compilers treat uninitialized (implicit zero) and
16633 explicit zero initializers the same (i.e. put the datum in bss).
16635 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16637 * nscd/nscd-client.h: Include <string.h>.
16639 2014-05-01 David S. Miller <davem@davemloft.net>
16642 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16643 multiple zero bytes exist at the end of a string.
16644 Reported by Aurelien Jarno <aurelien@aurel32.net>
16646 * string/test-strcmp.c (check): Add explicit test for situations where
16647 there are multiple zero bytes after the first.
16649 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16652 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16653 when compiling wprintf.
16654 * stdio-common/tstdiomisc.c (t3): New function.
16657 2014-05-01 Steve Ellcey <sellcey@mips.com>
16659 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16660 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16661 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16662 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16664 2014-05-01 Steve Ellcey <sellcey@mips.com>
16666 * stdlib/longlong.h: Updated from GCC.
16668 2014-05-01 Will Newton <will.newton@linaro.org>
16669 Bernard Ogden <bernie.ogden@linaro.org>
16671 * NEWS: Update fixed bug list.
16674 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16676 2014-04-30 David S. Miller <davem@davemloft.net>
16678 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16679 (libc_feholdexcept_setround_sparc_ctx): New function.
16680 (libc_fesetenv_sparc_ctx): Likewise.
16681 (libc_feupdateenv_sparc_ctx): Likewise.
16682 (libc_feholdsetround_sparc_ctx): Likewise.
16683 (libc_feholdexcept_setround_ctx): Define.
16684 (libc_feholdexcept_setroundf_ctx): Likewise.
16685 (libc_feholdexcept_setroundl_ctx): Likewise.
16686 (libc_fesetenv_ctx): Likewise.
16687 (libc_fesetenvf_ctx): Likewise.
16688 (libc_fesetenvl_ctx): Likewise.
16689 (libc_feupdateenv_ctx): Likewise.
16690 (libc_feupdateenvf_ctx): Likewise.
16691 (libc_feupdateenvl_ctx): Likewise.
16692 (libc_feresetround_ctx): Likewise.
16693 (libc_feresetroundf_ctx): Likewise.
16694 (libc_feresetroundl_ctx): Likewise.
16695 (libc_feholdsetround_ctx): Likewise.
16696 (libc_feholdsetroundf_ctx): Likewise.
16697 (libc_feholdsetroundl_ctx): Likewise.
16699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16700 with __USE_GNU instead of XOPEN cpp guards.
16702 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16705 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16706 with XOPEN cpp guards.
16708 2014-04-30 Julian Brown <julian@codesourcery.com>
16711 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16714 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16719 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16720 * sysdeps/unix/sysv/linux/configure: Regenerated.
16721 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16722 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16723 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16724 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16725 * README: Update reference to required Linux kernel version.
16726 * manual/install.texi (Linux): Update reference to required Linux
16727 kernel headers version.
16728 * INSTALL: Regenerated.
16730 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16732 [POSIX] (limits.h): Likewise.
16733 [POSIX] (math.h): Likewise.
16734 [POSIX] (sys/wait.h): Likewise.
16735 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16737 [POSIX] (stddef.h): Do not allow header inclusion.
16739 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16741 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16743 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16745 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16746 Return immediately after lll_futex_wake.
16748 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16751 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16753 (datahead_init_pos): Call datahead_init_common early.
16754 (datahead_init_neg): Likewise.
16756 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16757 datahead_init_neg): New functions.
16758 * nscd/aicache.c (addhstaiX): Use them.
16759 * nscd/grpcache.c (cache_addgr): Likewise.
16760 * nscd/hstcache.c (cache_addhst): Likewise.
16761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16762 * nscd/netgroupcache.c (do_notfound): Likewise.
16763 (addgetnetgrentX): Likewise.
16764 (addinnetgrX): Likewise.
16765 * nscd/pwdcache.c (cache_addpw): Likewise.
16766 * nscd/servicescache.c (cache_addserv): Likewise.
16768 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16769 Atsushi Onoe <atsushi@onoe.org>
16774 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16775 one response is valid.
16776 * resolv/res_send.c (send_dg): Check for validity of other
16777 response if the current response is a referral.
16779 2014-04-29 Steve Ellcey <sellcey@mips.com>
16781 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16783 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16786 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16787 Always divide by positive zero when computing -Inf result.
16788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16789 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16791 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16793 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16794 FPSCR if value do not change.
16795 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16796 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16797 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16798 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16799 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16800 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16803 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16805 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16806 * sysdeps/unix/sysv/linux/hppa: Move directory from
16807 ports/systeps/unix/sysv/linux/hppa.
16808 * README: Update listing for hppa-*-linux-gnu.
16810 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
16813 * manual/stdio.texi (Hook functions): Fix types of stream hook
16816 * socket/sys/socket.h: Fix typo in comment.
16818 2014-04-28 Wilco <wdijkstr@arm.com>
16820 * sysdeps/arm/fenv_private.h: New file.
16821 * sysdeps/arm/math_private.h: New file.
16822 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16824 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16826 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16828 (La_x86_64_retval): Likewise.
16830 2014-04-24 Ian Bolton <ian.bolton@arm.com>
16832 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16833 fpsr if value didn't change.
16834 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16835 to fpcr if value didn't change.
16836 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16837 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16838 fpsr or fpcr if value didn't change.
16839 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16840 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16841 fpcr if value didn't change.
16842 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16843 to fpsr if value didn't change.
16845 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16847 * nptl/tst-sem3.c: Use test-skeleton.c
16848 (main): Rename to do_test. Use return instead of
16850 * nptl/tst-sem4.c: Use test-skeleton.c
16851 (main): Rename to do_test.
16853 2014-04-22 David S. Miller <davem@davemloft.net>
16855 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16856 (struct sigaction): New struct member __glibc_reserved0, change
16857 type of sa_flags to int.
16859 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16861 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16862 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16864 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16866 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16867 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16869 2014-04-22 Will Newton <will.newton@linaro.org>
16870 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16872 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16873 (__longjmp): Add longjmp and longjmp_target SystemTap
16875 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16876 (__sigsetjmp): Add setjmp SystemTap probe.
16878 2014-04-17 Carlos O'Donell <carlos@redhat.com>
16880 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16881 match manual order.
16883 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16885 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16887 * sysdeps/powerpc/fpu/fenv_private.h
16888 (libc_feholdexcept_setroundl_ctx): Define to
16889 libc_feholdexcept_setround_ppc_ctx.
16890 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16891 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16892 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16893 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16895 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16897 * sysdeps/aarch64/math-tests.h: New file.
16899 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16901 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16904 Check and set bit_AVX2_Usable.
16905 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16907 (bit_AVX2): Likewise.
16908 (index_AVX2_Usable): Likewise.
16909 (CPUID_AVX2): Likewise.
16910 (HAS_AVX2): Likewise.
16912 2014-04-17 Will Newton <will.newton@linaro.org>
16914 * manual/setjmp.texi (System V contexts): Add note that
16915 calling setcontext on a context created by a call to a
16916 signal handler is undefined. Update text to note that
16917 setcontext from a signal handler is possible but not
16921 * stdlib/tst-setcontext.c: Include signal.h.
16922 (main): Check that the signal stack before and
16923 after swapcontext is the same.
16925 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16926 Re-implement to restore registers in user code and avoid
16927 rt_sigreturn system call.
16929 2014-04-17 Wilco <wdijkstr@arm.com>
16931 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16932 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16933 * math/test-fenv.c: Skip exception trap tests on targets which only
16934 support non-stop mode.
16936 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16937 Wilco Dijkstra <wilco.dijkstra@arm.com>
16939 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16940 (libc_feholdsetround_aarch64_ctx)
16941 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16942 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16943 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16944 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16945 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16946 (libc_feresetround_noexl_ctx): Define.
16948 2014-04-16 Richard Henderson <rth@redhat.com>
16950 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16952 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16955 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16956 const from the non-libc, non-ldso copy.
16958 * sysdeps/alpha/libm-test-ulps: Regenerate.
16960 2014-04-16 Ian Bolton <ian.bolton@arm.com>
16961 Wilco Dijkstra <wilco.dijkstra@arm.com>
16963 * sysdeps/aarch64/fpu/math_private.h: New file.
16965 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16967 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16969 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16972 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16973 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16975 Intel MPX bound registers before _dl_profile_fixup.
16976 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16977 registers after _dl_profile_fixup. Save and restore bound
16978 registers bnd0/bnd1 when calling _dl_call_pltexit.
16979 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16980 (LR_BND_OFFSET): Likewise.
16981 (LRV_BND0_OFFSET): Likewise.
16982 (LRV_BND1_OFFSET): Likewise.
16984 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16986 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16988 * sysdeps/mach/hurd/i386/tls.h: ... here.
16989 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16990 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16993 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16995 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16997 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16999 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17001 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17004 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17005 * sysdeps/s390/configure: Regenerate.
17008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17009 Set round-to-nearest internally to reduce error accumulation.
17011 2014-04-16 Alan Modra <amodra@gmail.com>
17015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17016 * math/libm-test.inc (frexp_test_data): Add tests.
17017 * NEWS: Update fixed bug list.
17019 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17021 * benchtests/Makefile: Depend on libraries in build directory.
17022 (bench-math): Separate out math tests.
17023 (bench-pthread): Separate out pthread tests.
17024 (bench): Include math and pthread tests.
17026 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17029 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17030 _dl_debug_initialize.
17032 * configure.ac: Remove SELinux header check.
17033 * configure: Regenerate.
17034 * nscd/selinux.c (perms): Array of const char* to permission names.
17035 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17036 default policy. Call string_to_security_class and string_to_av_perm to
17037 translate strings. Enforce default policy and call avs_has_perm with
17038 results of translated strings.
17040 2014-04-13 David S. Miller <davem@davemloft.net>
17042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17044 2014-04-12 Allan McRae <allan@archlinux.org>
17047 * manual/string.texi (Collation Functions): Fix qsort argument
17049 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17051 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17053 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17054 Make the test a no-op if there are no exceptions defined.
17056 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17058 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17059 enable-hardcoded-path-in-tests
17061 2014-04-11 Will Newton <will.newton@linaro.org>
17063 * benchtests/Makefile (extra-objs): Add json-lib.o.
17064 (bench-func): Tidy up JSON output.
17065 * benchtests/bench-skeleton.c: Include json-lib.h.
17066 (main): Use JSON library functions to do output of
17068 * benchtests/bench-timing-type.c (main): Output the
17069 timing type simply, leaving formatting to the user.
17070 * benchtests/json-lib.c: New file.
17071 * benchtests/json-lib.h: Likewise.
17073 2014-04-11 Torvald Riegel <triegel@redhat.com>
17076 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17077 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17078 memory barriers. Add comments.
17079 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17080 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17081 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17082 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17083 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17084 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17086 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17088 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17089 * sysdeps/s390/s390-64/configure.ac: ... this ...
17090 * sysdeps/s390/configure.ac: ... to here.
17091 * sysdeps/s390/s390-32/configure: Delete file.
17092 * sysdeps/s390/s390-64/configure: Delete file.
17093 * sysdeps/s390/configure: Regenerate.
17095 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17097 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17099 2014-04-11 Will Newton <will.newton@linaro.org>
17101 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17102 to zero if it is not defined elsewhere. (mtrim): Test
17103 the value of MALLOC_DEBUG with #if rather than #ifdef.
17105 2014-04-10 Torvald Riegel <triegel@redhat.com>
17107 * benchtests/pthread_once-inputs: New file.
17108 * benchtests/pthread_once-source.c: New file.
17109 * benchtests/README: Update documentation.
17111 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17112 H.J. Lu <hongjiu.lu@intel.com>
17115 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17116 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17117 * sysdeps/x86_64/configure: Regenerated.
17118 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17120 (REGISTER_SAVE_RAX): Likewise.
17121 (REGISTER_SAVE_RCX): Likewise.
17122 (REGISTER_SAVE_RDX): Likewise.
17123 (REGISTER_SAVE_RSI): Likewise.
17124 (REGISTER_SAVE_RDI): Likewise.
17125 (REGISTER_SAVE_R8): Likewise.
17126 (REGISTER_SAVE_R9): Likewise.
17127 (REGISTER_SAVE_BND0): Likewise.
17128 (REGISTER_SAVE_BND1): Likewise.
17129 (REGISTER_SAVE_BND2): Likewise.
17130 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17131 bound registers when calling _dl_fixup.
17133 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17135 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17136 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17138 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17139 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17140 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17141 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17142 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17143 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17144 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17146 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17149 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17150 pathconf(_PC_NAME_MAX).
17152 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17155 Remove macro usage.
17156 (__PTHREAD_SPINS): Move definition to ...
17157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17158 (__PTHREAD_SPINS): ... here.
17159 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17160 (__PTHREAD_SPIN): Likewise.
17161 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17162 (__PTHREAD_SPIN): Likewise.
17163 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17164 (__PTHREAD_SPIN): Likewise.
17165 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17166 (__PTHREAD_SPIN): Likewise.
17167 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17168 (__PTHREAD_SPIN): Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17170 (__PTHREAD_SPIN): Likewise.
17171 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17172 (__PTHREAD_SPIN): Likewise.
17173 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17174 (__PTHREAD_SPIN): Likewise.
17175 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17176 (__PTHREAD_SPIN): Likewise.
17177 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17178 (__PTHREAD_SPIN): Likewise.
17179 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17180 (__PTHREAD_SPIN): Likewise.
17181 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17182 (__PTHREAD_SPIN): Likewise.
17184 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17185 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17186 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17187 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17190 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17191 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17192 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17193 correct imply path.
17194 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17195 strlen symbol for non multi-arch builds.
17196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17197 missing hidden_def and weak_alias.
17199 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17201 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17203 2014-04-07 Will Newton <will.newton@linaro.org>
17205 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17206 and contents. [!_LIBC] Remove #ifndef and contents.
17207 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17208 * string/memccpy.c (__memccpy): Use ANSI prototype.
17209 * string/memfrob.c (memfrob): Likewise.
17210 * string/strcoll.c (STRCOLL): Likewise.
17211 * string/strlen.c (strlen): Likewise.
17212 * string/strtok.c (STRTOK): Likewise.
17213 * string/strcat.c: Remove unused #include of memcopy.h.
17214 (strcat): Use ANSI prototype.
17215 * string/strchr.c: Remove unused #include of memcopy.h.
17216 (strchr): Use ANSI prototype.
17217 * string/strcmp.c: Remove unused #include of memcopy.h.
17218 (strcmp): Use ANSI prototype.
17219 * string/strcpy.c: Remove unused #include of memcopy.h.
17220 (strcpy): Use ANSI prototype.
17222 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17224 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17225 * config.make.in (config-extra-cppflags): Set it from
17226 libc_extra_cppflags.
17227 * configure.ac (libc_extra_cflags): Make it accumulate over
17228 configure fragments.
17229 (libc_extra_cppflags): New flag.
17230 * configure. Regenerate.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17232 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17233 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17238 result for FE_DOWNWARD rounding mode.
17239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17243 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17245 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17246 in function argument name.
17248 2014-04-03 David Svoboda <svoboda@cert.org>
17251 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17254 2014-04-03 Roland McGrath <roland@hack.frob.com>
17256 * elf/dl-unmap-segments.h: New file.
17257 * sysdeps/generic/ldsodefs.h
17258 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17259 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17260 * elf/dl-fptr.c: Likewise.
17261 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17262 * sysdeps/aarch64/tlsdesc.c: Likewise.
17263 * sysdeps/arm/tlsdesc.c: Likewise.
17264 * sysdeps/i386/tlsdesc.c: Likewise.
17265 * sysdeps/tile/dl-runtime.c: Likewise.
17266 * sysdeps/x86_64/tlsdesc.c: Likewise.
17267 * elf/dl-load.h: New file.
17268 * elf/dl-load.c: Include it.
17269 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17270 Macros moved to dl-load.h.
17271 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17272 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17273 Use _dl_unmap_segments in place of __munmap.
17274 Break out segment-mapping loop into ...
17275 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17277 2014-04-03 Will Newton <will.newton@linaro.org>
17279 * elf/dl-lookup.c (do_lookup_x): Remove comment
17280 referring to nested function and move variable
17281 declarations down to before first use.
17283 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17287 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17289 * math/s_catanf.c (__catanf): Likewise.
17290 * math/s_catanh.c (__catanh): Likewise.
17291 * math/s_catanhf.c (__catanhf): Likewise.
17292 * math/s_catanhl.c (__catanhl): Likewise.
17293 * math/s_catanl.c (__catanl): Likewise.
17294 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17295 by positive zero when computing -Inf result.
17296 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17297 (catanh_test): Likewise.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17302 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17303 instead of using underflowing value in computing result.
17304 * math/s_clog10.c (__clog10): Likewise.
17305 * math/s_clog10f.c (__clog10f): Likewise.
17306 * math/s_clog10l.c (__clog10l): Likewise.
17307 * math/s_clogf.c (__clogf): Likewise.
17308 * math/s_clogl.c (__clogl): Likewise.
17309 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17310 (clog10_test): Likewise.
17311 * sysdeps/i386/fpu/libm-test-ulps: Update.
17312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17314 2014-04-02 Alan Modra <amodra@gmail.com>
17317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17318 output when value is near a power of two. Use int64_t for lx and
17319 remove casts. Use decimal rather than hex exponent constants.
17320 Don't use long double multiplication when double will suffice.
17321 * math/libm-test.inc (nextafter_test_data): Add tests.
17322 * NEWS: Add 16739 and 16786 to bug list.
17324 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17326 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17328 2014-04-01 Will Newton <will.newton@linaro.org>
17330 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17331 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17333 2014-04-01 Florian Weimer <fweimer@redhat.com>
17336 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17337 * nptl/tst-setuid2.c: New file.
17338 * nptl/Makefile (xtests): Add tst-setuid2.
17340 2014-04-01 Alan Modra <amodra@gmail.com>
17343 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17345 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17349 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17350 set errno as appropriate.
17351 * math/w_scalbf.c (__scalbf): Likewise.
17352 * math/w_scalbl.c (__scalbl): Likewise.
17353 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17354 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17355 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17356 Add more NaN tests.
17359 * math/w_atan2.c: Include <errno.h>.
17360 (__atan2): Set errno for result underflowing to zero.
17361 * math/w_atan2f.c: Include <errno.h>.
17362 (__atan2f): Set errno for result underflowing to zero.
17363 * math/w_atan2l.c: Include <errno.h>.
17364 (__atan2l): Set errno for result underflowing to zero.
17365 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17367 * math/auto-libm-test-out: Regenerated.
17369 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17371 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17372 Encode instruction correctly in little endian.
17373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17377 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17379 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17382 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17385 * sysdeps/unix/sysv/linux/kernel-features.h
17386 [__sparc__ && !__arch64__ && !__sparc_v9__]
17387 (__ASSUME_SET_ROBUST_LIST): Do not define.
17388 [__sparc__ && !__arch64__ && !__sparc_v9__]
17389 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17390 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17393 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17394 (__ASSUME_REQUEUE_PI): Likewise.
17395 (__ASSUME_SET_ROBUST_LIST): Likewise.
17396 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17397 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17402 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17404 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17406 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17407 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17409 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17410 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17416 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17418 2014-03-31 Will Newton <will.newton@linaro.org>
17420 * benchtests/Makefile (bench): Add ffs and ffsll to list
17422 * benchtests/ffs-inputs: New file.
17423 * benchtests/ffsll-inputs: Likewise.
17425 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17428 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17429 too large before casting to int.
17430 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17431 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17432 * math/libm-test.inc (scalb_test_data): Add more tests.
17434 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17436 * benchtests/Makefile (DETAILED_OPT): New make option.
17437 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17439 * benchtests/bench-skeleton.c: Include stdbool.h.
17440 (main): Store and print timings per input.
17441 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17442 member to each argument value.
17443 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17444 (_print_arg_data): Initialize per-input timing to 0.
17446 * benchtests/Makefile (timing-type): New binary.
17447 (bench-clean): Also remove bench-timing-type.
17448 (bench): New target for timing-type.
17449 (bench-func): Print output in JSON format.
17450 * benchtests/bench-skeleton.c (main): Print output in JSON
17452 * benchtests/bench-timing-type.c: New file.
17453 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17454 (TIMING_PRINT_STATS): Remove.
17455 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17458 * benchtests/bench-modf.c: Remove.
17459 * benchtests/modf-inputs: New inputs file.
17461 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17464 * math/s_clog10.c (M_PI_LOG10E): New macro.
17465 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17466 imaginary parts are 0.
17467 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17468 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17469 imaginary parts are 0.
17470 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17471 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17472 imaginary parts are 0.
17473 * math/libm-test.inc (clog10_test_data): Update expected results
17474 for when real and imaginary parts are 0.
17476 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17478 * elf/dl-load.c: Finish conversion of __builtin_expect into
17479 __glibc_{un}likely.
17481 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17485 1+x for argument with exponent below -67.
17486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17488 * math/auto-libm-test-in: Add more tests of exp.
17489 * math/auto-libm-test-out: Regenerated.
17491 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17494 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17495 (nscd_getnetgrent): Use it.
17498 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17501 2014-03-27 Andi Kleen <ak@linux.intel.com>
17503 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17504 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17505 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17506 (lll_robust_unlock): Remove out of line section. Use cfi
17508 (LLL_STUB_UNWIND_INFO*): Remove.
17509 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17510 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17511 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17512 (lll_robust_unlock): Remove out of line section. Use cfi
17514 (LLL_STUB_UNWIND_INFO*): Remove.
17516 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17519 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17522 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17524 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17526 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17529 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17531 * math/test-fenv-preserve.c: New file.
17532 * math/Makefile (tests): Add test-fenv-preserve.
17534 2014-03-26 Will Newton <will.newton@linaro.org>
17536 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17538 2014-03-25 Roland McGrath <roland@hack.frob.com>
17540 * scripts/versionlist.awk: Partition the version sets and emit all
17541 GLIBC_* (sorted) before all others (sorted).
17543 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17545 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17546 GLIBC_2.2.5 version.
17548 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17550 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17558 2014-03-25 Andreas Schwab <schwab@suse.de>
17560 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17561 label to be used after in6ailist is initialized.
17563 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17566 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17568 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17572 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17574 (fp_formats): Update initializers.
17575 (init_fp_formats): Initialize new field.
17576 (output_for_one_input_case): Allow underflow for results up to
17578 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17579 * math/auto-libm-test-in: Don't mark some underflows from asin and
17581 * math/auto-libm-test-out: Regenerated.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585 2014-03-25 Andreas Schwab <schwab@suse.de>
17587 * libio/Makefile (tst-ftell-partial-wide-ENV)
17588 (tst-ftell-active-handler-ENV): Define.
17590 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17592 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17594 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17596 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17598 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17601 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17602 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17604 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17607 * elf/dl-load.c (open_verify): Add mode parameter.
17608 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17609 (open_path): Change from boolean 'secure' to complete flag 'mode'
17610 (_dl_map_object): Adjust.
17611 * elf/Makefile (tests): Add tst-dlopen-aout.
17612 * elf/tst-dlopen-aout.c: New test.
17614 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17617 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17618 (struct stat): Rename member pad0 to __glibc_reserved0.
17621 * sysdeps/s390/s390-32/bits/wordsize.h
17622 (__WORDSIZE32_SIZE_ULONG): New define.
17623 * sysdeps/s390/s390-64/bits/wordsize.h
17624 (__WORDSIZE32_SIZE_ULONG): Likewise.
17625 * sysdeps/generic/stdint.h (SIZE_MAX):
17626 Define as UL if __WORDSIZE32_SIZE_ULONG.
17629 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17630 (__glibc_reserved0): New variable.
17631 (sa_flags): Change type to int.
17633 * posix/Makefile (before-compile): Use += before-compile instead
17636 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17637 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17639 2014-03-20 Andreas Schwab <schwab@suse.de>
17642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17643 non-matching result from nscd.
17645 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17647 * scripts/bench.py: Moved to ...
17648 * benchtests/scripts/bench.py: ... here.
17649 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17651 2014-03-24 Andreas Schwab <schwab@suse.de>
17654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17655 alloca_account and account alloca use for struct in6ailist.
17657 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17661 rounding mode to recompute results that overflow to infinity or
17663 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17665 * math/auto-libm-test-out: Regenerated.
17666 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17667 (ccosh_test): Likewise.
17668 (csin_test_data): Use plus_oflow.
17669 (csin_test): Use ALL_RM_TEST.
17670 (csinh_test_data): Use plus_oflow.
17671 (csinh_test): Use ALL_RM_TEST.
17672 * sysdeps/i386/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17675 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17677 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17678 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17679 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17682 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17683 when x - 1 is zero.
17684 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17685 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17686 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17689 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17690 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17692 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17698 * scripts/bench.pl: Remove file.
17699 * scripts/bench.py: New benchmark script.
17700 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17701 * benchtests/README: Mention python dependency.
17702 * scripts/pylintrc: New file.
17703 * scripts/pylint: New file.
17705 * bits/mathdef.h: Use #ifdef instead of #if.
17706 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17707 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17708 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17709 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17710 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17711 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17713 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17714 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17716 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17718 and strpbrk-ppc64 objects.
17719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17720 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17721 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17722 multiarch strpbrk for POWER7.
17723 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17724 multiarch strpbrk for PPC64.
17725 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17727 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17728 strpbrk for POWER7.
17730 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17732 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17733 (atan_test): Likewise.
17734 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17735 (atanh_test): Use ALL_RM_TEST.
17736 (atan2_test_data): Likewise.
17737 (cabs_test): Likewise.
17738 (cacosh_test): Likewise.
17739 (carg_test): Likewise.
17740 (casin_test): Likewise.
17741 (casinh_test): Likewise.
17742 (cbrt_test): Likewise.
17743 (csqrt_test): Likewise.
17744 (erf_test): Likewise.
17745 (erfc_test): Likewise.
17746 (pow10_test): Likewise.
17747 (exp2_test): Likewise.
17748 (hypot_test): Likewise.
17749 (j0_test): Likewise.
17750 (j1_test): Likewise.
17751 (lgamma_test): Likewise.
17752 (gamma_test): Likewise.
17753 (sincos_test): Likewise.
17754 (tanh_test): Likewise.
17755 (y0_test): Likewise.
17756 (y1_test): Likewise.
17757 * sysdeps/i386/fpu/libm-test-ulps: Update.
17758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17760 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17762 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17764 and strcspn-ppc64 objects.
17765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17766 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17767 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17768 multiarch strcspn for POWER7.
17769 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17770 multiarch strcspn for PPC64.
17771 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17773 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17774 strcspn for POWER7.
17776 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17778 * math/gen-libm-test.pl (generate_testfile): Expect only function
17779 name as argument to AUTO_TESTS_* and pass results for all rounding
17780 modes to parse_args.
17781 (parse_auto_input): Separate inputs of automatic tests from
17782 outputs before storing in %auto_tests.
17783 * math/libm-test.inc (acos_test_data): Update call to
17785 (acos_test): Use ALL_RM_TEST.
17786 (acos_tonearest_test_data): Remove.
17787 (acos_test_tonearest): Likewise.
17788 (acos_towardzero_test_data): Likewise.
17789 (acos_test_towardzero): Likewise.
17790 (acos_downward_test_data): Likewise.
17791 (acos_test_downward): Likewise.
17792 (acos_upward_test_data): Likewise.
17793 (acos_test_upward): Likewise.
17794 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17795 (asin_test_data): Likewise.
17796 (asin_test): Use ALL_RM_TEST.
17797 (asin_tonearest_test_data): Remove.
17798 (asin_test_tonearest): Likewise.
17799 (asin_towardzero_test_data): Likewise.
17800 (asin_test_towardzero): Likewise.
17801 (asin_downward_test_data): Likewise.
17802 (asin_test_downward): Likewise.
17803 (asin_upward_test_data): Likewise.
17804 (asin_test_upward): Likewise.
17805 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17806 (atan_test_data): Likewise.
17807 (atanh_test_data): Likewise.
17808 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17809 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17810 (carg_test_data): Likewise.
17811 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17812 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17813 (ccosh_test_data): Likewise.
17814 (cexp_test_data): Likewise.
17815 (clog_test_data): Likewise.
17816 (clog10_test_data): Likewise.
17817 (cos_test_data): Update call to AUTO_TESTS_f_f.
17818 (cos_test): Use ALL_RM_TEST.
17819 (cos_tonearest_test_data): Remove.
17820 (cos_test_tonearest): Likewise.
17821 (cos_towardzero_test_data): Likewise.
17822 (cos_test_towardzero): Likewise.
17823 (cos_downward_test_data): Likewise.
17824 (cos_test_downward): Likewise.
17825 (cos_upward_test_data): Likewise.
17826 (cos_test_upward): Likewise.
17827 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17828 (cosh_test): Use ALL_RM_TEST.
17829 (cosh_tonearest_test_data): Remove.
17830 (cosh_test_tonearest): Likewise.
17831 (cosh_towardzero_test_data): Likewise.
17832 (cosh_test_towardzero): Likewise.
17833 (cosh_downward_test_data): Likewise.
17834 (cosh_test_downward): Likewise.
17835 (cosh_upward_test_data): Likewise.
17836 (cosh_test_upward): Likewise.
17837 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17838 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17839 (ctan_test_data): Likewise.
17840 (ctan_test): Use ALL_RM_TEST.
17841 (ctan_tonearest_test_data): Remove.
17842 (ctan_test_tonearest): Likewise.
17843 (ctan_towardzero_test_data): Likewise.
17844 (ctan_test_towardzero): Likewise.
17845 (ctan_downward_test_data): Likewise.
17846 (ctan_test_downward): Likewise.
17847 (ctan_upward_test_data): Likewise.
17848 (ctan_test_upward): Likewise.
17849 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17850 (ctanh_test): Use ALL_RM_TEST.
17851 (ctanh_tonearest_test_data): Remove.
17852 (ctanh_test_tonearest): Likewise.
17853 (ctanh_towardzero_test_data): Likewise.
17854 (ctanh_test_towardzero): Likewise.
17855 (ctanh_downward_test_data): Likewise.
17856 (ctanh_test_downward): Likewise.
17857 (ctanh_upward_test_data): Likewise.
17858 (ctanh_test_upward): Likewise.
17859 (erf_test_data): Update call to AUTO_TESTS_f_f.
17860 (erfc_test_data): Likewise.
17861 (exp_test_data): Likewise.
17862 (exp_test): Use ALL_RM_TEST.
17863 (exp_tonearest_test_data): Remove.
17864 (exp_test_tonearest): Likewise.
17865 (exp_towardzero_test_data): Likewise.
17866 (exp_test_towardzero): Likewise.
17867 (exp_downward_test_data): Likewise.
17868 (exp_test_downward): Likewise.
17869 (exp_upward_test_data): Likewise.
17870 (exp_test_upward): Likewise.
17871 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17872 (exp10_test): Use ALL_RM_TEST.
17873 (exp10_tonearest_test_data): Remove.
17874 (exp10_test_tonearest): Likewise.
17875 (exp10_towardzero_test_data): Likewise.
17876 (exp10_test_towardzero): Likewise.
17877 (exp10_downward_test_data): Likewise.
17878 (exp10_test_downward): Likewise.
17879 (exp10_upward_test_data): Likewise.
17880 (exp10_test_upward): Likewise.
17881 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17882 (expm1_test_data): Likewise.
17883 (expm1_test): Use ALL_RM_TEST.
17884 (expm1_tonearest_test_data): Remove.
17885 (expm1_test_tonearest): Likewise.
17886 (expm1_towardzero_test_data): Likewise.
17887 (expm1_test_towardzero): Likewise.
17888 (expm1_downward_test_data): Likewise.
17889 (expm1_test_downward): Likewise.
17890 (expm1_upward_test_data): Likewise.
17891 (expm1_test_upward): Likewise.
17892 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17893 (fma_test): Use ALL_RM_TEST.
17894 (fma_towardzero_test_data): Remove.
17895 (fma_test_towardzero): Likewise.
17896 (fma_downward_test_data): Likewise.
17897 (fma_test_downward): Likewise.
17898 (fma_upward_test_data): Likewise.
17899 (fma_test_upward): Likewise.
17900 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17901 (j0_test_data): Update call to AUTO_TESTS_f_f.
17902 (j1_test_data): Likewise.
17903 (jn_test_data): Update call to AUTO_TESTS_if_f.
17904 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17905 (log_test_data): Update call to AUTO_TESTS_f_f.
17906 (log10_test_data): Likewise.
17907 (log1p_test_data): Likewise.
17908 (log2_test_data): Likewise.
17909 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17910 (pow_tonearest_test_data): Likewise.
17911 (sin_test_data): Update call to AUTO_TESTS_f_f.
17912 (sin_test): Use ALL_RM_TEST.
17913 (sin_tonearest_test_data): Remove.
17914 (sin_test_tonearest): Likewise.
17915 (sin_towardzero_test_data): Likewise.
17916 (sin_test_towardzero): Likewise.
17917 (sin_downward_test_data): Likewise.
17918 (sin_test_downward): Likewise.
17919 (sin_upward_test_data): Likewise.
17920 (sin_test_upward): Likewise.
17921 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17922 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17923 (sinh_test): Use ALL_RM_TEST.
17924 (sinh_tonearest_test_data): Remove.
17925 (sinh_test_tonearest): Likewise.
17926 (sinh_towardzero_test_data): Likewise.
17927 (sinh_test_towardzero): Likewise.
17928 (sinh_downward_test_data): Likewise.
17929 (sinh_test_downward): Likewise.
17930 (sinh_upward_test_data): Likewise.
17931 (sinh_test_upward): Likewise.
17932 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17933 (sqrt_test): Use ALL_RM_TEST.
17934 (sqrt_tonearest_test_data): Remove.
17935 (sqrt_test_tonearest): Likewise.
17936 (sqrt_towardzero_test_data): Likewise.
17937 (sqrt_test_towardzero): Likewise.
17938 (sqrt_downward_test_data): Likewise.
17939 (sqrt_test_downward): Likewise.
17940 (sqrt_upward_test_data): Likewise.
17941 (sqrt_test_upward): Likewise.
17942 (tan_test_data): Update call to AUTO_TESTS_f_f.
17943 (tan_test): Use ALL_RM_TEST.
17944 (tan_tonearest_test_data): Remove.
17945 (tan_test_tonearest): Likewise.
17946 (tan_towardzero_test_data): Likewise.
17947 (tan_test_towardzero): Likewise.
17948 (tan_downward_test_data): Likewise.
17949 (tan_test_downward): Likewise.
17950 (tan_upward_test_data): Likewise.
17951 (tan_test_upward): Likewise.
17952 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17953 (tgamma_test_data): Likewise.
17954 (y0_test_data): Likewise.
17955 (y1_test_data): Likewise.
17956 (yn_test_data): Update call to AUTO_TESTS_if_f.
17957 (main): Do not call removed functions.
17959 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17961 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17962 (ldexp_test_data): Remove.
17963 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17965 (scalb_test): Use ALL_RM_TEST.
17967 2014-03-19 Andreas Schwab <schwab@suse.de>
17969 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17971 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17978 (__ASSUME_PREADV): Undefine.
17979 (__ASSUME_PWRITEV): Likewise.
17981 2014-03-18 Roland McGrath <roland@hack.frob.com>
17983 * bits/mman-linux.h: Add comment about non-Linux use.
17984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17985 bits/mman-linux.h resting place.
17987 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17988 * bits/mman-linux.h: ... here.
17990 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17992 * conform/conformtest.pl: Add standard definition when calling C
17993 preprocessor on data files.
17994 (checknamespace): Remove unused variable.
17996 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17998 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17999 minus_oflow, plus_uflow and minus_uflow in expected results.
18000 * math/libm-test.inc (scalbn_test_data): Add more tests of
18001 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18003 (scalbn_test): Use ALL_RM_TEST.
18004 (scalbln_test_data): Add more tests of negative arguments. Use
18005 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18006 (scalbln_test): Use ALL_RM_TEST.
18008 2014-03-18 Roland McGrath <roland@hack.frob.com>
18010 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18012 2014-03-18 Will Newton <will.newton@linaro.org>
18014 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18015 inaccurate comment.
18017 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18019 * Makerules [!subdir] (check-abi): Exit with error status if a
18022 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18024 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18025 for rint. Include results for all rounding modes.
18026 (nearbyint_test): Use ALL_RM_TEST.
18027 (rint_test_data): Include all tests used for nearbyint.
18029 2014-03-17 Will Newton <will.newton@linaro.org>
18031 * nptl/sysdeps/pthread/pthread.h: Revert previous
18034 * sysdeps/generic/ldsodefs.h: Revert previous
18037 * libio/genops.c: Revert previous change.
18038 * libio/libioP.h: Likewise.
18039 * stdio-common/vfprintf.c: Likewise.
18041 * sysdeps/generic/math_private.h: Revert previous
18044 * sysdeps/generic/math_private.h: Check whether
18045 HAVE_RM_CTX is defined with #ifdef rather
18048 * argp/argp-fmtstream.h: Check whether
18049 __STRICT_ANSI__ is defined with #ifdef rather
18051 * argp/argp.h: Likewise.
18053 * libio/genops.c: Check whether
18054 _IO_JUMPS_OFFSET is defined with #ifdef rather
18056 * libio/libioP.h: Likewise.
18057 * stdio-common/vfprintf.c: Likewise.
18059 * sysdeps/generic/ldsodefs.h: Check whether
18060 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18063 * nptl/sysdeps/pthread/pthread.h: Check
18064 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18067 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18069 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18071 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18075 * libio/fileops.c (_IO_file_open): Seek to end of file but
18076 don't cache the offset.
18077 (get_file_offset): Remove function.
18078 (do_ftell): Use cached offset when available.
18079 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18080 don't cache the offset.
18081 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18083 (do_one_test): Call it.
18084 (do_ftell_test): Fix up expected old offset for a+ mode.
18085 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18088 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18089 up test status with function return status.
18090 (do_write_test): Likewise.
18091 (do_append_test): Likewise.
18093 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18094 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18097 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18099 * math/gen-libm-test.pl (parse_args): Handle results specified for
18100 each rounding mode separately.
18101 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18102 tests and results from lrint_tonearest_test_data,
18103 lrint_towardzero_test_data, lrint_downward_test_data and
18104 lrint_upward_test_data.
18105 (lrint_test): Use ALL_RM_TEST.
18106 (lrint_tonearest_test_data): Remove.
18107 (lrint_test_tonearest): Likewise.
18108 (lrint_towardzero_test_data): Likewise.
18109 (lrint_test_towardzero): Likewise.
18110 (lrint_downward_test_data): Likewise.
18111 (lrint_test_downward): Likewise.
18112 (lrint_upward_test_data): Likewise.
18113 (lrint_test_upward): Likewise.
18114 (llrint_test_data): Merge in per-rounding-mode tests and results
18115 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18116 llrint_downward_test_data and llrint_upward_test_data.
18117 (llrint_test): Use ALL_RM_TEST.
18118 (llrint_tonearest_test_data): Remove.
18119 (llrint_test_tonearest): Likewise.
18120 (llrint_towardzero_test_data): Likewise.
18121 (llrint_test_towardzero): Likewise.
18122 (llrint_downward_test_data): Likewise.
18123 (llrint_test_downward): Likewise.
18124 (llrint_upward_test_data): Likewise.
18125 (llrint_test_upward): Likewise.
18126 (rint_test_data): Merge in per-rounding-mode tests and results
18127 from rint_tonearest_test_data, rint_towardzero_test_data,
18128 rint_downward_test_data and rint_upward_test_data. Add
18129 per-rounding-mode results for tests not in those arrays.
18130 (rint_test): Use ALL_RM_TEST.
18131 (rint_tonearest_test_data): Remove.
18132 (rint_test_tonearest): Likewise.
18133 (rint_towardzero_test_data): Likewise.
18134 (rint_test_towardzero): Likewise.
18135 (rint_downward_test_data): Likewise.
18136 (rint_test_downward): Likewise.
18137 (rint_upward_test_data): Likewise.
18138 (rint_test_upward): Likewise.
18139 (main): Don't call removed functions.
18141 2014-03-14 Roland McGrath <roland@hack.frob.com>
18143 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18144 "Compiled on ..." crapola. It is anti-useful.
18146 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18148 * scripts/evaluate-test.sh: Handle fourth argument to determine
18149 whether test run should stop on failure.
18150 * Makeconfig (stop-on-test-failure): New variable.
18151 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18152 $(stop-on-test-failure).
18153 * Makefile (tests): Give a summary of results from testing and
18154 exit with failure status if they include an ERROR or FAIL.
18155 (xtests): Likewise.
18156 * manual/install.texi (Configuring and compiling): Mention
18157 stop-on-test-failure=y.
18158 * INSTALL: Regenerated.
18160 2014-03-14 Roland McGrath <roland@hack.frob.com>
18162 * scripts/versionlist.awk: New file.
18163 * Makerules [$(build-shared) = yes]
18164 (postclean-generated): Add Versions.def, not Versions.def.v and
18166 ($(common-objpfx)Versions.def.v.i): Target removed.
18167 ($(common-objpfx)Versions.def): New target.
18168 ($(common-objpfx)Versions.all): Depend on that rather that
18169 $(common-objpfx)Versions.def.v.
18170 * Versions.def: File removed.
18172 * Makeconfig (+gccwarn): Add -Wundef.
18173 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18174 a dl-sysdep.h breaking its contract.
18175 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18176 * include/stackinfo.h: New file.
18177 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18178 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18179 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18180 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18181 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18182 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18183 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18184 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18185 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18186 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18187 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18188 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18189 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18190 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18191 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18193 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18196 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18198 * math/libm-test.inc (round_test_data): Add more tests.
18201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18203 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18206 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18208 * math/libm-test.inc (ceil_test_data): Add more tests.
18210 * math/libm-test.inc (trunc_test_data): Add more tests related to
18213 2014-03-14 Roland McGrath <roland@hack.frob.com>
18215 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18216 with #if rather than #ifdef.
18217 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18219 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18221 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18222 first. Disable AVX-512 GCC support if assembler doesn't support
18224 * sysdeps/x86_64/configure: Regenerated.
18226 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18228 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18229 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18230 (__old_pthread_attr_setstack): Likewise.
18231 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18232 [!_STACK_GROWS_DOWN]: Likewise.
18234 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18236 * config.make.in (have-bash2): Delete.
18237 * configure.ac (libc_cv_have_bash2): Delete.
18238 * configure: Regenerate.
18239 * elf/Makefile (common-ldd-rewrite): Rename to ...
18240 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18241 (sh-ldd-rewrite): Delete.
18242 (bash-ldd-rewrite): Delete.
18243 (have-bash2): Delete checks.
18244 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18247 * config.make.in (have-ksh): Delete.
18249 * configure.ac (libc_cv_have_ksh): Delete.
18250 * configure: Regenerate.
18252 * elf/Makefile: Delete $(have-ksh) check.
18253 ($(objpfx)sotruss): Change KSH to BASH.
18254 * elf/sotruss.ksh: Rename to ...
18255 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18256 function style to match POSIX. Drop ksh vim mode setting.
18258 * manual/time.texi (Specifying the Time Zone with TZ): Change
18259 Tuesday to Thursday.
18261 * debug/tst-longjmp_chk2.c: Update header comment.
18262 (stackoverflow_handler): Add comment. Call assert on pass value.
18264 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18267 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18268 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18269 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18270 (La_x86_64_vector): Add zmm.
18271 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18272 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18273 ($(objpfx)tst-audit10): New target.
18274 ($(objpfx)tst-audit10.out): Likewise.
18275 (tst-audit10-ENV): New.
18276 (AVX512-CFLAGS): Likewise.
18277 (CFLAGS-tst-audit10.c): Likewise.
18278 (CFLAGS-tst-auditmod10a.c): Likewise.
18279 (CFLAGS-tst-auditmod10b.c): Likewise.
18280 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18281 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18282 * sysdeps/x86_64/configure: Regenerated.
18283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18284 AVX-512 zmm register support.
18285 (_dl_x86_64_save_sse): Likewise.
18286 (_dl_x86_64_restore_sse): Likewise.
18287 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18288 size vector registers.
18289 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18290 (ZMM_SIZE): Likewise.
18291 * sysdeps/x86_64/tst-audit10.c: New file.
18292 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18293 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18295 2014-03-13 Roland McGrath <roland@hack.frob.com>
18297 * configure.ac (HAVE_EHDR_START): New check.
18298 * configure: Regenerated.
18299 * config.h.in (HAVE_EHDR_START): New #undef.
18300 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18301 assuming the lowest-addressed segment maps the start of the file.
18303 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18305 * INSTALL: Regenerated.
18307 2014-03-13 Will Newton <will.newton@linaro.org>
18309 * manual/setjmp.texi (System V contexts): Improve
18310 clarity and grammar of documentation.
18312 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18315 * elf/Makefile (tests): Add tst-pie2.
18316 (tests-pie): Add tst-pie2.
18317 * elf/tst-pie2.c: New file.
18318 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18320 * elf/rtld.c (map_doit): Load executable as lt_executable.
18321 (dl_main): Likewise.
18323 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18327 (__ASSUME_PSELECT): Undefine.
18329 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18333 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18335 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18336 selector for static builds.
18338 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18341 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18344 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18346 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18347 IFUNC selector for static builds.
18349 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18351 * sysdeps/mips/math_private.h [__mips_hard_float]
18352 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18353 libc_feresetround_mips_ctx.
18354 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18355 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18356 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18359 * math/s_nextafter.c (__nextafter): Do not return value from
18360 overflowing computation.
18361 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18362 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18367 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18368 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18370 2014-03-11 Roland McGrath <roland@hack.frob.com>
18372 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18373 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18374 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18375 the new mov targetting sp.
18377 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18380 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18381 Define it for static builds as well.
18382 (NO_BZERO_IMPL): Likewise.
18384 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18386 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18387 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18388 multiarch strspn for PPC64.
18389 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18390 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18392 (__libc_ifunc_impl_list): Likewise.
18393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18394 multiarch optimizations
18395 * string/strspn.c (strspn): Using macro to redefine symbol name.
18397 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18398 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18400 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18401 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18402 multiarch strncat for PPC64.
18403 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18404 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18406 (__libc_ifunc_impl_list): Likewise.
18407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18408 multiarch optimizations
18410 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18413 * nscd/nscd.service: Make service type forking.
18415 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18417 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18418 sign in non default rounding modes.
18419 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18421 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18423 * math/libm-test.inc (ALL_RM_TEST): New macro.
18424 (ceil_test): Use ALL_RM_TEST.
18425 (cimag_test): Likewise.
18426 (conj_test): Likewise.
18427 (copysign_test): Likewise.
18428 (cproj_test): Likewise.
18429 (creal_test): Likewise.
18430 (fabs_test): Likewise.
18431 (floor_test): Likewise.
18432 (fmax_test): Likewise.
18433 (fmin_test): Likewise.
18434 (fmod_test): Likewise.
18435 (fpclassify_test): Likewise.
18436 (frexp_test): Likewise.
18437 (ilogb_test): Likewise.
18438 (isfinite_test): Likewise.
18439 (finite_test): Likewise.
18440 (isgreater_test): Likewise.
18441 (isgreaterequal_test): Likewise.
18442 (isinf_test): Likewise.
18443 (isless_test): Likewise.
18444 (islessequal_test): Likewise.
18445 (islessgreater_test): Likewise.
18446 (isnan_test): Likewise.
18447 (isnormal_test): Likewise.
18448 (issignaling_test): Likewise.
18449 (isunordered_test): Likewise.
18450 (logb_test): Likewise.
18451 (logb_downward_test_data): Remove.
18452 (logb_test_downward): Likewise.
18453 (lround_test): Use ALL_RM_TEST.
18454 (llround_test): Likewise.
18455 (modf_test): Likewise.
18456 (nexttoward_test): Likewise.
18457 (remainder_test): Likewise.
18458 (drem_test): Likewise.
18459 (remainder_tonearest_test_data): Likewise.
18460 (remainder_test_tonearest): Likewise.
18461 (drem_test_tonearest): Likewise.
18462 (remainder_towardzero_test_data): Likewise.
18463 (remainder_test_towardzero): Likewise.
18464 (drem_test_towardzero): Likewise.
18465 (remainder_downward_test_data): Likewise.
18466 (remainder_test_downward): Likewise.
18467 (drem_test_downward): Likewise.
18468 (remainder_upward_test_data): Likewise.
18469 (remainder_test_upward): Likewise.
18470 (drem_test_upward): Likewise.
18471 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18472 (round_test): Use ALL_RM_TEST.
18473 (signbit_test): Likewise.
18474 (trunc_test): Likewise.
18475 (significand_test): Likewise.
18476 (main): Don't call removed functions.
18478 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18481 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18482 || __USE_XOPEN2K8].
18483 (ILL_ILLOPN): Likewise.
18484 (ILL_ILLADR): Likewise.
18485 (ILL_ILLTRP): Likewise.
18486 (ILL_PRVOPC): Likewise.
18487 (ILL_PRVREG): Likewise.
18488 (ILL_COPROC): Likewise.
18489 (ILL_BADSTK): Likewise.
18490 (FPE_INTDIV): Likewise.
18491 (FPE_INTOVF): Likewise.
18492 (FPE_FLTDIV): Likewise.
18493 (FPE_FLTOVF): Likewise.
18494 (FPE_FLTUND): Likewise.
18495 (FPE_FLTRES): Likewise.
18496 (FPE_FLTINV): Likewise.
18497 (FPE_FLTSUB): Likewise.
18498 (SEGV_MAPERR): Likewise.
18499 (SEGV_ACCERR): Likewise.
18500 (BUS_ADRALN): Likewise.
18501 (BUS_ADRERR): Likewise.
18502 (BUS_OBJERR): Likewise.
18503 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18504 (TRAP_TRACE): Likewise.
18505 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18507 (CLD_KILLED): Likewise.
18508 (CLD_DUMPED): Likewise.
18509 (CLD_TRAPPED): Likewise.
18510 (CLD_STOPPED): Likewise.
18511 (CLD_CONTINUED): Likewise.
18512 (POLL_IN): Likewise.
18513 (POLL_OUT): Likewise.
18514 (POLL_MSG): Likewise.
18515 (POLL_ERR): Likewise.
18516 (POLL_PRI): Likewise.
18517 (POLL_HUP): Likewise.
18518 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18520 (ILL_ILLOPN): Likewise.
18521 (ILL_ILLADR): Likewise.
18522 (ILL_ILLTRP): Likewise.
18523 (ILL_PRVOPC): Likewise.
18524 (ILL_PRVREG): Likewise.
18525 (ILL_COPROC): Likewise.
18526 (ILL_BADSTK): Likewise.
18527 (FPE_INTDIV): Likewise.
18528 (FPE_INTOVF): Likewise.
18529 (FPE_FLTDIV): Likewise.
18530 (FPE_FLTOVF): Likewise.
18531 (FPE_FLTUND): Likewise.
18532 (FPE_FLTRES): Likewise.
18533 (FPE_FLTINV): Likewise.
18534 (FPE_FLTSUB): Likewise.
18535 (SEGV_MAPERR): Likewise.
18536 (SEGV_ACCERR): Likewise.
18537 (BUS_ADRALN): Likewise.
18538 (BUS_ADRERR): Likewise.
18539 (BUS_OBJERR): Likewise.
18540 (BUS_MCEERR_AR): Likewise.
18541 (BUS_MCEERR_AO): Likewise.
18542 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18543 (TRAP_TRACE): Likewise.
18544 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18546 (CLD_KILLED): Likewise.
18547 (CLD_DUMPED): Likewise.
18548 (CLD_TRAPPED): Likewise.
18549 (CLD_STOPPED): Likewise.
18550 (CLD_CONTINUED): Likewise.
18551 (POLL_IN): Likewise.
18552 (POLL_OUT): Likewise.
18553 (POLL_MSG): Likewise.
18554 (POLL_ERR): Likewise.
18555 (POLL_PRI): Likewise.
18556 (POLL_HUP): Likewise.
18557 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18558 (ILL_ILLOPN): Likewise.
18559 (ILL_ILLADR): Likewise.
18560 (ILL_ILLTRP): Likewise.
18561 (ILL_PRVOPC): Likewise.
18562 (ILL_PRVREG): Likewise.
18563 (ILL_COPROC): Likewise.
18564 (ILL_BADSTK): Likewise.
18565 (FPE_INTDIV): Likewise.
18566 (FPE_INTOVF): Likewise.
18567 (FPE_FLTDIV): Likewise.
18568 (FPE_FLTOVF): Likewise.
18569 (FPE_FLTUND): Likewise.
18570 (FPE_FLTRES): Likewise.
18571 (FPE_FLTINV): Likewise.
18572 (FPE_FLTSUB): Likewise.
18573 (SEGV_MAPERR): Likewise.
18574 (SEGV_ACCERR): Likewise.
18575 (BUS_ADRALN): Likewise.
18576 (BUS_ADRERR): Likewise.
18577 (BUS_OBJERR): Likewise.
18578 (BUS_MCEERR_AR): Likewise.
18579 (BUS_MCEERR_AO): Likewise.
18580 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18581 (TRAP_TRACE): Likewise.
18582 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18584 (CLD_KILLED): Likewise.
18585 (CLD_DUMPED): Likewise.
18586 (CLD_TRAPPED): Likewise.
18587 (CLD_STOPPED): Likewise.
18588 (CLD_CONTINUED): Likewise.
18589 (POLL_IN): Likewise.
18590 (POLL_OUT): Likewise.
18591 (POLL_MSG): Likewise.
18592 (POLL_ERR): Likewise.
18593 (POLL_PRI): Likewise.
18594 (POLL_HUP): Likewise.
18595 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18597 (ILL_ILLOPN): Likewise.
18598 (ILL_ILLADR): Likewise.
18599 (ILL_ILLTRP): Likewise.
18600 (ILL_PRVOPC): Likewise.
18601 (ILL_PRVREG): Likewise.
18602 (ILL_COPROC): Likewise.
18603 (ILL_BADSTK): Likewise.
18604 (ILL_BADIADDR): Likewise.
18605 (ILL_BREAK): Likewise.
18606 (FPE_INTDIV): Likewise.
18607 (FPE_INTOVF): Likewise.
18608 (FPE_FLTDIV): Likewise.
18609 (FPE_FLTOVF): Likewise.
18610 (FPE_FLTUND): Likewise.
18611 (FPE_FLTRES): Likewise.
18612 (FPE_FLTINV): Likewise.
18613 (FPE_FLTSUB): Likewise.
18614 (FPE_DECOVF): Likewise.
18615 (FPE_DECDIV): Likewise.
18616 (FPE_DECERR): Likewise.
18617 (FPE_INVASC): Likewise.
18618 (FPE_INVDEC): Likewise.
18619 (SEGV_MAPERR): Likewise.
18620 (SEGV_ACCERR): Likewise.
18621 (SEGV_PSTKOVF): Likewise.
18622 (BUS_ADRALN): Likewise.
18623 (BUS_ADRERR): Likewise.
18624 (BUS_OBJERR): Likewise.
18625 (BUS_MCEERR_AR): Likewise.
18626 (BUS_MCEERR_AO): Likewise.
18627 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18628 (TRAP_TRACE): Likewise.
18629 (TRAP_BRANCH): Likewise.
18630 (TRAP_HWBKPT): Likewise.
18631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18633 (CLD_KILLED): Likewise.
18634 (CLD_DUMPED): Likewise.
18635 (CLD_TRAPPED): Likewise.
18636 (CLD_STOPPED): Likewise.
18637 (CLD_CONTINUED): Likewise.
18638 (POLL_IN): Likewise.
18639 (POLL_OUT): Likewise.
18640 (POLL_MSG): Likewise.
18641 (POLL_ERR): Likewise.
18642 (POLL_PRI): Likewise.
18643 (POLL_HUP): Likewise.
18644 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18645 (ILL_ILLOPN): Likewise.
18646 (ILL_ILLADR): Likewise.
18647 (ILL_ILLTRP): Likewise.
18648 (ILL_PRVOPC): Likewise.
18649 (ILL_PRVREG): Likewise.
18650 (ILL_COPROC): Likewise.
18651 (ILL_BADSTK): Likewise.
18652 (FPE_INTDIV): Likewise.
18653 (FPE_INTOVF): Likewise.
18654 (FPE_FLTDIV): Likewise.
18655 (FPE_FLTOVF): Likewise.
18656 (FPE_FLTUND): Likewise.
18657 (FPE_FLTRES): Likewise.
18658 (FPE_FLTINV): Likewise.
18659 (FPE_FLTSUB): Likewise.
18660 (SEGV_MAPERR): Likewise.
18661 (SEGV_ACCERR): Likewise.
18662 (BUS_ADRALN): Likewise.
18663 (BUS_ADRERR): Likewise.
18664 (BUS_OBJERR): Likewise.
18665 (BUS_MCEERR_AR): Likewise.
18666 (BUS_MCEERR_AO): Likewise.
18667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18668 (TRAP_TRACE): Likewise.
18669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18671 (CLD_KILLED): Likewise.
18672 (CLD_DUMPED): Likewise.
18673 (CLD_TRAPPED): Likewise.
18674 (CLD_STOPPED): Likewise.
18675 (CLD_CONTINUED): Likewise.
18676 (POLL_IN): Likewise.
18677 (POLL_OUT): Likewise.
18678 (POLL_MSG): Likewise.
18679 (POLL_ERR): Likewise.
18680 (POLL_PRI): Likewise.
18681 (POLL_HUP): Likewise.
18682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18683 (ILL_ILLOPN): Likewise.
18684 (ILL_ILLADR): Likewise.
18685 (ILL_ILLTRP): Likewise.
18686 (ILL_PRVOPC): Likewise.
18687 (ILL_PRVREG): Likewise.
18688 (ILL_COPROC): Likewise.
18689 (ILL_BADSTK): Likewise.
18690 (FPE_INTDIV): Likewise.
18691 (FPE_INTOVF): Likewise.
18692 (FPE_FLTDIV): Likewise.
18693 (FPE_FLTOVF): Likewise.
18694 (FPE_FLTUND): Likewise.
18695 (FPE_FLTRES): Likewise.
18696 (FPE_FLTINV): Likewise.
18697 (FPE_FLTSUB): Likewise.
18698 (SEGV_MAPERR): Likewise.
18699 (SEGV_ACCERR): Likewise.
18700 (BUS_ADRALN): Likewise.
18701 (BUS_ADRERR): Likewise.
18702 (BUS_OBJERR): Likewise.
18703 (BUS_MCEERR_AR): Likewise.
18704 (BUS_MCEERR_AO): Likewise.
18705 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18706 (TRAP_TRACE): Likewise.
18707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18709 (CLD_KILLED): Likewise.
18710 (CLD_DUMPED): Likewise.
18711 (CLD_TRAPPED): Likewise.
18712 (CLD_STOPPED): Likewise.
18713 (CLD_CONTINUED): Likewise.
18714 (POLL_IN): Likewise.
18715 (POLL_OUT): Likewise.
18716 (POLL_MSG): Likewise.
18717 (POLL_ERR): Likewise.
18718 (POLL_PRI): Likewise.
18719 (POLL_HUP): Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18721 (ILL_ILLOPN): Likewise.
18722 (ILL_ILLADR): Likewise.
18723 (ILL_ILLTRP): Likewise.
18724 (ILL_PRVOPC): Likewise.
18725 (ILL_PRVREG): Likewise.
18726 (ILL_COPROC): Likewise.
18727 (ILL_BADSTK): Likewise.
18728 (FPE_INTDIV): Likewise.
18729 (FPE_INTOVF): Likewise.
18730 (FPE_FLTDIV): Likewise.
18731 (FPE_FLTOVF): Likewise.
18732 (FPE_FLTUND): Likewise.
18733 (FPE_FLTRES): Likewise.
18734 (FPE_FLTINV): Likewise.
18735 (FPE_FLTSUB): Likewise.
18736 (SEGV_MAPERR): Likewise.
18737 (SEGV_ACCERR): Likewise.
18738 (BUS_ADRALN): Likewise.
18739 (BUS_ADRERR): Likewise.
18740 (BUS_OBJERR): Likewise.
18741 (BUS_MCEERR_AR): Likewise.
18742 (BUS_MCEERR_AO): Likewise.
18743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18744 (TRAP_TRACE): Likewise.
18745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18747 (CLD_KILLED): Likewise.
18748 (CLD_DUMPED): Likewise.
18749 (CLD_TRAPPED): Likewise.
18750 (CLD_STOPPED): Likewise.
18751 (CLD_CONTINUED): Likewise.
18752 (POLL_IN): Likewise.
18753 (POLL_OUT): Likewise.
18754 (POLL_MSG): Likewise.
18755 (POLL_ERR): Likewise.
18756 (POLL_PRI): Likewise.
18757 (POLL_HUP): Likewise.
18758 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18759 (ILL_ILLOPN): Likewise.
18760 (ILL_ILLADR): Likewise.
18761 (ILL_ILLTRP): Likewise.
18762 (ILL_PRVOPC): Likewise.
18763 (ILL_PRVREG): Likewise.
18764 (ILL_COPROC): Likewise.
18765 (ILL_BADSTK): Likewise.
18766 (ILL_DBLFLT): Likewise.
18767 (ILL_HARDWALL): Likewise.
18768 (FPE_INTDIV): Likewise.
18769 (FPE_INTOVF): Likewise.
18770 (FPE_FLTDIV): Likewise.
18771 (FPE_FLTOVF): Likewise.
18772 (FPE_FLTUND): Likewise.
18773 (FPE_FLTRES): Likewise.
18774 (FPE_FLTINV): Likewise.
18775 (FPE_FLTSUB): Likewise.
18776 (SEGV_MAPERR): Likewise.
18777 (SEGV_ACCERR): Likewise.
18778 (BUS_ADRALN): Likewise.
18779 (BUS_ADRERR): Likewise.
18780 (BUS_OBJERR): Likewise.
18781 (BUS_MCEERR_AR): Likewise.
18782 (BUS_MCEERR_AO): Likewise.
18783 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18784 (TRAP_TRACE): Likewise.
18785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18787 (CLD_KILLED): Likewise.
18788 (CLD_DUMPED): Likewise.
18789 (CLD_TRAPPED): Likewise.
18790 (CLD_STOPPED): Likewise.
18791 (CLD_CONTINUED): Likewise.
18792 (POLL_IN): Likewise.
18793 (POLL_OUT): Likewise.
18794 (POLL_MSG): Likewise.
18795 (POLL_ERR): Likewise.
18796 (POLL_PRI): Likewise.
18797 (POLL_HUP): Likewise.
18798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18799 (ILL_ILLOPN): Likewise.
18800 (ILL_ILLADR): Likewise.
18801 (ILL_ILLTRP): Likewise.
18802 (ILL_PRVOPC): Likewise.
18803 (ILL_PRVREG): Likewise.
18804 (ILL_COPROC): Likewise.
18805 (ILL_BADSTK): Likewise.
18806 (FPE_INTDIV): Likewise.
18807 (FPE_INTOVF): Likewise.
18808 (FPE_FLTDIV): Likewise.
18809 (FPE_FLTOVF): Likewise.
18810 (FPE_FLTUND): Likewise.
18811 (FPE_FLTRES): Likewise.
18812 (FPE_FLTINV): Likewise.
18813 (FPE_FLTSUB): Likewise.
18814 (SEGV_MAPERR): Likewise.
18815 (SEGV_ACCERR): Likewise.
18816 (BUS_ADRALN): Likewise.
18817 (BUS_ADRERR): Likewise.
18818 (BUS_OBJERR): Likewise.
18819 (BUS_MCEERR_AR): Likewise.
18820 (BUS_MCEERR_AO): Likewise.
18821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18822 (TRAP_TRACE): Likewise.
18823 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18825 (CLD_KILLED): Likewise.
18826 (CLD_DUMPED): Likewise.
18827 (CLD_TRAPPED): Likewise.
18828 (CLD_STOPPED): Likewise.
18829 (CLD_CONTINUED): Likewise.
18830 (POLL_IN): Likewise.
18831 (POLL_OUT): Likewise.
18832 (POLL_MSG): Likewise.
18833 (POLL_ERR): Likewise.
18834 (POLL_PRI): Likewise.
18835 (POLL_HUP): Likewise.
18836 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18837 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18840 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18841 before #include of <time.h>.
18842 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18843 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18844 (test-xfail-UNIX98/sched.h/conform): Likewise.
18846 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18848 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18849 error absence of trapping exception support.
18850 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18852 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18854 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18855 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18856 * timezone/Makefile (testdata): Move definition above include of
18858 (test-zones): New variable.
18859 (tests-special): Add zone files.
18860 (build-testdata): Use $(evaluate-test).
18862 * elf/Makefile (tests-special): Rename tests to end with .out.
18863 ($(objpfx)noload-mem): Likewise.
18864 ($(objpfx)tst-leaks1-mem): Likewise.
18865 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18866 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18867 $(objpfx)test-iconvconfig.out.
18868 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18869 set -e inside subshell and redirect output to file.
18870 * iconvdata/Makefile (generated): Rename tests to end with .out.
18872 (tests-special): Rename tests to end with .out.
18873 ($(objpfx)mtrace-tst-loading): Likewise.
18874 * intl/Makefile (generated): Likewise.
18875 (tests-special): Likewise.
18876 ($(objpfx)mtrace-tst-gettext): Likewise.
18877 * misc/Makefile (generated): Likewise.
18878 (tests-special): Likewise.
18879 ($(objpfx)tst-error1-mem): Likewise.
18880 * nptl/Makefile (tests-special): Likewise.
18881 ($(objpfx)tst-stack3-mem): Likewise.
18882 (generated): Likewise.
18883 * posix/Makefile (generated): Likewise.
18884 (tests-special): Likewise.
18885 (xtests-special): Likewise.
18886 ($(objpfx)tst-fnmatch-mem): Likewise.
18887 ($(objpfx)bug-regex2-mem): Likewise.
18888 ($(objpfx)bug-regex14-mem): Likewise.
18889 ($(objpfx)bug-regex21-mem): Likewise.
18890 ($(objpfx)bug-regex31-mem): Likewise.
18891 ($(objpfx)tst-vfork3-mem): Likewise.
18892 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18893 ($(objpfx)tst-pcre-mem): Likewise.
18894 ($(objpfx)tst-boost-mem): Likewise.
18895 ($(objpfx)bug-ga2-mem): Likewise.
18896 ($(objpfx)bug-glob2-mem): Likewise.
18897 * resolv/Makefile (generate): Likewise.
18898 (tests-special): Likewise.
18899 (xtests-special): Likewise.
18900 (generated): Likewise.
18901 ($(objpfx)mtrace-tst-leaks): Likewise.
18902 ($(objpfx)mtrace-tst-leaks2): Likewise.
18904 * scripts/merge-test-results.sh: New file.
18905 * Makefile (tests-special-notdir): New variable.
18906 (tests): Run merge-test-results.sh.
18907 (xtests): Likewise.
18908 * Rules (tests-special-notdir): New variable.
18909 (xtests-special-notdir): Likewise.
18910 (tests): Run merge-test-results.sh
18911 (xtests): Likewise.
18913 * Makeconfig (test-xfail-name): New variable.
18914 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18915 compute variable name for expected failures.
18916 * conform/Makefile (conformtest-headers-data): New variable.
18917 (conformtest-standards): Likewise.
18918 (conformtest-headers-ISO): Likewise.
18919 (conformtest-headers-ISO99): Likewise.
18920 (conformtest-headers-ISO11): Likewise.
18921 (conformtest-headers-POSIX): Likewise.
18922 (conformtest-headers-XPG3): Likewise.
18923 (conformtest-headers-XPG4): Likewise.
18924 (conformtest-headers-UNIX98): Likewise.
18925 (conformtest-headers-XOPEN2K): Likewise.
18926 (conformtest-headers-POSIX2008): Likewise.
18927 (conformtest-headers-XOPEN2K8): Likewise.
18928 (conformtest-header-list-base): Likewise.
18929 (conformtest-header-list-tests): Likewise.
18930 (conformtest-header-base): Likewise.
18931 (conformtest-header-tests): Likewise.
18932 (tests-special): Add $(conformtest-header-list-tests). If
18933 [$(fast-check) && !$(cross-compiling)], add
18934 $(conformtest-header-tests) instead of
18935 $(objpfx)run-conformtest.out.
18936 (generated): Add $(conformtest-header-list-base). If
18937 [$(fast-check) && !$(cross-compiling)], add
18938 $(conformtest-header-base). Remove previous setting.
18939 ($(conformtest-header-list-tests)): New target.
18940 (test-xfail-run-conformtest): Remove variable.
18941 ($(objpfx)run-conformtest.out): Remove target.
18942 (test-xfail-ISO11/complex.h/conform): New variable.
18943 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18944 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18945 (test-xfail-XPG3/varargs.h/conform): Likewise.
18946 (test-xfail-XPG4/varargs.h/conform): Likewise.
18947 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18948 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18949 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18950 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18951 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18952 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18953 (test-xfail-XPG3/ftw.h/conform): Likewise.
18954 (test-xfail-XPG3/grp.h/conform): Likewise.
18955 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18956 (test-xfail-XPG3/limits.h/conform): Likewise.
18957 (test-xfail-XPG3/pwd.h/conform): Likewise.
18958 (test-xfail-XPG3/search.h/conform): Likewise.
18959 (test-xfail-XPG3/signal.h/conform): Likewise.
18960 (test-xfail-XPG3/stdio.h/conform): Likewise.
18961 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18962 (test-xfail-XPG3/string.h/conform): Likewise.
18963 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18964 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18965 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18966 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18967 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18968 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18969 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18970 (test-xfail-XPG3/termios.h/conform): Likewise.
18971 (test-xfail-XPG3/time.h/conform): Likewise.
18972 (test-xfail-XPG3/unistd.h/conform): Likewise.
18973 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18974 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18975 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18976 (test-xfail-XPG4/netdb.h/conform): Likewise.
18977 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18978 (test-xfail-XPG4/signal.h/conform): Likewise.
18979 (test-xfail-XPG4/stdio.h/conform): Likewise.
18980 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18981 (test-xfail-XPG4/stropts.h/conform): Likewise.
18982 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18983 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18984 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18985 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18986 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18987 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18988 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18989 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18990 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18991 (test-xfail-XPG4/termios.h/conform): Likewise.
18992 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18993 (test-xfail-XPG4/unistd.h/conform): Likewise.
18994 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18995 (test-xfail-POSIX/sched.h/conform): Likewise.
18996 (test-xfail-POSIX/signal.h/conform): Likewise.
18997 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18998 (test-xfail-POSIX/tar.h/conform): Likewise.
18999 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19000 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19001 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19002 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19003 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19004 (test-xfail-UNIX98/sched.h/conform): Likewise.
19005 (test-xfail-UNIX98/signal.h/conform): Likewise.
19006 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19007 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19008 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19009 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19010 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19011 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19012 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19013 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19014 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19015 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19016 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19017 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19018 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19019 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19020 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19021 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19022 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19023 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19024 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19025 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19026 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19027 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19028 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19029 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19030 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19031 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19032 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19033 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19034 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19035 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19036 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19037 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19038 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19039 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19040 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19041 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19042 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19043 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19044 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19045 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19046 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19047 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19048 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19049 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19050 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19051 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19052 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19053 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19054 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19055 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19056 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19057 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19058 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19059 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19060 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19061 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19062 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19063 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19064 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19065 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19066 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19067 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19068 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19069 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19070 (conformtest-cc-flags): Likewise.
19071 ($(conformtest-header-tests): New target.
19072 * conform/check-header-lists.sh: New file.
19073 * conform/run-conformtest.sh: Remove.
19075 * conform/conformtest.pl: Allow ' and \ in values given for
19077 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19079 [POSIX] (sys/types.h): Likewise.
19080 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19082 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19084 * conform/data/signal.h-data (SIGIO): Remove expectation.
19085 [XPG3] (SIGBUS): Do not expect.
19086 [POSIX || XPG3] (SIGPOLL): Likewise.
19087 [POSIX || XPG3] (SIGPROF): Likewise.
19088 [POSIX || XPG3] (SIGSYS): Likewise.
19089 [XPG3] (SIGTRAP): Likewise.
19090 [POSIX || XPG3] (SIGURG): Likewise.
19091 [POSIX || XPG3] (SIGVTALRM): Likewise.
19092 [POSIX || XPG3] (SIGXCPU): Likewise.
19093 [POSIX || XPG3] (SIGXFSZ): Likewise.
19094 [POSIX] (SA_SIGINFO): Expect.
19095 [XPG3] (siginfo_t): Do not expect type or contents.
19096 [POSIX] (si_pid): Do not expect element.
19097 [POSIX] (si_uid): Likewise.
19098 [POSIX] (si_addr): Likewise.
19099 [POSIX] (si_status): Likewise.
19100 [POSIX] (si_band): Likewise.
19101 [XPG4] (si_value): Likewise.
19102 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19103 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19104 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19105 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19106 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19107 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19108 [POSIX || XPG3] (ILL_COPROC): Likewise.
19109 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19110 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19111 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19112 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19113 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19114 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19115 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19116 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19117 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19118 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19119 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19120 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19121 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19122 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19123 [POSIX || XPG3] (CLD_EXITED): Likewise.
19124 [POSIX || XPG3] (CLD_KILLED): Likewise.
19125 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19126 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19127 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19128 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19129 [POSIX || XPG3] (POLL_IN): Likewise.
19130 [POSIX || XPG3] (POLL_OUT): Likewise.
19131 [POSIX || XPG3] (POLL_MSG): Likewise.
19132 [POSIX || XPG3] (POLL_ERR): Likewise.
19133 [POSIX || XPG3] (POLL_PRI): Likewise.
19134 [POSIX || XPG3] (POLL_HUP): Likewise.
19135 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19136 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19137 (SIG*): Do not allow.
19138 [XPG3] (si_*): Likewise.
19139 [XPG3] (SI_*): Likewise.
19140 [XPG3 || XPG4] (sigev_*): Likewise.
19141 [XPG3 || XPG4] (SIGEV_*): Likewise.
19142 [XPG3 || XPG4] (sival_*): Likewise.
19143 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19144 [POSIX || XPG3] (BUS_*): Likewise.
19145 [POSIX || XPG3] (CLD_*): Likewise.
19146 [POSIX || XPG3] (FPE_*): Likewise.
19147 [POSIX || XPG3] (ILL_*): Likewise.
19148 [POSIX || XPG3] (POLL_*): Likewise.
19149 [POSIX || XPG3] (SEGV_*): Likewise.
19150 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19151 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19152 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19153 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19154 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19155 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19156 Specify type and value.
19157 (TVERSLEN): Likewise.
19158 (REGTYPE): Likewise.
19159 (AREGTYPE): Likewise.
19160 (LNKTYPE): Likewise.
19161 (SYMTYPE): Likewise.
19162 (CHRTYPE): Likewise.
19163 (BLKTYPE): Likewise.
19164 (DIRTYPE): Likewise.
19165 (FIFOTYPE): Likewise.
19166 (CONTTYPE): Likewise.
19170 (TUREAD): Likewise.
19171 (TUWRITE): Likewise.
19172 (TUEXEC): Likewise.
19173 (TGREAD): Likewise.
19174 (TGWRITE): Likewise.
19175 (TGEXEC): Likewise.
19176 (TOREAD): Likewise.
19177 (TOWRITE): Likewise.
19178 (TOEXEC): Likewise.
19179 [POSIX] (TSVTX): Expect constant.
19181 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19183 * Makefile (tests): Change dependencies to ....
19184 (tests-special): ... additions to this variable.
19185 (tests): Depend on $(tests-special).
19186 * Makerules (check-abi-list): New variable.
19187 (check-abi): Depend on $(check-abi-list).
19188 [$(subdir) = elf] (tests-special): Add
19189 $(objpfx)check-abi-libc.out.
19190 [$(build-shared) = yes && subdir] (tests-special): Add
19192 [$(build-shared) = yes && subdir] (tests): Do not depend on
19194 * Rules (tests): Depend on $(tests-special).
19195 (xtests): Depend on $(xtests-special).
19196 * catgets/Makefile (tests): Change dependencies to ....
19197 (tests-special): ... additions to this variable.
19198 * conform/Makefile (tests): Change dependencies to ....
19199 (tests-special): ... additions to this variable.
19200 * elf/Makefile (tests): Change dependencies to ....
19201 (tests-special): ... additions to this variable.
19202 * grp/Makefile (tests): Change dependencies to ....
19203 (tests-special): ... additions to this variable.
19204 * iconv/Makefile (xtests): Change dependencies to ....
19205 (xtests-special): ... additions to this variable.
19206 * iconvdata/Makefile (tests): Change dependencies to ....
19207 (tests-special): ... additions to this variable.
19208 * intl/Makefile (tests): Change dependencies to ....
19209 (tests-special): ... additions to this variable. Also add
19210 $(objpfx)tst-gettext.out.
19211 * io/Makefile (tests): Change dependencies to ....
19212 (tests-special): ... additions to this variable.
19213 * libio/Makefile (tests): Change dependencies to ....
19214 (tests-special): ... additions to this variable.
19215 * malloc/Makefile (tests): Change dependencies to ....
19216 (tests-special): ... additions to this variable.
19217 * misc/Makefile (tests): Change dependencies to ....
19218 (tests-special): ... additions to this variable.
19219 * nptl/Makefile (tests): Change dependencies to ....
19220 (tests-special): ... additions to this variable.
19221 * nptl_db/Makefile (tests): Change dependencies to ....
19222 (tests-special): ... additions to this variable.
19223 * posix/Makefile (tests): Change dependencies to ....
19224 (tests-special): ... additions to this variable.
19225 (xtests): Change dependencies to ....
19226 (xtests-special): ... additions to this variable.
19227 * resolv/Makefile (tests): Change dependencies to ....
19228 (tests-special): ... additions to this variable.
19229 (xtests): Change dependencies to ....
19230 (xtests-special): ... additions to this variable.
19231 * stdio-common/Makefile (tests): Change dependencies to ....
19232 (tests-special): ... additions to this variable.
19233 (do-tst-unbputc): Remove target.
19234 (do-tst-printf): Likewise.
19235 * stdlib/Makefile (tests): Change dependencies to ....
19236 (tests-special): ... additions to this variable.
19237 * string/Makefile (tests): Change dependencies to ....
19238 (tests-special): ... additions to this variable.
19239 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19240 (tests-special): ... additions to this variable.
19242 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19244 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19246 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19247 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19249 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19250 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19251 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19252 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19253 * conform/data/libgen.h-data [XPG3]: Likewise.
19254 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19255 * conform/data/ndbm.h-data [XPG3]: Likewise.
19256 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19257 * conform/data/netdb.h-data [XPG3]: Likewise.
19258 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19259 * conform/data/poll.h-data [XPG3]: Likewise.
19260 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19261 * conform/data/strings.h-data [XPG3]: Likewise.
19262 * conform/data/stropts.h-data [XPG3]: Likewise.
19263 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19264 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19265 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19267 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19268 * conform/data/sys/time.h-data [XPG3]: Likewise.
19269 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19270 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19271 * conform/data/sys/un.h-data [XPG3]: Likewise.
19272 * conform/data/syslog.h-data [XPG3]: Likewise.
19273 * conform/data/ucontext.h-data [XPG3]: Likewise.
19274 * conform/data/utmpx.h-data [XPG3]: Likewise.
19275 * conform/data/varargs.h-data [UNIX98]: Enable file.
19277 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19279 * math/libm-test.inc (struct test_f_f_data): Move expected results
19280 into structure for each rounding mode.
19281 (struct test_ff_f_data): Likewise.
19282 (struct test_ff_f_data_nexttoward): Likewise.
19283 (struct test_fi_f_data): Likewise.
19284 (struct test_fl_f_data): Likewise.
19285 (struct test_if_f_data): Likewise.
19286 (struct test_fff_f_data): Likewise.
19287 (struct test_c_f_data): Likewise.
19288 (struct test_f_f1_data): Likewise.
19289 (struct test_fF_f1_data): Likewise.
19290 (struct test_ffI_f1_data): Likewise.
19291 (struct test_c_c_data): Likewise.
19292 (struct test_cc_c_data): Likewise.
19293 (struct test_f_i_data): Likewise.
19294 (struct test_ff_i_data): Likewise.
19295 (struct test_f_l_data): Likewise.
19296 (struct test_f_L_data): Likewise.
19297 (struct test_fFF_11_data): Likewise.
19299 (RM_FE_DOWNWARD): Likewise.
19300 (RM_FE_TONEAREST): Likewise.
19301 (RM_FE_TOWARDZERO): Likewise.
19302 (RM_FE_UPWARD): Likewise.
19303 (RUN_TEST_LOOP_f_f): Update references to expected results.
19304 (RUN_TEST_LOOP_2_f): Likewise.
19305 (RUN_TEST_LOOP_fff_f): Likewise.
19306 (RUN_TEST_LOOP_c_f): Likewise.
19307 (RUN_TEST_LOOP_f_f1): Likewise.
19308 (RUN_TEST_LOOP_fF_f1): Likewise.
19309 (RUN_TEST_LOOP_fI_f1): Likewise.
19310 (RUN_TEST_LOOP_ffI_f1): Likewise.
19311 (RUN_TEST_LOOP_c_c): Likewise.
19312 (RUN_TEST_LOOP_cc_c): Likewise.
19313 (RUN_TEST_LOOP_f_i): Likewise.
19314 (RUN_TEST_LOOP_f_i_tg): Likewise.
19315 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19316 (RUN_TEST_LOOP_f_b): Likewise.
19317 (RUN_TEST_LOOP_f_b_tg): Likewise.
19318 (RUN_TEST_LOOP_f_l): Likewise.
19319 (RUN_TEST_LOOP_f_L): Likewise.
19320 (RUN_TEST_LOOP_fFF_11): Likewise.
19321 * math/gen-libm-test.pl (parse_args): Output four copies of
19322 expected results for each test.
19324 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19325 (__ASSUME_UTIMES): Remove.
19326 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19327 (__ASSUME_UTIMES): Likewise.
19329 * math/gen-auto-libm-tests.c: Update comment on output format.
19330 (output_for_one_input_case): Generate before-rounding and
19331 after-rounding information as conditions on output flags not
19332 floating-point format.
19333 * math/auto-libm-test-out: Regenerated.
19334 * math/gen-libm-test.pl (cond_value): New function.
19335 (or_cond_value): Use cond_value.
19336 (generate_testfile): Handle conditional exceptions.
19338 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19340 * math/libm-test.inc (max_valid_error): New variable.
19341 (init_max_error): Take new argument specifying whether function
19342 results are exactly determined. Set max_valid_error and bound
19343 other variables for errors based on this argument.
19344 (set_max_error): Do not record results above max_valid_error.
19345 (check_float_internal): Only accept errors of up to 0.5ulps if
19346 also at most max_valid_error.
19347 (START): Take new argument EXACT and pass it to init_max_error.
19348 (acos_test): Update call to START.
19349 (acos_test_tonearest): Likewise.
19350 (acos_test_towardzero): Likewise.
19351 (acos_test_downward): Likewise.
19352 (acos_test_upward): Likewise.
19353 (acosh_test): Likewise.
19354 (asin_test): Likewise.
19355 (asin_test_tonearest): Likewise.
19356 (asin_test_towardzero): Likewise.
19357 (asin_test_downward): Likewise.
19358 (asin_test_upward): Likewise.
19359 (asinh_test): Likewise.
19360 (atan_test): Likewise.
19361 (atanh_test): Likewise.
19362 (atan2_test): Likewise.
19363 (cabs_test): Likewise.
19364 (cacos_test): Likewise.
19365 (cacosh_test): Likewise.
19366 (carg_test): Likewise.
19367 (casin_test): Likewise.
19368 (casinh_test): Likewise.
19369 (catan_test): Likewise.
19370 (catanh_test): Likewise.
19371 (cbrt_test): Likewise.
19372 (ccos_test): Likewise.
19373 (ccosh_test): Likewise.
19374 (ceil_test): Likewise.
19375 (cexp_test): Likewise.
19376 (cimag_test): Likewise.
19377 (clog_test): Likewise.
19378 (clog10_test): Likewise.
19379 (conj_test): Likewise.
19380 (copysign_test): Likewise.
19381 (cos_test): Likewise.
19382 (cos_test_tonearest): Likewise.
19383 (cos_test_towardzero): Likewise.
19384 (cos_test_downward): Likewise.
19385 (cos_test_upward): Likewise.
19386 (cosh_test): Likewise.
19387 (cosh_test_tonearest): Likewise.
19388 (cosh_test_towardzero): Likewise.
19389 (cosh_test_downward): Likewise.
19390 (cosh_test_upward): Likewise.
19391 (cpow_test): Likewise.
19392 (cproj_test): Likewise.
19393 (creal_test): Likewise.
19394 (csin_test): Likewise.
19395 (csinh_test): Likewise.
19396 (csqrt_test): Likewise.
19397 (ctan_test): Likewise.
19398 (ctan_test_tonearest): Likewise.
19399 (ctan_test_towardzero): Likewise.
19400 (ctan_test_downward): Likewise.
19401 (ctan_test_upward): Likewise.
19402 (ctanh_test): Likewise.
19403 (ctanh_test_tonearest): Likewise.
19404 (ctanh_test_towardzero): Likewise.
19405 (ctanh_test_downward): Likewise.
19406 (ctanh_test_upward): Likewise.
19407 (erf_test): Likewise.
19408 (erfc_test): Likewise.
19409 (exp_test): Likewise.
19410 (exp_test_tonearest): Likewise.
19411 (exp_test_towardzero): Likewise.
19412 (exp_test_downward): Likewise.
19413 (exp_test_upward): Likewise.
19414 (exp10_test): Likewise.
19415 (exp10_test_tonearest): Likewise.
19416 (exp10_test_towardzero): Likewise.
19417 (exp10_test_downward): Likewise.
19418 (exp10_test_upward): Likewise.
19419 (pow10_test): Likewise.
19420 (exp2_test): Likewise.
19421 (expm1_test): Likewise.
19422 (expm1_test_tonearest): Likewise.
19423 (expm1_test_towardzero): Likewise.
19424 (expm1_test_downward): Likewise.
19425 (expm1_test_upward): Likewise.
19426 (fabs_test): Likewise.
19427 (fdim_test): Likewise.
19428 (floor_test): Likewise.
19429 (fma_test): Likewise.
19430 (fma_test_towardzero): Likewise.
19431 (fma_test_downward): Likewise.
19432 (fma_test_upward): Likewise.
19433 (fmax_test): Likewise.
19434 (fmin_test): Likewise.
19435 (fmod_test): Likewise.
19436 (fpclassify_test): Likewise.
19437 (frexp_test): Likewise.
19438 (hypot_test): Likewise.
19439 (ilogb_test): Likewise.
19440 (isfinite_test): Likewise.
19441 (finite_test): Likewise.
19442 (isgreater_test): Likewise.
19443 (isgreaterequal_test): Likewise.
19444 (isinf_test): Likewise.
19445 (isless_test): Likewise.
19446 (islessequal_test): Likewise.
19447 (islessgreater_test): Likewise.
19448 (isnan_test): Likewise.
19449 (isnormal_test): Likewise.
19450 (issignaling_test): Likewise.
19451 (isunordered_test): Likewise.
19452 (j0_test): Likewise.
19453 (j1_test): Likewise.
19454 (jn_test): Likewise.
19455 (ldexp_test): Likewise.
19456 (lgamma_test): Likewise.
19457 (gamma_test): Likewise.
19458 (lrint_test): Likewise.
19459 (lrint_test_tonearest): Likewise.
19460 (lrint_test_towardzero): Likewise.
19461 (lrint_test_downward): Likewise.
19462 (lrint_test_upward): Likewise.
19463 (llrint_test): Likewise.
19464 (llrint_test_tonearest): Likewise.
19465 (llrint_test_towardzero): Likewise.
19466 (llrint_test_downward): Likewise.
19467 (llrint_test_upward): Likewise.
19468 (log_test): Likewise.
19469 (log10_test): Likewise.
19470 (log1p_test): Likewise.
19471 (log2_test): Likewise.
19472 (logb_test): Likewise.
19473 (logb_test_downward): Likewise.
19474 (lround_test): Likewise.
19475 (llround_test): Likewise.
19476 (modf_test): Likewise.
19477 (nearbyint_test): Likewise.
19478 (nextafter_test): Likewise.
19479 (nexttoward_test): Likewise.
19480 (pow_test): Likewise.
19481 (pow_test_tonearest): Likewise.
19482 (pow_test_towardzero): Likewise.
19483 (pow_test_downward): Likewise.
19484 (pow_test_upward): Likewise.
19485 (remainder_test): Likewise.
19486 (drem_test): Likewise.
19487 (remainder_test_tonearest): Likewise.
19488 (drem_test_tonearest): Likewise.
19489 (remainder_test_towardzero): Likewise.
19490 (drem_test_towardzero): Likewise.
19491 (remainder_test_downward): Likewise.
19492 (drem_test_downward): Likewise.
19493 (remainder_test_upward): Likewise.
19494 (drem_test_upward): Likewise.
19495 (remquo_test): Likewise.
19496 (rint_test): Likewise.
19497 (rint_test_tonearest): Likewise.
19498 (rint_test_towardzero): Likewise.
19499 (rint_test_downward): Likewise.
19500 (rint_test_upward): Likewise.
19501 (round_test): Likewise.
19502 (scalb_test): Likewise.
19503 (scalbn_test): Likewise.
19504 (scalbln_test): Likewise.
19505 (signbit_test): Likewise.
19506 (sin_test): Likewise.
19507 (sin_test_tonearest): Likewise.
19508 (sin_test_towardzero): Likewise.
19509 (sin_test_downward): Likewise.
19510 (sin_test_upward): Likewise.
19511 (sincos_test): Likewise.
19512 (sinh_test): Likewise.
19513 (sinh_test_tonearest): Likewise.
19514 (sinh_test_towardzero): Likewise.
19515 (sinh_test_downward): Likewise.
19516 (sinh_test_upward): Likewise.
19517 (sqrt_test): Likewise.
19518 (sqrt_test_tonearest): Likewise.
19519 (sqrt_test_towardzero): Likewise.
19520 (sqrt_test_downward): Likewise.
19521 (sqrt_test_upward): Likewise.
19522 (tan_test): Likewise.
19523 (tan_test_tonearest): Likewise.
19524 (tan_test_towardzero): Likewise.
19525 (tan_test_downward): Likewise.
19526 (tan_test_upward): Likewise.
19527 (tanh_test): Likewise.
19528 (tgamma_test): Likewise.
19529 (trunc_test): Likewise.
19530 (y0_test): Likewise.
19531 (y1_test): Likewise.
19532 (yn_test): Likewise.
19533 (significand_test): Likewise.
19535 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19536 individual tests in comment.
19537 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19538 (prev_max_error): New variable.
19539 (prev_real_max_error): Likewise.
19540 (prev_imag_max_error): Likewise.
19541 (compare_ulp_data): Don't refer to test names in comment.
19542 (find_test_ulps): Remove function.
19543 (find_function_ulps): Likewise.
19544 (find_complex_function_ulps): Likewise.
19545 (init_max_error): Take function name as argument. Look up ulps
19547 (print_ulps): Remove function.
19548 (print_max_error): Use prev_max_error instead of calling
19549 find_function_ulps.
19550 (print_complex_max_error): Use prev_real_max_error and
19551 prev_imag_max_error instead of calling find_complex_function_ulps.
19552 (check_float_internal): Take max_ulp parameter instead of calling
19553 find_test_ulps. Don't call print_ulps.
19554 (check_float): Update call to check_float_internal.
19555 (check_complex): Update calls to check_float_internal.
19556 (START): Pass argument to init_max_error.
19557 * math/gen-libm-test.pl (%results): Don't include "kind"
19559 (parse_ulps): Don't handle ulps of individual tests.
19560 (print_ulps_file): Likewise.
19561 (output_ulps): Likewise.
19562 * math/README.libm-test: Update.
19563 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19565 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19566 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19567 * sysdeps/arm/libm-test-ulps: Likewise.
19568 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19569 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19570 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19571 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19572 * sysdeps/microblaze/libm-test-ulps: Likewise.
19573 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19574 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19576 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19577 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19578 * sysdeps/sh/libm-test-ulps: Likewise.
19579 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19580 * sysdeps/tile/libm-test-ulps: Likewise.
19581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19583 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19585 * math/libm-test.inc (print_complex_max_error): Check separately
19586 whether real and imaginary errors are within allowed range and
19587 pass 0 to print_complex_function_ulps instead of value within
19590 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19592 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19594 (get_handles_fopen): Likewise.
19595 (do_write_test): Likewise.
19597 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19599 * libio/fileops.c (do_ftell): Use cached offset when
19601 * libio/iofwide.c (do_ftell_wide): Likewise.
19602 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19604 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19607 * libio/libioP.h (get_file_offset): New function.
19608 * libio/fileops.c (get_file_offset): Likewise.
19609 (do_ftell): Likewise.
19610 (_IO_new_file_seekoff): Split out ftell logic.
19611 * libio/wfileops.c (do_ftell_wide): Likewise.
19612 (_IO_wfile_seekoff): Split out ftell logic.
19613 * libio/tst-ftell-active-handler.c: New test case.
19614 * libio/Makefile (tests): Add it.
19616 2014-03-03 Roland McGrath <roland@hack.frob.com>
19618 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19619 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19621 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19624 * nscd/connections.c (nscd_init): Call do_exit.
19625 (start_threads): Call do_exit and notify_parent.
19626 (begin_drop_privileges): Call do_exit.
19627 (finish_drop_privileges): Likewise.
19628 * nscd/selinux.c (preserve_capabilities): Likewise.
19629 (install_real_capabilities): Likewise.
19630 (nscd_selinux_enabled): Likewise.
19631 (avc_create_thread): Likewise.
19632 (avc_alloc_lock): Likewise.
19633 (nscd_avc_init): Likewise.
19634 * nscd/nscd.c (parent_fd): New static variable.
19635 (main): Create a pipe between parent and child processes.
19636 Skip closing parent_fd.
19637 (monitor_child): New function.
19638 (do_exit): Likewise.
19639 (notify_parent): Likewise.
19640 * nscd/nscd.h (notify_parent): Likewise.
19641 (do_exit): Likewise.
19643 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19645 * malloc/malloc.c (__libc_calloc): Revert last change.
19647 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19653 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19657 (__libc_ifunc_impl_list): Likewise.
19658 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19661 * string/strrchr.c: Define STRRCHR.
19663 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19665 * benchtest/bench-strtok.c (simple_strtok): Delete.
19666 (strtok_string): Use as benchmark.
19667 * string/strtok (STRTOK): New macro.
19669 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19671 * manual/threads.texi: Add header and standard comments to all
19674 * elf/dl-lookup.c (check_match): New function.
19675 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19676 (do_lookup_x): Remove nested function check_match. Use non-nested
19677 function check_match.
19679 2014-02-28 Roland McGrath <roland@hack.frob.com>
19681 * csu/Makefile (generated, before-compile): Use += rather than =.
19682 * catgets/Makefile (generated, generated-dirs): Likewise.
19683 * debug/Makefile (generated): Likewise.
19684 * dlfcn/Makefile (generated): Likewise.
19685 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19686 * iconvdata/Makefile (before-compile, generated): Likewise.
19687 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19688 * libio/Makefile (generated): Likewise.
19689 * malloc/Makefile (generated): Likewise.
19690 * manual/Makefile (generated, generated-dirs): Likewise.
19691 * misc/Makefile (generated): Likewise.
19692 * posix/Makefile (generated): Likewise.
19693 * resolv/Makefile (generated): Likewise.
19694 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19695 * timezone/Makefile (generated, generated-dirs): Likewise.
19697 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19699 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19702 power8 implementation.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19704 file: POWER8 llround ifunc implementation.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19706 (__lllround): Add POWER8 implementation.
19707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19708 POWER8 llround implementation.
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19711 power8 implementation.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19713 file: POWER8 llrint ifunc implementation.
19714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19715 Add POWER8 implementation.
19716 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19717 POWER8 llrint implementation.
19719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19720 power8 implementation.
19721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19722 file: POWER8 finite ifunc implementation.
19723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19724 Add POWER8 implementation.
19725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19727 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19728 POWER8 finite implementation.
19729 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19732 power8 implementation.
19733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19734 file: POWER8 isinf ifunc implementation.
19735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19736 POWER8 implementation.
19737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19740 isinf implementation.
19741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19743 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19744 (INIT_ARCH): Add hwcap2 initialization.
19745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19746 power8 implementation.
19747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19748 file: POWER8 isnan ifunc implementation.
19749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19750 POWER8 implementation.
19751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19754 isnan implementation.
19755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19757 2014-02-27 Joey Ye <joey.ye@arm.com>
19759 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19760 (_FP_NANFRAC_Q): Set to zero.
19762 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19765 * math/auto-libm-test-in: New test inputs.
19766 * math/auto-libm-test-out: Regenerate.
19767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19770 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19772 2014-02-27 Joseph Myers <joseph@codesourcery.com>
19774 * scripts/evaluate-test.sh: Take new argument indicating whether
19775 failure is expected.
19776 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19777 indicating whether failure is expected.
19778 * conform/Makefile (test-xfail-run-conformtest): New variable.
19779 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19781 * posix/Makefile (test-xfail-annexc): New variable.
19782 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19784 2014-02-26 Joseph Myers <joseph@codesourcery.com>
19786 * argp/Makefile: Include Makeconfig immediately after defining
19788 * assert/Makefile: Likewise.
19789 * benchtests/Makefile: Likewise.
19790 * catgets/Makefile: Likewise.
19791 * conform/Makefile: Likewise.
19792 * crypt/Makefile: Likewise.
19793 * csu/Makefile: Likewise.
19794 (all): Remove target.
19795 * ctype/Makefile: Include Makeconfig immediately after defining
19797 * debug/Makefile: Likewise.
19798 * dirent/Makefile: Likewise.
19799 * dlfcn/Makefile: Likewise.
19800 * gmon/Makefile: Likewise.
19801 * gnulib/Makefile: Likewise.
19802 * grp/Makefile: Likewise.
19803 * gshadow/Makefile: Likewise.
19804 * hesiod/Makefile: Likewise.
19805 * hurd/Makefile: Likewise.
19806 (all): Remove target.
19807 * iconvdata/Makefile: Include Makeconfig immediately after
19809 * inet/Makefile: Likewise.
19810 * intl/Makefile: Likewise.
19811 * io/Makefile: Likewise.
19812 * libio/Makefile: Likewise.
19813 (all): Remove target.
19814 * locale/Makefile: Include Makeconfig immediately after defining
19816 * login/Makefile: Likewise.
19817 * mach/Makefile: Likewise.
19818 (all): Remove target.
19819 * malloc/Makefile: Include Makeconfig immediately after defining
19821 (all): Remove target.
19822 * manual/Makefile: Include Makeconfig immediately after defining
19824 * math/Makefile: Likewise.
19825 * misc/Makefile: Likewise.
19826 * nis/Makefile: Likewise.
19827 * nss/Makefile: Likewise.
19828 * po/Makefile: Likewise.
19829 (all): Remove target.
19830 * posix/Makefile: Include Makeconfig immediately after defining
19832 * pwd/Makefile: Likewise.
19833 * resolv/Makefile: Likewise.
19834 * resource/Makefile: Likewise.
19835 * rt/Makefile: Likewise.
19836 * setjmp/Makefile: Likewise.
19837 * shadow/Makefile: Likewise.
19838 * signal/Makefile: Likewise.
19839 * socket/Makefile: Likewise.
19840 * soft-fp/Makefile: Likewise.
19841 * stdio-common/Makefile: Likewise.
19842 * stdlib/Makefile: Likewise.
19843 * streams/Makefile: Likewise.
19844 * string/Makefile: Likewise.
19845 * sunrpc/Makefile: Likewise.
19846 (all): Remove target.
19847 * sysvipc/Makefile: Include Makeconfig immediately after defining
19849 * termios/Makefile: Likewise.
19850 * time/Makefile: Likewise.
19851 * timezone/Makefile: Likewise.
19852 (all): Remove target.
19853 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19855 * wctype/Makefile: Likewise.
19857 2014-02-26 Steve Ellcey <sellcey@mips.com>
19859 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19860 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19861 (libc_feholdexcept_setround_mips): Ditto.
19862 (libc_feholdsetround): New.
19863 (libc_feholdsetroundf): New.
19864 (libc_feholdsetroundl): New.
19865 (libc_feupdateenv_test_mips): New.
19866 (libc_feupdateenv_test): New.
19867 (libc_feupdateenv_testf): New.
19868 (libc_feupdateenv_testl): New.
19869 (libc_feresetround): New.
19870 (libc_feresetroundf): New.
19871 (libc_feresetroundl): New.
19872 (libc_fetestexcept_mips): New.
19873 (libc_fetestexcept): New.
19874 (libc_fetestexceptf): New.
19875 (libc_fetestexceptl): New.
19876 (HAVE_RM_CTX): New.
19877 (libc_feholdexcept_setround_mips_ctx): New.
19878 (libc_feholdexcept_setround_ctx): New.
19879 (libc_feholdexcept_setroundf_ctx): New.
19880 (libc_feholdexcept_setroundl_ctx): New.
19881 (libc_fesetenv_mips_ctx): New.
19882 (libc_fesetenv_ctx): New.
19883 (libc_fesetenv_ctxf): New.
19884 (libc_fesetenv_ctxl): New.
19885 (libc_feupdateenv_mips_ctx): New.
19886 (libc_feupdateenv_ctx): New.
19887 (libc_feupdateenvf_ctx): New.
19888 (libc_feupdateenvl_ctx): New.
19889 (libc_feholdsetround_mips_ctx): New.
19890 (libc_feholdsetround_ctx): New.
19891 (libc_feholdsetroundf_ctx): New.
19892 (libc_feholdsetroundl_ctx): New.
19893 (libc_feresetround_mips_ctx): New.
19894 (libc_feresetround_ctx): New.
19895 (libc_feresetroundf_ctx): New.
19896 (libc_feresetroundl_ctx): New.
19898 2014-02-26 Carlos O'Donell <carlos@redhat.com>
19900 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19902 * manual/ipc.texi: New file.
19903 * manual/Makefile (chapters): Add ipc.
19904 * manual/job.texi: Add "Inter-Process Communication" to next.
19905 * manual/process.texi: Add "Inter-Process Communication" to prev.
19907 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19911 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
19913 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19915 * manual/arith.texi: Fix spaces after sentences.
19916 * manual/charset.texi: Likewise.
19917 * manual/errno.texi: Likewise.
19918 * manual/install.texi: Likewise.
19919 * manual/llio.texi: Likewise.
19920 * manual/locale.texi: Likewise.
19921 * manual/maint.texi: Likewise.
19922 * manual/math.texi: Likewise.
19923 * manual/memory.texi: Likewise.
19924 * manual/message.texi: Likewise.
19925 * manual/probes.texi: Likewise.
19926 * manual/resource.texi: Likewise.
19927 * manual/signal.texi: Likewise.
19928 * manual/socket.texi: Likewise.
19929 * manual/stdio.texi: Likewise.
19930 * manual/string.texi: Likewise.
19931 * manual/time.texi: Likewise.
19932 * manual/users.texi: Likewise.
19934 2014-02-25 Carlos O'Donell <carlos@redhat.com>
19937 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19938 _DEFAULT_SOURCE is defined.
19940 2014-02-25 Ulrich Drepper <drepper@gmail.com>
19941 Carlos O'Donell <carlos@redhat.com>
19944 * elf/dl-tls.c (_dl_count_modids): New function.
19945 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19946 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19947 audit library and increment generation counter.
19948 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19949 * elf/tst-audit9.c: New file.
19950 * elf/tst-auditmod9a.c: New file.
19951 * elf/tst-auditmod9b.c: New file.
19952 * elf/Makefile: Add rules to build and run tst-audit9.
19954 2014-02-25 Florian Weimer <fweimer@redhat.com>
19957 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19959 2014-02-25 Will Newton <will.newton@linaro.org>
19961 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19962 (__longjmp): Restore sp and lr before restoring callee
19963 saved registers. Add longjmp and longjmp_target
19964 SystemTap probe point.
19965 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19966 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19967 Define to zero to match jmpbuf layout.
19968 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19969 (__sigsetjmp): Save sp and lr before saving callee
19970 saved registers. Add setjmp SystemTap probe point.
19972 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19976 2014-02-24 Andreas Schwab <schwab@suse.de>
19979 * elf/pldd.c (wait_for_ptrace_stop): New function.
19980 (main): Call it after attaching.
19982 2014-02-22 Roland McGrath <roland@hack.frob.com>
19984 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19985 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19986 Versions files is now verboten.
19987 * hurd/Versions (libc: GLIBC_2.0):
19988 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19989 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19990 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19991 * mach/Versions: Likewise.
19993 * csu/Versions: Remove unused %include.
19994 * resolv/Versions: Likewise.
19996 2014-02-21 Joseph Myers <joseph@codesourcery.com>
19998 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19999 ($(objpfx)check-local-headers.out): Likewise.
20000 ($(objpfx)begin-end-check.out): Likewise.
20001 * Makerules (check-abi-%.out): Likewise.
20002 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20003 ($(objpfx)test2.cat): Likewise.
20004 ($(objpfx)de/libc.cat): Likewise.
20005 ($(objpfx)test-gencat.out): Likewise.
20006 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20007 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20008 ($(objpfx)noload-mem): Likewise.
20009 ($(objpfx)tst-pathopt.out): Likewise.
20010 ($(objpfx)tst-rtld-load-self.out): Likewise.
20011 ($(objpfx)tst-array1-cmp.out): Likewise.
20012 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20013 ($(objpfx)tst-array2-cmp.out): Likewise.
20014 ($(objpfx)tst-array3-cmp.out): Likewise.
20015 ($(objpfx)tst-array4-cmp.out): Likewise.
20016 ($(objpfx)tst-array5-cmp.out): Likewise.
20017 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20018 ($(objpfx)check-textrel.out): Likewise.
20019 ($(objpfx)check-execstack.out): Likewise.
20020 ($(objpfx)check-localplt.out): Likewise.
20021 ($(objpfx)order2-cmp.out): Likewise.
20022 ($(objpfx)tst-leaks1-mem): Likewise.
20023 ($(objpfx)tst-leaks1-static-mem): Likewise.
20024 ($(objpfx)tst-initorder-cmp.out): Likewise.
20025 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20026 ($(objpfx)tst-unused-dep.out): Likewise.
20027 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20028 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20029 * iconv/Makefile (test-iconvconfig): Likewise.
20030 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20031 ($(objpfx)iconv-test.out): Likewise.
20032 ($(objpfx)tst-tables.out): Likewise.
20033 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20034 ($(objpfx)tst-gettext.out): Likewise.
20035 ($(objpfx)tst-translit.out): Likewise.
20036 ($(objpfx)tst-gettext2.out): Likewise.
20037 ($(objpfx)tst-gettext4.out): Likewise.
20038 ($(objpfx)tst-gettext6.out): Likewise.
20039 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20040 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20041 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20042 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20043 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20044 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20045 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20046 ($(objpfx)wordexp-tst.out): Likewise.
20047 ($(objpfx)annexc.out): Likewise.
20048 ($(objpfx)tst-fnmatch-mem): Likewise.
20049 ($(objpfx)bug-regex2-mem): Likewise.
20050 ($(objpfx)bug-regex14-mem): Likewise.
20051 ($(objpfx)bug-regex21-mem): Likewise.
20052 ($(objpfx)bug-regex31-mem): Likewise.
20053 ($(objpfx)tst-vfork3-mem): Likewise.
20054 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20055 ($(objpfx)tst-pcre-mem): Likewise.
20056 ($(objpfx)tst-boost-mem): Likewise.
20057 ($(objpfx)tst-getconf.out): Likewise.
20058 ($(objpfx)bug-ga2-mem): Likewise.
20059 ($(objpfx)bug-glob2-mem): Likewise.
20060 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20061 ($(objpfx)mtrace-tst-leaks2): Likewise.
20062 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20063 ($(objpfx)tst-printf.out): Likewise.
20064 ($(objpfx)tst-setvbuf1.out): Likewise.
20065 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20066 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20067 ($(objpfx)tst-fmtmsg.out): Likewise.
20068 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20069 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20071 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20072 * bits/sigaction.h [__USE_MISC]: Likewise.
20073 * bits/waitstatus.h: Update #endif comments.
20074 * ctype/ctype.h: Likewise.
20075 * dirent/dirent.h: Likewise.
20076 [__USE_MISC]: Remove redundant conditionals.
20077 * grp/grp.h: Update #endif comments.
20078 [__USE_GNU]: Remove redundant conditionals.
20079 [__USE_MISC]: Likewise.
20080 * inet/netinet/in.h [__USE_GNU]: Likewise.
20081 * io/sys/stat.h [__USE_MISC]: Likewise.
20082 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20083 * libio/bits/stdio.h: Update #endif comments.
20084 [__USE_MISC]: Remove redundant conditionals.
20085 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20086 * libio/stdio.h: Update #endif comments.
20087 [__USE_MISC]: Remove redundant conditionals.
20088 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20089 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20090 * math/math.h: Update #else and #endif comments.
20091 [__USE_MISC]: Remove redundant conditionals.
20092 * misc/sys/uio.h: Update #endif comments.
20093 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20094 * posix/glob.h [__USE_MISC]: Likewise.
20095 * posix/sys/types.h: Update #endif comments.
20096 [__USE_MISC]: Remove redundant conditionals.
20097 * posix/sys/wait.h: Update #endif comments.
20098 [__USE_MISC]: Remove redundant conditionals.
20099 * posix/unistd.h: Update #endif comments.
20100 [__USE_MISC]: Remove redundant conditionals.
20101 * pwd/pwd.h [__USE_GNU]: Likewise.
20102 [__USE_MISC]: Likewise.
20103 * resolv/netdb.h [__USE_GNU]: Likewise.
20104 * signal/signal.h: Update #endif comments.
20105 [__USE_MISC]: Remove redundant conditionals.
20106 * stdlib/stdlib.h: Update #else and #endif comments.
20107 [__USE_MISC]: Remove redundant conditionals.
20108 [__USE_GNU]: Likewise.
20109 * string/bits/string2.h [__USE_MISC]: Likewise.
20110 * string/string.h: Update #endif comments.
20111 [__USE_MISC]: Remove redundant conditionals.
20112 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20114 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20115 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20116 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20118 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20122 [__USE_MISC]: Remove redundant conditionals.
20123 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20124 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20125 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20126 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20127 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20129 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20130 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20132 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20133 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20135 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20137 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20140 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20142 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20143 * sysdeps/x86/bits/string.h: Update #endif comments.
20144 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20146 * time/sys/time.h: Update #endif comments.
20147 * time/time.h: Likewise.
20148 [__USE_MISC]: Remove redundant conditionals.
20150 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20153 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20155 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20157 * Versions.def (librt): Add GLIBC_2.17.
20159 2014-02-21 Adam Conrad <adconrad@0c3.net>
20161 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20162 synonym for _SYS_AUXV_H to allow direct inclusion.
20163 * sysdeps/sparc/bits/hwcap.h: Likewise.
20164 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20165 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20166 * sysdeps/sparc/sysdep.h: Likewise.
20168 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20170 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20172 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20174 * benchtests/bench-strrchr.c: Print length instead of position.
20176 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20179 * sysdeps/unix/sysv/linux/kernel-features.h
20180 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20181 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20182 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20183 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20185 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20186 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20187 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20188 (__ASSUME_SENDMMSG): Define instead of using previous
20189 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20190 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20191 (__ASSUME_SENDMMSG_SYSCALL): Define.
20192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20193 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20196 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20198 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20199 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20202 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20203 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20204 [__ASSUME_SENDMMSG]: Change conditionals to
20205 [__ASSUME_SENDMMSG_SOCKETCALL].
20206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20207 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20209 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20210 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20212 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20213 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20214 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20215 [!__ASSUME_SENDMMSG]: Change conditional to
20216 [!__ASSUME_SENDMMSG_SOCKETCALL].
20217 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20218 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20222 * sysdeps/unix/sysv/linux/kernel-features.h
20223 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20224 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20225 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20226 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20227 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20228 [__i386__ || __sparc__]
20229 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20230 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20231 (__ASSUME_RECVMMSG): Define instead of using previous
20232 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20233 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20234 (__ASSUME_RECVMMSG_SYSCALL): Define.
20235 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20238 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20239 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20242 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20244 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20245 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20246 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20247 [__ASSUME_RECVMMSG]: Change condition to
20248 [__ASSUME_RECVMMSG_SOCKETCALL].
20249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20252 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20254 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20256 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20257 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20258 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20259 [!__ASSUME_RECVMMSG]: Change condition to
20260 [!__ASSUME_RECVMMSG_SOCKETCALL].
20261 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20262 (__ASSUME_RECVMMSG_SYSCALL): Define.
20265 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20266 __powerpc__ || __s390__ || __sh__ || __sparc__]
20267 (__ASSUME_SOCKETCALL): Define.
20268 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20269 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20270 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20271 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20272 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20273 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20274 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20275 (__ASSUME_ACCEPT4): Define instead of using previous
20276 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20277 __powerpc__ || __sparc__ || __s390__)] condition.
20278 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20279 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20280 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20281 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20282 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20283 [!__ASSUME_ACCEPT4]: Change condition to
20284 [!__ASSUME_ACCEPT4_SOCKETCALL].
20285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20286 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20287 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20289 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20290 __ASSUME_ACCEPT4_SYSCALL.
20291 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20292 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20293 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20294 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20295 __ASSUME_ACCEPT4_SYSCALL.
20296 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20297 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20298 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20299 [__ASSUME_ACCEPT4]: Change condition to
20300 [__ASSUME_ACCEPT4_SOCKETCALL].
20301 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20302 (__ASSUME_SOCKETCALL): Define.
20303 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20305 (__ASSUME_SOCKETCALL): Define.
20306 (__ASSUME_ACCEPT4): Remove.
20307 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20309 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20310 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20313 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20315 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20317 (HWCAP_ARM_LPAE): Likewise.
20318 (HWCAP_ARM_EVTSTRM): Likewise.
20319 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20320 Add vpfd32, lpae and evtstrm.
20321 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20324 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20326 * math/auto-libm-test-in: Add tests of clog10.
20327 * math/auto-libm-test-out: Regenerated.
20328 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20329 * sysdeps/i386/fpu/libm-test-ulps: Update.
20330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20332 2014-02-18 Andreas Schwab <schwab@suse.de>
20335 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20336 Store non-zero if the second buffer was newly allocated.
20337 (send_dg): Likewise.
20338 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20339 to send_vc and send_dg.
20340 (res_nsend): Pass NULL for ansp2_malloced.
20341 * resolv/res_query.c (__libc_res_nquery): Add parameter
20342 answerp2_malloced and pass it down to __libc_res_nsend.
20343 (res_nquery): Pass additional NULL to __libc_res_nquery.
20344 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20345 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20346 second answer buffer if answerp2_malloced was set.
20347 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20348 (__libc_res_nquerydomain): Add parameter
20349 answerp2_malloced and pass it down to __libc_res_nquery.
20350 (res_nquerydomain): Pass additional NULL to
20351 __libc_res_nquerydomain.
20352 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20353 additional NULL to __libc_res_nsend and __libc_res_nquery.
20354 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20355 additional NULL to __libc_res_nsearch.
20356 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20357 parameter of __libc_res_nsearch to check for separately allocated
20359 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20361 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20362 additional NULL to __libc_res_nquery.
20363 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20364 __libc_res_nsearch.
20365 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20366 * include/resolv.h: Update prototypes of __libc_res_nquery,
20367 __libc_res_nsearch, __libc_res_nsend.
20369 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20371 * math/auto-libm-test-in: Add tests of fma.
20372 * math/auto-libm-test-out: Regenerated.
20373 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20374 (fma_towardzero_test_data): Likewise.
20375 (fma_downward_test_data): Likewise.
20376 (fma_upward_test_data): Likewise.
20377 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20379 (rounding_modes): Add values for new field.
20380 (func_calc_method): Add value mpfr_fff_f.
20381 (func_calc_desc): Add mpfr_fff_f union field.
20382 (test_function): Add field exact_args.
20383 (FUNC): Add macro argument EXACT_ARGS.
20384 (FUNC_mpfr_f_f): Update call to FUNC.
20385 (FUNC_mpfr_f_f): Likewise.
20386 (FUNC_mpfr_ff_f): Likewise.
20387 (FUNC_mpfr_if_f): Likewise.
20388 (FUNC_mpc_c_f): Likewise.
20389 (FUNC_mpc_c_c): Likewise.
20390 (test_functions): Add fma. Update calls to FUNC.
20391 (handle_input_arg): Add argument exact_args.
20392 (add_test): Update call to handle_input_arg.
20393 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20394 (output_for_one_input_case): Update call to calc_generic_results.
20395 Recalculate exact zero results in each rounding mode.
20397 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20398 non-negative before setting low bit.
20399 * math/auto-libm-test-in: Mark one asin test possibly having
20400 spurious underflow.
20401 * math/auto-libm-test-out: Regenerated.
20402 * sysdeps/i386/fpu/libm-test-ulps: Update.
20403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20405 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20407 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20408 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20409 ports/sysdeps/unix/sysv/linux/microblaze.
20410 * README: Add missing listing for microblaze*-*-linux-gnu.
20412 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20417 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20419 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20420 * sysdeps/unix/sysv/linux/ia64: Move directory from
20421 ports/sysdeps/unix/sysv/linux/ia64.
20422 * README: Update listing for ia64-*-linux-gnu.
20424 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20425 Joseph Myers <joseph@codesourcery.com>
20427 * Makeconfig (test-name): New variable.
20428 (evaluate-test): Likewise.
20429 * Makerules (do-test-clean): Remove .test-result files.
20430 (common-mostlyclean): Likewise.
20431 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20432 * scripts/evaluate-test.sh: New file.
20434 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20436 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20437 separate $(objpfx)tst-fopenloc-cmp.out and
20438 $(objpfx)tst-fopenloc-mem.out targets.
20439 (tests): Update dependencies.
20440 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20441 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20442 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20443 (tst-rxspencer-no-utf8-ARGS): New variable.
20444 (tst-rxspencer-no-utf8-ENV): Likewise.
20445 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20446 instead of $(objpfx)tst-rxspencer-mem.
20447 ($(objpfx)tst-rxspencer-mem): Change target to
20448 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20449 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20450 * posix/tst-rxspencer-no-utf8.c: New file.
20452 * elf/Makefile ($(objpfx)order.out): Remove rule.
20453 [$(run-built-tests) = yes] (tests): Depend on
20454 $(objpfx)order-cmp.out.
20455 ($(objpfx)order-cmp.out): New rule.
20456 [$(run-built-tests) = yes] (tests): Depend on
20457 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20458 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20459 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20460 $(objpfx)tst-array5-static-cmp.out.
20461 ($(objpfx)tst-array1.out): Remove rule.
20462 ($(objpfx)tst-array1-cmp.out): New rule.
20463 ($(objpfx)tst-array1-static.out): Remove rule.
20464 ($(objpfx)tst-array1-static-cmp.out): New rule.
20465 ($(objpfx)tst-array2.out): Remove rule.
20466 ($(objpfx)tst-array2-cmp.out): New rule.
20467 ($(objpfx)tst-array3.out): Remove rule.
20468 ($(objpfx)tst-array3-cmp.out): New rule.
20469 ($(objpfx)tst-array4.out): Remove rule.
20470 ($(objpfx)tst-array4-cmp.out): New rule.
20471 ($(objpfx)tst-array5.out): Remove rule.
20472 ($(objpfx)tst-array5-cmp.out): New rule.
20473 ($(objpfx)tst-array5-static.out): Remove rule.
20474 ($(objpfx)tst-array5-static-cmp.out): New rule.
20475 [$(run-built-tests) = yes] (tests): Depend on
20476 $(objpfx)order2-cmp.out.
20477 ($(objpfx)order2.out): Remove rule.
20478 ($(objpfx)order2-cmp.out): New rule.
20479 ($(objpfx)tst-initorder.out): Remove rule.
20480 [$(run-built-tests) = yes] (tests): Depend on
20481 $(objpfx)tst-initorder-cmp.out.
20482 ($(objpfx)tst-initorder-cmp.out): New rule.
20483 ($(objpfx)tst-initorder2.out): Remove rule.
20484 [$(run-built-tests) = yes] (tests): Depend on
20485 $(objpfx)tst-initorder2-cmp.out.
20486 ($(objpfx)tst-initorder2-cmp.out): New rule.
20487 [$(run-built-tests) = yes] (tests): Depend on
20488 $(objpfx)tst-unused-dep-cmp.out.
20489 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20490 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20491 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20492 on $(objpfx)tst-setvbuf1-cmp.out.
20493 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20494 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20495 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20496 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20497 ($(objpfx)tst-svc.out): Remove rule.
20498 ($(objpfx)tst-svc-cmp.out): New rule.
20500 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20502 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20503 * ctype/ctype.h [__USE_MISC]: Likewise.
20504 * dirent/dirent.h [__USE_MISC]: Likewise.
20505 * grp/grp.h [__USE_MISC]: Likewise.
20506 * io/fcntl.h [__USE_MISC]: Likewise.
20507 * io/sys/stat.h [__USE_MISC]: Likewise.
20508 * libio/stdio.h [__USE_MISC]: Likewise.
20509 * posix/unistd.h [__USE_MISC]: Likewise.
20510 * pwd/pwd.h [__USE_MISC]: Likewise.
20511 * stdlib.h [__USE_MISC]: Likewise.
20512 * string/bits/string2.h [__USE_MISC]: Likewise.
20513 * string/string.h [__USE_MISC]: Likewise.
20514 * time/time.h [__USE_MISC]: Likewise.
20516 2014-02-13 Andreas Schwab <schwab@suse.de>
20519 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20520 second answer buffer if it was separately allocated.
20522 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20524 * sysdeps/mips/math-tests.h: Include <features.h>.
20525 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20526 (ROUNDING_TESTS_long_double): Do not define.
20527 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20528 (EXCEPTION_TESTS_long_double): Likewise.
20529 * sysdeps/mips/mips64/libm-test-ulps: Update.
20531 * include/features.h (__USE_BSD): Remove macro definitions.
20532 (__USE_SVID): Likewise.
20533 (_BSD_SOURCE): Likewise.
20534 (_SVID_SOURCE): Likewise.
20535 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20536 from definition of _DEFAULT_SOURCE.
20537 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20539 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20540 * bits/mman.h [__USE_BSD]: Likewise.
20541 * bits/termios.h [__USE_BSD]: Likewise.
20542 * bits/waitstatus.h [__USE_BSD]: Likewise.
20543 * ctype/ctype.h [__USE_SVID]: Likewise.
20544 * dirent/dirent.h [__USE_BSD]: Likewise.
20545 * grp/grp.h [__USE_SVID]: Likewise.
20546 [__USE_BSD]: Likewise.
20547 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20548 * io/fcntl.h [__USE_BSD]: Likewise.
20549 * io/ftw.h [__USE_BSD]: Likewise.
20550 * io/sys/stat.h [__USE_BSD]: Likewise.
20551 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20552 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20553 * libio/stdio.h [__USE_SVID]: Likewise.
20554 [__USE_BSD]: Likewise.
20555 * math/math.h [__USE_SVID]: Likewise.
20556 [__USE_BSD]: Likewise.
20557 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20558 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20559 * misc/search.h [__USE_SVID]: Likewise.
20560 * misc/sys/mman.h [__USE_BSD]: Likewise.
20561 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20562 * misc/sys/uio.h [__USE_BSD]: Likewise.
20563 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20564 * posix/glob.h [__USE_BSD]: Likewise.
20565 * posix/regex.h [__USE_BSD]: Likewise.
20566 * posix/sys/types.h [__USE_BSD]: Likewise.
20567 [__USE_SVID]: Likewise.
20568 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20569 * posix/sys/wait.h [__USE_BSD]: Likewise.
20570 [__USE_SVID]: Likewise.
20571 * posix/unistd.h [__USE_BSD]: Likewise.
20572 [__USE_SVID]: Likewise.
20573 * pwd/pwd.h [__USE_SVID]: Likewise.
20574 * resolv/netdb.h [__USE_BSD]: Likewise.
20575 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20576 * signal/signal.h [__USE_BSD]: Likewise.
20577 [__USE_SVID]: Likewise.
20578 * socket/sys/socket.h [__USE_BSD]: Likewise.
20579 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20580 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20581 [__USE_SVID]: Likewise.
20582 * string/bits/string2.h [__USE_BSD]: Likewise.
20583 [__USE_SVID]: Likewise.
20584 * string/bits/string3.h [__USE_BSD]: Likewise.
20585 * string/endian.h [__USE_BSD]: Likewise.
20586 * string/string.h [__USE_SVID]: Likewise.
20587 [__USE_BSD]: Likewise.
20588 * string/strings.h [__USE_BSD]: Likewise.
20589 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20590 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20591 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20592 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20593 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20594 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20598 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20601 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20602 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20604 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20606 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20607 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20612 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20613 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20614 * termios/termios.h [__USE_BSD]: Likewise.
20615 * time/sys/time.h [__USE_BSD]: Likewise.
20616 * time/time.h [__USE_BSD]: Likewise.
20617 [__USE_SVID]: Likewise.
20619 * Makefile (subdir_targets): Remove subdir_lint.out.
20621 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20622 (do-tst-printf): Likewise.
20623 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20624 $(objpfx)tst-printf.out.
20626 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20628 * Makerules (check-abi-%): Change target to
20629 $(objpfx)check-abi-%.out.
20630 (check-abi target): Update dependencies.
20631 (check-abi-pattern variable): Redirect output of diff to $@.
20632 (check-abi variable): Likewise.
20633 * elf/Makefile (check-abi): Update dependencies.
20635 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20637 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20638 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20640 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20641 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20642 value has largest subnormal exponent.
20643 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20644 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20645 * sysdeps/aarch64/soft-fp/sfp-machine.h
20646 (_FP_TININESS_AFTER_ROUNDING): New macro.
20647 * sysdeps/alpha/soft-fp/sfp-machine.h
20648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20649 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20651 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20653 * sysdeps/mips/soft-fp/sfp-machine.h
20654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20655 * sysdeps/powerpc/soft-fp/sfp-machine.h
20656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20657 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20663 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20666 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20669 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20672 2014-02-12 Richard Henderson <rth@redhat.com>
20674 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20675 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20676 * sysdeps/unix/sysv/linux/alpha: Move directory from
20677 ports/sysdeps/unix/sysv/linux/alpha.
20678 * README: Update listing for alpha-*-linux-gnu.
20680 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20682 * include/features.h: Update comment documenting feature test
20684 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20686 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20687 (_SVID_SOURCE): Likewise.
20688 (_DEFAULT_SOURCE): Update description of default features.
20689 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20691 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20692 (S_ISVTX): Likewise.
20693 * manual/math.texi (Mathematical Constants): Likewise.
20694 * manual/signal.texi (Interrupted Primitives): Likewise.
20695 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20696 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20697 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20698 Don't refer to _SVID_SOURCE in warning text.
20700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20702 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20704 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20705 * sysdeps/mips/dl-lookup.c: Remove.
20706 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20708 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20711 * math/auto-libm-test-in: Add testcase for expl.
20712 * math/auto-libm-test-out: Regenerate.
20713 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20714 calculation of unsafe.
20715 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20717 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20719 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20720 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20721 ports/sysdeps/unix/sysv/linux/aarch64.
20722 * README: Update listing for aarch64*-*-linux-gnu.
20724 2014-02-11 Will Newton <will.newton@linaro.org>
20726 * manual/probes.texi (Mathematical Function Probes): Use
20727 "triggered" instead of "hit".
20729 * manual/probes.texi (Internal Probes): Add documentation
20730 of setjmp, longjmp and longjmp_target probes.
20732 * include/stap-probe.h: Add comment about probe argument
20735 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20736 definition. (tr_where, tr_freehook, tr_mallochook,
20737 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20739 2014-02-11 David S. Miller <davem@davemloft.net>
20741 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20742 processing int_tests.
20744 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20746 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20747 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20748 * sysdeps/unix/sysv/linux/mips: Move directory from
20749 ports/sysdeps/unix/sysv/linux/mips.
20750 * README: Update listing for mips-*-linux-gnu and
20751 mips64-*-linux-gnu.
20753 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20755 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20756 * sysdeps/unix/sysv/linux/m68k: Move directory from
20757 ports/sysdeps/unix/sysv/linux/m68k.
20758 * README: Update listing for m68k-*-linux-gnu.
20760 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20762 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20763 * sysdeps/unix/sysv/linux/generic: Move directory from
20764 ports/sysdeps/unix/sysv/linux/generic.
20765 * sysdeps/unix/sysv/linux/tile: Move directory from
20766 ports/sysdeps/unix/sysv/linux/tile.
20767 * README: Update listing for tile*-*-linux-gnu.
20769 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
20771 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20773 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20774 * catgets/open_catalog.c (__open_catalog): Likewise.
20775 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20776 * debug/confstr_chk.c: Likewise.
20777 * debug/fread_chk.c (__fread_chk): Likewise.
20778 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20779 * debug/getgroups_chk.c: Likewise.
20780 * debug/mbsnrtowcs_chk.c: Likewise.
20781 * debug/mbsrtowcs_chk.c: Likewise.
20782 * debug/mbstowcs_chk.c: Likewise.
20783 * debug/memcpy_chk.c: Likewise.
20784 * debug/memmove_chk.c: Likewise.
20785 * debug/mempcpy_chk.c: Likewise.
20786 * debug/memset_chk.c: Likewise.
20787 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20788 * debug/strcat_chk.c (__strcat_chk): Likewise.
20789 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20790 * debug/strncat_chk.c (__strncat_chk): Likewise.
20791 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20792 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20793 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20794 * debug/wcpncpy_chk.c: Likewise.
20795 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20796 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20797 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20798 * debug/wcsncpy_chk.c: Likewise.
20799 * debug/wcsnrtombs_chk.c: Likewise.
20800 * debug/wcsrtombs_chk.c: Likewise.
20801 * debug/wcstombs_chk.c: Likewise.
20802 * debug/wmemcpy_chk.c: Likewise.
20803 * debug/wmemmove_chk.c: Likewise.
20804 * debug/wmempcpy_chk.c: Likewise.
20805 * debug/wmemset_chk.c: Likewise.
20806 * dirent/scandirat.c (SCANDIRAT): Likewise.
20807 * dlfcn/dladdr1.c (dladdr1): Likewise.
20808 * dlfcn/dladdr.c (dladdr): Likewise.
20809 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20810 * dlfcn/dlerror.c (__dlerror): Likewise.
20811 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20812 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20813 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20814 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20815 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20816 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20817 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20818 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20820 * elf/dl-conflict.c: Likewise.
20821 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20822 * elf/dl-dst.h: Likewise.
20823 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20824 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20826 * elf/dl-init.c (call_init, _dl_init): Likewise.
20827 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20828 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20829 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20831 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20833 * elf/dl-minimal.c (__libc_memalign): Likewise.
20834 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20835 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20836 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20837 * elf/dl-sym.c (do_sym): Likewise.
20838 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20839 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20840 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20841 * elf/dl-writev.h (_dl_writev): Likewise.
20842 * elf/ldconfig.c (search_dir): Likewise.
20843 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20844 (dl_main): Likewise.
20845 * elf/setup-vdso.h (setup_vdso): Likewise.
20846 * grp/compat-initgroups.c (compat_call): Likewise.
20847 * grp/fgetgrent.c (fgetgrent): Likewise.
20848 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20849 * grp/putgrent.c (putgrent): Likewise.
20850 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20852 * hurd/hurdinit.c: Likewise.
20853 * iconvdata/8bit-gap.c (struct): Likewise.
20854 * iconvdata/ansi_x3.110.c : Likewise.
20855 * iconvdata/big5.c : Likewise.
20856 * iconvdata/big5hkscs.c : Likewise.
20857 * iconvdata/cp1255.c: Likewise.
20858 * iconvdata/cp1258.c : Likewise.
20859 * iconvdata/cp932.c : Likewise.
20860 * iconvdata/euc-cn.c: Likewise.
20861 * iconvdata/euc-jisx0213.c : Likewise.
20862 * iconvdata/euc-jp.c: Likewise.
20863 * iconvdata/euc-jp-ms.c : Likewise.
20864 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20865 * iconvdata/gb18030.c : Likewise.
20866 * iconvdata/gbbig5.c (const): Likewise.
20867 * iconvdata/gbgbk.c: Likewise.
20868 * iconvdata/gbk.c : Likewise.
20869 * iconvdata/ibm1364.c : Likewise.
20870 * iconvdata/ibm930.c : Likewise.
20871 * iconvdata/ibm932.c: Likewise.
20872 * iconvdata/ibm933.c : Likewise.
20873 * iconvdata/ibm935.c : Likewise.
20874 * iconvdata/ibm937.c : Likewise.
20875 * iconvdata/ibm939.c : Likewise.
20876 * iconvdata/ibm943.c: Likewise.
20877 * iconvdata/iso_11548-1.c: Likewise.
20878 * iconvdata/iso-2022-cn.c : Likewise.
20879 * iconvdata/iso-2022-cn-ext.c : Likewise.
20880 * iconvdata/iso-2022-jp-3.c: Likewise.
20881 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20882 * iconvdata/iso-2022-kr.c : Likewise.
20883 * iconvdata/iso646.c (gconv_end): Likewise.
20884 * iconvdata/iso_6937-2.c : Likewise.
20885 * iconvdata/iso_6937.c : Likewise.
20886 * iconvdata/iso8859-1.c: Likewise.
20887 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20888 * iconvdata/shift_jisx0213.c : Likewise.
20889 * iconvdata/sjis.c : Likewise.
20890 * iconvdata/t.61.c : Likewise.
20891 * iconvdata/tcvn5712-1.c : Likewise.
20892 * iconvdata/tscii.c: Likewise.
20893 * iconvdata/uhc.c : Likewise.
20894 * iconvdata/unicode.c (gconv_end): Likewise.
20895 * iconvdata/utf-16.c (gconv_end): Likewise.
20896 * iconvdata/utf-32.c (gconv_end): Likewise.
20897 * iconvdata/utf-7.c (base64): Likewise.
20898 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20899 * iconv/gconv_close.c (__gconv_close): Likewise.
20900 * iconv/gconv_open.c (__gconv_open): Likewise.
20901 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20902 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20903 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20904 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20905 (ucs4le_internal_loop_single): Likewise.
20906 * iconv/iconv.c (iconv): Likewise.
20907 * iconv/iconv_close.c: Likewise.
20908 * iconv/loop.c (SINGLE): Likewise.
20909 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20910 * include/atomic.h: Likewise.
20911 * inet/inet6_option.c (option_alloc): Likewise.
20912 * intl/bindtextdom.c (set_binding_values): Likewise.
20913 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20914 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20915 * intl/localealias.c (read_alias_file): Likewise.
20916 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20917 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20918 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20919 * libio/fmemopen.c (fmemopen): Likewise.
20920 * libio/iofgets.c (_IO_fgets): Likewise.
20921 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20922 * libio/iofgetws.c (fgetws): Likewise.
20923 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20924 * libio/iogetdelim.c (_IO_getdelim): Likewise.
20925 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20926 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20927 * locale/findlocale.c (_nl_find_locale): Likewise.
20928 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20929 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20931 * locale/setlocale.c (setlocale): Likewise.
20932 * login/programs/pt_chown.c (main): Likewise.
20933 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20934 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20935 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20936 (mmap, mmap64, mremap, munmap): Likewise.
20937 * math/e_exp2l.c: Likewise.
20938 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20939 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20940 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20941 * math/s_catan.c (__catan): Likewise.
20942 * math/s_catanf.c (__catanf): Likewise.
20943 * math/s_catanh.c (__catanh): Likewise.
20944 * math/s_catanhf.c (__catanhf): Likewise.
20945 * math/s_catanhl.c (__catanhl): Likewise.
20946 * math/s_catanl.c (__catanl): Likewise.
20947 * math/s_ccosh.c (__ccosh): Likewise.
20948 * math/s_ccoshf.c (__ccoshf): Likewise.
20949 * math/s_ccoshl.c (__ccoshl): Likewise.
20950 * math/s_cexp.c (__cexp): Likewise.
20951 * math/s_cexpf.c (__cexpf): Likewise.
20952 * math/s_cexpl.c (__cexpl): Likewise.
20953 * math/s_clog10.c (__clog10): Likewise.
20954 * math/s_clog10f.c (__clog10f): Likewise.
20955 * math/s_clog10l.c (__clog10l): Likewise.
20956 * math/s_clog.c (__clog): Likewise.
20957 * math/s_clogf.c (__clogf): Likewise.
20958 * math/s_clogl.c (__clogl): Likewise.
20959 * math/s_csin.c (__csin): Likewise.
20960 * math/s_csinf.c (__csinf): Likewise.
20961 * math/s_csinh.c (__csinh): Likewise.
20962 * math/s_csinhf.c (__csinhf): Likewise.
20963 * math/s_csinhl.c (__csinhl): Likewise.
20964 * math/s_csinl.c (__csinl): Likewise.
20965 * math/s_csqrt.c (__csqrt): Likewise.
20966 * math/s_csqrtf.c (__csqrtf): Likewise.
20967 * math/s_csqrtl.c (__csqrtl): Likewise.
20968 * math/s_ctan.c (__ctan): Likewise.
20969 * math/s_ctanf.c (__ctanf): Likewise.
20970 * math/s_ctanh.c (__ctanh): Likewise.
20971 * math/s_ctanhf.c (__ctanhf): Likewise.
20972 * math/s_ctanhl.c (__ctanhl): Likewise.
20973 * math/s_ctanl.c (__ctanl): Likewise.
20974 * math/w_pow.c: Likewise.
20975 * math/w_powf.c: Likewise.
20976 * math/w_powl.c: Likewise.
20977 * math/w_scalb.c (sysv_scalb): Likewise.
20978 * math/w_scalbf.c (sysv_scalbf): Likewise.
20979 * math/w_scalbl.c (sysv_scalbl): Likewise.
20980 * misc/error.c (error_tail): Likewise.
20981 * misc/pselect.c (__pselect): Likewise.
20982 * nis/nis_callback.c (__nis_create_callback): Likewise.
20983 * nis/nis_call.c (__nisfind_server): Likewise.
20984 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20985 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20986 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20987 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20988 * nis/nis_lookup.c (nis_lookup): Likewise.
20989 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20990 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20991 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20992 * nis/nis_xdr.c (xdr_endpoint): Likewise.
20993 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20994 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20995 * nis/nss_compat/compat-initgroups.c (add_group)
20996 (internal_getgrent_r): Likewise.
20997 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20998 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20999 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21000 (internal_getspnam_r): Likewise.
21001 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21002 (_nss_nis_getaliasbyname_r): Likewise.
21003 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21004 (_nss_nis_getntohost_r): Likewise.
21005 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21006 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21007 (_nss_nis_getgrgid_r): Likewise.
21008 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21009 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21010 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21011 (_nss_nis_gethostbyname4_r): Likewise.
21012 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21013 (initgroups_netid): Likewise.
21014 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21015 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21016 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21017 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21018 (_nss_nis_getprotobynumber_r): Likewise.
21019 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21020 (_nss_nis_getsecretkey): Likewise.
21021 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21022 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21023 (_nss_nis_getpwuid_r): Likewise.
21024 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21025 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21026 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21027 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21028 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21029 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21030 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21032 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21033 (_nss_nisplus_getntohost_r): Likewise.
21034 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21035 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21036 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21037 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21039 * nis/nss_nisplus/nisplus-initgroups.c
21040 (_nss_nisplus_initgroups_dyn): Likewise.
21041 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21042 (_nss_nisplus_getnetbyaddr_r): Likewise.
21043 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21044 (_nss_nisplus_getprotobynumber_r): Likewise.
21045 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21046 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21047 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21049 * nis/nss_nisplus/nisplus-service.c
21050 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21051 (_nss_nisplus_getservbyport_r): Likewise.
21052 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21053 (_nss_nisplus_getspnam_r): Likewise.
21054 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21056 * nscd/aicache.c (addhstaiX): Likewise.
21057 * nscd/cache.c (cache_search, prune_cache): Likewise.
21058 * nscd/connections.c (register_traced_file, send_ro_fd)
21059 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21060 (main_loop_epoll): Likewise.
21061 * nscd/grpcache.c (addgrbyX): Likewise.
21062 * nscd/hstcache.c (addhstbyX): Likewise.
21063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21064 * nscd/mem.c (gc, mempool_alloc): Likewise.
21065 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21066 (addinnetgrX): Likewise.
21067 * nscd/nscd-client.h (__nscd_acquire_maplock)
21068 (__nscd_drop_map_ref): Likewise.
21069 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21070 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21073 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21075 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21076 (__nscd_get_map_ref): Likewise.
21077 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21078 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21080 * nscd/pwdcache.c (addpwbyX): Likewise.
21081 * nscd/selinux.c (preserve_capabilities): Likewise.
21082 * nscd/servicescache.c (addservbyX): Likewise.
21083 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21084 * posix/fnmatch.c (fnmatch): Likewise.
21085 * posix/getopt.c (_getopt_internal_r): Likewise.
21086 * posix/glob.c (glob, glob_in_dir): Likewise.
21087 * posix/wordexp.c (exec_comm_child): Likewise.
21088 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21089 (getanswer_r, gaih_getanswer_slice): Likewise.
21090 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21091 * resolv/res_init.c: Likewise.
21092 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21093 * resolv/res_query.c (__libc_res_nquery): Likewise.
21094 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21096 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21097 * stdio-common/perror.c (perror): Likewise.
21098 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21099 * stdio-common/tmpnam.c (tmpnam): Likewise.
21100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21101 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21102 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21104 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21105 * stdlib/putenv.c (putenv): Likewise.
21106 * stdlib/setenv.c (__add_to_environ): Likewise.
21107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21108 * stdlib/strtol_l.c (INTERNAL): Likewise.
21109 * string/memmem.c (memmem): Likewise.
21110 * string/strerror.c (strerror): Likewise.
21111 * string/strnlen.c (__strnlen): Likewise.
21112 * string/test-memmem.c (simple_memmem): Likewise.
21113 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21114 * sunrpc/pm_getport.c (__get_socket): Likewise.
21115 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21116 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21117 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21118 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21120 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21122 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21123 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21124 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21125 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21127 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21129 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21130 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21132 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21133 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21135 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21137 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21138 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21144 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21146 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21149 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21150 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21151 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21152 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21161 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21163 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21171 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21173 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21174 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21175 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21176 * sysdeps/posix/sleep.c: Likewise.
21177 * sysdeps/posix/tempname.c: Likewise.
21178 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21179 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21181 * sysdeps/powerpc/powerpc32/dl-machine.h
21182 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21185 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21186 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21188 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21190 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21192 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21193 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21194 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21195 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21199 (elf_machine_lazy_rel): Likewise.
21200 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21202 (elf_machine_lazy_rel): Likewise.
21203 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21204 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21205 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21206 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21208 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21209 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21212 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21213 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21214 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21215 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21216 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21218 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21219 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21221 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21222 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21224 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21225 (__posix_fallocate64_l64): Likewise.
21226 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21227 (posix_fallocate): Likewise.
21228 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21231 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21232 (getifaddrs_internal): Likewise.
21233 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21234 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21235 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21236 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21237 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21238 (__posix_fallocate64_l64): Likewise.
21239 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21241 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21243 (__get_clockfreq): Likewise.
21244 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21245 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21246 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21249 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21250 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21251 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21253 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21254 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21255 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21257 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21258 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21259 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21262 (posix_fallocate): Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21264 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21265 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21266 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21267 (elf_machine_rela, elf_machine_rela_relative)
21268 (elf_machine_lazy_rel): Likewise.
21269 * time/asctime.c (asctime_internal): Likewise.
21270 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21271 * time/tzset.c (__tzset_parse_tz): Likewise.
21272 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21273 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21274 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21275 * wcsmbs/wcsmbsload.h: Likewise.
21278 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21280 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21281 (arena_get2): Remove THREAD_STATS conditionals.
21282 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21283 (__malloc_stats, int): Likewise.
21285 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21288 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21290 * manual/setjmp.texi: Fix typos/grammar errors.
21292 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21293 Only return early when n is <= 0. Delete unused return statement.
21295 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21296 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21297 * debug/tst-longjmp_chk3.c: New file.
21299 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21300 (test_main): Replace code with set_fortify_handler call.
21301 * debug/test-strcpy_chk.c: Likewise.
21302 * debug/tst-chk1.c: Likewise.
21303 * debug/tst-longjmp_chk.c: Likewise.
21304 * test-skeleton.c: Include fcntl.h & paths.h
21305 (set_fortify_handler): Define.
21307 * debug/tst-longjmp_chk.c: Add header comment and include
21308 ../test-skeleton.c.
21309 (do_test): Mark static.
21310 (TEST_FUNCTION): Define.
21312 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21313 (IP_PMTUDISC_INTERFACE): Likewise.
21314 (IP_MULTICAST_IF): Likewise.
21315 (IP_MULTICAST_TTL): Likewise.
21316 (IP_MULTICAST_LOOP): Likewise.
21317 (IP_ADD_MEMBERSHIP): Likewise.
21318 (IP_DROP_MEMBERSHIP): Likewise.
21319 (IP_UNBLOCK_SOURCE): Likewise.
21320 (IP_BLOCK_SOURCE): Likewise.
21321 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21322 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21323 (IP_MSFILTER): Likewise.
21324 (MCAST_JOIN_GROUP): Likewise.
21325 (MCAST_BLOCK_SOURCE): Likewise.
21326 (MCAST_UNBLOCK_SOURCE): Likewise.
21327 (MCAST_LEAVE_GROUP): Likewise.
21328 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21329 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21330 (MCAST_MSFILTER): Likewise.
21331 (IP_MULTICAST_ALL): Likewise.
21332 (IP_UNICAST_IF): Likewise.
21334 * timezone/Makefile: Delete $(have-ksh) check.
21335 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21336 * timezone/tzselect.ksh: Add +x mode bits.
21338 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21339 (ANON_INODE_FS_MAGIC): Likewise.
21340 (BDEVFS_MAGIC): Likewise.
21341 (BINFMTFS_MAGIC): Likewise.
21342 (BTRFS_TEST_MAGIC): Likewise.
21343 (CRAMFS_MAGIC_WEND): Likewise.
21344 (DEBUGFS_MAGIC): Likewise.
21345 (ECRYPTFS_SUPER_MAGIC): Likewise.
21346 (EXT3_SUPER_MAGIC): Likewise.
21347 (EXT4_SUPER_MAGIC): Likewise.
21348 (FUTEXFS_SUPER_MAGIC): Likewise.
21349 (HOSTFS_SUPER_MAGIC): Likewise.
21350 (HUGETLBFS_MAGIC): Likewise.
21351 (MINIX3_SUPER_MAGIC): Likewise.
21352 (MTD_INODE_FS_MAGIC): Likewise.
21353 (NILFS_SUPER_MAGIC): Likewise.
21354 (OPENPROM_SUPER_MAGIC): Likewise.
21355 (PIPEFS_MAGIC): Likewise.
21356 (PSTOREFS_MAGIC): Likewise.
21357 (QNX6_SUPER_MAGIC): Likewise.
21358 (RAMFS_MAGIC): Likewise.
21359 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21360 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21361 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21362 (SECURITYFS_MAGIC): Likewise.
21363 (SELINUX_MAGIC): Likewise.
21364 (SMACK_MAGIC): Likewise.
21365 (SOCKFS_MAGIC): Likewise.
21366 (SQUASHFS_MAGIC): Likewise.
21367 (STACK_END_MAGIC): Likewise.
21368 (TMPFS_MAGIC): Likewise.
21369 (USBDEVICE_SUPER_MAGIC): Likewise.
21370 (V9FS_MAGIC): Likewise.
21371 (XENFS_SUPER_MAGIC): Likewise.
21372 (CRAMFS_MAGIC): Fix typo in comment.
21373 (EXT2_SUPER_MAGIC): Update comment.
21374 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21376 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21378 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21379 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21380 * sysdeps/unix/sysv/linux/arm: Move directory from
21381 ports/sysdeps/unix/sysv/linux/arm.
21382 * README: Update listing for arm-*-linux-gnueabi.
21384 * README: Remove mention of am33.
21386 2014-02-07 Roland McGrath <roland@hack.frob.com>
21388 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21389 than the comma operator, to avoid "rhs of comma has no effect"
21391 (__sigfillset, __sigandset, __sigorset): Likewise.
21392 * include/signal.h (__sigemptyset): Likewise.
21393 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21395 2014-02-07 Allan McRae <allan@archlinux.org>
21397 * version.h (RELEASE): Set to "development".
21398 (VERSION): Set to "2.19.90"
21399 * NEWS: Add 2.20 section.
21401 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21404 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21406 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21408 * manual/contrib.texi: Update entry for Carlos O'Donell,
21409 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21411 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21413 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21415 * sysdeps/unix/sysv/linux/kernel-features.h
21416 [__LINUX_KERNEL_VERSION >= 0x020621]
21417 (__ASSUME_PROC_PID_TASK_COMM): Define.
21419 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21422 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21423 conversion when destination buffer does not have enough space.
21424 * libio/tst-ftell-partial-wide.c: New test case.
21425 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21427 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21428 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21429 Leonard and Allan McRae.
21431 2014-02-04 David S. Miller <davem@davemloft.net>
21433 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21436 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21465 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21467 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21468 * shlib-versions: Likewise.
21470 2014-02-04 Roland McGrath <roland@hack.frob.com>
21471 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21473 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21474 (abilist-pattern): New variable, set to %-le.abilist.
21476 * Makerules (abilist-pattern): New variable.
21477 (vpath): Use $(abilist-pattern) in place of %.abilist.
21478 (check-abi-% pattern rule): Likewise.
21479 (check-abi, update-abi): Likewise.
21481 2014-02-04 Eric Wong <normalperson@yhbt.net>
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21485 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21487 * manual/startup.texi: Add next, previous, and top entries for
21488 the `Program Arguments' and `Environment Variables' nodes.
21490 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21492 * manual/macros.texi: Add comments before MTASC-safety macros.
21494 * manual/users.texi: Document MTASC-safety properties.
21496 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21497 (pthread_getspecific, pthread_setspecific): Format with
21498 @deftypefun, and add @safety note.
21499 * manual/signal.texi: Move comments that analyze the above
21500 functions to their home place.
21502 2014-02-03 Allan McRae <allan@archlinux.org>
21504 * po/sl.po: Update Slovenian translation from translation project.
21506 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21508 * manual/time.texi (timegm): Add missing blank after @c.
21509 Reported by Joseph Myers <joseph@codesourcery.com>.
21511 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21513 * manual/check-safety.sh: New.
21514 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21516 * manual/terminal.texi: Document MTASC-safety properties.
21518 * manual/filesys.texi: Document MTASC-safety properties.
21520 * manual/errno.texi: Document MTASC-safety properties.
21522 * manual/intro.texi: Document safety identifiers and
21525 * manual/string.texi (wcstok): Fix prototype.
21526 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21528 * manual/time.texi: Document MTASC-safety properties.
21530 * manual/string.texi: Document MTASC-safety properties.
21532 * manual/threads.texi: Document MTASC-safety properties.
21534 * manual/stdio.texi: Document MTASC-safety properties.
21536 * manual/syslog.texi: Document MTASC-safety properties.
21538 * manual/sysinfo.texi: Document MTASC-safety properties.
21540 * manual/startup.texi: Document MTASC-safety properties.
21542 * manual/socket.texi: Document MTASC-safety properties.
21544 * manual/signal.texi: Document MTASC-safety properties.
21546 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21548 * manual/setjmp.texi: Document MTASC-safety properties.
21550 * manual/search.texi: Document MTASC-safety properties.
21552 * manual/resource.texi: Document MTASC-safety properties.
21554 * manual/process.texi: Document MTASC-safety properties.
21556 * manual/platform.texi: Document MTASC-safety properties.
21558 * manual/pipe.texi: Document MTASC-safety properties.
21560 * manual/pattern.texi: Document MTASC-safety properties.
21562 * manual/message.texi: Document MTASC-safety properties.
21565 * manual/memory.texi: Document MTASC-safety properties.
21567 * manual/math.texi: Document MTASC-safety properties.
21569 * manual/locale.texi: Document MTASC-safety properties.
21571 * manual/llio.texi: Document MTASC-safety properties.
21573 * manual/libdl.texi: New.
21575 * manual/lang.texi: Document MTASC-safety properties.
21577 * manual/job.texi: Document MTASC-safety properties.
21579 * manual/getopt.texi: Document MTASC-safety properties.
21581 * manual/ctype.texi: Document MTASC-safety properties.
21583 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21586 * csu/libc-tls.c (static_map): Remove variable.
21587 (__libc_setup_tls): Use main executable's link map for TLS data.
21588 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21589 casing for LM_ID_BASE and GL(dl_nns).
21590 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21591 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21592 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21593 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21594 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21596 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21599 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21601 * manual/debug.texi: Document MTASC-safety properties.
21603 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21606 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21607 of __x86_64__ when disabling x87 inline functions.
21609 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21611 * manual/charset.texi: Document MTASC-safety properties.
21613 * manual/crypt.texi: Document MTASC-safety properties.
21615 * manual/conf.texi: Document MTASC-safety properties.
21617 * manual/arith.texi: Document MTASC-safety properties.
21619 * manual/argp.texi: Document MTASC-safety properties.
21621 * manual/macros.texi: Introduce macros to document multi
21622 thread, asynchronous signal and asynchronous cancellation
21624 * manual/intro.texi: Introduce the properties themselves.
21626 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21628 * sysdeps/sh/sh4/Makefile: New file.
21630 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21632 * math/gen-libm-test.pl ($srcdir): New variable.
21633 ($auto_input): Use it.
21635 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21639 access beyond array bounds when parsing netgroups file.
21641 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21642 the old buffer before realloc.
21644 2014-01-27 Allan McRae <allan@archlinux.org>
21646 * po/fr.po: Update French translation from translation project.
21648 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21650 * sysdeps/sh/libm-test-ulps: Regenerate.
21652 2014-01-24 David S. Miller <davem@davemloft.net>
21654 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21656 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21659 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21661 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21665 string pointers after reallocation.
21667 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21669 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21670 __SH4A__ instead of __SH_FPU_ANY__.
21672 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21674 * sysdeps/sh/fpu_control.h: New file.
21675 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21676 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21677 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21678 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21679 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21680 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21681 * sysdeps/sh/sys/ucontext.h: Remove.
21682 * sysdeps/sh/sys: Remove directory.
21684 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21686 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21687 s390/sys/ucontext.h.
21688 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21689 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21691 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21694 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21696 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21700 Adjust the vDSO correctly for internal calls.
21701 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21703 2014-01-20 Allan McRae <allan@archlinux.org>
21705 * po/ca.po: Update Catalan translation from translation project.
21707 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21709 * sysdeps/s390/sotruss-lib.c: New file.
21711 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21715 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21716 local calls issues by not having a PLT stub required for IFUNC calls.
21717 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21719 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21721 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21722 * math/test-fpucw-static.c: Likewise.
21724 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21727 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21729 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21731 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21732 implementation for powerpc.
21734 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21737 * sysdeps/posix/system.c (__libc_system): Do not enable
21738 asynchronous cancellation.
21740 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21744 handling only for numbers special also in the IEEE case.
21746 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21750 2014-01-11 Allan McRae <allan@archlinux.org>
21752 * po/bg.po: Update Bulgarian translation from translation project.
21754 * po/de.po: Update German translation from translation project.
21756 2014-01-10 Roland McGrath <roland@hack.frob.com>
21758 * sysdeps/generic/gcc-compat.h: New file.
21760 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21762 * benchtests/asin-inputs: Correct slow inputs.
21763 * benchtests/acos-inputs: Likewise.
21765 2014-01-10 Allan McRae <allan@archlinux.org>
21767 * po:sv.po: Update Swedish translation from translation project.
21769 * po/vi.po: Update Vietnamese translation from translation project.
21771 * po/eo.po: Update Esperanto translation from translation project.
21773 * po/cs.po: Update Czech translation from translation project.
21775 * po/nl.po: Update Dutch translation from translation project.
21777 * po/pl.po: Update Polish translation from translation project.
21779 * po/ru.po: Update Russian translation from translation project.
21781 * po/uk.po: Update Ukrainian translation from translation project.
21783 2014-01-08 Brooks Moses <bmoses@google.com>
21785 * elf/dl-load.c: Fix comment typo.
21787 2014-01-08 Carlos O'Donell <carlos@redhat.com>
21789 * po/header.pot: Rename to...
21790 * po/pot.header: ... this.
21791 * po/Makefile: Use pot.header.
21793 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21794 Maxim Kuvyrkov <maxim@kugelworks.com>
21797 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21798 SRC and DEST against LEN.
21800 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21803 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21807 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21811 2014-01-08 Joseph Myers <joseph@codesourcery.com>
21814 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21815 for large positive arguments.
21817 2014-01-07 Joseph Myers <joseph@codesourcery.com>
21819 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21821 * math/auto-libm-test-in: Mark various tests with
21822 xfail-rounding:ldbl-128ibm.
21823 * math/auto-libm-test-out: Regenerated.
21826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21827 Increase overflow threshold.
21829 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
21832 * stdio-common/vfprintf.c: Check for integer overflow.
21834 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21836 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21837 the first argument and return value of __tls_get_addr_internal.
21839 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21841 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21842 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21844 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21846 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21847 * sysdeps/s390/rtld-global-offsets.sym: New file.
21848 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21850 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21862 halfs of GPRs for high_gprs contexts.
21863 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21864 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21866 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21870 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21871 for high GPRs (uc_high_gprs) and for future extensions
21873 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21874 for future extensions (__reserved).
21875 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21877 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21878 SC_HIGHGPRS offset definition.
21879 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21880 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21882 * Versions.def: Add GLIBC_2.19 for libpthread.
21883 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21884 siglongjmp for libpthread with GLIBC_2.19 symver.
21885 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21886 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21887 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21888 * sysdeps/s390/__longjmp.c: New file.
21889 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21890 * sysdeps/s390/longjmp.c: New file.
21891 * sysdeps/s390/setjmp.S: New file.
21892 * sysdeps/s390/sigjmp.S: New file.
21893 * sysdeps/s390/v1-longjmp.c: New file.
21894 * sysdeps/s390/v1-setjmp.h: New file.
21895 * sysdeps/s390/v1-sigjmp.c: New file.
21896 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21897 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21898 GLIBC_2.19 version.
21899 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21900 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21901 versioned symbols for ____longjmp_chk.
21902 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21912 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21913 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21914 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21915 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21916 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21917 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21918 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21919 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21920 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21921 * sysdeps/s390/rtld-__longjmp.c: New file.
21922 * sysdeps/s390/rtld-setjmp.S: New file.
21924 2014-01-06 Joseph Myers <joseph@codesourcery.com>
21927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21928 Return -__logl (x) for small positive arguments without evaluating
21931 2014-01-06 Mike Frysinger <vapier@gentoo.org>
21933 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21935 (__ptrace_peeksiginfo_args): ... this.
21936 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21940 2014-01-06 Allan McRae <allan@archlinux.org>
21942 * inet/netinet/in.h: Fix typo in comment.
21944 2014-01-05 Andreas Jaeger <aj@suse.de>
21946 * sysdeps/i386/fpu/libm-test-ulps: Update.
21948 2014-01-05 Allan McRae <allan@archlinux.org>
21950 * po/libc.pot: Regenerated.
21952 * malloc/memusagestat.c: Fix gettext call formatting.
21954 2014-01-04 Sami Kerola <kerolasa@iki.fi>
21956 * nscd/nscd.c: Improve usage() output.
21958 2014-01-04 Mike Frysinger <vapier@gentoo.org>
21960 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21961 * sysdeps/unix/sysv/linux/configure: Regenerated.
21962 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21963 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21965 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21968 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21969 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21971 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21974 extra tokens at end of #undef directive.
21975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21979 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21981 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21983 * math/auto-libm-test-in: Mark various tests with
21984 xfail-rounding:ldbl-128ibm.
21985 * math/auto-libm-test-out: Regenerated.
21987 2014-01-02 Joseph Myers <joseph@codesourcery.com>
21990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21991 numbers with subnormal high part when calculating exponent.
21994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22000 (__ieee754_acoshl): Use __log1pl not __log1p.
22002 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22004 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22005 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22006 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22007 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22008 (reused_arena, arena_get2): Convert to GNU style.
22009 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22010 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22011 (memalign_check, __malloc_set_state): Likewise.
22012 * malloc/mallocbug.c (main): Likewise.
22013 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22014 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22015 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22016 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22017 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22018 (__posix_memalign, malloc_info): Likewise.
22019 * malloc/malloc.h: Likewise.
22020 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22021 (mallochook, memalignhook, reallochook, mabort): Likewise.
22022 * malloc/mcheck.h: Likewise.
22023 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22024 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22025 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22026 * malloc/morecore.c (__default_morecore): Likewise.
22027 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22028 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22029 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22030 (print_and_abort): Likewise.
22031 * malloc/obstack.h: Likewise.
22032 * malloc/set-freeres.c (__libc_freeres): Likewise.
22033 * malloc/tst-mallocstate.c (main): Likewise.
22034 * malloc/tst-mtrace.c (main): Likewise.
22035 * malloc/tst-realloc.c (do_test): Likewise.
22037 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22040 * nscd/netgroupcache.c (do_notfound): New function.
22041 (addgetnetgrentX): Use it.
22044 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22045 NSS_STATUS_NOTFOUND.
22047 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22049 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22052 2014-01-01 Allan McRae <allan@archlinux.org>
22054 * scripts/update-copyrights: Update configure input file suffix.
22056 * NEWS: Update copyright year.
22057 * catgets/gencat.c: Likewise.
22058 * csu/version.c: Likewise.
22059 * debug/catchsegv.sh: Likewise.
22060 * debug/pcprofiledump.c: Likewise.
22061 * debug/xtrace.sh: Likewise.
22062 * elf/ldconfig.c: Likewise.
22063 * elf/ldd.bash.in: Likewise.
22064 * elf/pldd.c: Likewise.
22065 * elf/sotruss.ksh: Likewise.
22066 * elf/sprof.c: Likewise.
22067 * iconv/iconv_prog.c: Likewise.
22068 * iconv/iconvconfig.c: Likewise.
22069 * locale/programs/locale.c: Likewise.
22070 * locale/programs/localedef.c: Likewise.
22071 * login/programs/pt_chown.c: Likewise.
22072 * malloc/memusage.sh: Likewise.
22073 * malloc/memusagestat.c: Likewise.
22074 * malloc/mtrace.pl: Likewise.
22075 * manual/libc.texinfo: Likewise.
22076 * nscd/nscd.c: Likewise.
22077 * nss/getent.c: Likewise.
22078 * nss/makedb.c: Likewise.
22079 * posix/getconf.c: Likewise.
22080 * scripts/test-installation.pl: Likewise.
22082 * All files with FSF copyright notices: Update copyright dates
22083 using scripts/update-copyrights.
22084 * intl/plural.c: Regenerated.
22085 * locale/programs/charmap-kw.h: Likewise.
22086 * locale/programs/locfile-kw.h: Likewise.
22088 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22090 * sysdeps/unix/sysv/linux/configure: Regenerated.
22091 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22092 the linux/fanotify.h header.
22093 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22094 HAVE_LINUX_FANOTIFY_H is defined.
22096 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22098 * benchtests/cos-inputs: New inputs.
22099 * benchtests/sin-inputs: Likewise.
22101 * benchtests/atan-inputs: New inputs. Fix name of multiple
22102 precision fallback inputs.
22104 * benchtests/atanh-inputs: New inputs.
22105 * benchtests/tanh-inputs: Likewise.
22107 * benchtests/acosh-inputs: New inputs.
22108 * benchtests/asinh-inputs: Likewise.
22110 * benchtests/cosh-inputs: New inputs.
22111 * benchtests/sinh-inputs: Likewise.
22113 * benchtests/acos-inputs: Add more inputs.
22114 * benchtests/asin-inputs: Likewise.
22116 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22119 * manual/arith.texi: Fix spelling.
22120 * manual/charset.texi: Likewise.
22121 * manual/errno.texi: Likewise.
22122 * manual/filesys.texi: Likewise.
22123 * manual/lang.texi: Likewise.
22124 * manual/llio.texi: Likewise.
22125 * manual/locale.texi: Likewise.
22126 * manual/message.texi: Likewise.
22127 * manual/resource.texi: Likewise.
22128 * manual/search.texi: Likewise.
22129 * manual/setjmp.texi: Likewise.
22130 * manual/stdio.texi: Likewise.
22131 * manual/string.texi: Likewise.
22132 * manual/sysinfo.texi: Likewise.
22133 * manual/time.texi: Likewise.
22135 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22137 * po/sl.po: New file.
22139 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22141 * .gitignore: Add core/.gdbinit/.gdb_history.
22143 2013-12-27 Allan McRae <allan@archlinux.org>
22146 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22147 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22149 2013-12-24 Brooks Moses <bmoses@google.com>
22151 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22152 all compilers that claim C++98 compliance, not just GCC.
22153 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22156 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22158 * NEWS: Restore accidentally deleted bug-fix entries.
22160 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22161 Ondřej Bílka <neleai@seznam.cz>
22164 * malloc/malloc.c (_int_free): Perform sanity check only if we
22167 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22170 * manual/stdio.texi (String Input Conversions): Clarify that character
22171 classes are not supported.
22173 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22177 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22181 Calculate results for small negative arguments directly rather
22182 than using reflection formula with special underflow handling.
22184 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22185 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22186 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22187 (fchflags): Likewise.
22188 (revoke): Likewise.
22189 (setlogin): Likewise.
22190 (sigaltstack): Likewise.
22192 (sigblock): Remove.
22193 (sigsetmask): Likewise.
22195 (waitpid): Likewise.
22196 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22197 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22199 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22200 * sysdeps/unix/bsd/Makefile: ... here.
22201 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22202 * sysdeps/unix/bsd/Versions: ... here.
22203 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22204 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22205 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22206 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22207 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22208 * sysdeps/unix/bsd/sigblock.c: ... here.
22209 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22210 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22211 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22212 * sysdeps/unix/bsd/sigvec.c: ... here.
22213 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22214 * sysdeps/unix/bsd/tcdrain.c: ... here.
22215 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22216 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22217 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22218 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22219 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22220 * sysdeps/unix/bsd/wait.c: ... here.
22221 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22222 * sysdeps/unix/bsd/wait3.c: ... here.
22223 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22224 * sysdeps/unix/bsd/waitpid.c: ... here.
22226 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22230 round-to-nearest for [!USE_AS_EXPM1L].
22231 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22232 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22233 more tests of exp and exp10. Expect some exp10 tests to miss
22234 exceptions or fail in directed rounding modes.
22235 * math/auto-libm-test-out: Regenerated.
22236 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22237 (exp10_test_tonearest): New function.
22238 (exp10_towardzero_test_data): New array.
22239 (exp10_test_towardzero): New function.
22240 (exp10_downward_test_data): New array.
22241 (exp10_test_downward): New function.
22242 (exp10_upward_test_data): New array.
22243 (exp10_test_upward): New function.
22244 (main): Call the new functions.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22250 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22251 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22252 * math/auto-libm-test-out: Regenerated.
22253 * math/libm-test.inc (acosh_test_data): Add more tests.
22254 (atanh_test_data): Likewise.
22255 (ceil_test_data): Likewise.
22256 (copysign_test_data): Likewise.
22257 * sysdeps/i386/fpu/libm-test-ulps: Update.
22258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22260 * timezone/checktab.awk: Update from tzcode 2013i.
22261 * timezone/private.h: Likewise.
22262 * timezone/scheck.c: Likewise.
22263 * timezone/tzfile.h: Likewise.
22264 * timezone/tzselect.ksh: Likewise.
22265 * timezone/zdump.c: Likewise.
22266 * timezone/zic.c: Likewise.
22268 * math/auto-libm-test-in: Add tests of cpow.
22269 * math/auto-libm-test-out: Regenerated.
22270 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22271 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22273 (func_calc_desc): Add mpc_cc_c union field.
22274 (test_functions): Add cpow.
22275 (special_fill_2pi): New function.
22276 (special_real_inputs): Add 2pi.
22277 (calc_generic_results): Handle mpc_cc_c.
22278 * sysdeps/i386/fpu/libm-test-ulps: Update.
22279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22281 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22282 csqrt, ctan and ctanh.
22283 * math/auto-libm-test-out: Regenerated.
22284 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22285 (TEST_COND_x86): Likewise.
22286 (ccos_test_data): Use AUTO_TESTS_c_c.
22287 (ccosh_test_data): Likewise.
22288 (cexp_test_data): Likewise.
22289 (clog_test_data): Likewise.
22290 (csqrt_test_data): Likewise.
22291 (ctan_test_data): Likewise.
22292 (ctan_tonearest_test_data): Likewise.
22293 (ctan_towardzero_test_data): Likewise.
22294 (ctan_downward_test_data): Likewise.
22295 (ctan_upward_test_data): Likewise.
22296 (ctanh_test_data): Likewise.
22297 (ctanh_tonearest_test_data): Likewise.
22298 (ctanh_towardzero_test_data): Likewise.
22299 (ctanh_downward_test_data): Likewise.
22300 (ctanh_upward_test_data): Likewise.
22301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22303 (func_calc_desc): Add mpc_c_c union field.
22304 (FUNC_mpc_c_c): New macro.
22305 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22306 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22308 (special_fill_min_subnorm_p120): New function.
22309 (special_real_inputs): Add min_subnorm_p120.
22310 (calc_generic_results): Handle mpc_c_c.
22311 * sysdeps/i386/fpu/libm-test-ulps: Update.
22312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22314 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22316 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22317 (do_sin_slow): New functions.
22318 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22319 (cslow2, csloww1, csloww2): Use the new functions.
22321 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22322 Use M to change sign of result instead of X. Assume X is
22324 (csloww1): Likewise.
22328 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22329 arguments A and DA.
22333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22335 (sloww1): Don't adjust sign of DX.
22336 (csloww1): Likewise.
22337 (sloww2): Use X directly and don't adjust sign of DX.
22338 (csloww2): Likewise.
22340 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22342 * math/auto-libm-test-in: Add tests of cabs and carg.
22343 * math/auto-libm-test-out: Regenerated.
22344 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22345 (carg_test_data): Likewise.
22346 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22348 (func_calc_desc): Add mpc_c_f union field.
22349 (test_functions): Add cabs and carg.
22350 (calc_generic_results): Handle mpc_c_f.
22352 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22353 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22354 as a macro and a compat symbol.
22355 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22356 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22357 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22358 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22359 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22364 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22366 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22372 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22373 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22376 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22380 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22382 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22383 trailing whitespace removed.
22384 * scripts/config.guess: Update to version 2013-11-29.
22385 * scripts/config.sub: Update to version 2013-10-01.
22387 * math/auto-libm-test-in: Add tests of sincos.
22388 * math/auto-libm-test-out: Regenerated.
22389 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22392 (func_calc_desc): Add mpfr_f_11 union field.
22393 (test_functions): Add sincos.
22394 (calc_generic_results): Handle mpfr_f_11.
22395 * sysdeps/i386/fpu/libm-test-ulps: Update.
22396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22398 2013-12-19 Andreas Schwab <schwab@suse.de>
22400 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22402 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22403 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22404 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22406 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22408 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22409 * sysdeps/i386/fpu/libm-test-ulps: Update.
22410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22413 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22414 round-to-nearest mode when using frndint.
22415 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22416 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22417 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22419 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22421 * math/auto-libm-test-out: Regenerated.
22422 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22423 (TEST_COND_x86): Likewise.
22424 (expm1_tonearest_test_data): New array.
22425 (expm1_test_tonearest): New function.
22426 (expm1_towardzero_test_data): New array.
22427 (expm1_test_towardzero): New function.
22428 (expm1_downward_test_data): New array.
22429 (expm1_test_downward): New function.
22430 (expm1_upward_test_data): New array.
22431 (expm1_test_upward): New function.
22432 (main): Run the new test functions.
22433 * sysdeps/i386/fpu/libm-test-ulps: Update.
22434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22436 * include/features.h: Update comment documenting feature test
22437 macros. Mention _DEFAULT_SOURCE in comment.
22438 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22439 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22440 _BSD_SOURCE and _SVID_SOURCE.
22441 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22442 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22443 !_SVID_SOURCE]: Likewise.
22444 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22445 (__USE_POSIX_IMPLICITLY): Define.
22446 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22447 (_POSIX_SOURCE): Undefine and redefine.
22448 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22449 (_POSIX_C_SOURCE): Likewise.
22450 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22451 (Feature Test Macros): Update documentation of default features.
22453 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22455 * benchtests/Makefile: Add bench-strtok.
22456 * benchtests/bench-strtok.c: New file: strtok benchtest.
22458 2013-12-19 Allan McRae <allan@archlinux.org>
22460 * manual/install.texi: Suppress menu for plain text output.
22461 * INSTALL: Regenerated.
22463 2013-12-18 Brooks Moses <bmoses@google.com>
22466 * misc/getauxval.c: Include errno.h.
22467 (__getauxval): Set errno to ENOENT if the requested type is not
22469 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22470 don't declare with __attribute_const__.
22471 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22472 * manual/startup.texi: Document that getauxval sets errno.
22474 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22476 * math/auto-libm-test-in: Add tests of jn and yn.
22477 * math/auto-libm-test-out: Regenerated.
22478 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22479 (yn_test_data): Likewise.
22480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22482 (func_calc_desc): Add mpfr_if_f union field.
22483 (FUNC_mpfr_if_f): New macro.
22484 (test_functions): Add jn and yn.
22485 (calc_generic_results): Assert type of second input for
22486 mpfr_ff_f. Handle mpfr_if_f.
22487 (output_for_one_input_case): Disable all checking for arguments
22488 fitting floating-point types in case of an integer argument.
22489 * sysdeps/i386/fpu/libm-test-ulps: Update.
22490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22493 Don't expect fegetround reference in libm.so.
22495 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22497 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22498 $(config-cflags-nofma).
22500 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22502 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22503 * math/auto-libm-test-out: Regenerated.
22506 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22507 to determine exponent and adjust argument to have exponent of -1.
22508 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22510 * math/auto-libm-test-out: Regenerated.
22511 * sysdeps/i386/fpu/libm-test-ulps: Update.
22512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22516 * manual/probes.texi: Remove cases when per-thread arenas are
22519 2013-12-18 Andreas Schwab <schwab@suse.de>
22521 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22522 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22523 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22524 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22525 * sysdeps/i386/i686/multiarch/Makefile: Update.
22526 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22528 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22530 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22531 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22533 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22536 Support TZ transition times < 00:00:00.
22537 This is needed for version-3 tz-format files; it supports time
22538 stamps past 2037 for America/Godthab (the only entry in the tz
22539 database for which this change is relevant).
22540 * manual/time.texi (TZ Variable): Document transition times
22541 from -167:59:59 through -00:00:01.
22542 * time/tzset.c (tz_rule): Time of day is now signed.
22543 (__tzset_parse_tz): Parse negative time of day.
22545 Document TZ transition times >= 25:00:00.
22546 * manual/time.texi (TZ Variable): Document transition times from
22547 25:00:00 through 167:59:59. These are already supported, and this
22548 support will help with version-3 tz-format files.
22550 * manual/time.texi (TZ Variable): Modernize North America example
22551 to reflect current (i.e., 2007-and-later) daylight saving rules.
22553 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22555 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22557 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22558 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22560 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22561 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22562 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22563 * sysdeps/unix/bsd/clock.c: Likewise.
22564 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22565 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22566 * sysdeps/unix/bsd/init-posix.c: Likewise.
22567 * sysdeps/unix/bsd/poll.c: Likewise.
22568 * sysdeps/unix/bsd/ptsname.c: Likewise.
22569 * sysdeps/unix/bsd/seekdir.c: Likewise.
22570 * sysdeps/unix/bsd/setegid.c: Likewise.
22571 * sysdeps/unix/bsd/seteuid.c: Likewise.
22572 * sysdeps/unix/bsd/setgid.c: Likewise.
22573 * sysdeps/unix/bsd/setrgid.c: Likewise.
22574 * sysdeps/unix/bsd/setruid.c: Likewise.
22575 * sysdeps/unix/bsd/setsid.c: Likewise.
22576 * sysdeps/unix/bsd/setuid.c: Likewise.
22577 * sysdeps/unix/bsd/sigaction.c: Likewise.
22578 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22579 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22580 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22581 * sysdeps/unix/bsd/telldir.c: Likewise.
22582 * sysdeps/unix/bsd/times.c: Likewise.
22583 * sysdeps/unix/bsd/usleep.c: Likewise.
22585 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22586 ($(objpfx)libbsd-compat.a): Remove rule.
22588 * include/features.h (__FAVOR_BSD): Do not define.
22589 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22590 features conflicting with POSIX.
22591 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22592 (_BSD_SOURCE): Remove description of not being a subset of other
22593 feature test macros.
22594 * manual/job.texi (getpgrp): Do not document BSD version.
22595 (getpgid): Do not document by reference to BSD getpgrp.
22596 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22597 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22598 * signal/signal.h [__FAVOR_BSD]: Likewise.
22599 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22600 instead of making contents conditional on [__FAVOR_BSD].
22601 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22603 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22607 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22610 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22611 values below 2**-450, not 2**-500.
22612 * math/auto-libm-test-in: Don't allow spurious underflow from
22614 * math/auto-libm-test-out: Regenerated.
22618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22619 values of ha and hb and sort them after adjusting subnormal
22621 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22623 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22624 values of ea and eb and sort them after adjusting subnormal
22626 * math/auto-libm-test-in: Do not expect some hypot tests of
22627 subnormals to fail. Add more hypot tests.
22628 * math/auto-libm-test-out: Regenerated.
22630 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22633 * sysdeps/sh/s_fma.c: New file.
22634 * sysdeps/sh/s_fmaf.c: New file.
22635 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22637 * sysdeps/sh/Implies: Add sh/soft-fp.
22639 2013-12-16 Roland McGrath <roland@hack.frob.com>
22641 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22642 level of indirection to members `objname', `errstring', `malloced'.
22643 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22644 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22645 it as the __longjmp argument (just pass 1 instead).
22646 (_dl_catch_error): Initialize C with argument pointers and address of
22647 volatile local ERRCODE rather than copying values out of C at return.
22649 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22651 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22652 * math/auto-libm-test-out: Regenerated.
22653 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22654 (hypot_test_data): Likewise.
22655 (pow_test_data): Likewise.
22656 (pow_tonearest_test_data): Likewise.
22657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22659 (func_calc_desc): Add mpfr_ff_f union field.
22660 (FUNC_mpfr_ff_f): New macro.
22661 (test_functions): Add atan2, hypot and pow.
22662 (special_fill_min): New function.
22663 (special_fill_minus_min): Likewise.
22664 (special_fill_min_subnorm): Likewise.
22665 (special_fill_minus_min_subnorm): Likewise.
22666 (special_real_inputs): Add min, -min, min_subnorm and
22668 (calc_generic_results): Handle mpfr_ff_f.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22672 2013-12-16 Will Newton <will.newton@linaro.org>
22674 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22675 (Aligned Memory Blocks): Add documentation for aligned_alloc
22676 and suggest it as an alternative to posix_memalign.
22677 (Hooks for Malloc): Document __memalign_hook is also called
22678 for aligned_alloc. (Summary of Malloc): Add summary for
22679 aligned alloc. Document __memalign_hook is also called
22682 2013-12-16 Will Newton <will.newton@linaro.org>
22684 * manual/memory.texi (Malloc Examples): Clarify default
22685 alignment documentation. Suggest posix_memalign rather
22686 than memalign or valloc.
22687 (Aligned Memory Blocks): Remove suggestion to use memalign
22688 or valloc. Remove obsolete comment about BSD.
22689 Document memalign errno values and mark the function obsolete.
22690 Document posix_memalign returned error codes. Mark valloc
22691 as obsolete. (Hooks for Malloc): __memalign_hook is also
22692 called for posix_memalign and valloc.
22693 (Summary of Malloc): Add posix_memalign to function summary.
22694 __memalign_hook is also called for posix_memalign and valloc.
22696 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22698 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22702 (sloww): Use mynumber union. Expand ternary operator into
22703 if-else statements.
22704 (cslow): use mynumber union.
22706 2013-12-16 Allan McRae <allan@archlinux.org>
22708 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22709 * configure: Regenerated.
22711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22714 * configure.ac: Added --enable-maintainer-mode. Check for
22715 autoconf when enabled.
22716 * configure: Regenerated.
22718 * nscd/nscd.service: New file.
22719 * nscd/nscd.tmpfiles: New file.
22721 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22724 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22725 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22726 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22727 (strstr): Add __strstr_sse2_unaligned ifunc.
22728 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22729 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22730 (strcasestr): Remove __strcasestr_sse42 ifunc.
22731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22735 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22737 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22738 * sysdeps/sh/bits/fenv.h: ... here.
22739 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22743 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22746 hypotf multiarch implementations.
22747 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22750 multiarch hypot for PPC64.
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22754 multiarch hypotf for PPC64.
22756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22757 modff multiarch implementations.
22758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22761 multiarch modf for PPC64.
22762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22765 multiarch modff for PPC64.
22767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22768 and logl multiarch implementations.
22769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22772 multiarch logb for PPC64.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22776 multiarch logb for PPC64.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22780 multiarch logb for PPC64.
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22783 isinff multiarch implementation.
22784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22788 multiarch isinf for PPC64.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22792 multiarch isinff for PPC64.
22794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22795 finitef multiarch implementation.
22796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22800 multiarch finite for PPC64.
22801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22804 multiarch finitef for PPC64.
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22807 lrint multiarch implementation.
22808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22812 multiarch llrint for PPC64.
22813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22814 multiarch lrint for PPC64.
22816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22817 copysignf multiarch implementation.
22818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22823 multiarch copysign for PPC64.
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22825 multiarch copysignf for PPC64.
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22828 multiarch implementation.
22829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22837 multiarch llround for PPC64.
22838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22839 multiarch trunc for PPC64.
22840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22841 multiarch truncf for PPC64.
22843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22844 multiarch implementation.
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22853 multiarch llround for PPC64.
22854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22855 multiarch round for PPC64.
22856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22857 multiarch roundf for PPC64.
22859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22860 multiarch implementation.
22861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22869 multiarch llround for PPC64.
22870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22871 multiarch floor for PPC64.
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22873 multiarch floorf for PPC64.
22875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22876 multiarch implementation.
22877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22885 multiarch llround for PPC64.
22886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22887 multiarch ceil for PPC64.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22889 multiarch ceilf for PPC64.
22891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22892 multiarch implementation.
22893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22900 multiarch llround for PPC64.
22901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22902 multiarch lround for PPC64.
22904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22905 multiarch implementation.
22906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22913 multiarch isnan for PPC64.
22914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22915 multiarch isnanf for PPC64.
22917 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22918 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22919 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22920 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22921 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22924 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22930 multiarch implementations.
22931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22932 (__libc_ifunc_impl_list): Likewise.
22933 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22934 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22935 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22936 multiarch stpcpy for PPC64.
22938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22939 multiarch implementations.
22940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22941 (__libc_ifunc_impl_list): Likewise.
22942 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22943 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22944 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22945 multiarch strcpy for PPC64.
22947 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22948 redefine function name.
22949 (_wordcopy_fwd_dest_aligned): Likewise.
22950 (_wordcopy_bwd_aligned): Likewise.
22951 (_wordcopy_bwd_dest_aligned): Likewise.
22952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22953 multiarch implementations.
22954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22955 (__libc_ifunc_impl_list): Likewise.
22956 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22957 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22958 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22959 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22960 multiarch wcscpy for PPC64.
22962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22963 multiarch implementations.
22964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22965 (__libc_ifunc_impl_list): Likewise.
22966 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22967 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22968 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22970 multiarch wcscpy for PPC64.
22972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22973 multiarch implementations.
22974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22975 (__libc_ifunc_impl_list): Likewise.
22976 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22977 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22978 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22979 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22980 multiarch wcsrchr for PPC64.
22982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22983 multiarch implementations.
22984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22985 (__libc_ifunc_impl_list): Likewise.
22986 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22987 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22988 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22989 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22990 multiarch wcschr for PPC64.
22992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22993 multiarch implementations.
22994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22995 (__libc_ifunc_impl_list): Likewise.
22996 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22997 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22998 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22999 multiarch strchrnul for PPC64.
23001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23004 (__libc_ifunc_impl_list): Likewise.
23005 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23006 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23007 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23008 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23014 (__libc_ifunc_impl_list): Likewise.
23015 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23016 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23018 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23022 multiarch implementations.
23023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23024 (__libc_ifunc_impl_list): Likewise.
23025 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23026 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23027 strncasecmp for PPC64.
23028 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23029 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23030 multiarch strncasecmp_l for PPC64.
23032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23033 multiarch implementations.
23034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23035 (__libc_ifunc_impl_list): Likewise.
23036 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23038 multiarch strcasecmp for PPC64.
23039 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23041 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23042 multiarch strcasecmp_l for PPC64.
23044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23047 (__libc_ifunc_impl_list): Likewise.
23048 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23049 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23050 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23056 (__libc_ifunc_impl_list): Likewise.
23057 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23058 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23059 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23065 (__libc_ifunc_impl_list): Likewise.
23066 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23067 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23068 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23069 rawmemrchr for PPC64.
23071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23074 (__libc_ifunc_impl_list): Likewise.
23075 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23076 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23077 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23083 (__libc_ifunc_impl_list): Likewise.
23084 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23085 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23086 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23092 (__libc_ifunc_impl_list): Likewise.
23093 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23094 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23095 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23098 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23099 avoid cretion of __bzero symbol.
23100 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23102 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23104 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23107 multiarch implementations.
23108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23109 (__libc_ifunc_impl_list): Likewise.
23110 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23111 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23112 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23113 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23115 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23116 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23117 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23118 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23119 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23121 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23123 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23127 (__libc_ifunc_impl_list): Likewise.
23128 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23129 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23135 multiarch for POWER/PPC64.
23136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23137 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23138 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23141 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23144 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23147 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23148 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23149 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23150 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23151 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23152 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23154 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23155 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23156 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23157 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23158 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23159 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23160 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23161 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23170 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23172 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23174 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23176 * benchtests/Makefile (bench): Add exp2 and log2.
23177 (LDLIBS-bench-exp2): Add -lm.
23178 (LDLIBS-bench-log2): Likewise.
23179 * benchtests/exp2-inputs: New inputs file.
23180 * benchtests/log2-inputs: New inputs file.
23181 * benchtests/log-inputs: Add new inputs.
23182 * benchtests/tan-inputs: Likewise.
23184 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23186 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23188 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23189 (csloww2): ... from here.
23191 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23192 instead of structures.
23193 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23194 (POLYNOMIAL): Likewise.
23195 (TAYLOR_SLOW): Likewise.
23201 (sloww1); Likewise.
23202 (sloww2): Likewise.
23203 (bsloww1): Likewise.
23204 (bsloww2): Likewise.
23205 (cslow2): Likewise.
23206 (csloww): Likewise.
23207 (csloww1): Likewise.
23208 (csloww2): Likewise.
23210 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23212 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23213 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23214 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23215 * malloc/hooks.c (realloc_check): Likewise.
23217 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23218 * malloc/arena.c: Remove PER_THREAD conditional.
23219 [!PER_THREAD]: Remove code.
23220 (ptmalloc_unlock_all2): Likewise.
23221 (ptmalloc_init): Likewise.
23222 (_int_new_arena): Likewise.
23223 (arena_get2): Likewise.
23224 * malloc/hooks.c (__malloc_get_state): Likewise.
23225 (__malloc_set_state): Likewise.
23226 * malloc/malloc.c: Likewise.
23227 (struct malloc_state): Likewise.
23228 (struct malloc_par): Likewise.
23229 (__libc_realloc): Likewise.
23230 (__libc_mallopt): Likewise.
23232 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23234 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23236 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23238 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23239 macro to a function. Check for zero perturb_byte.
23240 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23242 * malloc/malloc.c: (force_reg): Remove.
23243 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23244 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23245 force_reg by atomic_forced_read.
23246 * malloc/arena.c (ptmalloc_init): Likewise.
23247 * malloc/hooks.c (top_check): Likewise.
23249 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23253 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23257 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23259 * math/auto-libm-test-in: Add tests of lgamma.
23260 * math/auto-libm-test-out: Regenerated.
23261 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23262 (M_LOG_2_SQRT_PIl): Likewise.
23263 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23264 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23266 (func_calc_desc): Add mpfr_f_f1 union field.
23267 (ARGS1): New macro.
23275 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23276 (test_functions): Add lgamma.
23277 (calc_generic_results): Handle mpfr_f_f1.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23281 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23283 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23284 __mpn_add_n for PowerPC64/POWER7.
23285 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23286 __mpn_sub_n for PowerPC64/POWER7.
23288 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23289 __mpn_addmul_1 for PowerPC64.
23290 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23291 __mpn_submul_1 for PowerPC64.
23292 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23294 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23297 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23300 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23302 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23304 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23306 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23307 add multiarch folders.
23308 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23309 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23310 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23311 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23312 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23313 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23314 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23315 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23316 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23317 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23318 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23327 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23333 multiarch __ieee754_hypot for PowerPC32.
23334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23339 multiarch __ieee754_hypotf for PowerPC32.
23341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23342 long_double_symbol only if __logbl is defined.
23343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23344 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23346 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23348 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23350 path for implementation.
23351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23354 logb, and logbl multiarch implementations for PowerPC32.
23355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23360 multiarch logb for PowerPC32.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23366 multiarch logbf for PowerPC32.
23367 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23371 multiarch logbl implementation for PowerPC32.
23373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23374 and modff multiarch implementations.
23375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23380 multiarch modf for PowerPC32.
23381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23386 multiarch modff for PowerPC32.
23388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23389 and lrintf multiarch implementations.
23390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23395 multiarch lrint for PowerPC32.
23396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23397 file: multiarch lrintf for PowerPC32.
23399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23400 and lroundf multiarch implementations.
23401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23408 multiarch lround for PowerPC32.
23409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23410 file: multiarch lroundf for PowerPC32.
23412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23413 copysign and copysignf multiarch implementations.
23414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23419 file: multiarch copysign for PowerPC32.
23420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23421 file: multiarch copysignf for PowerPC32.
23423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23424 and truncf multiarch implementations.
23425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23430 multiarch trunc for PowerPC32.
23431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23436 multiarch truncf for PowerPC32.
23438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23439 and roundf multiarch implementations.
23440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23445 multiarch round for PowerPC32.
23446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23451 multiarch roundf for PowerPC32.
23453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23454 and floorf multiarch implementations.
23455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23460 multiarch floor for PowerPC32.
23461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23466 multiarch floorf for PowerPC32.
23468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23469 and ceilf multiarch implementations.
23470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23475 multiarch ceil for PowerPC32.
23476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23481 multiarch ceilf for PowerPC32.
23483 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23485 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23486 FINITEF is defined.
23487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23488 and finitef multiarch implementations.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23494 multiarch finite for PowerPC32.
23495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23498 file: multiarch finitef for PowerPC32.
23500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23501 and isinff multiarch implementations.
23502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23507 multiarch isinf for PowerPC32.
23508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23511 multiarch isinff for PowerPC32.
23513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23514 alias when __isnan is defined.
23515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23516 and isnanf multiarch implementations.
23517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23526 multiarch isnan for PowerPC32.
23527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23532 multiarch isnanf for PowerPC32.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23535 and sqrtf multiarch implementations.
23536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23541 multiarch sqrt for PowerPC32.
23542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23547 multiarch sqrtf for PowerPC32.
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23550 and llroundf multiarch implementations.
23551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23558 file: multiarch llround for PowerPC32.
23559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23560 file: multiarch llroundf for PowerPC32.
23562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23563 multiarch PowerPC32 fpu implementations.
23564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23569 multiarch llrint for PowerPC32.
23570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23583 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23585 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23586 multiarch wordcopy for PPC32.
23587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23590 (__libc_ifunc_impl_list): Likewise.
23591 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23592 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23594 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23596 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23598 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23606 multiarch wcscpy for PPC32.
23607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23610 (__libc_ifunc_impl_list): Likewise.
23611 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23612 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23613 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23614 sysdeps/powerpc/power6/wcscpy.c.
23616 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23624 multiarch wcsrchr for PPC32.
23625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23628 (__libc_ifunc_impl_list): Likewise.
23629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23630 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23631 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23632 sysdeps/powerpc/power6/wcsrchr.c.
23634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23640 multiarch wcschr for PPc32.
23641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23644 (__libc_ifunc_impl_list): Likewise.
23645 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23646 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23647 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23648 sysdeps/powerpc/power6/wcschr.c.
23650 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23651 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23654 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23655 file: multiarch strchr for PPC32.
23656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23659 (__libc_ifunc_impl_list): Likewise.
23661 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23663 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23665 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23667 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23668 multiarch strchrnul for PPC32.
23669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23672 (__libc_ifunc_impl_list): Likewise.
23674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23677 multiarch strncasecmp for PPC32.
23678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23680 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23681 multiarch strncasecmp_l for PPC32.
23682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23683 strncasecmp multiarch objects.
23684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23685 (__libc_ifunc_impl_list): Likewise.
23687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23690 multiarch strncasecmp for PPC32.
23691 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23694 multiarch strcasecmp_l for PPC32.
23695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23698 (__libc_ifunc_impl_list): Likewise.
23700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23704 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23705 multiarch strncmp for PPC32.
23706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23709 (__libc_ifunc_impl_list): Likewise.
23711 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23712 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23714 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23715 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23719 (__libc_ifunc_impl_list): Likewise.
23721 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23725 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23729 (__libc_ifunc_impl_list): Likewise.
23731 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23733 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23735 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23736 multiarch rawmemchr for PPC32.
23737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23740 (__libc_ifunc_impl_list): Likewise.
23742 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23744 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23746 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23747 file: memrchr multiarch for PPC32.
23748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23751 (__libc_ifunc_impl_list): Likewise.
23753 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23754 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23756 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23757 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23758 multiarch memchr for PPC32.
23759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23762 (__libc_ifunc_impl_list): Likewise.
23764 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23765 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23767 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23769 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23770 file: multiarch mempcpy for PPC32.
23771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23774 (__libc_ifunc_impl_list): Likewise.
23776 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23777 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23778 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23779 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23780 multiarch bzero for PPC32.
23781 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23783 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23785 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23786 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23787 file: multiarch memset for PPC32.
23788 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23790 memset multiarch objects.
23791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23792 (__libc_ifunc_impl_list): Likewise.
23794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23799 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23803 (__libc_ifunc_impl_list): Likewise.
23805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23811 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23814 multiarch memcpy for PPC32.
23815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23818 (__libc_ifunc_impl_list): Likewise.
23820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23821 support multiarch for POWER/PPC32.
23822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23824 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23826 Implies file to make multiarch folder appers before the fpu and
23827 default folder for power4 configuration.
23829 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23831 * scripts/bench.pl: Append volatile keyword to type.
23833 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23835 * sysdeps/sh/sotruss-lib.c: New file.
23836 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23838 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23842 2013-12-05 Joseph Myers <joseph@codesourcery.com>
23845 * math/w_tgamma.c: Include <errno.h>.
23846 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23847 * math/w_tgammaf.c: Include <errno.h>.
23848 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23849 * math/w_tgammal.c: Include <errno.h>.
23850 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23851 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23852 underflow. Add more tgamma tests.
23853 * math/auto-libm-test-out: Regenerated.
23854 * sysdeps/i386/fpu/libm-test-ulps: Update.
23855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23858 sin, sinh, tan, tanh, tgamma, y0 and y1.
23859 * math/auto-libm-test-out: Regenerated.
23860 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23861 (TEST_COND_x86): Likewise.
23862 (M_E2l): Remove macro.
23864 (M_2_SQRT_PIl): Likewise.
23865 (M_SQRT_PIl): Likewise.
23866 (M_1_DIV_El): Likewise.
23867 (log_test_data): Use AUTO_TESTS_f_f.
23868 (log10_test_data): Likewise.
23869 (log1p_test_data): Likewise.
23870 (log2_test_data): Likewise.
23871 (sin_test_data): Likewise.
23872 (sin_tonearest_test_data): Likewise.
23873 (sin_towardzero_test_data): Likewise.
23874 (sin_downward_test_data): Likewise.
23875 (sin_upward_test_data): Likewise.
23876 (sinh_test_data): Likewise.
23877 (sinh_tonearest_test_data): Likewise.
23878 (sinh_towardzero_test_data): Likewise.
23879 (sinh_downward_test_data): Likewise.
23880 (sinh_upward_test_data): Likewise.
23881 (tan_test_data): Likewise.
23882 (tan_tonearest_test_data): Likewise.
23883 (tan_towardzero_test_data): Likewise.
23884 (tan_downward_test_data): Likewise.
23885 (tan_upward_test_data): Likewise.
23886 (tanh_test_data): Likewise.
23887 (tgamma_test_data): Likewise.
23888 (y0_test_data): Likewise.
23889 (y1_test_data): Likewise.
23890 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23891 (special_real_inputs): Add pi/4.
23892 * sysdeps/i386/fpu/libm-test-ulps: Update.
23893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23895 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23897 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23898 "longjmp_target" static probes.
23899 (__longjmp): Rename to __longjmp_symbol.
23900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23901 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23902 on which longjmp to generate.
23903 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23906 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23907 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23908 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23910 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23911 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23913 __longjmp_symbol based on which __longjmp to generate.
23914 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23916 (setjmp): Rename to setjmp_symbol.
23917 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23918 (_setjmp): Rename to _setjmp_symbol.
23919 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23920 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23921 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23922 which setjmp to generate.
23923 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23924 "longjmp_target" static probes.
23926 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23928 * benchtests/README: Add note about output arguments.
23929 * benchtests/bench-sincos.c: Remove file.
23930 * benchtests/sincos-inputs: New file.
23931 * scripts/bench.pl: Identify output arguments and define
23932 static variables for them.
23934 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23937 * Makefile (INSTALL): Add install-plain.texi as the primary
23939 * manual/install-plain.texi: New file.
23940 * manual/install.texi: Include node directive only for
23941 non-plaintext output.
23943 2013-12-04 Joseph Myers <joseph@codesourcery.com>
23945 * stdlib/longlong.h: Update from GCC.
23949 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23950 * math/w_j0f.c (y0f): Likewise.
23951 * math/w_j0l.c (__y0l): Likewise.
23952 * math/w_j1.c (y1): Likewise.
23953 * math/w_j1f.c (y1f): Likewise.
23954 * math/w_j1l.c (__y1l): Likewise
23955 * math/w_jn.c (yn): Likewise.
23956 * math/w_jnf.c (ynf): Likewise.
23957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23958 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23959 value for Bessel function domain errors outside _SVID_ mode.
23960 Adjust sign of return value for yn (negative integer, 0).
23961 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23962 by zero in return for negative x and set sign appropriately for
23964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23966 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23967 expectations in error cases.
23968 (y1_test_data): Likewise.
23969 (yn_test_data): Likewise.
23970 * sysdeps/i386/fpu/libm-test-ulps: Update.
23971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23973 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23975 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23976 "64" to "64-v1". Add "64-v2".
23977 (abi-64-options): Rename to ...
23978 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23979 (abi-64-condition): Rename to ...
23980 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23981 (abi-64-ld-soname): Rename to ...
23982 (abi-64-v1-ld-soname): ... this.
23983 (abi-64-v2-options): Define.
23984 (abi-64-v2-condition): Likewise.
23985 (abi-64-v2-ld-soname): Likewise.
23986 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23987 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23992 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23993 Alan Modra <amodra@gmail.com>
23995 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23996 New versions for use with the ELFv2 ABI.
23997 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23998 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24000 (struct La_ppc64v2_retval): Likewise.
24001 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24002 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24003 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24004 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24005 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24006 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24007 Do not save or restore CR.
24008 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24009 (_dl_profile_resolve): Do no save or restore CR. Support extended
24010 return values for ELFv2 ABI. Fix location of FPR return registers.
24011 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24012 updated values for _CALL_ELF == 2.
24013 (La_regs, La_retval, int_retval): Likewise.
24015 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24017 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24018 (FRAME_MIN_SIZE_PARM): Likewise.
24019 (FRAME_BACKCHAIN): Likewise.
24020 (FRAME_CR_SAVE): Likewise.
24021 (FRAME_LR_SAVE): Likewise.
24022 (FRAME_TOC_SAVE): Likewise.
24023 (FRAME_PARM_SAVE): Likewise.
24024 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24025 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24026 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24027 (call_mcount_parm_offset): New macro.
24028 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24029 (PROF): Use symbolic stack frame offsets.
24030 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24031 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24032 Redefine in terms of FRAME_MIN_SIZE.
24033 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24034 (_dl_profile_resolve): Likewise. Update comment.
24035 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24036 symbols stack frame offsets.
24037 (__sigsetjmp): Likewise.
24038 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24039 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24040 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24041 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24044 (FRAME_BACKCHAIN): Remove.
24045 (FRAME_CR_SAVE): Likewise.
24046 (FRAME_LR_SAVE): Likewise.
24047 (FRAME_COMPILER_DW): Likewise.
24048 (FRAME_LINKER_DW): Likewise.
24049 (FRAME_TOC_SAVE): Likewise.
24050 (FRAME_PARM_SAVE): Likewise.
24051 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24052 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24053 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24055 (CHECK_SP): Use symbolic stack frame offsets.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24057 zone" instead of caller's parameter save area for temp storage.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24059 Likewise. Also, use symbolic stack frame offsets.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24061 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24062 our own stack frame instead of the caller's.
24063 (__socket): Use symbolic stack frame offsets.
24065 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24066 Alan Modra <amodra@gmail.com>
24068 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24070 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24071 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24072 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24074 (elf_machine_fixup_plt): Call it.
24075 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24077 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24079 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24080 r2 before calling target.
24082 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24083 Alan Modra <amodra@gmail.com>
24085 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24086 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24087 versions of macros to support ELFv2 ABI.
24088 (LOCALENTRY): New macro.
24089 (ENTRY, EALIGN): Use it.
24090 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24091 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24092 fall through into ENTRY entry point.
24093 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24094 Only define if _CALL_ELF != 2.
24096 (elf_machine_matches_host): Verify ABI version matches.
24097 (RTLD_START): Use LOCALENTRY.
24098 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24099 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24100 (PLT_ENTRY_WORDS): New macro.
24101 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24102 (elf_machine_runtime_setup): Support ELFv2 ABI.
24103 (elf_machine_fixup_plt): Likewise.
24104 (elf_machine_plt_conflict): Likewise.
24105 (resolve_ifunc): Likewise.
24106 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24110 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24112 (makecontext): Support ELFv2 ABI.
24113 * elf/elf.h (EF_PPC64_ABI): Define.
24115 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24117 * sysdeps/powerpc/powerpc64/sysdep.h
24118 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24119 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24120 (ENTRY) [ASSEMBLER]: ... but instead here ...
24121 (EALIGN) [ASSEMBLER]: ... and here.
24122 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24123 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24124 (ENTRY_2) [!ASSEMBLER]: Use it.
24125 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24126 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24128 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24129 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24131 Use PPC64_LOAD_FUNCPTR.
24133 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24135 2013-12-04 Alan Modra <amodra@gmail.com>
24137 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24138 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24139 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24140 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24143 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24144 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24145 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24146 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24147 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24149 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24152 (__makecontext): Fix incorrect CFI when backtracing out of
24153 context created via makecontext.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24155 (__setcontext): Fix incorrect CFI during switch to new context.
24156 (__novec_setcontext): Likewise.
24158 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24161 * time/strptime_l.c (__strptime_internal): Allow modifiers
24163 * time/tst-strptime.c (day_tests): Add testcase.
24165 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24167 * scripts/bench.pl: Skip over blank lines.
24169 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24172 * manual/time.texi (Calendar Time): Clarify what timezone functions
24175 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24179 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24181 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24183 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24184 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24185 * debug/memset_chk.c (__memset_chk): Likewise.
24186 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24187 * debug/strncpy_chk.c: Likewise.
24189 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24194 (__ieee754_exp): For possibly underflowing results, check size of
24195 result and force underflow exception if required.
24196 * math/auto-libm-test-in: Add more tests of exp.
24197 * math/auto-libm-test-out: Regenerated.
24198 * sysdeps/i386/fpu/libm-test-ulps: Update.
24199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24202 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24203 * math/w_exp2f.c (__exp2f): Likewise.
24204 * math/w_exp2l.c (__exp2l): Likewise.
24205 * math/auto-libm-test-in: Do not allow missing errno on exp2
24207 * math/auto-libm-test-out: Regenerated.
24209 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24212 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24213 handle filename validation.
24214 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24217 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24220 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24221 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24222 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24224 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24226 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24228 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24230 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24231 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24232 Add more erfc tests.
24233 * math/auto-libm-test-out: Regenerated.
24234 * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24238 exp2, expm1, j0 and j1.
24239 * math/auto-libm-test-out: Regenerated.
24240 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24241 (erfc_test_data): Likewise.
24242 (exp_test_data): Likewise.
24243 (exp_tonearest_test_data): Likewise.
24244 (exp_towardzero_test_data): Likewise.
24245 (exp_downward_test_data): Likewise.
24246 (exp_upward_test_data): Likewise.
24247 (exp10_test_data): Likewise.
24248 (exp2_test_data): Likewise.
24249 (expm1_test_data): Likewise.
24250 (j0_test_data): Likewise.
24251 (j1_test_data): Likewise.
24252 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24253 (input_flag_type): Add flag_xfail_rounding.
24254 (input_flags): Add xfail-rounding.
24255 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24256 (output_for_one_input_case): Handle flag_xfail_rounding.
24257 * sysdeps/i386/fpu/libm-test-ulps: Update.
24258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24260 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24263 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24266 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24269 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24270 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24271 (STAP_PROBE0): New macro.
24272 (STAP_PROBE1): Likewise.
24273 (STAP_PROBE2): Likewise.
24274 (STAP_PROBE3): Likewise.
24275 (STAP_PROBE4): Likewise.
24277 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24279 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24281 2013-12-02 Steve Ellcey <sellcey@mips.com>
24283 * benchtests/Makefile (bench): Add sqrt.
24284 (LDLIBS-bench-sqrt): New.
24285 * benchtests/sqrt-input: New.
24287 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24289 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24290 (GAIH_EAI): Likewise.
24291 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24292 (gaih_inet): Likewise.
24293 (getaddrinfo): Don't use GAIH_EAI.
24295 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24296 (struct gaih): Remove definition.
24298 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24300 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24301 Use HERRNOP directly.
24303 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24307 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24309 * math/gen-auto-libm-tests.c (test_functions): Add more
24310 single-argument functions.
24311 (special_fill_pi_2): New function.
24312 (special_fill_minus_pi_2): Likewise.
24313 (special_fill_pi_6): Likewise.
24314 (special_fill_minus_pi_6): Likewise.
24315 (special_fill_pi_3): Likewise.
24316 (special_fill_2pi_3): Likewise.
24317 (special_fill_e): Likewise.
24318 (special_fill_1_e): Likewise.
24319 (special_fill_e_minus_1): Likewise.
24320 (special_real_inputs): Add more special inputs.
24321 (output_for_one_input_case): Do not require ERANGE on underflow to
24322 zero if round-to-nearest result does not underflow to zero, unless
24323 exact results required.
24324 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24325 atan, atanh, cbrt, cos and cosh.
24326 * math/auto-libm-test-out: Regenerated.
24327 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24328 (acos_tonearest_test_data): Likewise.
24329 (acos_towardzero_test_data): Likewise.
24330 (acos_downward_test_data): Likewise.
24331 (acos_upward_test_data): Likewise.
24332 (acosh_test_data): Likewise.
24333 (asin_test_data): Likewise.
24334 (asin_tonearest_test_data): Likewise.
24335 (asin_towardzero_test_data): Likewise.
24336 (asin_upward_test_data): Likewise.
24337 (asinh_test_data): Likewise.
24338 (atan_test_data): Likewise.
24339 (atanh_test_data): Likewise.
24340 (cbrt_test_data): Likewise.
24341 (cos_test_data): Likewise.
24342 (cos_tonearest_test_data): Likewise.
24343 (cos_towardzero_test_data): Likewise.
24344 (cos_downward_test_data): Likewise.
24345 (cos_upward_test_data): Likewise.
24346 (cosh_test_data): Likewise.
24347 (cosh_tonearest_test_data): Likewise.
24348 (cosh_towardzero_test_data): Likewise.
24349 (cosh_downward_test_data): Likewise.
24350 (cosh_upward_test_data): Likewise.
24351 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24354 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24357 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24358 * math/w_exp10f.c (__exp10f): Likewise.
24359 * math/w_exp10l.c (__exp10l): Likewise.
24360 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24361 errno settings in existing tests.
24364 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24365 precision control set to double precision.
24366 * sysdeps/i386/fpu/w_sqrt.c: New file.
24367 * math/auto-libm-test-in: Add more tests.
24368 * math/auto-libm-test-out: Update.
24370 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24371 (sqrt_test_tonearest): New function.
24372 (sqrt_towardzero_test_data): New variable.
24373 (sqrt_test_towardzero): New function.
24374 (sqrt_downward_test_data): New variable.
24375 (sqrt_test_downward): New function.
24376 (sqrt_upward_test_data): New variable.
24377 (sqrt_test_upward): New function.
24378 (main): Call the new functions.
24380 * math/gen-auto-libm-tests.c: New file.
24381 * math/auto-libm-test-in: Likewise.
24382 * math/auto-libm-test-out: New generated file.
24383 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24385 (%beautify): Add generated representations of zero.
24386 (top level): Set $auto_input and call parse_auto_input.
24387 (beautify): Remove trailing "f" from hex float constants.
24388 (parse_args): Handle XFAIL_TEST.
24389 (convert_condition): New function.
24390 (or_value): Likewise.
24391 (or_cond_value): Likewise.
24392 (generate_testfile): Handle AUTO_TESTS_* lines.
24393 (parse_auto_input): New function.
24394 * math/libm-test.inc (XFAIL_TEST): New macro.
24395 (ERRNO_UNCHANGED): Update value.
24396 (ERRNO_EDOM): Likewise.
24397 (ERRNO_ERANGE): Likewise.
24398 (IGNORE_RESULT): Likewise.
24399 (TEST_COND_flt_32): New macro.
24400 (TEST_COND_dbl_64): Likewise.
24401 (TEST_COND_ldbl_96_intel): Likewise.
24402 (TEST_COND_ldbl_96_m68k): Likewise.
24403 (TEST_COND_ldbl_128): Likewise.
24404 (TEST_COND_ldbl_128ibm): Likewise.
24405 (TEST_COND_long32): Likewise.
24406 (TEST_COND_long64): Likewise.
24407 (TEST_COND_before_rounding): Likewise.
24408 (TEST_COND_after_rounding): Likewise.
24409 (enable_test): Handle XFAIL_TEST flag.
24410 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24411 with finite results.
24412 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24413 auto-libm-test-out.
24415 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24416 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24419 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24420 __tls_get_addr_internal instead of __tls_get_offset in order to
24421 avoid GOT pointer dependency. Make rtld export
24422 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24423 __tls_get_addr since we are a __tls_get_offset platform.
24424 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24425 GOT pointer being set up before.
24426 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24428 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24430 * manual/math.texi (Errors in Math Functions): Document accuracy
24434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24435 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24436 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24437 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24438 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24439 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24440 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24443 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24449 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24451 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24452 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24453 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24454 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24455 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24457 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24459 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24461 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24462 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24463 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24464 atomic-feupdateenv and flt-rounds.
24465 * sysdeps/powerpc/nofpu/Versions (libc): Add
24466 __atomic_feholdexcept, __atomic_feclearexcept,
24467 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24469 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24471 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24476 * manual/arith.texi (FP Exceptions): Document that exceptions may
24477 not be raised when matherr is used.
24478 (Math Error Reporting): Document overflow in directed rounding
24479 modes. Document that errno may not be set when finite values are
24480 returned on overflow. Document intent to set errno on underflow
24481 only for underflow to zero.
24484 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24485 round-to-nearest then adjust result for other rounding modes.
24486 * include/fenv.h (fegetround): Use libm_hidden_proto.
24487 * math/fegetround.c (fegetround): Use libm_hidden_def.
24488 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24489 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24490 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24491 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24493 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24495 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24496 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24498 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24501 * nss/Versions (libnss_files): Add
24502 _nss_files_gethostbyname3_r.
24503 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24505 (HOST_DB_LOOKUP): Remove macro.
24506 (_nss_files_gethostbyname_r): Implement function without the
24507 HOST_DB_LOOKUP macro.
24508 (_nss_files_gethostbyname2_r): Likewise.
24510 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24512 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24514 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24516 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24517 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24520 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24522 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24523 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24524 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24525 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24526 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24527 __fe_nomask_env_priv and attribute_hidden.
24528 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24529 (libc_feupdateenv_test_ppc): Likewise.
24530 (libc_feresetround_ppc): Likewise.
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24532 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24533 compat_symbol macro.
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24535 (__fe_nomask_env): Likewise.
24536 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24538 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24540 * string/Makefile: Remove ifunc tests.
24541 * string/test-string.h: Define TEST_IFUNC.
24542 * string/test-bcopy-ifunc.c: Remove.
24543 * string/test-bzero-ifunc.c: Likewise.
24544 * string/test-memccpy-ifunc.c: Likewise.
24545 * string/test-memchr-ifunc.c: Likewise.
24546 * string/test-memcmp-ifunc.c: Likewise.
24547 * string/test-memcpy-ifunc.c: Likewise.
24548 * string/test-memmem-ifunc.c: Likewise.
24549 * string/test-memmove-ifunc.c: Likewise.
24550 * string/test-mempcpy-ifunc.c: Likewise.
24551 * string/test-memrchr-ifunc.c: Likewise.
24552 * string/test-memset-ifunc.c: Likewise.
24553 * string/test-rawmemchr-ifunc.c: Likewise.
24554 * string/test-stpcpy-ifunc.c: Likewise.
24555 * string/test-stpncpy-ifunc.c: Likewise.
24556 * string/test-strcasecmp-ifunc.c: Likewise.
24557 * string/test-strcasestr-ifunc.c: Likewise.
24558 * string/test-strcat-ifunc.c: Likewise.
24559 * string/test-strchr-ifunc.c: Likewise.
24560 * string/test-strchrnul-ifunc.c: Likewise.
24561 * string/test-strcmp-ifunc.c: Likewise.
24562 * string/test-strcpy-ifunc.c: Likewise.
24563 * string/test-strcspn-ifunc.c: Likewise.
24564 * string/test-strlen-ifunc.c: Likewise.
24565 * string/test-strncasecmp-ifunc.c: Likewise.
24566 * string/test-strncat-ifunc.c: Likewise.
24567 * string/test-strncmp-ifunc.c: Likewise.
24568 * string/test-strncpy-ifunc.c: Likewise.
24569 * string/test-strnlen-ifunc.c: Likewise.
24570 * string/test-strpbrk-ifunc.c: Likewise.
24571 * string/test-strrchr-ifunc.c: Likewise.
24572 * string/test-strspn-ifunc.c: Likewise.
24573 * string/test-strstr-ifunc.c: Likewise.
24575 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24577 * benchtests/Makefile: Remove ifunc tests.
24578 * benchtests/bench-string.h: Define TEST_IFUNC.
24579 * benchtests/bench-bcopy-ifunc.c: Remove.
24580 * benchtests/bench-bzero-ifunc.c: Likewise.
24581 * benchtests/bench-memccpy-ifunc.c: Likewise.
24582 * benchtests/bench-memchr-ifunc.c: Likewise.
24583 * benchtests/bench-memcmp-ifunc.c: Likewise.
24584 * benchtests/bench-memcpy-ifunc.c: Likewise.
24585 * benchtests/bench-memmem-ifunc.c: Likewise.
24586 * benchtests/bench-memmove-ifunc.c: Likewise.
24587 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24588 * benchtests/bench-memrchr-ifunc.c: Likewise.
24589 * benchtests/bench-memset-ifunc.c: Likewise.
24590 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24591 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24592 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24593 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24594 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24595 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24596 * benchtests/bench-strcat-ifunc.c: Likewise.
24597 * benchtests/bench-strchr-ifunc.c: Likewise.
24598 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24599 * benchtests/bench-strcmp-ifunc.c: Likewise.
24600 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24601 * benchtests/bench-strcpy-ifunc.c: Likewise.
24602 * benchtests/bench-strcspn-ifunc.c: Likewise.
24603 * benchtests/bench-strlen-ifunc.c: Likewise.
24604 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24605 * benchtests/bench-strncat-ifunc.c: Likewise.
24606 * benchtests/bench-strncmp-ifunc.c: Likewise.
24607 * benchtests/bench-strncpy-ifunc.c: Likewise.
24608 * benchtests/bench-strnlen-ifunc.c: Likewise.
24609 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24610 * benchtests/bench-strrchr-ifunc.c: Likewise.
24611 * benchtests/bench-strsep-ifunc.c: Likewise.
24612 * benchtests/bench-strspn-ifunc.c: Likewise.
24613 * benchtests/bench-strstr-ifunc.c: Likewise.
24615 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24617 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24619 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24621 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24622 * rt/aio.h: Likewise.
24623 * sysdeps/gnu/bits/utmp.h: Likewise.
24624 * sysdeps/gnu/bits/utmpx.h: Likewise.
24625 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24626 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24627 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24628 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24629 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24630 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24631 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24632 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24633 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24634 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24635 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24636 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24637 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24639 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24640 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24641 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24642 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24643 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24644 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24647 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24648 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24649 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24651 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24652 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24653 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24654 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24655 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24656 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24657 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24658 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24659 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24660 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24661 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24662 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24663 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24664 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24665 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24666 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24668 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24671 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24672 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24674 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24676 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24677 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24680 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24683 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24684 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24685 (__fesetround): Remove define.
24686 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24687 rounding and exceptions handling.
24688 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24689 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24690 (__fe_nomask_env): Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24692 __fegetround instead of fegetround.
24693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24696 2013-11-21 Roland McGrath <roland@hack.frob.com>
24698 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24701 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24703 2013-11-21 Meador Inge <meadori@codesourcery.com>
24706 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24707 (encrypt_r): Likewise.
24708 * malloc/obstack.h (obstack_free): Likewise.
24709 * posix/unistd.h (encrypt): Likewise.
24711 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24713 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24714 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24715 DL_CALL_DT_FINI() that call the functions directly.
24716 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24717 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24718 * elf/dl-fini.c: Likewise.
24720 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24722 * malloc/hooks.c (memalign_check): Add alignment rounding.
24723 * malloc/malloc.c (_mid_memalign): New function.
24724 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24725 Implement by calling _mid_memalign.
24726 * manual/probes.texi (Memory Allocation Probes): Remove
24727 memory_valloc_retry and memory_pvalloc_retry.
24729 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24731 * locale/programs/locarchive.c (open_archive): Add const
24732 qualifier to ARCHIVEFNAME and copy default fname to
24736 * libio/tst-widetext.input: Rename Oriya to Odia.
24737 * locale/iso-639.def: Likewise.
24739 * manual/probes.texi (Mathematical Function Probes): Add
24740 documentation for sin, cos, asin and acos probes.
24741 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24742 (__sin32): Add slowasin probe.
24743 (__cos32): Add slowacos probe.
24744 (__mpsin): Add slowsin probe.
24745 (__mpcos): Add slowcos probe.
24747 2013-11-19 Joseph Myers <joseph@codesourcery.com>
24750 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24751 thread-local __sim_exceptions_thread and global
24752 __sim_exceptions_global.
24753 (__sim_disabled_exceptions): Change to thread-local
24754 __sim_disabled_exceptions_thread and global
24755 __sim_disabled_exceptions_global.
24756 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24757 and global __sim_round_mode_global.
24758 (__simulate_exceptions): Use thread-local floating-point state and
24759 set global state from it as needed.
24760 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24761 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24762 __sim_round_mode_thread.
24763 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24764 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24765 and global __sim_exceptions_global.
24766 (__sim_disabled_exceptions): Change to thread-local
24767 __sim_disabled_exceptions_thread and global
24768 __sim_disabled_exceptions_global.
24769 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24770 and global __sim_round_mode_global.
24771 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24772 (SIM_SET_GLOBAL): Likewise.
24773 * sysdeps/powerpc/soft-fp/sfp-machine.h
24774 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24775 __sim_round_mode_thread.
24776 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24777 __sim_disabled_exceptions_thread.
24778 (__sim_exceptions): Change to __sim_exceptions_thread.
24779 (__sim_disabled_exceptions): Change to
24780 __sim_disabled_exceptions_thread.
24781 (__sim_round_mode): Change to __sim_round_mode_thread.
24782 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24783 thread-local floating-point state and set global state from it as
24785 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24786 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24787 (__sim_disabled_exceptions): Remove extern declaration.
24788 (feenableexcept): Use thread-local floating-point state and set
24789 global state from it as needed.
24790 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24791 extern declaration.
24792 (__sim_disabled_exceptions): Likewise.
24793 (__sim_round_mode): Likewise.
24794 (__fegetenv): Use thread-local floating-point state.
24795 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24796 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24797 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24798 floating-point state and set global state from it as needed.
24799 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24800 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24801 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24803 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24804 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24806 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24807 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24808 Use __sim_round_mode_thread.
24809 * math/test-fenv-tls.c: New file.
24810 * math/Makefile (tests): Add test-fenv-tls.
24811 ($(objpfx)test-fenv-tls): Depend on
24812 $(common-objpfx)nptl/libpthread.so.
24814 2013-11-19 Andreas Schwab <schwab@suse.de>
24816 * locale/programs/locale.c (show_info): Decode wordarray elements.
24817 * locale/categories.def (LC_MONETARY): Add element for
24818 _NL_MONETARY_CRNCYSTR.
24819 * locale/C-monetary.c (conversion_rate): New variable.
24820 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24823 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24825 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24826 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24828 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24830 * elf/Makefile (tst-auxv): New test.
24831 * elf/tst-auxv.c: New
24832 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24834 2013-11-18 Joseph Myers <joseph@codesourcery.com>
24836 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24837 (hidden_proto): Caller changed.
24838 (hidden_tls_proto): New macro.
24839 (libc_hidden_tls_proto): Likewise.
24840 (rtld_hidden_tls_proto): Likewise.
24841 (libm_hidden_tls_proto): Likewise.
24842 (libresolv_hidden_tls_proto): Likewise.
24843 (librt_hidden_tls_proto): Likewise.
24844 (libdl_hidden_tls_proto): Likewise.
24845 (libnss_files_hidden_tls_proto): Likewise.
24846 (libnsl_hidden_tls_proto): Likewise.
24847 (libnss_nisplus_hidden_tls_proto): Likewise.
24848 (libutil_hidden_tls_proto): Likewise.
24850 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
24853 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24854 (decompose_rpath): Defer expansion to fillin_rpath.
24855 (_dl_init_paths): Pass linkmap to fillin_rpath.
24857 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24859 * benchtests/Makefile: Add strsep.
24860 * benchtests/bench-strsep.c: New file: strsep benchtest.
24861 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24863 2013-11-18 Andreas Schwab <schwab@suse.de>
24865 * locale/programs/locale.c (show_info) [case byte]: Check for
24866 '\377' instead of '\177'.
24867 * locale/C-monetary.c (not_available): Always use "\377".
24868 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24869 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24870 detect unavailable sign_posn locale elements.
24871 * locale/localeconv.c (__localeconv): For grouping and
24872 mon_grouping handle "\177" and "\377" like no grouping.
24873 (INT_ELEM): New macro. Use it to set all numeric members.
24874 * locale/programs/ld-monetary.c (monetary_read)
24875 <tok_mon_grouping>: Normalize single -1 to the empty string.
24876 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24879 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24883 when we match (nil).
24884 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24886 2013-11-16 Joseph Myers <joseph@codesourcery.com>
24888 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24889 (NO_TEST_INLINE): Update value.
24890 (ERRNO_UNCHANGED): Likewise.
24891 (ERRNO_EDOM): Likewise.
24892 (ERRNO_ERANGE): Likewise.
24893 (IGNORE_RESULT): Likewise.
24894 (check_float_internal): Check signs of NaN results if
24895 TEST_NAN_SIGN used.
24896 (check_complex): Pass TEST_NAN_SIGN flag through to second
24897 check_float_internal call.
24898 (copysign_test_data): Add tests with quiet NaNs as second
24899 argument. Use TEST_NAN_SIGN.
24900 (fabs_test_data): Add test of negative quiet NaN argument. Use
24902 (signbit_test_data): Add tests of quiet NaN argument.
24903 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24905 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24907 (parse_args): Handle function results specified as IGNORE.
24908 * math/libm-test.inc (IGNORE_RESULT): New macro.
24909 (check_float_internal): Do not check numerical result if flag
24911 (check_complex): Pass through IGNORE_RESULT to second
24912 check_float_internal call.
24913 (check_int): Do not check numerical result if flag IGNORE_RESULT
24915 (check_long): Likewise.
24916 (check_bool): Likewise.
24917 (check_longlong): Likewise.
24918 (lrint_test_data): Add tests of infinite and NaN arguments.
24919 (lrint_tonearest_test_data): Likewise.
24920 (lrint_towardzero_test_data): Likewise.
24921 (lrint_downward_test_data): Likewise.
24922 (lrint_upward_test_data): Likewise.
24923 (llrint_test_data): Likewise.
24924 (llrint_tonearest_test_data): Likewise.
24925 (llrint_towardzero_test_data): Likewise.
24926 (llrint_downward_test_data): Likewise.
24927 (llrint_upward_test_data): Likewise.
24928 (lround_test_data): Likewise.
24929 (llround_test_data): Likewise.
24931 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24932 (ERRNO_UNCHANGED): Update value.
24933 (ERRNO_EDOM): Likewise.
24934 (ERRNO_ERANGE): Likewise.
24935 (NO_TEST_INLINE_FLOAT): New macro.
24936 (NO_TEST_INLINE_DOUBLE): Likewise.
24937 (enable_test): New function.
24938 (RUN_TEST_f_f): Check enable_test before running test.
24939 (RUN_TEST_2_f): Likewise.
24940 (RUN_TEST_fff_f): Likewise.
24941 (RUN_TEST_c_f): Likewise.
24942 (RUN_TEST_f_f1): Likewise.
24943 (RUN_TEST_fF_f1): Likewise.
24944 (RUN_TEST_fI_f1): Likewise.
24945 (RUN_TEST_ffI_f1): Likewise.
24946 (RUN_TEST_c_c): Likewise.
24947 (RUN_TEST_cc_c): Likewise.
24948 (RUN_TEST_f_i): Likewise.
24949 (RUN_TEST_f_i_tg): Likewise.
24950 (RUN_TEST_ff_i_tg): Likewise.
24951 (RUN_TEST_f_b): Likewise.
24952 (RUN_TEST_f_b_tg): Likewise.
24953 (RUN_TEST_f_l): Likewise.
24954 (RUN_TEST_f_L): Likewise.
24955 (RUN_TEST_fFF_11): Likewise.
24956 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24958 (cosh_test_data): Likewise.
24959 (exp_test_data): Likewise.
24960 (expm1_test_data): Likewise.
24961 (hypot_test_data): Likewise.
24962 (pow_test_data): Likewise.
24963 (sinh_test_data): Likewise.
24964 (tanh_test_data): Likewise.
24965 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24968 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24969 tests with quiet NaN input and output.
24970 (acosh_test_data): Likewise.
24971 (asin_test_data): Likewise.
24972 (asinh_test_data): Likewise.
24973 (atan_test_data): Likewise.
24974 (atanh_test_data): Likewise.
24975 (atan2_test_data): Likewise.
24976 (cbrt_test_data): Likewise.
24977 (cos_test_data): Likewise.
24978 (cosh_test_data): Likewise.
24979 (erf_test_data): Likewise.
24980 (erfc_test_data): Likewise.
24981 (exp_test_data): Likewise.
24982 (exp10_test_data): Likewise.
24983 (exp2_test_data): Likewise.
24984 (expm1_test_data): Likewise.
24985 (hypot_test_data): Likewise.
24986 (j0_test_data): Likewise.
24987 (j1_test_data): Likewise.
24988 (jn_test_data): Likewise.
24989 (lgamma_test_data): Likewise.
24990 (log_test_data): Likewise.
24991 (log10_test_data): Likewise.
24992 (log1p_test_data): Likewise.
24993 (log2_test_data): Likewise.
24994 (pow_test_data): Likewise.
24995 (scalb_test_data): Likewise.
24996 (sin_test_data): Likewise.
24997 (sincos_test_data): Likewise.
24998 (sinh_test_data): Likewise.
24999 (tan_test_data): Likewise.
25000 (tanh_test_data): Likewise.
25001 (tgamma_test_data): Likewise.
25002 (y0_test_data): Likewise.
25003 (y1_test_data): Likewise.
25004 (yn_test_data): Likewise.
25007 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25008 argument being NaN and avoid computations with second argument in
25010 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25011 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25012 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25014 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25016 * locale/iso-639.def: Add Chitwani Tharu (the).
25018 2013-11-14 Andreas Schwab <schwab@suse.de>
25020 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25021 word instead of empty string.
25023 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25026 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25028 (__fe_nomask_env): Likewise.
25030 2013-11-13 Steve Ellcey <sellcey@mips.com>
25032 * benchtests/bench-timing.h: Include time.h.
25034 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25037 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25039 * sysdeps/unix/sysv/linux/configure: Regenerated.
25041 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25044 * stdlib/strtod_l.c (round_and_return): Do not consider
25045 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25046 exponent one less than half the least subnormal exponent.
25047 * stdlib/test-strtod-round-data: Add more tests.
25048 * stdlib/tst-strtod-round.c (tests): Regenerated.
25050 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25053 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25054 (__fe_mask_env): Likewise.
25055 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25056 libm_hidden_proto and add function prototype.
25057 (__fe_mask_env): Add function prototype.
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25059 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25061 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25063 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25065 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25068 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25070 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25072 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25073 of htab_find_slot().
25075 2013-11-11 David S. Miller <davem@davemloft.net>
25078 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25079 symbol in the non-vis3 case in static builds.
25080 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25081 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25082 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25083 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25085 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25088 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25091 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25093 * benchtests/Makefile: Add bench-strtod.
25094 * benchtests/bench-strtod.c: New file: strtod benchtest
25096 2013-11-11 Andreas Schwab <schwab@suse.de>
25099 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25100 terminating NUL in key length.
25102 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25105 Add artificial ODP entry for vDSO symbol for PPC64.
25106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25107 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25109 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25112 * nss/getent.c (services_keys): Recognize services starting with digit.
25114 2013-11-06 David S. Miller <davem@davemloft.net>
25117 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25118 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25120 2013-11-06 Will Newton <will.newton@linaro.org>
25122 * manual/memory.texi (Malloc Examples): Remove register
25123 keyword from examples.
25125 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25127 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25129 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25132 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25133 depending on [__GCC_IEC_559 > 0].
25134 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25135 depending on [__GCC_IEC_559_COMPLEX > 0].
25137 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25139 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25142 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25144 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25146 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25149 * malloc/malloc (malloc_info): Do not handle first bin as
25152 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25154 * locale/iso-639.def: Add Central Nahuatl (nhn).
25156 2013-11-01 Bruno Haible <bruno@clisp.org>
25159 * manual/math.texi (BSD Random): Specify range upper bound as
25162 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25164 * locale/iso-639.def: Add Meadow Mari (mhr).
25166 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25168 [BZ #14752], [BZ #15763]
25169 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25171 * rt/tst_shm.c: Add test for escaping directory.
25173 2013-10-31 Andreas Schwab <schwab@suse.de>
25176 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25177 followed by 'x' as part of digit sequence.
25178 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25180 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25183 * configure.ac: allow GNU Make 4.0 and greater.
25184 * configure: Regenerated.
25186 2013-10-30 Will Newton <will.newton@linaro.org>
25189 * malloc/hooks.c (memalign_check): Limit alignment to the
25190 maximum representable power of two.
25191 * malloc/malloc.c (__libc_memalign): Likewise.
25192 * malloc/tst-memalign.c (do_test): Add test for very
25193 large alignment values.
25194 * malloc/tst-posix_memalign.c (do_test): Likewise.
25196 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25199 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25200 (munmap_chunk): Likewise.
25201 (mremap_chunk): Likewise.
25203 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25206 * stdlib/div.c (div): Remove obsolete code.
25207 * stdlib/ldiv.c (ldiv): Likewise.
25208 * stdlib/lldiv.c (lldiv): Likewise.
25210 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25213 * nss/nss_files/files-XXX.c (get_contents_ret): New
25215 (get_contents): New function.
25216 (internal_getent): Use it. Expand size of LINEBUFLEN.
25218 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25220 * configure.in: Moved to ...
25221 * configure.ac: ... here. Change reference to configure.in
25223 * sysdeps/arm/preconfigure.ac: ... here.
25224 configure.in to configure.ac.
25225 * sysdeps/gnu/configure.in: Moved to ...
25226 * sysdeps/gnu/configure.ac: ... here.
25227 * sysdeps/i386/configure.in: Moved to ...
25228 * sysdeps/i386/configure.ac: ... here.
25229 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25230 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25231 * sysdeps/mach/configure.in: Moved to ...
25232 * sysdeps/mach/configure.ac: ... here.
25233 * sysdeps/mach/hurd/configure.in: Moved to ...
25234 * sysdeps/mach/hurd/configure.ac: ... here.
25235 * sysdeps/powerpc/configure.in: Moved to ...
25236 * sysdeps/powerpc/configure.ac: ... here.
25237 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25238 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25239 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25240 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25241 * sysdeps/s390/s390-32/configure.in: Moved to ...
25242 * sysdeps/s390/s390-32/configure.ac: ... here.
25243 * sysdeps/s390/s390-64/configure.in: Moved to ...
25244 * sysdeps/s390/s390-64/configure.ac: ... here.
25245 * sysdeps/sh/configure.in: Moved to ...
25246 * sysdeps/sh/configure.ac: ... here.
25247 * sysdeps/sparc/configure.in: Moved to ...
25248 * sysdeps/sparc/configure.ac: ... here.
25249 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25250 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25251 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25252 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25253 * sysdeps/x86_64/configure.in: Moved to ...
25254 * sysdeps/x86_64/configure.ac: ... here.
25255 * sysdeps/x86_64/preconfigure.in: Moved to ...
25256 * sysdeps/x86_64/preconfigure.ac: ... here.
25257 * aclocal.m4: Change reference to configure.in to configure.ac.
25258 * config.h.in: Likewise.
25259 * manual/install.texi: Likewise.
25260 * manual/maint.texi: Likewise.
25261 * Makefile: Likewise.
25262 * malloc/Makefile: Likewise.
25263 * nscd/Makefile: Likewise.
25264 * Makeconfig: Change reference to configure.in and
25265 preconfigure.in to configure.ac and preconfigure.ac
25267 * INSTALL: Regenerated.
25268 * configure: Likewise.
25269 * sysdeps/gnu/configure: Likewise.
25270 * sysdeps/i386/configure: Likewise.
25271 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25272 * sysdeps/mach/configure: Likewise.
25273 * sysdeps/mach/hurd/configure: Likewise.
25274 * sysdeps/powerpc/configure: Likewise.
25275 * sysdeps/powerpc/powerpc32/configure: Likewise.
25276 * sysdeps/powerpc/powerpc64/configure: Likewise.
25277 * sysdeps/s390/s390-32/configure: Likewise.
25278 * sysdeps/s390/s390-64/configure: Likewise.
25279 * sysdeps/sh/configure: Likewise.
25280 * sysdeps/sparc/configure: Likewise.
25281 * sysdeps/unix/sysv/linux/configure: Likewise.
25282 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25283 * sysdeps/x86_64/configure: Likewise.
25284 * sysdeps/x86_64/preconfigure: Likewise.
25286 2013-10-29 Andreas Schwab <schwab@suse.de>
25288 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25290 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25292 * benchtests/pow-inputs: Add new inputs.
25294 * benchtests/exp-inputs: Add new inputs.
25296 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25297 conditional check for return value.
25298 (__cos32): Likewise.
25300 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25302 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25303 to provide a boost for large inputs with word alignment.
25304 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25305 implementation based on optimized PPC64 strcpy.
25306 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25307 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25308 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25309 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25311 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25314 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25316 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25319 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25320 * time/tst-strptime.c (day_tests): Add testcase.
25322 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25325 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25327 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25330 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25331 MAP_FAILED on error.
25333 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25336 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25337 heap for large requests.
25339 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25342 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25343 result if the result has no associated interface.
25344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25345 interface for all 127.X.Y.Z addresses.
25347 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25349 * locale/iso-639.def: Add Ligurian (lij)
25351 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25354 * sunrpc/rpc_main.c: Document rpcgen -5.
25356 2013-10-19 Michael Stahl <mstahl@redhat.com>
25358 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25360 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25363 * posix/glob.c: Match only directories when trailing slash is present.
25364 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25365 (main): Add testcase.
25367 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25370 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25372 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25374 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25375 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25376 AUTH_DES and cindex for FIPS 140-2.
25377 (DES Encryption): Add cindex FIPS 46-3.
25379 * locale/locarchive.h (struct locarhandle): Add fname.
25380 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25381 if an optional argument was specified to --list-archive,
25383 * locale/programs/locarchive.c (show_archive_content): Take new
25384 argument fname and pass it via ah.fname to open_archive.
25385 * locale/programs/localedef.h: Update decl.
25386 (open_archive): If AH->fname is non-null, open that file
25387 rather than the default file name, and don't ignore ENOENT.
25388 (create_archive): Set AH.fname to NULL.
25389 (delete_locales_from_archive): Likewise.
25390 (add_locales_to_archive): Likewise.
25391 * locale/programs/locfile.c (write_all_categories): Likewise.
25393 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25394 Aldy Hernandez <aldyh@redhat.com>
25396 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25397 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25398 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25399 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25400 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25401 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25402 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25403 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25404 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25405 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25406 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25407 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25408 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25409 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25414 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25416 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25418 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25419 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25421 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25422 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25423 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25424 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25426 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25427 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25428 * sysdeps/powerpc/preconfigure: Likewise.
25429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25431 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25432 Replace contents of file by #include of <fenv_libc.h>.
25433 * sysdeps/powerpc/soft-fp/sfp-machine.h
25434 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25436 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25449 Allow copysignl PLT reference to be missing.
25451 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25452 Joseph Myers <joseph@codesourcery.com
25455 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25457 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25459 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25461 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25462 * elf/tst-tls1.c: Likewise.
25463 * elf/tst-tls10.h: Likewise.
25464 * elf/tst-tls14.c: Likewise.
25465 * elf/tst-tls2.c: Likewise.
25466 * elf/tst-tls3.c: Likewise.
25467 * elf/tst-tls4.c: Likewise.
25468 * elf/tst-tls5.c: Likewise.
25469 * elf/tst-tls6.c: Likewise.
25470 * elf/tst-tls7.c: Likewise.
25471 * elf/tst-tls8.c: Likewise.
25472 * elf/tst-tls9.c: Likewise.
25473 * elf/tst-tlsmod1.c: Likewise.
25474 * elf/tst-tlsmod13.c: Likewise.
25475 * elf/tst-tlsmod13a.c: Likewise.
25476 * elf/tst-tlsmod14a.c: Likewise.
25477 * elf/tst-tlsmod16a.c: Likewise.
25478 * elf/tst-tlsmod16b.c: Likewise.
25479 * elf/tst-tlsmod2.c: Likewise.
25480 * elf/tst-tlsmod3.c: Likewise.
25481 * elf/tst-tlsmod4.c: Likewise.
25482 * elf/tst-tlsmod5.c: Likewise.
25483 * elf/tst-tlsmod6.c: Likewise.
25485 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25488 * malloc/malloc.c: remove checks for statistics.
25490 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25493 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25494 * inet/tst-network.c: Add testcase.
25496 2013-10-17 Andreas Schwab <schwab@suse.de>
25499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25500 to determine canonical name.
25502 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25504 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25505 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25528 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25529 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25563 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25566 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25567 make result into a quiet NaN.
25569 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25571 * soft-fp/adddf3.c: Fix horizontal whitespace.
25572 * soft-fp/addsf3.c: Likewise.
25573 * soft-fp/addtf3.c: Likewise.
25574 * soft-fp/divdf3.c: Likewise.
25575 * soft-fp/divsf3.c: Likewise.
25576 * soft-fp/divtf3.c: Likewise.
25577 * soft-fp/double.h: Likewise.
25578 * soft-fp/eqdf2.c: Likewise.
25579 * soft-fp/eqsf2.c: Likewise.
25580 * soft-fp/eqtf2.c: Likewise.
25581 * soft-fp/extenddftf2.c: Likewise.
25582 * soft-fp/extended.h: Likewise.
25583 * soft-fp/extendsfdf2.c: Likewise.
25584 * soft-fp/extendsftf2.c: Likewise.
25585 * soft-fp/extendxftf2.c: Likewise.
25586 * soft-fp/fixdfdi.c: Likewise.
25587 * soft-fp/fixdfsi.c: Likewise.
25588 * soft-fp/fixdfti.c: Likewise.
25589 * soft-fp/fixsfdi.c: Likewise.
25590 * soft-fp/fixsfsi.c: Likewise.
25591 * soft-fp/fixsfti.c: Likewise.
25592 * soft-fp/fixtfdi.c: Likewise.
25593 * soft-fp/fixtfsi.c: Likewise.
25594 * soft-fp/fixtfti.c: Likewise.
25595 * soft-fp/fixunsdfdi.c: Likewise.
25596 * soft-fp/fixunsdfsi.c: Likewise.
25597 * soft-fp/fixunsdfti.c: Likewise.
25598 * soft-fp/fixunssfdi.c: Likewise.
25599 * soft-fp/fixunssfsi.c: Likewise.
25600 * soft-fp/fixunssfti.c: Likewise.
25601 * soft-fp/fixunstfdi.c: Likewise.
25602 * soft-fp/fixunstfsi.c: Likewise.
25603 * soft-fp/fixunstfti.c: Likewise.
25604 * soft-fp/floatdidf.c: Likewise.
25605 * soft-fp/floatdisf.c: Likewise.
25606 * soft-fp/floatditf.c: Likewise.
25607 * soft-fp/floatsidf.c: Likewise.
25608 * soft-fp/floatsisf.c: Likewise.
25609 * soft-fp/floatsitf.c: Likewise.
25610 * soft-fp/floattidf.c: Likewise.
25611 * soft-fp/floattisf.c: Likewise.
25612 * soft-fp/floattitf.c: Likewise.
25613 * soft-fp/floatundidf.c: Likewise.
25614 * soft-fp/floatundisf.c: Likewise.
25615 * soft-fp/floatunditf.c: Likewise.
25616 * soft-fp/floatunsidf.c: Likewise.
25617 * soft-fp/floatunsisf.c: Likewise.
25618 * soft-fp/floatunsitf.c: Likewise.
25619 * soft-fp/floatuntidf.c: Likewise.
25620 * soft-fp/floatuntisf.c: Likewise.
25621 * soft-fp/floatuntitf.c: Likewise.
25622 * soft-fp/fmadf4.c: Likewise.
25623 * soft-fp/fmasf4.c: Likewise.
25624 * soft-fp/fmatf4.c: Likewise.
25625 * soft-fp/gedf2.c: Likewise.
25626 * soft-fp/gesf2.c: Likewise.
25627 * soft-fp/getf2.c: Likewise.
25628 * soft-fp/ledf2.c: Likewise.
25629 * soft-fp/lesf2.c: Likewise.
25630 * soft-fp/letf2.c: Likewise.
25631 * soft-fp/muldf3.c: Likewise.
25632 * soft-fp/mulsf3.c: Likewise.
25633 * soft-fp/multf3.c: Likewise.
25634 * soft-fp/negdf2.c: Likewise.
25635 * soft-fp/negsf2.c: Likewise.
25636 * soft-fp/negtf2.c: Likewise.
25637 * soft-fp/op-1.h: Likewise.
25638 * soft-fp/op-2.h: Likewise.
25639 * soft-fp/op-4.h: Likewise.
25640 * soft-fp/op-8.h: Likewise.
25641 * soft-fp/op-common.h: Likewise.
25642 * soft-fp/quad.h: Likewise.
25643 * soft-fp/single.h: Likewise.
25644 * soft-fp/soft-fp.h: Likewise.
25645 * soft-fp/sqrtdf2.c: Likewise.
25646 * soft-fp/sqrtsf2.c: Likewise.
25647 * soft-fp/sqrttf2.c: Likewise.
25648 * soft-fp/subdf3.c: Likewise.
25649 * soft-fp/subsf3.c: Likewise.
25650 * soft-fp/subtf3.c: Likewise.
25651 * soft-fp/truncdfsf2.c: Likewise.
25652 * soft-fp/trunctfdf2.c: Likewise.
25653 * soft-fp/trunctfsf2.c: Likewise.
25654 * soft-fp/trunctfxf2.c: Likewise.
25655 * soft-fp/unorddf2.c: Likewise.
25656 * soft-fp/unordsf2.c: Likewise.
25657 * soft-fp/unordtf2.c: Likewise.
25659 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25661 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25662 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25664 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25666 * elf/dl-libc.c: Clear initfini list after freeing.
25668 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25670 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25671 * soft-fp/addsf3.c: Likewise.
25672 * soft-fp/addtf3.c: Likewise.
25673 * soft-fp/divdf3.c: Likewise.
25674 * soft-fp/divsf3.c: Likewise.
25675 * soft-fp/divtf3.c: Likewise.
25676 * soft-fp/double.h: Likewise.
25677 * soft-fp/eqdf2.c: Likewise.
25678 * soft-fp/eqsf2.c: Likewise.
25679 * soft-fp/eqtf2.c: Likewise.
25680 * soft-fp/extenddftf2.c: Likewise.
25681 * soft-fp/extended.h: Likewise.
25682 * soft-fp/extendsfdf2.c: Likewise.
25683 * soft-fp/extendsftf2.c: Likewise.
25684 * soft-fp/extendxftf2.c: Likewise.
25685 * soft-fp/fixdfdi.c: Likewise.
25686 * soft-fp/fixdfsi.c: Likewise.
25687 * soft-fp/fixdfti.c: Likewise.
25688 * soft-fp/fixsfdi.c: Likewise.
25689 * soft-fp/fixsfsi.c: Likewise.
25690 * soft-fp/fixsfti.c: Likewise.
25691 * soft-fp/fixtfdi.c: Likewise.
25692 * soft-fp/fixtfsi.c: Likewise.
25693 * soft-fp/fixtfti.c: Likewise.
25694 * soft-fp/fixunsdfdi.c: Likewise.
25695 * soft-fp/fixunsdfsi.c: Likewise.
25696 * soft-fp/fixunsdfti.c: Likewise.
25697 * soft-fp/fixunssfdi.c: Likewise.
25698 * soft-fp/fixunssfsi.c: Likewise.
25699 * soft-fp/fixunssfti.c: Likewise.
25700 * soft-fp/fixunstfdi.c: Likewise.
25701 * soft-fp/fixunstfsi.c: Likewise.
25702 * soft-fp/fixunstfti.c: Likewise.
25703 * soft-fp/floatdidf.c: Likewise.
25704 * soft-fp/floatdisf.c: Likewise.
25705 * soft-fp/floatditf.c: Likewise.
25706 * soft-fp/floatsidf.c: Likewise.
25707 * soft-fp/floatsisf.c: Likewise.
25708 * soft-fp/floatsitf.c: Likewise.
25709 * soft-fp/floattidf.c: Likewise.
25710 * soft-fp/floattisf.c: Likewise.
25711 * soft-fp/floattitf.c: Likewise.
25712 * soft-fp/floatundidf.c: Likewise.
25713 * soft-fp/floatundisf.c: Likewise.
25714 * soft-fp/floatunsidf.c: Likewise.
25715 * soft-fp/floatunsisf.c: Likewise.
25716 * soft-fp/floatuntidf.c: Likewise.
25717 * soft-fp/floatuntisf.c: Likewise.
25718 * soft-fp/floatuntitf.c: Likewise.
25719 * soft-fp/fmadf4.c: Likewise.
25720 * soft-fp/fmasf4.c: Likewise.
25721 * soft-fp/fmatf4.c: Likewise.
25722 * soft-fp/gedf2.c: Likewise.
25723 * soft-fp/gesf2.c: Likewise.
25724 * soft-fp/getf2.c: Likewise.
25725 * soft-fp/ledf2.c: Likewise.
25726 * soft-fp/lesf2.c: Likewise.
25727 * soft-fp/letf2.c: Likewise.
25728 * soft-fp/muldf3.c: Likewise.
25729 * soft-fp/mulsf3.c: Likewise.
25730 * soft-fp/multf3.c: Likewise.
25731 * soft-fp/negdf2.c: Likewise.
25732 * soft-fp/negsf2.c: Likewise.
25733 * soft-fp/negtf2.c: Likewise.
25734 * soft-fp/op-1.h: Likewise.
25735 * soft-fp/op-2.h: Likewise.
25736 * soft-fp/op-4.h: Likewise.
25737 * soft-fp/op-8.h: Likewise.
25738 * soft-fp/op-common.h: Likewise.
25739 * soft-fp/quad.h: Likewise.
25740 * soft-fp/single.h: Likewise.
25741 * soft-fp/soft-fp.h: Likewise.
25742 * soft-fp/sqrtdf2.c: Likewise.
25743 * soft-fp/sqrtsf2.c: Likewise.
25744 * soft-fp/sqrttf2.c: Likewise.
25745 * soft-fp/subdf3.c: Likewise.
25746 * soft-fp/subsf3.c: Likewise.
25747 * soft-fp/subtf3.c: Likewise.
25748 * soft-fp/truncdfsf2.c: Likewise.
25749 * soft-fp/trunctfdf2.c: Likewise.
25750 * soft-fp/trunctfsf2.c: Likewise.
25751 * soft-fp/trunctfxf2.c: Likewise.
25752 * soft-fp/unorddf2.c: Likewise.
25753 * soft-fp/unordsf2.c: Likewise.
25754 * soft-fp/unordtf2.c: Likewise.
25756 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
25759 * misc/error.c (error_tail): Fix possible buffer overflow.
25761 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25764 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25767 2013-10-14 P. J. McDermott <pj@pehjota.net>
25770 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25771 testing pipefail option.
25773 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25775 * soft-fp/double.h: Indent preprocessor directives inside #if.
25776 * soft-fp/extended.h: Likewise.
25777 * soft-fp/op-2.h: Likewise.
25778 * soft-fp/op-4.h: Likewise.
25779 * soft-fp/op-common.h: Likewise.
25780 * soft-fp/quad.h: Likewise.
25781 * soft-fp/single.h: Likewise.
25782 * soft-fp/soft-fp.h: Likewise.
25784 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25786 * iconv/iconv_prog.c: Fix typos.
25787 * stdio-common/psiginfo-data.h: Likewise.
25789 2013-10-12 Reuben Thomas <rrt@sc3d.org>
25792 * locale/setlocale.c: Fix typo.
25794 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25797 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25798 signaling NaN arguments.
25799 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25800 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25803 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25804 unordered operands.
25805 * soft-fp/gesf2.c (__gesf2): Likewise.
25806 * soft-fp/getf2.c (__getf2): Likewise.
25807 * soft-fp/ledf2.c (__ledf2): Likewise.
25808 * soft-fp/lesf2.c (__lesf2): Likewise.
25809 * soft-fp/letf2.c (__letf2): Likewise.
25811 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25812 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25813 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25814 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25815 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25816 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25817 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25818 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25819 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25820 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25821 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25822 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25823 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25824 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25825 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25826 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25827 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25828 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25829 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25830 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25831 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25832 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25833 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25834 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25835 * soft-fp/floattidf.c (__floattidf): Likewise.
25836 * soft-fp/floattisf.c (__floattisf): Likewise.
25837 * soft-fp/floattitf.c (__floattitf): Likewise.
25838 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25839 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25840 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25841 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25842 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25843 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25844 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25845 * soft-fp/gesf2.c (__gesf2): Likewise.
25846 * soft-fp/getf2.c (__getf2): Likewise.
25847 * soft-fp/ledf2.c (__ledf2): Likewise.
25848 * soft-fp/lesf2.c (__lesf2): Likewise.
25849 * soft-fp/letf2.c (__letf2): Likewise.
25851 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25852 Undefine and redefine.
25853 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25854 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25855 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25856 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25857 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25858 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25859 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25860 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25861 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25862 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25863 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25864 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25865 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25866 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25867 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25870 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25871 without decrementing exponent if mantissa >= that for the
25872 denominator, not >.
25873 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25874 denominator, not >. Decrement exponent in < case instead of
25875 incrementing in >= case.
25876 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25877 without decrementing exponent if mantissa >= that for the
25878 denominator, not >.
25880 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25881 computing saturated result for unsigned overflow.
25883 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25884 Jeff Law <law@redhat.com>
25886 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25887 (atan2Mp): Add systemtap probe marker.
25888 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25889 (__ieee754_log): Add systemtap probe marker.
25890 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25891 (atanMp): Add systemtap probe marker.
25892 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25893 (tanMp): Add systemtap probe marker.
25894 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25895 (__slowexp): Add systemtap probe marker.
25896 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25897 (__slowpow): Add systemtap probe marker.
25898 * manual/probes.texi: Document probes.
25900 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
25903 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25905 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25907 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25908 written to buffer but not flushed.
25909 * libio/iofwrite_u.c: Likewise.
25910 * libio/iopadn.c: Return bytes returned even if EOF was
25912 * libio/iowpadn.c: Likewise.
25913 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25914 if _IO_padn does not write the whole buffer.
25915 [!COMPILE_WPRINTF] (PAD): Likewise.
25917 2013-10-10 David S. Miller <davem@davemloft.net>
25919 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25922 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25924 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25925 instead of FSF address.
25926 * soft-fp/fixdfti.c: Likewise.
25927 * soft-fp/fixsfti.c: Likewise.
25928 * soft-fp/fixtfti.c: Likewise.
25929 * soft-fp/fixunsdfti.c: Likewise.
25930 * soft-fp/fixunssfti.c: Likewise.
25931 * soft-fp/fixunstfti.c: Likewise.
25932 * soft-fp/floattidf.c: Likewise.
25933 * soft-fp/floattisf.c: Likewise.
25934 * soft-fp/floattitf.c: Likewise.
25935 * soft-fp/floatuntidf.c: Likewise.
25936 * soft-fp/floatuntisf.c: Likewise.
25937 * soft-fp/floatuntitf.c: Likewise.
25938 * soft-fp/trunctfxf2.c: Likewise.
25940 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25941 * soft-fp/fixdfti.c: Likewise.
25942 * soft-fp/fixsfti.c: Likewise.
25943 * soft-fp/fixtfti.c: Likewise.
25944 * soft-fp/fixunsdfti.c: Likewise.
25945 * soft-fp/fixunssfti.c: Likewise.
25946 * soft-fp/fixunstfti.c: Likewise.
25947 * soft-fp/floattidf.c: Likewise.
25948 * soft-fp/floattisf.c: Likewise.
25949 * soft-fp/floattitf.c: Likewise.
25950 * soft-fp/floatuntidf.c: Likewise.
25951 * soft-fp/floatuntisf.c: Likewise.
25952 * soft-fp/floatuntitf.c: Likewise.
25953 * soft-fp/trunctfxf2.c: Likewise.
25955 2013-10-10 David S. Miller <davem@davemloft.net>
25957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25959 2013-10-10 Joseph Myers <joseph@codsourcery.com>
25961 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25962 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25963 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25970 for NaNs before doing comparisons on argument.
25971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25974 2013-10-10 Will Newton <will.newton@linaro.org>
25976 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25977 passed to _int_memalign does not overflow.
25979 2013-10-10 Torvald Riegel <triegel@redhat.com>
25981 * scripts/bench.pl: Add include-sources directive.
25982 * benchtests/README: Update documentation.
25984 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25986 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25987 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25988 instead of FP_INIT_ROUNDMODE.
25989 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25990 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25993 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25994 copy class of input value.
25995 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25996 not handle exceptions.
25997 * soft-fp/negsf2.c (__negsf2): Likewise.
25998 * soft-fp/negtf2.c (__negtf2): Likewise.
25999 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26001 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26003 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26004 semicolon. From Linux kernel.
26006 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26008 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26010 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26013 * manual/socket.texi: Added statement about buffer
26014 for gethostbyname2_r.
26016 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26018 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26019 Use .p2align directive instead, throughout.
26020 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26021 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26022 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26025 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26026 * sysdeps/x86_64/strchr.S: Likewise.
26027 * sysdeps/x86_64/strrchr.S: Likewise.
26029 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26031 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26033 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26035 * sysdeps/generic/math_private.h (__mpsin1): Remove
26037 (__mpcos1): Likewise.
26038 (__mpsin): New argument __range_reduce.
26039 (__mpcos): Likewise.
26040 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26041 (slow): Use __mpsin and __mpcos.
26045 (sloww1): Likewise.
26046 (sloww2): Likewise.
26047 (bsloww): Likewise.
26048 (bsloww1): Likewise.
26049 (bsloww2): Likewise.
26050 (cslow2): Likewise.
26051 (csloww): Likewise.
26052 (csloww1): Likewise.
26053 (csloww2): Likewise.
26054 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26055 range_reduce. Merge in __mpsin1.
26056 (__mpcos): Likewise.
26057 (__mpsin1): Remove.
26058 (__mpcos1): Likewise.
26060 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26062 * locale/loadlocale.c (_nl_intern_locale_data): Use
26064 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26065 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26066 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26067 obstack data is appropriately aligned.
26068 (obstack_int32_grow_fast): Likewise.
26069 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26070 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26071 (add_locale_uint32_array): Likewise.
26073 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26075 * benchtests/Makefile: Remove ARGLIST and RET variables.
26076 ($(objpfx)bench-%.c): Pass only function name to the script.
26077 * benchtests/README: Update documentation.
26078 * benchtests/acos-inputs: Add new directives.
26079 * benchtests/acosh-inputs: Likewise.
26080 * benchtests/asin-inputs: Likewise.
26081 * benchtests/asinh-inputs: Likewise.
26082 * benchtests/atan-inputs: Likewise.
26083 * benchtests/atanh-inputs: Likewise.
26084 * benchtests/cos-inputs: Likewise.
26085 * benchtests/cosh-inputs: Likewise.
26086 * benchtests/exp-inputs: Likewise.
26087 * benchtests/log-inputs: Likewise.
26088 * benchtests/pow-inputs: Likewise.
26089 * benchtests/rint-inputs: Likewise.
26090 * benchtests/sin-inputs: Likewise.
26091 * benchtests/sinh-inputs: Likewise.
26092 * benchtests/tan-inputs: Likewise.
26093 * benchtests/tanh-inputs: Likewise.
26094 * scripts/bench.pl: Add support for new directives.
26096 2013-10-07 Alan Modra <amodra@gmail.com>
26098 * README: Fix careless merge.
26100 2013-10-05 Alan Modra <amodra@gmail.com>
26102 * NEWS: Mention powerpc64le support and bugs fixed.
26103 * README: Both big-endian and little-endian powerpc64 supported.
26105 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26107 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26108 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26109 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26110 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26112 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26114 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26117 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26119 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26120 Move -mhard-float appending from
26121 ports/sysdeps/powerpc/powerpc32/Makefile.
26122 [$(with-fp) = yes] (ASFLAGS): Likewise.
26123 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26124 * sysdeps/powerpc/nofpu: Move directory from
26125 ports/sysdeps/powerpc/nofpu.
26126 * sysdeps/powerpc/soft-fp: Move directory from
26127 ports/sysdeps/powerpc/soft-fp.
26128 * sysdeps/powerpc/powerpc32/405: Move directory from
26129 ports/sysdeps/powerpc/powerpc32/405.
26130 * sysdeps/powerpc/powerpc32/440: Move directory from
26131 ports/sysdeps/powerpc/powerpc32/440.
26132 * sysdeps/powerpc/powerpc32/464: Move directory from
26133 ports/sysdeps/powerpc/powerpc32/464.
26134 * sysdeps/powerpc/powerpc32/476: Move directory from
26135 ports/sysdeps/powerpc/powerpc32/476.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26143 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26146 * README: Update for powerpc-*-linux-gnu software floating point
26149 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26150 case to powerpc/powerpc32*.
26151 * sysdeps/unix/sysv/linux/configure: Regenerated.
26153 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26154 (_FPU_MASK_OM): Define as 0x04.
26155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26166 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26169 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26170 and setcontext_e500.
26172 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26174 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26176 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26178 * manual/threads.texi (Default Thread Attributes): Fix typo.
26180 2013-10-04 Will Newton <will.newton@linaro.org>
26182 * malloc/Makefile: Add tst-memalign.
26183 * malloc/tst-memalign.c: New file.
26185 * malloc/tst-posix_memalign.c: Add comments.
26186 (do_test): Add comments and call free on all potentially
26187 allocated pointers. Add space after cast.
26189 * malloc/tst-pvalloc.c: Add comments.
26190 (do_test): Add comments and call free on all potentially
26191 allocated pointers. Remove duplicate check for NULL pointer.
26192 Add space after cast.
26194 * malloc/tst-valloc.c: Add comments.
26195 (do_test): Add comments and call free on all potentially
26196 allocated pointers. Remove duplicate check for NULL pointer.
26197 Add space after cast.
26199 2013-10-04 Alan Modra <amodra@gmail.com>
26201 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26202 Use stdint types in rather than __attribute__((mode())).
26203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26205 2013-10-04 Alan Modra <amodra@gmail.com>
26207 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26208 Correct handling of unaligned relocs for little-endian.
26209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26211 2013-10-04 Alan Modra <amodra@gmail.com>
26213 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26214 * configure: Regenerate.
26215 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26216 * shlib-versions: Likewise.
26218 2013-10-04 Alan Modra <amodra@gmail.com>
26220 * string/tester.c (test_memrchr): Increment reported test cycle.
26222 2013-10-04 Alan Modra <amodra@gmail.com>
26224 * string/test-memcpy.c (do_one_test): When reporting errors, print
26225 string address and don't overrun end of string.
26227 2013-10-04 Alan Modra <amodra@gmail.com>
26229 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26230 insrdi. Make better use of reg selection to speed exit slightly.
26231 Schedule entry path a little better. Remove useless "are we done"
26232 checks on entry to main loop. Handle wrapping around zero address.
26233 Correct main loop count. Handle single left-over word from main
26234 loop inline rather than by using loop_small. Remove extra word
26235 case in loop_small caused by wrong loop count. Add little-endian
26237 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26240 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26242 support. Avoid rlwimi.
26243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26245 2013-10-04 Alan Modra <amodra@gmail.com>
26247 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26248 insrdi. Formatting.
26249 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26250 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26252 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26253 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26254 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26256 2013-10-04 Alan Modra <amodra@gmail.com>
26258 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26262 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26264 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26265 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26267 use of regs. Use power7 mtocrf. Tidy function tails.
26269 2013-10-04 Alan Modra <amodra@gmail.com>
26271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26272 Formatting. Consistently use rXXX register defines or rN defines.
26273 Use early exit labels that avoid restoring unused non-volatile regs.
26274 Make cr field use more consistent with rWORDn compares. Rename
26275 regs used as shift registers for unaligned loop, using rN defines
26276 for short lifetime/multiple use regs.
26277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26279 addi 1,1,64 to pop stack frame. Simplify return value code.
26280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26282 2013-10-04 Alan Modra <amodra@gmail.com>
26284 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26285 support. Correct typos, formatting. Optimize tail. Use insrdi
26286 rather than rlwimi.
26287 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26288 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26289 little-endian support. Correct typos.
26290 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26291 rather than rlwimi.
26292 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26293 in loop and entry code to keep "and." results.
26294 (strchr): Add little-endian support. Comment. Move cntlzd
26296 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26298 2013-10-04 Alan Modra <amodra@gmail.com>
26300 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26301 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26302 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26303 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26305 2013-10-04 Alan Modra <amodra@gmail.com>
26307 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26308 (rTMP): Define as r11.
26309 (strcmp): Add little-endian support. Optimise tail.
26310 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26311 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26312 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26318 2013-10-04 Alan Modra <amodra@gmail.com>
26320 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26321 little-endian support. Remove unnecessary "are we done" tests.
26322 Handle "s" wrapping around zero and extremely large "size".
26323 Correct main loop count. Handle single left-over word from main
26324 loop inline rather than by using small_loop. Correct comments.
26325 Delete "zero" tail, use "end_max" instead.
26326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26328 2013-10-04 Alan Modra <amodra@gmail.com>
26330 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26331 support. Don't branch over align.
26332 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26333 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26334 support. Rearrange tmp reg use to suit. Comment.
26335 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26337 2013-10-04 Alan Modra <amodra@gmail.com>
26339 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26341 2013-10-04 Alan Modra <amodra@gmail.com>
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26344 conditional form of branch and link when obtaining pc.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26347 2013-10-04 Alan Modra <amodra@gmail.com>
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26354 2013-10-04 Alan Modra <amodra@gmail.com>
26356 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26357 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26358 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26361 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26363 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26364 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26365 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26367 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26368 Alistair Popple <alistair@ozlabs.au.ibm.com>
26369 Alan Modra <amodra@gmail.com>
26372 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26374 _dl_hwcap access for little-endian.
26375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26376 destroy vmx regs when saving unaligned.
26377 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26378 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26379 destroy vmx regs when saving unaligned.
26381 2013-10-04 Alan Modra <amodra@gmail.com>
26383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26384 Don't use a union to pack hi/low value.
26386 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26388 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26390 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26391 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26392 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26393 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26394 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26396 2013-10-04 Alan Modra <amodra@gmail.com>
26398 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26399 constants to usual value for .cst8 section, and remove redundant
26401 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26402 constant for 0x1p52. Load little-endian words of double from
26403 correct stack offsets.
26405 2013-10-04 Alan Modra <amodra@gmail.com>
26407 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26408 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26409 words of double from correct stack offsets.
26410 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26412 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26415 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26416 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26417 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26419 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26420 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26421 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26422 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26423 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26424 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26425 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26426 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26428 2013-10-04 Alan Modra <amodra@gmail.com>
26430 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26431 64-bit int/double union.
26432 (_FPU_SETCW): Likewise.
26433 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26434 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26436 2013-10-04 Alan Modra <amodra@gmail.com>
26438 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26439 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26441 2013-10-04 Alan Modra <amodra@gmail.com>
26443 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26444 use vector int constants.
26445 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26447 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26449 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26450 array with long long.
26451 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26452 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26453 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26454 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26455 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26456 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26457 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26458 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26459 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26460 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26461 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26462 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26463 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26465 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26467 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26468 (__signbit): Likewise. Correct for little-endian.
26469 (__signbitl): Call __signbit.
26470 (lrint): Correct for little-endian.
26471 (lrintf): Call lrint.
26473 2013-10-04 Alan Modra <amodra@gmail.com>
26475 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26476 union 32-bit int array member with 64-bit int array.
26477 (t515, tm256): Double rather than long double.
26478 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26480 2013-10-04 Alan Modra <amodra@gmail.com>
26482 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26484 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26486 version of math_ldbl.h.
26488 2013-10-04 Alan Modra <amodra@gmail.com>
26490 [BZ #15734], [BZ #15735]
26491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26492 all uses of ieee875 long double macros and unions. Simplify test
26493 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26494 ldbl_extract_mantissa value for ix,iy exponents. Properly
26495 normalize after ldbl_extract_mantissa, and don't add hidden bit
26496 already handled. Don't treat low word of ieee854 mantissa like
26497 low word of IBM long double and mask off bit when testing for
26499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26500 all uses of ieee875 long double macros and unions. Simplify tests
26501 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26502 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26503 two1022, instead use their values. Recognise that tests for large
26504 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26506 Rewrite all uses of ieee875 long double macros and unions. Simplify
26507 test for 0.0L and nan. Correct negation.
26508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26509 ieee875 long double macros and unions. Correct output for large
26510 magnitude x. Correct absolute value calculation.
26511 (__erfcl): Likewise.
26512 * math/libm-test.inc: Add tests for errors discovered in IBM long
26513 double versions of fmodl, remainderl, erfl and erfcl.
26515 2013-10-04 Alan Modra <amodra@gmail.com>
26517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26518 all uses of ieee854 long double macros and unions. Simplify tests
26519 for long doubles that are fully specified by the high double.
26520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26522 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26523 Remove dead code too.
26524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26525 (__ieee754_ynl): Likewise.
26526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26529 Remove dead code too.
26530 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26531 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26532 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26533 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26535 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26537 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26538 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26540 Comment on variable precision.
26541 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26542 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26544 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26545 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26547 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26548 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26550 2013-10-04 Alan Modra <amodra@gmail.com>
26552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26553 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26554 all uses of ieee854 long double macros and unions.
26555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26568 Simplify sign and nan test too.
26569 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26570 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26571 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26572 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26574 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26575 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26578 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26579 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26580 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26581 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26584 2013-10-04 Alan Modra <amodra@gmail.com>
26586 * stdio-common/printf_size.c (__printf_size): Don't use
26587 union ieee854_long_double in fpnum union.
26588 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26589 signbit macro to retrieve sign from long double.
26590 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26591 retrieve sign from long double.
26592 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26593 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26594 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26595 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26596 * math/test-misc.c (main): Don't use union ieee854_long_double.
26598 2013-10-04 Alan Modra <amodra@gmail.com>
26601 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26602 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26603 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26604 calculation. Remove unnecessary test for denormal exponent.
26605 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26606 Correct handling of denormals. Avoid undefined shift behaviour.
26607 Correct normalisation of low mantissa when low double is denormal.
26608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26609 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26610 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26611 Correct normalisation of low mantissa. Test for overflow of high
26612 mantissa and normalise.
26613 (ldbl_nearbyint): Use more readable constant for two52.
26614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26615 (__mpn_construct_long_double): Fix test for overflow of high
26616 mantissa and correct normalisation. Avoid undefined shift.
26618 2013-10-04 Alan Modra <amodra@gmail.com>
26620 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26621 (union ibm_extended_long_double): Define as an array of ieee754_double.
26622 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26624 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26625 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26634 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26636 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26637 page size instead of calling getpagesize.
26639 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26640 (LOCFILE_ALIGN_MASK): Likewise.
26641 (LOCFILE_ALIGN_UP): Likewise.
26642 (LOCFILE_ALIGNED_P): Likewise.
26643 * locale/programs/ld-collate.c (collate_output): Use the new
26644 macros instead of __alignof__ (int32_t).
26645 * locale/weight.h (findidx): Likewise.
26647 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26650 * manual/string.texi: Fix strncat and wcsncat.
26652 2013-10-03 Brooks Moses <bmoses@google.com>
26655 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26656 * Makerules: ...here, and adjust associated comments.
26658 2013-10-02 Will Newton <will.newton@linaro.org>
26660 * malloc/Makefile: Add tst-pvalloc.
26661 * malloc/tst-pvalloc.c: New file.
26663 2013-10-02 Will Newton <will.newton@linaro.org>
26665 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26666 improve test coverage.
26668 2013-10-02 Will Newton <will.newton@linaro.org>
26670 * malloc/Makefile: Add tst-posix_memalign.
26671 * malloc/tst-posix_memalign.c: New file.
26673 2013-10-01 Eric Blake <eblake@redhat.com>
26675 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26676 Use __THROWNL rather than __THROW on static functions.
26678 2013-09-30 Petr Machata <pmachata@redhat.com>
26680 * elf/elf.h (R_AARCH64_ABS16): New macro.
26681 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26682 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26683 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26684 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26685 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26686 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26687 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26688 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26689 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26690 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26691 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26692 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26693 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26694 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26695 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26696 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26697 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26698 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26699 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26700 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26701 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26702 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26703 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26704 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26705 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26706 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26707 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26708 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26709 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26710 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26711 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26712 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26713 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26714 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26715 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26716 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26717 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26718 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26719 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26720 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26721 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26722 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26723 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26724 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26725 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26726 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26727 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26728 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26729 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26730 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26731 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26732 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26733 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26734 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26735 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26736 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26737 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26738 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26739 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26740 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26741 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26742 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26743 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26744 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26745 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26746 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26747 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26748 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26749 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26750 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26751 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26752 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26753 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26754 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26755 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26756 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26757 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26758 (R_AARCH64_TLSDESC_LDR): Likewise.
26759 (R_AARCH64_TLSDESC_ADD): Likewise.
26760 (R_AARCH64_TLSDESC_CALL): Likewise.
26762 2013-09-30 Andreas Schwab <schwab@suse.de>
26765 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26766 the nss database lookup.
26767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26770 2013-09-28 Mike Frysinger <vapier@gentoo.org>
26772 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26774 2013-09-28 P. J. McDermott <pj@pehjota.net>
26776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26777 ${Bash-specific parameter/pattern/string} parameter expansion.
26778 * sysdeps/unix/make-syscalls.sh: Likewise.
26780 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26782 * sysdeps/sh/stackguard-macros.h: New file.
26784 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
26786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26788 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26789 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26791 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26793 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26795 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26796 Fix thread ID register.
26798 2013-09-25 Joseph Myers <joseph@codesourcery.com>
26800 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26801 [POSIX || UNIX98]: Require rather than permitting all symbols from
26803 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26804 element of struct sched_param.
26805 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26806 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26807 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26808 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26811 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26813 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26814 argument calculation.
26816 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26818 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26820 [POSIX] (pthread_attr_t): Do not require type.
26821 [POSIX] (pthread_cond_t): Likewise.
26822 [POSIX] (pthread_condattr_t): Likewise.
26823 [POSIX] (pthread_key_t): Likewise.
26824 [POSIX] (pthread_mutex_t): Likewise.
26825 [POSIX] (pthread_mutexattr_t): Likewise.
26826 [POSIX] (pthread_once_t): Likewise.
26827 [POSIX] (pthread_t): Likewise.
26828 [POSIX-based standards] (pthread_atfork): Expect function.
26830 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26831 Richard Sandiford <richard@codesourcery.com>
26833 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26834 (swap_endianness_p): New extern variable.
26835 (set_big_endian): New inline function.
26836 (maybe_swap_uint32): Likewise.
26837 (maybe_swap_uint32_array): Likewise.
26838 (maybe_swap_uint32_obstack): Likewise.
26839 * locale/programs/locfile.c: Include <stdbool.h>.
26840 (swap_endianness_p): New variable.
26841 (add_locale_uint32): Call maybe_swap_uint32.
26842 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26843 (write_locale_data): Call maybe_swap_uint32_array.
26844 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26846 (obstack_int32_grow_fast): Likewise.
26847 (output_weightwc): Call maybe_swap_uint32_obstack.
26848 (collate_output): Likewise.
26849 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26850 (OPT_LITTLE_ENDIAN): Likewise.
26851 (options): Add --little-endian and --big-endian options.
26852 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26853 * locale/programs/locarchive.c: Include "locfile.h".
26857 (create_archive): Use the new macros to access fields of
26858 structures directly mapped from or written to locale archives.
26859 (oldlocrecentcmp): Likewise.
26860 (enlarge_archive): Likewise.
26861 (insert_name): Likewise.
26862 (add_alias): Likewise.
26863 (add_locale): Likewise.
26864 (delete_locales_from_archive): Likewise.
26865 (show_archive_content): Likewise.
26866 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26869 2013-09-24 Roland McGrath <roland@hack.frob.com>
26871 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26872 http://www.gnu.org/doc/freemanuals.texi.
26873 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26875 2013-09-24 Will Newton <will.newton@linaro.org>
26877 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26880 2013-09-23 Joseph Myers <joseph@codesourcery.com>
26882 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26885 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26887 * manual/threads.texi (POSIX Threads): Fix a typo.
26889 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26892 * string/tst-strcoll-overflow.c: New test case.
26893 * string/Makefile (xtests): Add tst-strcoll-overflow.
26894 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26895 cache if string sizes may cause integer overflow.
26898 * string/strcoll_l.c (coll_seq): New members rule, idx,
26899 save_idx and back_us.
26900 (get_next_seq_nocache): New function.
26901 (do_compare_nocache): New function.
26902 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26905 2013-09-23 Carlos O'Donell <carlos@redhat.com>
26908 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26909 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26910 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26913 * elf/Makefile (tests): Add tst-ptrguard1.
26914 (tests-static): Add tst-ptrguard1-static.
26915 (tst-ptrguard1-ARGS): Define.
26916 (tst-ptrguard1-static-ARGS): Define.
26917 * elf/tst-ptrguard1.c: New file.
26918 * elf/tst-ptrguard1-static.c: New file.
26919 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26920 * sysdeps/i386/stackguard-macros.h: Likewise.
26921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26928 2013-09-23 Hector Marco <hecmargi@upv.es>
26929 Ismael Ripoll <iripoll@disca.upv.es>
26930 Carlos O'Donell <carlos@redhat.com>
26933 * sysdeps/generic/stackguard-macros.h: Define
26934 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26935 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26936 Define __pointer_chk_guard_local.
26937 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26938 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26940 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26943 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26945 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26947 * include/string.h (__ffs): Declare as hidden.
26948 * string/ffs.c (__ffs): Define as hidden.
26949 * sysdeps/i386/ffs.c (__ffs): Likewise.
26950 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26951 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26952 * sysdeps/s390/ffs.c (__ffs): Likewise.
26953 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26955 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
26957 * NEWS: Mention malloc probes.
26959 * malloc/arena.c (new_heap): New memory_heap_new probe.
26960 (grow_heap): New memory_heap_more probe.
26961 (shrink_heap): New memory_heap_less probe.
26962 (heap_trim): New memory_heap_free probe.
26963 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26964 (systrim): New memory_sbrk_less probe.
26965 * manual/probes.texi: Document them.
26967 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26968 * manual/probes.texi: Document it.
26970 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26971 (__libc_realloc): Add memory_realloc_retry probe.
26972 (__libc_memalign): Add memory_memalign_retry probe.
26973 (__libc_valloc): Add memory_valloc_retry probe.
26974 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26975 (__libc_calloc): Add memory_calloc_retry probe.
26976 * manual/probes.texi: Document them.
26978 * malloc/arena.c (get_free_list): Add probe
26979 memory_arena_reuse_free_list.
26980 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26981 and memory_arena_reuse.
26982 (arena_get2) [!PER_THREAD]: Likewise.
26983 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26984 memory_arena_reuse_realloc.
26985 * manual/probes.texi: Document them.
26987 * malloc/malloc.c (__libc_free): Add
26988 memory_mallopt_free_dyn_thresholds probe.
26989 (__libc_mallopt): Add multiple memory_mallopt probes.
26990 * manual/probes.texi: Document them.
26992 * malloc/malloc.c: Include stap-probe.h.
26993 (__libc_mallopt): Add memory_mallopt probe.
26994 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26995 * manual/probes.texi: New.
26996 * manual/Makefile (chapters): Add probes.
26997 * manual/threads.texi: Set next node.
26999 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27001 [BZ #15963, #13985]
27002 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27003 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27004 Add `Chinese' to `nan' entry name.
27006 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27008 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27009 (POLYNOMIAL): Likewise.
27010 (TAYLOR_SINCOS): Likewise.
27011 (TAYLOR_SLOW): Likewise.
27012 (__sin): Use TAYLOR_SINCOS.
27014 (slow): Use TAYLOR_SLOW.
27016 (bsloww): Likewise.
27017 (csloww): Likewise.
27019 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27021 * stdlib/strtod_l.c: Fix buffer overrun.
27023 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27025 * benchtests/Makefile (bench): Add sincos.
27026 * benchtests/bench-sincos.c: New file.
27028 * math/libm-test.inc (cos_test_data): New test inputs.
27029 (sin_test_data): Likewise.
27031 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27037 (sloww1): Likewise.
27038 (sloww2): Likewise.
27039 (bsloww1): Likewise.
27040 (bsloww2): Likewise.
27041 (cslow2): Likewise.
27042 (csloww1): Likewise.
27043 (csloww2): Likewise.
27045 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27054 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27056 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27057 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27058 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27059 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27060 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27061 * elf/cache.c (print_entry): Handle the new cache flags.
27063 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27064 Aldy Hernandez <aldyh@redhat.com>
27066 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27067 Change condition to [_SOFT_FLOAT].
27068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27080 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27083 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27086 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27088 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27089 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27090 (__longjmp): Use LOAD_GP to load saved GPRs.
27091 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27092 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27093 (__sigsetjmp): Use SAVE_GP to save GPRs.
27095 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27096 Do not append -msoft-float.
27097 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27099 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27101 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27103 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27106 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27107 (_FPU_GETCW): Use initial "__" on variable and field names but not
27108 on macro parameter name.
27109 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27110 parentheses around reference to macro parameter.
27112 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27114 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27116 (ctype_startup): Use uint32_t in cast and sizeof for
27119 2013-09-11 Jia Liu <proljc@gmail.com>
27121 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27123 [__FreeBSD__]: Likewise.
27125 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27128 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27129 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27130 (strchr): Remove __strchr_sse42 ifunc selection.
27131 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27132 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27134 2013-09-11 Will Newton <will.newton@linaro.org>
27136 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27137 parameter to RES. Remove hardcoded 1000 value.
27138 * benchtests/bench-skeleton.c (main): Pass RES parameter
27139 to TIMING_INIT and multiply result by 1000.
27141 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27145 2013-09-11 Andreas Schwab <schwab@suse.de>
27147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27149 (O_TMPFILE) [__USE_GNU]: Define.
27150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27153 2013-09-11 Will Newton <will.newton@linaro.org>
27156 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27159 2013-09-11 Will Newton <will.newton@linaro.org>
27162 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27165 2013-09-11 Will Newton <will.newton@linaro.org>
27168 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27171 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27173 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27179 2013-09-10 Allan McRae <allan@archlinux.org>
27182 * manual/arith.texi (Parsing of Floats): Clarify
27186 * manual/install.texi (Running make install): Mention
27188 * INSTALL: Regenerated.
27190 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27192 * csu/init-first.c (_init): Remove the !SHARED condition around
27193 FPU control word initialization.
27194 * elf/dl-support.c (_dl_fpu_control): New variable.
27195 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27196 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27197 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27198 * math/test-fpucw-static.c: New file.
27199 * math/test-fpucw-ieee.c: New file.
27200 * math/test-fpucw-ieee-static.c: New file.
27201 * math/Makefile (tests): Add `test-fpucw-ieee' and
27203 (tests-static): New variable.
27204 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27206 [($(build-shared),yes)]
27207 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27209 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27212 2013-09-09 Allan McRae <allan@archlinux.org>
27215 * manual/string.texi (Collation Functions): Fix typo in
27217 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27220 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27223 * libio/memstream.c (open_memstream): Fix memory leak.
27224 * libio/wmemstream.c (open_wmemstream): Likewise.
27227 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27229 2013-09-09 Will Newton <will.newton@linaro.org>
27231 * malloc/Makefile: Add tst-realloc to tests.
27232 * malloc/tst-realloc.c: New file.
27234 2013-09-09 Allan McRae <allan@archlinux.org>
27237 * COPYING: Update from GNU website to fix FSF address.
27238 * COPYING.LIB: Likewise.
27240 2013-09-06 David S. Miller <davem@davemloft.net>
27242 * po/zh_TW.po: Update Chinese (traditional) translation from
27243 translation project.
27245 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27246 Joseph Myers <joseph@codesourcery.com>
27248 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27250 (obstack_chunk_alloc): New macro.
27251 (obstack_chunk_free): Likewise.
27252 (record_offset): New function.
27253 (init_locale_data): Likewise.
27254 (align_locale_data): Likewise.
27255 (add_locale_empty): Likewise.
27256 (add_locale_raw_data): Likewise.
27257 (add_locale_raw_obstack): Likewise.
27258 (add_locale_string): Likewise.
27259 (add_locale_wstring): Likewise.
27260 (add_locale_uint32): Likewise.
27261 (add_locale_uint32_array): Likewise.
27262 (add_locale_char): Likewise.
27263 (start_locale_structure): Likewise.
27264 (end_locale_structure): Likewise.
27265 (start_locale_prelude): Likewise.
27266 (end_locale_prelude): Likewise.
27267 (write_locale_data): Take locale_file structure rather than an
27269 * locale/programs/locfile.h: Include "obstack.h".
27270 (struct locale_file): Change to store locale file contents instead
27272 (init_locale_data): New prototype.
27273 (align_locale_data): Likewise.
27274 (add_locale_empty): Likewise.
27275 (add_locale_raw_data): Likewise.
27276 (add_locale_raw_obstack): Likewise.
27277 (add_locale_string): Likewise.
27278 (add_locale_wstring): Likewise.
27279 (add_locale_uint32): Likewise.
27280 (add_locale_uint32_array): Likewise.
27281 (add_locale_char): Likewise.
27282 (start_locale_structure): Likewise.
27283 (end_locale_structure): Likewise.
27284 (start_locale_prelude): Likewise.
27285 (end_locale_prelude): Likewise.
27286 (write_locale_data): Update prototype.
27287 * locale/programs/3level.h (struct TABLE): Remove result field.
27288 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27289 Use new locale_file interface.
27290 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27291 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27292 * locale/programs/ld-address.c (address_output): Use new
27293 locale_file interface.
27294 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27296 (collate_finish): Don't call collseq_table_finalize.
27297 (collate_output): Use new locale_file interface.
27298 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27300 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27301 (TABLE): Move defines earlier in file.
27302 (ELEMENT): Likewise.
27303 (DEFAULT): Likewise.
27304 (wctrans_table_add): Move macro and inline function earlier in
27306 (struct wctype_table): Move type earlier in file.
27307 (add_locale_wctype_table): New static prototype.
27308 (struct locale_ctype_t): Use logical types instead of struct iovec
27309 pointers for members.
27310 (ctype_output): Use new locale_file interface.
27311 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27312 new locale_file interface.
27313 (allocate_arrays): Update for use of new locale_file interface.
27314 * locale/programs/ld-identification.c (identification_output): Use
27315 new locale_file interface.
27316 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27317 * locale/programs/ld-messages.c (messages_output): Likewise.
27318 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27319 * locale/programs/ld-name.c (name_output): Likewise.
27320 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27321 * locale/programs/ld-paper.c (paper_output): Likewise.
27322 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27323 * locale/programs/ld-time.c (time_output): Likewise.
27325 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27327 * benchtests/Makefile: Add memrchr benchmark.
27328 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27329 benchmark as memrchr.
27330 * benchtests/bench-memrchr-ifunc.c: New file.
27331 * benchtests/bench-memrchr.c: New file.
27333 2013-09-06 Will Newton <will.newton@linaro.org>
27335 * benchtests/Makefile (string-bench): Add memcpy.
27337 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27338 Cong Wang <amwang@redhat.com>
27341 * sysdeps/unix/sysv/linux/bits/in.h
27342 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27343 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27344 before __USE_KERNEL_IPV6_DEFS uses.
27345 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27347 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27348 sockaddr_in6, or ipv6_mreq.
27350 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27352 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27353 memory access for final bytes in some large inputs.
27354 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27356 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27358 * string/test-memrchr.c: New file.
27359 * string/test-memrchr-ifunc.c: New file.
27360 * string/Makefile: Add new memrchr testcase.
27362 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27364 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27365 fanotify_init returns EPERM.
27367 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27369 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27371 (top level): Treat second token from macro or constant entries for
27372 allowed headers as allowed.
27373 * include/complex.h: Condition internal declarations on
27375 * include/fenv.h: Condition include of <stdbool.h> and internal
27376 declarations on [!_ISOMAC].
27378 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27381 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27383 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27385 * configure.in (--enable-versioning): Remove configure option.
27386 (libc_cv_asm_symver_directive): Remove configure test.
27387 (libc_cv_ld_version_script_option): Likewise.
27388 (VERSIONING): Remove variable and AC_SUBST.
27389 (DO_VERSIONING): Remove AC_DEFINE.
27390 * configure: Regenerated.
27391 * config.h.in (DO_VERSIONING): Remove macro.
27392 * Makerules [$(versioning) = yes]: Change conditionals to
27393 [$(build-shared) = yes].
27394 * config.make.in (versioning): Remove variable.
27395 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27396 [$(build-shared) = yes].
27397 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27398 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27399 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27400 [$(build-shared) = yes].
27401 * extra-lib.mk [$(versioning) = yes]: Likewise.
27402 * hurd/Makefile [$(versioning) = yes]: Likewise.
27403 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27405 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27407 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27408 [SHARED && !NO_HIDDEN].
27409 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27411 [SHARED && DO_VERSIONING]: Likewise..
27412 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27413 [$(build-shared) = yes].
27414 * manual/install.texi (--disable-versioning): Remove
27416 * INSTALL: Regenerated.
27417 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27419 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27420 [$(build-shared) = yes].
27421 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27422 * sysdeps/i386/i686/multiarch/strstr-c.c
27423 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27424 [SHARED && !NO_HIDDEN].
27425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27426 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27427 * sysdeps/powerpc/powerpc32/dl-machine.c
27428 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27429 * sysdeps/powerpc/powerpc32/sysdep.h
27430 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27431 to [SHARED && PIC && !NO_HIDDEN].
27432 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27433 conditional to [SHARED].
27435 2013-09-04 Will Newton <will.newton@linaro.org>
27437 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27438 * benchtests/bench-string.h: Include bench-timing.h instead
27439 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27440 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27441 call to HP_TIMING_DIFF_INIT.
27442 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27443 instead of hp-timing.h macros.
27444 * benchtests/bench-memchr.c: Likewise.
27445 * benchtests/bench-memcmp.c: Likewise.
27446 * benchtests/bench-memcpy.c: Likewise.
27447 * benchtests/bench-memmem.c: Likewise.
27448 * benchtests/bench-memmove.c: Likewise.
27449 * benchtests/bench-memset.c: Likewise.
27450 * benchtests/bench-rawmemchr.c: Likewise.
27451 * benchtests/bench-strcasecmp.c: Likewise.
27452 * benchtests/bench-strcasestr.c: Likewise.
27453 * benchtests/bench-strcat.c: Likewise.
27454 * benchtests/bench-strchr.c: Likewise.
27455 * benchtests/bench-strcmp.c: Likewise.
27456 * benchtests/bench-strcpy.c: Likewise.
27457 * benchtests/bench-strcpy_chk.c: Likewise.
27458 * benchtests/bench-strlen.c: Likewise.
27459 * benchtests/bench-strncasecmp.c: Likewise.
27460 * benchtests/bench-strncat.c: Likewise.
27461 * benchtests/bench-strncmp.c: Likewise.
27462 * benchtests/bench-strncpy.c: Likewise.
27463 * benchtests/bench-strnlen.c: Likewise.
27464 * benchtests/bench-strpbrk.c: Likewise.
27465 * benchtests/bench-strrchr.c: Likewise.
27466 * benchtests/bench-strspn.c: Likewise.
27467 * benchtests/bench-strstr.c: Likewise.
27469 2013-09-04 Will Newton <will.newton@linaro.org>
27471 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27473 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27477 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27478 * math/libm-test.inc (lgamma_test_data): Add more tests.
27479 * sysdeps/i386/fpu/libm-test-ulps: Update.
27480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27482 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27484 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27488 Add strcmp-sse2-unaligned
27489 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27491 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27493 * Versions.def (libc): Add GLIBC_2.19.
27495 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27497 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27498 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27500 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27503 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27504 intermediate calculations in recurrence.
27505 (__ieee754_ynf): Likewise.
27506 * math/libm-test.inc (jn_test_data): Do not allow spurious
27507 underflow exception. Add more tests.
27508 (yn_test_data): Add more tests.
27509 * sysdeps/i386/fpu/libm-test-ulps: Update.
27510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27516 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27518 * csu/init-first.c: Fix then/than typos.
27519 * locale/programs/ld-collate.c: Likewise.
27520 * locale/programs/linereader.h: Likewise.
27521 * manual/charset.texi: Likewise.
27522 * manual/filesys.texi: Likewise.
27523 * manual/stdio.texi: Likewise.
27524 * manual/string.texi: Likewise.
27525 * stdlib/fmtmsg.c: Likewise.
27526 * sysdeps/i386/stpncpy.S: Likewise.
27527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27528 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27530 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27532 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27534 * elf/dl-open.c: Fix typos.
27535 * iconvdata/gbbig5.c: Likewise.
27536 * iconvdata/iso-2022-jp.c: Likewise.
27537 * iconv/gconv_int.h: Likewise.
27538 * iconv/loop.c: Likewise.
27539 * nis/rpcsvc/nis.h: Likewise.
27540 * resolv/ns_name.c: Likewise.
27541 * stdio-common/vfscanf.c: Likewise.
27542 * streams/stropts.h: Likewise.
27543 * sunrpc/rpc_thread.c: Likewise.
27544 * sysdeps/i386/strpbrk.S: Likewise.
27545 * sysdeps/ieee754/k_standard.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27548 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27549 * sysdeps/mach/hurd/profil.c: Likewise.
27550 * sysdeps/s390/dl-procinfo.h: Likewise.
27551 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27554 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27557 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27559 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27562 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27565 aix specific files.
27566 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27567 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27569 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27570 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27571 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27572 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27573 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27575 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27576 Roland McGrath <roland@hack.frob.com>
27578 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27579 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27581 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27583 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27584 __executable_start symbol instead of _start.
27586 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27588 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27589 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27591 * sysdeps/gnu/ldsodefs.h: ... this new file.
27593 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27594 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27595 instead of ELFOSABI_LINUX.
27597 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27598 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27599 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27600 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27602 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27603 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27604 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27606 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27607 (ibm_extended_long_double): Add ieee_nan member.
27608 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27609 (do_test): New function.
27611 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27613 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27614 functions, renamed from truncdfsf_test, trunctfsf_test,
27616 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27618 (do_test): Run all these.
27620 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27622 * argp/argp-help.c: Fix typos.
27623 * argp/argp-parse.c: Likewise.
27624 * debug/backtracesyms.c: Likewise.
27625 * elf/elf.h: Likewise.
27626 * malloc/malloc.c: Likewise.
27627 * nis/nis_print.c: Likewise.
27628 * resolv/res_comp.c: Likewise.
27629 * stdlib/stdlib.h: Likewise.
27630 * sunrpc/clnt_tcp.c: Likewise.
27631 * sunrpc/clnt_udp.c: Likewise.
27632 * sunrpc/clnt_unix.c: Likewise.
27633 * sysdeps/unix/bsd/ptsname.c: Likewise.
27634 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27635 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27644 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27646 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27649 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27652 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27653 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27654 ($(objpfx)bug-dl-leaf): New rule.
27655 ($(objpfx)bug-dl-leaf.so): Likewise.
27656 ($(objpfx)bug-dl-leaf.out): Likewise.
27657 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27658 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27659 * dlfcn/bug-dl-leaf.c: New test.
27660 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27661 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27662 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27663 (dlclose): Likewise.
27664 (dlmopen): Likewise.
27666 2013-08-27 Roland McGrath <roland@hack.frob.com>
27668 * include/netdb.h [!_ISOMAC]:
27669 Don't include <tls.h>.
27670 (h_errno, __libc_h_errno): Move declaration and macros out of
27673 * include/resolv.h [_RESOLV_H_]:
27674 Don't include <tls.h>.
27675 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27676 * resolv/res_libc.c: Don't include <tls.h>.
27677 (_res): Use __attribute__ ((nocommon)) in place of
27678 __attribute__ ((section (".bss"))).
27680 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27681 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27683 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27685 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27686 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27688 * resolv/res_mkquery.c: Include <sys/time.h>.
27690 * inet/ifreq.c: Moved to ...
27691 * sysdeps/unix/ifreq.c: ... here.
27692 * inet/ifreq.c: New file, true stub version.
27694 * socket/sa_len.c: New file.
27695 * socket/Makefile (aux): Add it.
27696 * sysdeps/unix/sysv/linux/Makefile
27697 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27698 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27699 and #include <socket/sa_len.c>.
27700 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27701 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27704 * bits/socket.h: ... here.
27706 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27707 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27708 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27710 2013-08-27 Andreas Schwab <schwab@suse.de>
27713 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27714 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27715 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27716 * string/test-strcasecmp.c (test_main): Run tests in several
27718 * string/test-strncasecmp.c (test_main): Likewise.
27720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27721 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27722 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27724 (__strncasecmp_ssse3) [PIC]: Likewise.
27726 2013-08-26 Roland McGrath <roland@hack.frob.com>
27728 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27730 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27731 instead of explicitly declaring xdecrypt.
27732 * nis/nss_nis/nis-publickey.c: Likewise.
27734 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27737 * nscd/aicache.c: Include res_hconf.h.
27738 (addhstaiX): Initialize res_hconf.
27740 2013-08-26 Andreas Schwab <schwab@suse.de>
27742 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27743 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27745 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27747 * nscd/aicache.c (addhstaiX): Fix indentation.
27749 2013-08-25 Mike Frysinger <vapier@gentoo.org>
27751 * configure.ac: Quote $build_pt_chown test.
27752 * configure: Regenerated.
27754 2013-08-23 Joseph Myers <joseph@codesourcery.com>
27757 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27758 * math/s_cexpf.c (__cexpf): Likewise.
27759 * math/s_cexpl.c (__cexpl): Likewise.
27760 * math/libm-test.inc (cexp_test_data): Correct expected return
27761 value for NaN + i0. Add another test.
27763 2013-08-22 David S. Miller <davem@davemloft.net>
27765 * po/ca.po: Update Catalan translation from translation project.
27766 * po/uk.po: Add Ukrainian translations from translation project.
27768 2013-08-21 Joseph Myers <joseph@codesourcery.com>
27771 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27772 is infinite, not alongside NaN test.
27773 * math/s_fdimf.c (__fdimf): Likewise.
27774 * math/s_fdiml.c (__fdiml): Likewise.
27775 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27776 errno is unchanged.
27778 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
27780 * argp/argp-help.c: Fix typos.
27781 * crypt/speeds.c: Likewise.
27782 * csu/check_fds.c: Likewise.
27783 * elf/dl-load.c: Likewise.
27784 * elf/dl-open.c: Likewise.
27785 * elf/reldep3.c: Likewise.
27786 * elf/reldep.c: Likewise.
27787 * elf/sprof.c: Likewise.
27788 * iconv/iconv_charmap.c: Likewise.
27789 * iconv/skeleton.c: Likewise.
27790 * iconv/strtab.c: Likewise.
27791 * io/lockf64.c: Likewise.
27792 * libio/libioP.h: Likewise.
27793 * resolv/gai_notify.c: Likewise.
27794 * resolv/ns_name.c: Likewise.
27795 * resolv/ns_samedomain.c: Likewise.
27796 * resolv/res_send.c: Likewise.
27797 * stdlib/random.c: Likewise.
27798 * sunrpc/rpc/xdr.h: Likewise.
27799 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27801 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27802 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27807 * sysdeps/mach/hurd/check_fds.c: Likewise.
27808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27812 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27814 * sysdeps/pthread/aio_notify.c: Likewise.
27815 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27816 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27819 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27821 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27823 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27824 version if bit_Slow_SSE4_2 is set.
27825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27828 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27831 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27832 trampoline stack frame information.
27833 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27835 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27836 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27837 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27838 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27839 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27840 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27842 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27843 interrupting a syscall and set with option SA_SIGINFO.
27845 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27848 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27849 argument is infinite.
27850 * math/s_cprojf.c (__cprojf): Likewise.
27851 * math/s_cprojl.c (__cprojl): Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27853 * math/libm-test.inc (cproj_test_data): Add more tests.
27855 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27857 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27858 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27859 size. Use __ffs to determine corresponding shift.
27861 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27862 Roland McGrath <roland@hack.frob.com>
27864 * Makefile (INSTALL): Remove trailing blank lines from output of
27867 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27869 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27870 Align 32 bit compat elf_greg to 8 bytes.
27872 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27874 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27876 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27878 * string/strcoll_l.c (coll_seq): New structure.
27879 (get_next_seq_cached): New function.
27880 (get_next_seq): New function.
27881 (do_compare): New function.
27882 (STRCOLL): Use GNU style definition. Simplify implementation
27883 by using get_next_seq, get_next_seq_cached and do_compare.
27885 2013-08-16 Florian Weimer <fweimer@redhat.com>
27889 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27891 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27893 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27894 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27895 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27898 GETDENTS_64BIT_ALIGNED.
27899 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27900 * manual/filesys.texi (Reading/Closing Directory): Document
27901 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27903 * manual/conf.texi (Limits for Files): Add portability note to
27904 NAME_MAX, PATH_MAX.
27905 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27907 2013-08-13 Andreas Schwab <schwab@suse.de>
27910 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27912 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27913 LDBL_MAX_EXP >= 16384]: Add tests for it.
27915 2013-08-12 David S. Miller <davem@davemloft.net>
27917 * version.h (RELEASE): Set to "development".
27918 (VERSION): Set to "2.18.90".
27919 * NEWS: Add 2.19 section.
27921 2013-08-03 David S. Miller <davem@davemloft.net>
27923 * po/ko.po: Update Korean translation from translation project.
27925 2013-08-01 David S. Miller <davem@davemloft.net>
27927 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27928 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27931 2013-07-30 David S. Miller <davem@davemloft.net>
27933 * po/fr.po: Update French translation from translation project.
27935 2013-07-28 David S. Miller <davem@davemloft.net>
27937 * po/cs.po: Update Czech translation from translation project.
27939 * po/sv.po: Update Swedish translation from translation project.
27941 2013-07-27 David S. Miller <davem@davemloft.net>
27943 * po/eo.po: Update Esperanto translation from translation project.
27945 * po/vi.po: Update Vietnamese translation from translation project.
27947 * po/de.po: Update German translation from translation project.
27949 2013-07-26 David S. Miller <davem@davemloft.net>
27951 * po/bg.po: Update Bulgarian translation from translation project.
27953 * po/nl.po: Update Dutch translation from translation project.
27954 * po/pl.po: Update Polish translation from translation project.
27955 * po/ru.po: Update Russian translation from translation project.
27957 2013-07-24 David S. Miller <davem@davemloft.net>
27959 * po/libc.pot: Update.
27961 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27963 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27964 variable page size.
27965 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27966 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27967 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27969 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27971 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27973 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27974 Andreas Schwab <schwab@suse.de>
27975 Roland McGrath <roland@hack.frob.com>
27976 Joseph Myers <joseph@codesourcery.com>
27977 Carlos O'Donell <carlos@redhat.com>
27980 * config.h.in: Define HAVE_PT_CHOWN.
27981 * config.make.in (build-pt-chown): New variable.
27982 * configure.in (--enable-pt_chown): New configure option.
27983 * configure: Regenerate.
27984 * login/Makefile: Include Makeconfig. Build pt_chown only if
27985 build-pt-chown is enabled.
27986 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27987 pt_chown to fix pty ownership.
27988 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27990 * manual/install.texi (Configuring and compiling): Mention
27991 --enable-pt_chown. Add @findex for grantpt.
27992 * INSTALL: Regenerate.
27994 2013-07-20 David S. Miller <davem@davemloft.net>
27996 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27997 difference between 32-bit and 64-bit.
27999 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28002 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28003 Avoid system header dependency with -ffreestanding.
28004 ($(objpfx)bits/syscall%d): Likewise.
28006 2013-07-13 David S. Miller <davem@davemloft.net>
28008 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28009 underflows from atanl/atan2l due to bug 15319.
28010 (casinh_test_data): Likewise.
28012 2013-07-07 David S. Miller <davem@davemloft.net>
28014 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28016 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28018 * sysdeps/i386/fpu/libm-test-ulps: Update.
28019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28021 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28023 * configure.in (--enable-lock-elision): Fix message text.
28024 * INSTALL: Regenerate.
28025 * configure: Regenerate.
28027 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28031 2013-07-03 Andreas Jaeger <aj@suse.de>
28033 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28035 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28036 (ptrace_peeksiginfo_args): Add.
28037 (__ptrace_peeksiginfo_flags): Add.
28038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28042 2013-07-03 Allan McRae <allan@archlinux.org>
28044 * sysdeps/i386/fpu/libm-test-ulps: Update.
28046 2013-07-02 David S. Miller <davem@davemloft.net>
28048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28050 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28054 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28059 2013-07-02 Andi Kleen <ak@linux.intel.com>
28061 * config.h.in (ENABLE_LOCK_ELISION): Add.
28062 * configure.in (--enable-lock-elision): Add option.
28063 * manual/install.texi: Document --enable lock elision.
28064 * configure: Regenerate
28065 * INSTALL: Regenerate.
28067 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28069 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28070 SSE4.2 strcasecmp for libc.a.
28071 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28073 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28076 * soft-fp/op-common.h (_FP_FMA): New macro.
28077 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28078 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28079 (_FP_MUL_MEAT_1_imm): ... here.
28080 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28081 (_FP_MUL_MEAT_1_wide): ... here.
28082 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28083 (_FP_MUL_MEAT_1_hard): ... here.
28084 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28085 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28086 (_FP_MUL_MEAT_2_wide): ... here.
28087 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28088 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28089 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28090 (_FP_MUL_MEAT_2_gmp): ... here.
28091 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28092 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28093 (_FP_MUL_MEAT_4_wide): ... here.
28094 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28095 (_FP_MUL_MEAT_4_gmp): ... here.
28096 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28097 (_FP_WFRACBITS_DW_S): Likewise.
28098 (_FP_WFRACXBITS_DW_S): Likewise.
28099 (_FP_HIGHBIT_DW_S): Likewise.
28100 (FP_FMA_S): Likewise.
28101 (_FP_FRAC_HIGH_DW_S): Likewise.
28102 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28103 (_FP_WFRACBITS_DW_D): Likewise.
28104 (_FP_WFRACXBITS_DW_D): Likewise.
28105 (_FP_HIGHBIT_DW_D): Likewise.
28106 (FP_FMA_D): Likewise.
28107 (_FP_FRAC_HIGH_DW_D): Likewise.
28108 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28109 (_FP_WFRACBITS_DW_E): Likewise.
28110 (_FP_WFRACXBITS_DW_E): Likewise.
28111 (_FP_HIGHBIT_DW_E): Likewise.
28112 (FP_FMA_E): Likewise.
28113 (_FP_FRAC_HIGH_DW_E): Likewise.
28114 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28115 (_FP_WFRACBITS_DW_Q): Likewise.
28116 (_FP_WFRACXBITS_DW_Q): Likewise.
28117 (_FP_HIGHBIT_DW_Q): Likewise.
28118 (FP_FMA_Q): Likewise.
28119 (_FP_FRAC_HIGH_DW_Q): Likewise.
28120 * soft-fp/fmasf4.c: New file.
28121 * soft-fp/fmadf4.c: Likewise.
28122 * soft-fp/fmatf4.c: Likewise.
28124 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28127 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28131 (index_Slow_SSE4_2): Likewise.
28132 (index_Prefer_PMINUB_for_stringop): Likewise.
28133 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28134 bit_Slow_SSE4_2 is set.
28135 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28136 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28138 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28140 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28141 rtld_global._dl_hwcap2.
28142 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28145 POWER8 feature descriptions defined in _dl_hwcap2.
28146 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28147 string handling for POWER8 feature bits.
28148 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28149 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28150 _dl_powerpc_cap_flags.
28151 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28152 * sysdeps/powerpc/rtld-global-offsets.sym
28153 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28154 _dl_hwcap2 in the rtld_global_ro structure.
28156 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28158 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28159 hardware capabilities in support of AT_HWCAP2.
28160 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28161 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28163 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28164 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28165 explicitly the unknown a_type display mechanism is used.
28166 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28167 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28169 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28170 to macro prototype for AT_HWCAP2 support.
28171 * sysdeps/i386/dl-procinfo.h: Likewise.
28172 * sysdeps/s390/dl-procinfo.h: Likewise.
28173 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28174 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28175 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28176 return -1 for unknown a_type display fallback.
28177 * sysdeps/sparc/dl-procinfo.h: Likewise.
28178 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28179 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28181 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28183 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28184 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28186 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28189 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28190 mprotect making __stack_prot writable.
28192 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28193 Joseph Myers <joseph@codesourcery.com>
28195 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28196 as being properly aligned.
28198 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28200 * dlfcn/modstatic5.c: New file.
28201 * dlfcn/tststatic5.c: New file.
28202 * dlfcn/Makefile (tests): Add tststatic5.
28203 (tests-static): Likewise.
28204 (modules-names): Add modstatic5.
28205 (tststatic5-ENV): New variable.
28206 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28209 * elf/dl-support.c (_dl_main_map): New variable.
28210 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28211 (_dl_nns, _dl_load_adds): Set to 1.
28212 (_dl_initial_searchlist): Refer to _dl_main_map.
28213 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28214 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28215 call to _dl_get_origin.
28216 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28218 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28219 * dlfcn/modstatic3.c: New file.
28220 * dlfcn/tststatic3.c: New file.
28221 * dlfcn/tststatic4.c: New file.
28222 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28223 (tests-static): Likewise.
28224 (modules-names): Add modstatic3.
28225 (tststatic3-ENV, tststatic4-ENV): New variables.
28226 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28227 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28229 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28231 * configure.in (CC): Require GCC version 4.4 or later.
28232 * configure: Regenerated.
28233 * manual/install.texi (Tools for Compilation): Update GCC version
28235 * INSTALL: Regenerated.
28237 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28240 * string/test-memcmp.c (check2): New.
28241 (main): Call check2.
28243 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28245 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28248 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28250 (dl_open_worker) [!SHARED]: ... here.
28252 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28254 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28256 2013-06-25 Richard Henderson <rth@redhat.com>
28258 * locale/programs/locarchive.c: Include <libc-internal.h>
28260 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28262 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28263 trailing whitespace removed.
28265 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28268 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28269 * locale/programs/locarchive.c: Include libc-mmap.h.
28270 (prepare_address_space): Take two new outputs (the mmap base and len).
28271 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28273 (create_archive): Declare new mmap base and len values for
28274 prepare_address_space, and store the result in ah.
28275 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28276 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28278 Declare new mmap base and len values for
28279 prepare_address_space, and store the result in new_ah.
28280 (open_archive): Declare new mmap base and len values for
28281 prepare_address_space, and store the result in ah.
28282 (close_archive): If ah->mmap_base is not NULL, use that and
28283 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28284 * sysdeps/generic/libc-mmap.h: New file.
28286 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28288 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28289 (ALIGN_UP): Likewise.
28290 (PTR_ALIGN_DOWN): Likewise.
28291 (PTR_ALIGN_UP): Likewise.
28293 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28295 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28296 entry mapped to PPC_PLATFORM_POWER8.
28297 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28299 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28300 (_dl_string_platform): Add case for exporting platform position for
28302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28303 search path to sysdeps/powerpc/powerpc32/power8 directory.
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28305 search path to sysdeps/powerpc/powerpc64/power8 directory.
28306 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28307 power7 directories.
28308 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28309 power7 directories.
28311 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28313 * INSTALL: Regenerate.
28315 * nscd/connections.c (nscd_init): Fix comment.
28317 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28319 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28322 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28323 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28325 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28327 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28329 (DL_DST_REQ_STATIC): Remove macro.
28331 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28334 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28335 with a shift of 0 bits.
28337 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28339 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28342 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28345 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28347 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28349 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28350 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28351 accepts -fno-tree-loop-distribute-patterns.
28352 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28353 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28355 * string/memset.c (memset): Likewise.
28356 * string/test-memmove.c (simple_memmove): Disable loop transformation
28358 * string/test-memset.c (simple_memset): Likewise.
28359 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28360 * benchtests/bench-memset.c (simple_memset): Likewise.
28361 * configure: Regenerated.
28363 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28365 * math/test-misc.c (main): Ignore fesetround failure when failures
28366 of subsequent rounding tests would be ignored.
28369 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28370 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28371 * math/fegetenv.c (__fegetenv): Return 0.
28372 * math/fegetexcept.c (fegetexcept): Return 0.
28373 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28375 * math/feholdexcpt.c (feholdexcept): Return 0.
28376 * math/fesetenv.c (__fesetenv): Return 0.
28377 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28378 argument FE_TONEAREST.
28379 * math/feupdateenv.c (__feupdateenv): Return 0.
28380 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28382 2013-06-18 Roland McGrath <roland@hack.frob.com>
28384 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28385 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28386 ($(objpfx)rtld-%.os rules): Use them.
28388 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28390 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28393 2013-06-17 Roland McGrath <roland@hack.frob.com>
28395 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28396 length of target pattern, then descending length of dependency pattern.
28397 * configure.in (AWK): Require gawk 3.1.2 or newer.
28398 * manual/install.texi (Tools for Compilation): Say that we do.
28399 * configure: Regenerated.
28401 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28402 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28403 * scripts/sysd-rules.awk: ... this new script.
28404 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28405 than a glob-style pattern.
28407 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28409 * math/test-misc.c (main): Do not treat incorrectly rounded
28410 conversions as failure unless ROUNDING_TESTS passes.
28412 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28415 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28416 restore exception state around main square root computation, then
28417 check for inexactness explicitly.
28419 * math/libm-test.inc (fma_test_data): Add another test.
28421 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28423 * manual/threads.texi (Non-POSIX Extensions): New document
28424 node. Document pthread_getattr_default_np and
28425 pthread_setattr_default_np.
28427 * Versions.def (libpthread): Add GLIBC_2.18.
28428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28437 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28448 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28451 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28453 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28454 H.J. Lu <hjl.tools@gmail.com>
28457 * sysdeps/x86_64/rtld-memset.c: Remove file.
28458 * sysdeps/x86_64/rtld-memset.S: New file.
28460 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28462 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28463 (test_in_one_mode): Take arguments for whether the rounding mode
28464 is supported for each floating-point type.
28465 (do_test): Pass new arguments to test_in_one_mode using
28468 2013-06-13 Roland McGrath <roland@hack.frob.com>
28470 * posix/tst-waitid.c (do_test): Distinguish different instances of
28471 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28472 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28473 before entering the kernel for waitpid.
28475 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28477 * NEWS: Fix note on clock function precision. Text by Roland
28480 2013-06-13 Roland McGrath <roland@hack.frob.com>
28482 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28483 it into place only when and if the sanity check passes.
28485 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28487 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28488 output for whether conversion result is exact. Take argument
28489 indicating whether type is IBM long double.
28490 (round_for_all): Change need_exact field to ibm_ld.
28491 * stdlib/tst-strtod-round.c (struct exactness): New type.
28492 (struct test): Change bool ld_ok field to struct exactness exact.
28493 (TEST): Update all definitions for change to field.
28494 (tests): Regenerate array contents.
28495 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28496 field value. Check for IBM long double here.
28497 (do_test): Update calls to test_in_one_mode.
28499 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28502 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28503 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28505 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28508 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28509 generated by the compiler on loop optimizations.
28510 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28511 general definitions.
28513 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28515 * math/bug-nextafter.c: Include <math-tests.h>.
28516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28518 * math/bug-nexttoward.c: Include <math-tests.h>.
28519 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28521 * math/test-misc.c: Include <math-tests.h>.
28522 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28525 2013-06-12 Andreas Jaeger <aj@suse.de>
28527 * po/ia.po: Update Interlingua translation from translation
28530 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28532 * include/fenv.h: Include stdbool.h.
28533 (struct rm_ctx): New structure.
28534 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28536 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28537 (SET_RESTORE_ROUNDF): Likewise.
28538 (SET_RESTORE_ROUNDL): Likewise.
28539 (SET_RESTORE_ROUND_NOEX): Likewise.
28540 (SET_RESTORE_ROUND_NOEXF): Likewise.
28541 (SET_RESTORE_ROUND_NOEXL): Likewise.
28542 (SET_RESTORE_ROUND_53BIT): Likewise.
28543 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28544 (libc_feresetround_noexf_ctx): Likewise.
28545 (libc_feresetround_noexl_ctx): Likewise.
28546 (libc_feholdsetround_53bit_ctx): Likewise.
28547 (libc_feresetround_53bit_ctx): Likewise.
28548 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28549 (libc_feholdexcept_setround_sse_ctx): New function.
28550 (libc_fesetenv_sse_ctx): Likewise.
28551 (libc_feupdateenv_sse_ctx): Likewise.
28552 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28553 (libc_feholdexcept_setround_387_ctx): Likewise.
28554 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28555 (libc_feholdsetround_387_prec_ctx): Likewise.
28556 (libc_feholdsetround_387_ctx): Likewise.
28557 (libc_feholdsetround_387_53bit_ctx): Likewise.
28558 (libc_feholdsetround_sse_ctx): Likewise.
28559 (libc_feresetround_sse_ctx): Likewise.
28560 (libc_feresetround_387_ctx): Likewise.
28561 (libc_feupdateenv_387_ctx): Likewise.
28562 (libc_feholdexcept_setroundf_ctx): Define macro.
28563 (libc_fesetenvf_ctx): Likewise.
28564 (libc_feupdateenvf_ctx): Likewise.
28565 (libc_feholdsetroundf_ctx): Likewise.
28566 (libc_feresetroundf_ctx): Likewise.
28567 (libc_feholdexcept_setround_ctx): Likewise.
28568 (libc_fesetenv_ctx): Likewise.
28569 (libc_feupdateenv_ctx): Likewise.
28570 (libc_feholdsetround_ctx): Likewise.
28571 (libc_feresetround_ctx): Likewise.
28572 (libc_feholdexcept_setroundl_ctx): Likewise.
28573 (libc_feupdateenvl_ctx): Likewise.
28574 (libc_feholdsetroundl_ctx): Likewise.
28575 (libc_feresetroundl_ctx): Likewise.
28576 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28577 (libc_feresetround_53bit_ctx): Likewise.
28579 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28581 * locale/iso-639.def: Convert to UTF-8.
28583 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28585 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28586 (EXCEPTION_TESTS_double): Likewise.
28587 (EXCEPTION_TESTS_long_double): Likewise.
28588 (EXCEPTION_TESTS): Likewise.
28589 * math/libm-test.inc (test_exceptions): Only test exceptions if
28590 EXCEPTION_TESTS (FLOAT).
28592 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28594 * benchtests/Makefile (string-bench): Add strcpy_chk and
28596 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28597 * benchtests/bench-stpcpy_chk.c: New file.
28598 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28599 * benchtests/bench-strcpy_chk.c: New file.
28600 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28602 (do_test): Likewise.
28604 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28606 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28607 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28608 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28609 with tabs where appropriate.
28610 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28612 [PPC_PLATFORM_PPC440]: Likewise.
28613 [PPC_PLATFORM_PPC464]: Likewise.
28614 [PPC_PLATFORM_PPC476]: Likewise.
28615 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28616 ppc464, and ppc476 platform strings merging from ports/
28619 2013-06-11 Andreas Schwab <schwab@suse.de>
28622 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28623 (from_ucs4_idx): Regenerate.
28624 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28625 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28626 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28627 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28628 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28629 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28630 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28631 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28632 from FROM_LOOP and TO_LOOP specific macros.
28633 (BODY): Handle combining characters.
28634 * iconvdata/BIG5HKSCS.irreversible: Update.
28635 * iconvdata/BIG5HKSCS.precomposed: New file.
28636 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28638 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28640 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28642 * include/sys/time.h: Fix indentation and add copyright header.
28644 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28645 (do_test): Likewise.
28646 * string/test-memchr.c (do_one_test): Likewise.
28647 (do_test): Likewise.
28648 * string/test-memcmp.c (do_one_test): Likewise.
28649 (do_test): Likewise.
28650 * string/test-memcpy.c (do_one_test): Likewise.
28651 (do_test): Likewise.
28652 * string/test-memmem.c (do_one_test): Likewise.
28653 (do_test): Likewise.
28654 (do_random_tests): Likewise.
28655 * string/test-memmove.c (do_one_test): Likewise.
28656 (do_test): Likewise.
28657 * string/test-memset.c (do_one_test): Likewise.
28658 (do_test): Likewise.
28659 * string/test-rawmemchr.c (do_one_test): Likewise.
28660 (do_test): Likewise.
28661 * string/test-strcasecmp.c (do_one_test): Likewise.
28662 (do_test): Likewise.
28663 * string/test-strcasestr.c (do_one_test): Likewise.
28664 (do_test): Likewise.
28665 * string/test-strcat.c (do_one_test): Likewise.
28666 (do_test): Likewise.
28667 * string/test-strchr.c (do_one_test): Likewise.
28668 (do_test): Likewise.
28669 * string/test-strcmp.c (do_one_test): Likewise.
28670 (do_test): Likewise.
28671 * string/test-strcpy.c (do_one_test): Likewise.
28672 (do_test): Likewise.
28673 * string/test-string.h: Likewise.
28674 (test_init): Likewise.
28675 * string/test-strlen.c (do_one_test): Likewise.
28676 (do_test): Likewise.
28677 * string/test-strncasecmp.c (do_one_test): Likewise.
28678 (do_test): Likewise.
28679 * string/test-strncat.c (do_one_test): Likewise.
28680 (do_test): Likewise.
28681 * string/test-strncmp.c (do_one_test): Likewise.
28682 (do_test_limit): Likewise.
28683 (do_test): Likewise.
28684 * string/test-strncpy.c (do_one_test): Likewise.
28685 (do_test): Likewise.
28686 * string/test-strnlen.c (do_one_test): Likewise.
28687 (do_test): Likewise.
28688 * string/test-strpbrk.c (do_one_test): Likewise.
28689 (do_test): Likewise.
28690 * string/test-strrchr.c (do_one_test): Likewise.
28691 (do_test): Likewise.
28692 * string/test-strspn.c (do_one_test): Likewise.
28693 (do_test): Likewise.
28694 * string/test-strstr.c (do_one_test): Likewise.
28695 (do_test): Likewise.
28697 * benchtests/Makefile (string-bench): Add string benchmarks.
28698 * benchtests/bench-bcopy-ifunc.c: New file.
28699 * benchtests/bench-bcopy.c: New file.
28700 * benchtests/bench-bzero-ifunc.c: New file.
28701 * benchtests/bench-bzero.c: New file.
28702 * benchtests/bench-memccpy-ifunc.c: New file.
28703 * benchtests/bench-memccpy.c: New file.
28704 * benchtests/bench-memchr-ifunc.c: New file.
28705 * benchtests/bench-memchr.c: New file.
28706 * benchtests/bench-memcmp-ifunc.c: New file.
28707 * benchtests/bench-memcmp.c: New file.
28708 * benchtests/bench-memmem-ifunc.c: New file.
28709 * benchtests/bench-memmem.c: New file.
28710 * benchtests/bench-memmove-ifunc.c: New file.
28711 * benchtests/bench-memmove.c: New file.
28712 * benchtests/bench-mempcpy-ifunc.c: New file.
28713 * benchtests/bench-mempcpy.c: New file.
28714 * benchtests/bench-memset-ifunc.c: New file.
28715 * benchtests/bench-memset.c: New file.
28716 * benchtests/bench-rawmemchr-ifunc.c: New file.
28717 * benchtests/bench-rawmemchr.c: New file.
28718 * benchtests/bench-stpcpy-ifunc.c: New file.
28719 * benchtests/bench-stpcpy.c: New file.
28720 * benchtests/bench-stpncpy-ifunc.c: New file.
28721 * benchtests/bench-stpncpy.c: New file.
28722 * benchtests/bench-strcasecmp-ifunc.c: New file.
28723 * benchtests/bench-strcasecmp.c: New file.
28724 * benchtests/bench-strcasestr-ifunc.c: New file.
28725 * benchtests/bench-strcasestr.c: New file.
28726 * benchtests/bench-strcat-ifunc.c: New file.
28727 * benchtests/bench-strcat.c: New file.
28728 * benchtests/bench-strchr-ifunc.c: New file.
28729 * benchtests/bench-strchr.c: New file.
28730 * benchtests/bench-strchrnul-ifunc.c: New file.
28731 * benchtests/bench-strchrnul.c: New file.
28732 * benchtests/bench-strcmp-ifunc.c: New file.
28733 * benchtests/bench-strcmp.c: New file.
28734 * benchtests/bench-strcpy-ifunc.c: New file.
28735 * benchtests/bench-strcpy.c: New file.
28736 * benchtests/bench-strcspn-ifunc.c: New file.
28737 * benchtests/bench-strcspn.c: New file.
28738 * benchtests/bench-strlen-ifunc.c: New file.
28739 * benchtests/bench-strlen.c: New file.
28740 * benchtests/bench-strncasecmp-ifunc.c: New file.
28741 * benchtests/bench-strncasecmp.c: New file.
28742 * benchtests/bench-strncat-ifunc.c: New file.
28743 * benchtests/bench-strncat.c: New file.
28744 * benchtests/bench-strncmp-ifunc.c: New file.
28745 * benchtests/bench-strncmp.c: New file.
28746 * benchtests/bench-strncpy-ifunc.c: New file.
28747 * benchtests/bench-strncpy.c: New file.
28748 * benchtests/bench-strnlen-ifunc.c: New file.
28749 * benchtests/bench-strnlen.c: New file.
28750 * benchtests/bench-strpbrk-ifunc.c: New file.
28751 * benchtests/bench-strpbrk.c: New file.
28752 * benchtests/bench-strrchr-ifunc.c: New file.
28753 * benchtests/bench-strrchr.c: New file.
28754 * benchtests/bench-strspn-ifunc.c: New file.
28755 * benchtests/bench-strspn.c: New file.
28756 * benchtests/bench-strstr-ifunc.c: New file.
28757 * benchtests/bench-strstr.c: New file.
28759 * benchtests/Makefile: Disable parallel execution of targets.
28760 (string-bench): Add memcpy.
28761 (benchset): New variable to store a list of benchmark sets.
28762 (bench-func): Renamed from bench.
28763 (bench-set): New target.
28764 (bench): Depend on bench-func and bench-set.
28765 * benchtests/README: Add section on benchmark sets.
28766 * benchtests/bench-memcpy-ifunc.c: New file.
28767 * benchtests/bench-memcpy.c: New file.
28768 * benchtests/bench-string.h: New file.
28770 2013-06-11 Andreas Schwab <schwab@suse.de>
28773 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28774 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28775 values in the triple.
28776 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28777 terminator in the group key.
28779 2013-06-11 Andreas Jaeger <aj@suse.de>
28781 * po/zh_TW.po: Update Chinese (traditional) translation from
28782 translation project.
28784 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28786 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28787 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28788 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28790 (clock_getcpuclockid): Likewise.
28791 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28792 Add weak_alias and libc_hidden_def.
28793 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28794 * rt/clock_gettime.c (clock_gettime): Rename to
28795 __clock_gettime. Add weak_alias and libc_hidden_def.
28796 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28797 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28798 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28799 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28800 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28802 * rt/clock_settime.c (clock_settime): Rename to
28803 __clock_settime. Add weak_alias and libc_hidden_def.
28804 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28806 2013-06-10 Joseph Myers <joseph@codesourcery.com>
28808 * mach/err_boot.sub: Remove trailing whitespace.
28809 * mach/err_ipc.sub: Likewise.
28810 * mach/err_mach.sub: Likewise.
28812 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28813 (ROUNDING_TESTS_double): Likewise.
28814 (ROUNDING_TESTS_long_double): Likewise.
28815 (ROUNDING_TESTS): Likewise.
28816 * math/libm-test.inc: Include <math-tests.h>.
28817 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28818 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28819 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28820 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28822 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28824 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28827 2013-06-08 Joseph Myers <joseph@codesourcery.com>
28829 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28830 otherwise empty TRANS lines.
28831 * sysdeps/gnu/errlist.c: Regenerated.
28833 * catgets/gencat.c (error_print): Use (void) in function
28835 * crypt/crypt_util.c (__init_des): Likewise.
28836 * crypt/speeds.c (Stop): Likewise.
28838 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28839 * inet/ruserpass.c (token): Likewise.
28840 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28841 * intl/localealias.c (extend_alias_table): Likewise.
28842 * intl/plural-exp.c (init_germanic_plural): Likewise.
28843 * libio/fcloseall.c (__fcloseall): Likewise.
28844 * libio/genops.c (_IO_flush_all): Likewise.
28845 (_IO_flush_all_linebuffered): Likewise.
28846 (_IO_cleanup): Likewise.
28847 (_IO_iter_begin): Likewise.
28848 (_IO_iter_end): Likewise.
28849 (_IO_list_lock): Likewise.
28850 (_IO_list_unlock): Likewise.
28851 (_IO_list_resetlock): Likewise.
28852 * libio/getchar.c (getchar): Likewise.
28853 * libio/getchar_u.c (getchar_unlocked): Likewise.
28854 * libio/getwchar.c (getwchar): Likewise.
28855 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28856 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28857 * login/getpt.c (__getpt): Likewise.
28858 * login/tst-utmp.c (main): Likewise.
28859 * malloc/hooks.c (__malloc_check_init): Likewise.
28860 * malloc/malloc.c (__malloc_stats): Likewise.
28861 * malloc/mtrace.c (tr_break): Likewise.
28862 (mtrace): Likewise.
28863 (muntrace): Likewise.
28864 * misc/fstab.c (endfsent): Likewise.
28865 * misc/getclktck.c (__getclktck): Likewise.
28866 * misc/getdtsz.c (__getdtablesize): Likewise.
28867 * misc/gethostid.c (gethostid): Likewise.
28868 * misc/getpagesize.c (__getpagesize): Likewise.
28869 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28870 (__get_nprocs): Likewise.
28871 (__get_phys_pages): Likewise.
28872 (__get_avphys_pages): Likewise.
28873 * misc/getttyent.c (getttyent): Likewise.
28874 (setttyent): Likewise.
28875 (endttyent): Likewise.
28876 * misc/getusershell.c (getusershell): Likewise.
28877 (endusershell): Likewise.
28878 (setusershell): Likewise.
28879 (initshells): Likewise.
28880 * misc/hsearch.c (__hdestroy): Likewise.
28881 * misc/sync.c (sync): Likewise.
28882 * misc/syslog.c (closelog_internal): Likewise.
28883 (closelog): Likewise.
28884 * misc/ttyslot.c (ttyslot): Likewise.
28885 * misc/vhangup.c (vhangup): Likewise.
28886 * posix/fork.c (__fork): Likewise.
28887 * posix/getegid.c (__getegid): Likewise.
28888 * posix/geteuid.c (__geteuid): Likewise.
28889 * posix/getgid.c (__getgid): Likewise.
28890 * posix/getpid.c (__getpid): Likewise.
28891 * posix/getppid.c (__getppid): Likewise.
28892 * posix/getuid.c (__getuid): Likewise.
28893 * posix/pause.c (pause): Likewise.
28894 * posix/setpgrp.c (setpgrp): Likewise.
28895 * posix/setsid.c (__setsid): Likewise.
28896 * posix/test-vfork.c (noop): Likewise.
28897 * resolv/gethnamaddr.c (_endhtent): Likewise.
28898 (_gethtent): Likewise.
28899 (ht_endhostent): Likewise.
28900 (gethostent): Likewise.
28901 (dns_service): Likewise.
28902 * stdlib/drand48.c (drand48): Likewise.
28903 * stdlib/lrand48.c (lrand48): Likewise.
28904 * stdlib/mrand48.c (mrand48): Likewise.
28905 * stdlib/rand.c (rand): Likewise.
28906 * stdlib/random.c (__random): Likewise.
28907 * stdlib/setenv.c (clearenv): Likewise.
28908 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28909 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28910 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28911 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28912 (__get_nprocs): Likewise.
28913 (__get_phys_pages): Likewise.
28914 (__get_avphys_pages): Likewise.
28915 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28916 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28917 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28918 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28919 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28920 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28921 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28922 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28923 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28924 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28925 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28926 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28927 * sysdeps/posix/clock.c (clock): Likewise.
28928 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28929 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28930 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28931 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28932 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28934 (__get_nprocs_conf): Likewise.
28935 (__get_phys_pages): Likewise.
28936 (__get_avphys_pages): Likewise.
28937 * time/clock.c (clock): Likewise.
28938 * time/tzset.c (__tzname_max): Likewise.
28940 2013-06-07 Joseph Myers <joseph@codesourcery.com>
28942 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28943 (__bswap_32): Do not use "register".
28944 * crypt/crypt.c (_ufc_doit_r): Likewise.
28945 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28946 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28947 * gmon/gmon.c (__monstartup): Likewise.
28948 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28949 * hurd/hurdmalloc.c (more_memory): Likewise.
28950 (malloc): Likewise.
28952 (realloc): Likewise.
28953 (malloc_fork_prepare): Likewise.
28954 (malloc_fork_parent): Likewise.
28955 (malloc_fork_child): Likewise.
28956 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28957 (_svcauth_des): Likewise.
28958 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28959 * inet/inet_net.c (inet_network): Likewise.
28960 * inet/inet_netof.c (inet_netof): Likewise.
28961 * inet/rcmd.c (__validuser2_sa): Likewise.
28962 * io/fts.c (fts_open): Likewise.
28963 (fts_load): Likewise.
28964 (fts_close): Likewise.
28965 (fts_read): Likewise.
28966 (fts_children): Likewise.
28967 (fts_build): Likewise.
28968 (fts_stat): Likewise.
28969 (fts_sort): Likewise.
28970 (fts_alloc): Likewise.
28971 (fts_lfree): Likewise.
28972 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28973 (_IO_file_xsgetn): Likewise.
28974 (_IO_file_xsgetn_mmap): Likewise.
28975 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28976 (_IO_cookie_write): Likewise.
28977 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28978 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28979 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28980 * malloc/obstack.c (_obstack_begin): Likewise.
28981 (_obstack_begin_1): Likewise.
28982 (_obstack_newchunk): Likewise.
28983 (_obstack_allocated_p): Likewise.
28984 (obstack_free): Likewise.
28985 (_obstack_memory_used): Likewise.
28986 * misc/getttyent.c (getttynam): Likewise.
28987 (getttyent): Likewise.
28990 * misc/getusershell.c (initshells): Likewise.
28991 * misc/syslog.c (__vsyslog_chk): Likewise.
28992 * misc/ttyslot.c (ttyslot): Likewise.
28993 * nis/nis_hash.c (__nis_hash): Likewise.
28994 * posix/fnmatch_loop.c (FCT): Likewise.
28995 * posix/getconf.c (print_all): Likewise.
28997 * posix/getopt.c (exchange): Likewise.
28998 * posix/glob.c (globfree): Likewise.
28999 (prefix_array): Likewise.
29000 (__glob_pattern_type): Likewise.
29001 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29002 (NS_GET32): Likewise.
29003 (NS_PUT16): Likewise.
29004 (NS_PUT32): Likewise.
29005 * resolv/gethnamaddr.c (getanswer): Likewise.
29006 (gethostbyname2): Likewise.
29007 (gethostbyaddr): Likewise.
29008 (_gethtent): Likewise.
29009 (_gethtbyname2): Likewise.
29010 (_gethtbyaddr): Likewise.
29011 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29012 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29013 * resolv/res_init.c (__res_vinit): Likewise.
29014 (net_mask): Likewise.
29015 * resolv/res_mkquery.c (outchar): Likewise.
29017 * stdio-common/printf_fp.c (outchar): Likewise.
29019 * stdio-common/printf_fphex.c (outchar): Likewise.
29021 * stdio-common/printf_size.c (outchar): Likewise.
29023 * stdio-common/test_rdwr.c (main): Likewise.
29024 * stdio-common/tfformat.c (matches): Likewise.
29025 * stdio-common/vfprintf.c (outchar): Likewise.
29026 (printf_unknown): Likewise.
29027 (buffered_vfprintf): Likewise.
29028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29029 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29030 (ReadFile): Likewise.
29031 * stdlib/qsort.c (SWAP): Likewise.
29032 (_quicksort): Likewise.
29033 * stdlib/setenv.c (__add_to_environ): Likewise.
29034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29035 * stdlib/strtol_l.c (__strtol_l): Likewise.
29036 * stdlib/tst-strtod.c (main): Likewise.
29037 * stdlib/tst-strtol.c (main): Likewise.
29038 * stdlib/tst-strtoll.c (main): Likewise.
29039 * string/bits/string2.h (__strcmp_cc): Likewise.
29040 (__strcmp_cg): Likewise.
29041 (__strcspn_c1): Likewise.
29042 (__strcspn_c2): Likewise.
29043 (__strcspn_c3): Likewise.
29044 (__strspn_c1): Likewise.
29045 (__strspn_c2): Likewise.
29046 (__strspn_c3): Likewise.
29047 (__strsep_1c): Likewise.
29048 (__strsep_2c): Likewise.
29049 (__strsep_3c): Likewise.
29050 * string/memccpy.c (__memccpy): Likewise.
29051 * string/stpcpy.c (__stpcpy): Likewise.
29052 * string/strcmp.c (strcmp): Likewise.
29053 * string/strrchr.c (strrchr): Likewise.
29054 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29056 * sysdeps/mach/hurd/getcwd.c
29057 (_hurd_canonicalize_directory_name_internal): Likewise.
29058 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29059 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29060 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29061 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29062 Likewise, in both definitions.
29063 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29065 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29066 64] (__bswap_64): Likewise.
29067 * time/test_time.c (main): Likewise.
29068 * time/tzfile.c (__tzfile_read): Likewise.
29069 (__tzfile_compute): Likewise.
29070 * time/tzset.c (__tzset_parse_tz): Likewise.
29071 (tzset_internal): Likewise.
29072 (compute_change): Likewise.
29073 * wcsmbs/wcscat.c (__wcscat): Likewise.
29074 * wcsmbs/wcschr.c (wcschr): Likewise.
29075 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29076 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29077 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29078 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29079 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29080 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29081 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29082 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29083 * wcsmbs/wmemset.c (wmemset): Likewise.
29085 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29087 * scripts/config.guess: Update to version 2013-05-16.
29088 * scripts/config.sub: Update to version 2013-04-24.
29089 * scripts/install-sh: Update to version 2011-11-20.07.
29090 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29091 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29093 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29095 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29096 * elf/sln.c: Likewise.
29097 * hurd/hurd/ioctl.h: Likewise.
29098 * hurd/hurdmalloc.c: Likewise.
29099 * hurd/xattr.c: Likewise.
29100 * include/shlib-compat.h: Likewise.
29101 * inet/ruserpass.c: Likewise.
29102 * libio/iofgets_u.c: Likewise.
29103 * libio/iofgetws_u.c: Likewise.
29104 * locale/programs/ld-identification.c: Likewise.
29105 * locale/programs/ld-time.c: Likewise.
29106 * mach/msg-destroy.c: Likewise.
29107 * nss/nss_files/files-netgrp.c: Likewise.
29108 * resolv/res_data.c: Likewise.
29109 * soft-fp/op-1.h: Likewise.
29110 * soft-fp/op-2.h: Likewise.
29111 * soft-fp/op-4.h: Likewise.
29112 * soft-fp/op-common.h: Likewise.
29113 * stdio-common/printf_fphex.c: Likewise.
29114 * stdlib/strtod_l.c: Likewise.
29115 * sunrpc/rpc/clnt.h: Likewise.
29116 * sysdeps/generic/framestate.c: Likewise.
29117 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29118 * sysdeps/i386/bsd-setjmp.S: Likewise.
29119 * sysdeps/i386/__longjmp.S: Likewise.
29120 * sysdeps/i386/setjmp.S: Likewise.
29121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29122 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29139 * sysdeps/ieee754/support.c: Likewise.
29140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29141 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29142 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29143 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29144 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29145 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29146 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29147 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29148 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29149 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29150 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29151 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29152 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29154 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29155 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29159 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29161 * posix/transbug.c: Remove executable mode.
29163 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29165 * crypt/speeds.c: Remove trailing whitespace.
29166 * dlfcn/default.c: Likewise.
29167 * elf/ifuncdep2.c: Likewise.
29168 * elf/ifuncmain1.c: Likewise.
29169 * elf/ifuncmain1vis.c: Likewise.
29170 * elf/testobj.h: Likewise.
29171 * elf/tst-stackguard1.c: Likewise.
29172 * gmon/sys/gmon.h: Likewise.
29173 * hurd/hurdmsg.c: Likewise.
29174 * hurd/new-fd.c: Likewise.
29175 * hurd/ports-get.c: Likewise.
29176 * iconvdata/ibm1008_420.c: Likewise.
29177 * inet/tst-getni1.c: Likewise.
29178 * inet/tst-getni2.c: Likewise.
29179 * libio/ioungetc.c: Likewise.
29180 * libio/wfiledoalloc.c: Likewise.
29181 * manual/libm-err-tab.pl: Likewise.
29182 * math/w_dremf.c: Likewise.
29183 * misc/ftruncate.c: Likewise.
29184 * posix/bug-glob2.c: Likewise.
29185 * posix/tst-pcre.c: Likewise.
29186 * posix/wait4.c: Likewise.
29187 * resolv/README: Likewise.
29188 * resolv/res_debug.h: Likewise.
29189 * resolv/tst-inet_ntop.c: Likewise.
29190 * setjmp/bug269-setjmp.c: Likewise.
29191 * soft-fp/extended.h: Likewise.
29192 * soft-fp/op-1.h: Likewise.
29193 * soft-fp/op-2.h: Likewise.
29194 * soft-fp/op-4.h: Likewise.
29195 * soft-fp/op-8.h: Likewise.
29196 * soft-fp/testit.c: Likewise.
29197 * stdio-common/bug16.c: Likewise.
29198 * stdlib/random.c: Likewise.
29199 * sunrpc/rpcsvc/rquota.x: Likewise.
29200 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29201 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29203 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29204 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29205 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29229 * sysdeps/ieee754/s_lib_version.c: Likewise.
29230 * sysdeps/mach/hurd/check_fds.c: Likewise.
29231 * sysdeps/mach/hurd/getsockname.c: Likewise.
29232 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29233 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29234 * sysdeps/powerpc/bits/link.h: Likewise.
29235 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29236 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29237 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29238 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29239 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29240 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29241 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29242 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29243 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29244 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29245 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29246 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29247 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29248 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29249 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29250 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29251 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29254 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29256 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29258 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29259 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29262 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29263 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29268 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29269 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29294 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29299 * sysdeps/powerpc/sysdep.h: Likewise.
29300 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29301 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29302 * sysdeps/sh/dl-trampoline.S: Likewise.
29303 * sysdeps/sh/memset.S: Likewise.
29304 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29305 * sysdeps/sh/strlen.S: Likewise.
29306 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29307 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29308 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29309 * sysdeps/sparc/sparc32/rem.S: Likewise.
29310 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29311 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29312 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29313 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29314 * sysdeps/sparc/sparc32/urem.S: Likewise.
29315 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29316 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29317 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29318 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29320 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29321 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29322 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29323 * sysdeps/unix/bsd/times.c: Likewise.
29324 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29325 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29329 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29331 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29332 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29333 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29335 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29336 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29337 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29338 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29339 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29340 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29341 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29342 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29343 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29344 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29345 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29346 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29347 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29348 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29349 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29350 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29352 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29353 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29354 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29355 * sysdeps/x86_64/strcspn.S: Likewise.
29357 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29359 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29360 generated file. Regenerate properly from gen-translit.pl.
29361 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29362 locale/C-translit.h.
29364 2013-06-05 Andreas Schwab <schwab@suse.de>
29367 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29368 week as 6 instead of -1.
29369 * time/tst-strptime.c (day_tests): Add test case.
29371 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29373 * sysdeps/generic/math_private.h
29374 (libc_feholdexcept_setround_53bit): Replace with
29375 libc_feholdsetround_53bit.
29376 (libc_feupdateenv_53bit): Replace with
29377 libc_feresetround_53bit.
29378 (SET_RESTORE_ROUND_53BIT): Adjust.
29380 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29382 * string/test-strchrnul.c: Add copyright header.
29384 * posix/tst-getaddrinfo4.c: Increase test timeout.
29386 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29389 * math/libm-test.inc (MAX_EXP): Remove
29391 (ulp): Use MIN_EXP - MANT_DIG.
29392 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29394 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29396 * po/be.po: Revert last change.
29397 * po/zh_CN.po: Likewise.
29398 * po/header.pot: Likewise.
29400 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29402 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29403 link-libc-deps to empty as target-specific variable.
29404 * Makerules (link-libc-args): New variable.
29405 (libc-for-link): Likewise.
29406 (link-libc-deps): Likewise.
29407 (lib%.so): Depend on $(link-libc-deps). Link with
29409 (build-module): Link with $(link-libc-args).
29410 (build-module-asneeded): Likewise.
29411 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29413 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29414 target-specific variable.
29415 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29416 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29417 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29419 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29421 ($(objpfx)libpcprofile.so): Likewise.
29422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29424 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29425 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29426 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29428 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29429 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29430 * login/Makefile ($(objpfx)libutil.so): Likewise.
29431 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29432 * math/Makefile ($(objpfx)libm.so): Likewise.
29433 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29434 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29435 variable instead of depending directly on libc.
29436 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29437 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29439 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29441 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29442 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29443 ($(objpfx)libanl.so): Likewise.
29444 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29446 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29448 * sysdeps/i386/fpu/Makefile: Remove file.
29449 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29450 ($(objpfx)libm.so): Remove dependency on ld.so.
29452 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29455 * nis/yp_xdr.c (XDRMAXNAME): Define.
29456 (XDRMAXRECORD): Define.
29457 (xdr_domainname): Use XDRMAXNAME.
29458 (xdr_mapname): Likewise.
29459 (xdr_peername): Likewise.
29460 (xdr_keydat): Use XDRMAXRECORD.
29461 (xdr_valdat): Likewise.
29463 2013-05-30 Jeff Law <law@redhat.com>
29466 * manual/errno.texi (ESTALE): Update to account for more than
29467 just NFS file systems.
29468 * sysdeps/gnu/errlist.c: Regenerated.
29470 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29473 * elf/Makefile (tests): Add tst-null-argv.
29474 (modules-names): Add tst-null-argv-lib.
29475 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29476 (tst-null-argv-ENV): Set environment for tst-null-argv.
29477 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29478 (RTLD_PROGNAME): New macro.
29479 * elf/tst-null-argv.c: New test case.
29480 * elf/tst-null-argv-lib.c: Library for test case.
29481 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29482 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29483 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29484 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29485 * elf/dl-init.c (call_init): Likewise.
29486 (_dl_init): Likewise.
29487 * elf/dl-load.c (print_search_path): Likewise.
29488 (_dl_map_object): Likewise.
29489 * elf/dl-lookup.c (do_lookup_x): Likewise.
29490 (add_dependency): Likewise.
29491 (_dl_lookup_symbol_x): Likewise.
29492 (_dl_debug_bindings): Likewise.
29493 * elf/dl-open.c (_dl_show_scope): Likewise.
29494 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29495 * elf/dl-version.c (match_symbol): Likewise.
29496 (_dl_check_map_versions): Likewise.
29497 * elf/rtld.c (dl_main): Likewise.
29498 (print_unresolved): Use RTLD_PROGNAME.
29499 (print_missing_version): Likewise.
29500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29501 (elf_machine_rela): Likewise.
29502 * sysdeps/powerpc/powerpc32/dl-machine.c
29503 (__process_machine_rela): Likewise.
29504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29517 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29519 * po/be.po: Add descriptive title.
29520 * po/zh_CN.po: Likewise.
29521 * po/header.pot: Likewise.
29523 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29525 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29527 (enlarge_archive): Likewise.
29529 2013-05-28 Ben North <ben@redfrontdoor.org>
29531 * manual/arith.texi (frexp): It is the magnitude of the return
29532 value which lies in [0.5, 1), not the return value itself.
29534 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29538 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29540 * stdio-common/bug26.c (main): Correct fscanf template.
29542 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29543 declare _dl_skip_args.
29545 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29548 * manual/platform.texi: Add missing @end deftypefun.
29550 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29553 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29554 bit of mantissa of 2^16382.
29555 * math/libm-test.inc (hypot_test_data): Add more tests.
29557 * math/libm-test.inc: Add drem and pow10 to list of tested
29559 (pow10_test): New function.
29560 (drem_test): Likewise.
29561 (drem_test_tonearest): Likewise.
29562 (drem_test_towardzero): Likewise.
29563 (drem_test_downward): Likewise.
29564 (drem_test_upward): Likewise.
29565 (main): Call the new functions.
29567 * math/libm-test.inc (finite_test_data): Remove.
29568 (finite_test): Run tests from isfinite_test_data.
29569 (gamma_test_data): Remove.
29570 (gamma_test): Run tests from lgamma_test_data.
29571 * sysdeps/i386/fpu/libm-test-ulps: Update.
29572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29574 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29576 * manual/platform.texi: Add PowerPC PPR function set documentation.
29577 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29580 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29582 * math/libm-test.inc (MAX_EXP): Define.
29584 (ulp): New function.
29585 (check_float_internal): Use ULPDIFF.
29586 (cpow_test): Disable failing test.
29587 (check_ulp): Test ulp() implemetnation.
29588 (main): Call check_ulp before starting tests.
29590 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29592 * math/gen-libm-test.pl (generate_testfile): Do not handle
29593 START_DATA and END_DATA.
29594 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29596 (acos_tonearest_test_data): Likewise.
29597 (acos_towardzero_test_data): Likewise.
29598 (acos_downward_test_data): Likewise.
29599 (acos_upward_test_data): Likewise.
29600 (acosh_test_data): Likewise.
29601 (asin_test_data): Likewise.
29602 (asin_tonearest_test_data): Likewise.
29603 (asin_towardzero_test_data): Likewise.
29604 (asin_downward_test_data): Likewise.
29605 (asin_upward_test_data): Likewise.
29606 (asinh_test_data): Likewise.
29607 (atan_test_data): Likewise.
29608 (atanh_test_data): Likewise.
29609 (atan2_test_data): Likewise.
29610 (cabs_test_data): Likewise.
29611 (cacos_test_data): Likewise.
29612 (cacosh_test_data): Likewise.
29613 (carg_test_data): Likewise.
29614 (casin_test_data): Likewise.
29615 (casinh_test_data): Likewise.
29616 (catan_test_data): Likewise.
29617 (catanh_test_data): Likewise.
29618 (cbrt_test_data): Likewise.
29619 (ccos_test_data): Likewise.
29620 (ccosh_test_data): Likewise.
29621 (ceil_test_data): Likewise.
29622 (cexp_test_data): Likewise.
29623 (cimag_test_data): Likewise.
29624 (clog_test_data): Likewise.
29625 (clog10_test_data): Likewise.
29626 (conj_test_data): Likewise.
29627 (copysign_test_data): Likewise.
29628 (cos_test_data): Likewise.
29629 (cos_tonearest_test_data): Likewise.
29630 (cos_towardzero_test_data): Likewise.
29631 (cos_downward_test_data): Likewise.
29632 (cos_upward_test_data): Likewise.
29633 (cosh_test_data): Likewise.
29634 (cosh_tonearest_test_data): Likewise.
29635 (cosh_towardzero_test_data): Likewise.
29636 (cosh_downward_test_data): Likewise.
29637 (cosh_upward_test_data): Likewise.
29638 (cpow_test_data): Likewise.
29639 (cproj_test_data): Likewise.
29640 (creal_test_data): Likewise.
29641 (csin_test_data): Likewise.
29642 (csinh_test_data): Likewise.
29643 (csqrt_test_data): Likewise.
29644 (ctan_test_data): Likewise.
29645 (ctan_tonearest_test_data): Likewise.
29646 (ctan_towardzero_test_data): Likewise.
29647 (ctan_downward_test_data): Likewise.
29648 (ctan_upward_test_data): Likewise.
29649 (ctanh_test_data): Likewise.
29650 (ctanh_tonearest_test_data): Likewise.
29651 (ctanh_towardzero_test_data): Likewise.
29652 (ctanh_downward_test_data): Likewise.
29653 (ctanh_upward_test_data): Likewise.
29654 (erf_test_data): Likewise.
29655 (erfc_test_data): Likewise.
29656 (exp_test_data): Likewise.
29657 (exp_tonearest_test_data): Likewise.
29658 (exp_towardzero_test_data): Likewise.
29659 (exp_downward_test_data): Likewise.
29660 (exp_upward_test_data): Likewise.
29661 (exp10_test_data): Likewise.
29662 (exp2_test_data): Likewise.
29663 (expm1_test_data): Likewise.
29664 (fabs_test_data): Likewise.
29665 (fdim_test_data): Likewise.
29666 (finite_test_data): Likewise.
29667 (floor_test_data): Likewise.
29668 (fma_test_data): Likewise.
29669 (fma_towardzero_test_data): Likewise.
29670 (fma_downward_test_data): Likewise.
29671 (fma_upward_test_data): Likewise.
29672 (fmax_test_data): Likewise.
29673 (fmin_test_data): Likewise.
29674 (fmod_test_data): Likewise.
29675 (fpclassify_test_data): Likewise.
29676 (frexp_test_data): Likewise.
29677 (gamma_test_data): Likewise.
29678 (hypot_test_data): Likewise.
29679 (ilogb_test_data): Likewise.
29680 (isfinite_test_data): Likewise.
29681 (isgreater_test_data): Likewise.
29682 (isgreaterequal_test_data): Likewise.
29683 (isinf_test_data): Likewise.
29684 (isless_test_data): Likewise.
29685 (islessequal_test_data): Likewise.
29686 (islessgreater_test_data): Likewise.
29687 (isnan_test_data): Likewise.
29688 (isnormal_test_data): Likewise.
29689 (issignaling_test_data): Likewise.
29690 (isunordered_test_data): Likewise.
29691 (j0_test_data): Likewise.
29692 (j1_test_data): Likewise.
29693 (jn_test_data): Likewise.
29694 (ldexp_test_data): Likewise.
29695 (lgamma_test_data): Likewise.
29696 (lrint_test_data): Likewise.
29697 (lrint_tonearest_test_data): Likewise.
29698 (lrint_towardzero_test_data): Likewise.
29699 (lrint_downward_test_data): Likewise.
29700 (lrint_upward_test_data): Likewise.
29701 (llrint_test_data): Likewise.
29702 (llrint_tonearest_test_data): Likewise.
29703 (llrint_towardzero_test_data): Likewise.
29704 (llrint_downward_test_data): Likewise.
29705 (llrint_upward_test_data): Likewise.
29706 (log_test_data): Likewise.
29707 (log10_test_data): Likewise.
29708 (log1p_test_data): Likewise.
29709 (log2_test_data): Likewise.
29710 (logb_test_data): Likewise.
29711 (logb_downward_test_data): Likewise.
29712 (lround_test_data): Likewise.
29713 (llround_test_data): Likewise.
29714 (modf_test_data): Likewise.
29715 (nearbyint_test_data): Likewise.
29716 (nextafter_test_data): Likewise.
29717 (nexttoward_test_data): Likewise.
29718 (pow_test_data): Likewise.
29719 (pow_tonearest_test_data): Likewise.
29720 (pow_towardzero_test_data): Likewise.
29721 (pow_downward_test_data): Likewise.
29722 (pow_upward_test_data): Likewise.
29723 (remainder_test_data): Likewise.
29724 (remainder_tonearest_test_data): Likewise.
29725 (remainder_towardzero_test_data): Likewise.
29726 (remainder_downward_test_data): Likewise.
29727 (remainder_upward_test_data): Likewise.
29728 (remquo_test_data): Likewise.
29729 (rint_test_data): Likewise.
29730 (rint_tonearest_test_data): Likewise.
29731 (rint_towardzero_test_data): Likewise.
29732 (rint_downward_test_data): Likewise.
29733 (rint_upward_test_data): Likewise.
29734 (round_test_data): Likewise.
29735 (scalb_test_data): Likewise.
29736 (scalbn_test_data): Likewise.
29737 (scalbln_test_data): Likewise.
29738 (signbit_test_data): Likewise.
29739 (sin_test_data): Likewise.
29740 (sin_tonearest_test_data): Likewise.
29741 (sin_towardzero_test_data): Likewise.
29742 (sin_downward_test_data): Likewise.
29743 (sin_upward_test_data): Likewise.
29744 (sincos_test_data): Likewise.
29745 (sinh_test_data): Likewise.
29746 (sinh_tonearest_test_data): Likewise.
29747 (sinh_towardzero_test_data): Likewise.
29748 (sinh_downward_test_data): Likewise.
29749 (sinh_upward_test_data): Likewise.
29750 (sqrt_test_data): Likewise.
29751 (tan_test_data): Likewise.
29752 (tan_tonearest_test_data): Likewise.
29753 (tan_towardzero_test_data): Likewise.
29754 (tan_downward_test_data): Likewise.
29755 (tan_upward_test_data): Likewise.
29756 (tanh_test_data): Likewise.
29757 (tgamma_test_data): Likewise.
29758 (trunc_test_data): Likewise.
29759 (y0_test_data): Likewise.
29760 (y1_test_data): Likewise.
29761 (yn_test_data): Likewise.
29762 (significand_test_data): Likewise.
29764 * math/gen-libm-test.pl (@functions): Remove variable.
29765 (generate_testfile): Don't handle START and END lines.
29766 * math/libm-test.inc (START): New macro.
29768 (END_COMPLEX): Likewise.
29769 (acos_test): Use END macro without arguments.
29770 (acos_test_tonearest): Likewise.
29771 (acos_test_towardzero): Likewise.
29772 (acos_test_downward): Likewise.
29773 (acos_test_upward): Likewise.
29774 (acosh_test): Likewise.
29775 (asin_test): Likewise.
29776 (asin_test_tonearest): Likewise.
29777 (asin_test_towardzero): Likewise.
29778 (asin_test_downward): Likewise.
29779 (asin_test_upward): Likewise.
29780 (asinh_test): Likewise.
29781 (atan_test): Likewise.
29782 (atanh_test): Likewise.
29783 (atan2_test): Likewise.
29784 (cabs_test): Likewise.
29785 (cacos_test): Use END_COMPLEX macro without arguments.
29786 (cacosh_test): Likewise.
29787 (carg_test): Use END macro without arguments.
29788 (casin_test): Use END_COMPLEX macro without arguments.
29789 (casinh_test): Likewise.
29790 (catan_test): Likewise.
29791 (catanh_test): Likewise.
29792 (cbrt_test): Use END macro without arguments.
29793 (ccos_test): Use END_COMPLEX macro without arguments.
29794 (ccosh_test): Likewise.
29795 (ceil_test): Use END macro without arguments.
29796 (cexp_test): Use END_COMPLEX macro without arguments.
29797 (cimag_test): Use END macro without arguments.
29798 (clog_test): Use END_COMPLEX macro without arguments.
29799 (clog10_test): Likewise.
29800 (conj_test): Likewise.
29801 (copysign_test): Use END macro without arguments.
29802 (cos_test): Likewise.
29803 (cos_test_tonearest): Likewise.
29804 (cos_test_towardzero): Likewise.
29805 (cos_test_downward): Likewise.
29806 (cos_test_upward): Likewise.
29807 (cosh_test): Likewise.
29808 (cosh_test_tonearest): Likewise.
29809 (cosh_test_towardzero): Likewise.
29810 (cosh_test_downward): Likewise.
29811 (cosh_test_upward): Likewise.
29812 (cpow_test): Use END_COMPLEX macro without arguments.
29813 (cproj_test): Likewise.
29814 (creal_test): Use END macro without arguments.
29815 (csin_test): Use END_COMPLEX macro without arguments.
29816 (csinh_test): Likewise.
29817 (csqrt_test): Likewise.
29818 (ctan_test): Likewise.
29819 (ctan_test_tonearest): Likewise.
29820 (ctan_test_towardzero): Likewise.
29821 (ctan_test_downward): Likewise.
29822 (ctan_test_upward): Likewise.
29823 (ctanh_test): Likewise.
29824 (ctanh_test_tonearest): Likewise.
29825 (ctanh_test_towardzero): Likewise.
29826 (ctanh_test_downward): Likewise.
29827 (ctanh_test_upward): Likewise.
29828 (erf_test): Use END macro without arguments.
29829 (erfc_test): Likewise.
29830 (exp_test): Likewise.
29831 (exp_test_tonearest): Likewise.
29832 (exp_test_towardzero): Likewise.
29833 (exp_test_downward): Likewise.
29834 (exp_test_upward): Likewise.
29835 (exp10_test): Likewise.
29836 (exp2_test): Likewise.
29837 (expm1_test): Likewise.
29838 (fabs_test): Likewise.
29839 (fdim_test): Likewise.
29840 (finite_test): Likewise.
29841 (floor_test): Likewise.
29842 (fma_test): Likewise.
29843 (fma_test_towardzero): Likewise.
29844 (fma_test_downward): Likewise.
29845 (fma_test_upward): Likewise.
29846 (fmax_test): Likewise.
29847 (fmin_test): Likewise.
29848 (fmod_test): Likewise.
29849 (fpclassify_test): Likewise.
29850 (frexp_test): Likewise.
29851 (gamma_test): Likewise.
29852 (hypot_test): Likewise.
29853 (ilogb_test): Likewise.
29854 (isfinite_test): Likewise.
29855 (isgreater_test): Likewise.
29856 (isgreaterequal_test): Likewise.
29857 (isinf_test): Likewise.
29858 (isless_test): Likewise.
29859 (islessequal_test): Likewise.
29860 (islessgreater_test): Likewise.
29861 (isnan_test): Likewise.
29862 (isnormal_test): Likewise.
29863 (issignaling_test): Likewise.
29864 (isunordered_test): Likewise.
29865 (j0_test): Likewise.
29866 (j1_test): Likewise.
29867 (jn_test): Likewise.
29868 (ldexp_test): Likewise.
29869 (lgamma_test): Likewise.
29870 (lrint_test): Likewise.
29871 (lrint_test_tonearest): Likewise.
29872 (lrint_test_towardzero): Likewise.
29873 (lrint_test_downward): Likewise.
29874 (lrint_test_upward): Likewise.
29875 (llrint_test): Likewise.
29876 (llrint_test_tonearest): Likewise.
29877 (llrint_test_towardzero): Likewise.
29878 (llrint_test_downward): Likewise.
29879 (llrint_test_upward): Likewise.
29880 (log_test): Likewise.
29881 (log10_test): Likewise.
29882 (log1p_test): Likewise.
29883 (log2_test): Likewise.
29884 (logb_test): Likewise.
29885 (logb_test_downward): Likewise.
29886 (lround_test): Likewise.
29887 (llround_test): Likewise.
29888 (modf_test): Likewise.
29889 (nearbyint_test): Likewise.
29890 (nextafter_test): Likewise.
29891 (nexttoward_test): Likewise.
29892 (pow_test): Likewise.
29893 (pow_test_tonearest): Likewise.
29894 (pow_test_towardzero): Likewise.
29895 (pow_test_downward): Likewise.
29896 (pow_test_upward): Likewise.
29897 (remainder_test): Likewise.
29898 (remainder_test_tonearest): Likewise.
29899 (remainder_test_towardzero): Likewise.
29900 (remainder_test_downward): Likewise.
29901 (remainder_test_upward): Likewise.
29902 (remquo_test): Likewise.
29903 (rint_test): Likewise.
29904 (rint_test_tonearest): Likewise.
29905 (rint_test_towardzero): Likewise.
29906 (rint_test_downward): Likewise.
29907 (rint_test_upward): Likewise.
29908 (round_test): Likewise.
29909 (scalb_test): Likewise.
29910 (scalbn_test): Likewise.
29911 (scalbln_test): Likewise.
29912 (signbit_test): Likewise.
29913 (sin_test): Likewise.
29914 (sin_test_tonearest): Likewise.
29915 (sin_test_towardzero): Likewise.
29916 (sin_test_downward): Likewise.
29917 (sin_test_upward): Likewise.
29918 (sincos_test): Likewise.
29919 (sinh_test): Likewise.
29920 (sinh_test_tonearest): Likewise.
29921 (sinh_test_towardzero): Likewise.
29922 (sinh_test_downward): Likewise.
29923 (sinh_test_upward): Likewise.
29924 (sqrt_test): Likewise.
29925 (tan_test): Likewise.
29926 (tan_test_tonearest): Likewise.
29927 (tan_test_towardzero): Likewise.
29928 (tan_test_downward): Likewise.
29929 (tan_test_upward): Likewise.
29930 (tanh_test): Likewise.
29931 (tgamma_test): Likewise.
29932 (trunc_test): Likewise.
29933 (y0_test): Likewise.
29934 (y1_test): Likewise.
29935 (yn_test): Likewise.
29936 (significand_test): Likewise.
29938 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
29941 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29943 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29946 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29947 __ppc_mdoio and __ppc_mdoom.
29948 * manual/platform.texi: Document new functions __ppc_yield,
29949 __ppc_mdoio and __ppc_mdoom.
29951 2013-05-22 Carlos O'Donell <carlos@redhat.com>
29953 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29954 (main): Mention "tls" pseudo-hwcap is legacy.
29955 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29957 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29959 * math/gen-libm-test.pl (parse_args): Output only string of
29960 arguments as text for test name, not full call or descriptions of
29961 tests for extra outputs.
29962 (generate_testfile): Do not pass function name to parse_args.
29963 Generate this_func variable from START.
29964 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29966 (struct test_ff_f_data): Likewise.
29967 (test_ff_f_data_nexttoward): Likewise.
29968 (struct test_fi_f_data): Likewise.
29969 (struct test_fl_f_data): Likewise.
29970 (struct test_if_f_data): Likewise.
29971 (struct test_fff_f_data): Likewise.
29972 (struct test_c_f_data): Likewise.
29973 (struct test_f_f1_data): Likewise. Remove field extra_name.
29974 (struct test_fF_f1_data): Likewise.
29975 (struct test_ffI_f1_data): Likewise.
29976 (struct test_c_c_data): Rename test_name field to arg_str.
29977 (struct test_cc_c_data): Likewise.
29978 (struct test_f_i_data): Likewise.
29979 (struct test_ff_i_data): Likewise.
29980 (struct test_f_l_data): Likewise.
29981 (struct test_f_L_data): Likewise.
29982 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29984 (COMMON_TEST_SETUP): New macro.
29985 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29986 (COMMON_TEST_CLEANUP): Likewise.
29987 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29988 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29990 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29991 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29993 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29994 (RUN_TEST_fff_f): Take argument string. Call new setup and
29996 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29997 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29999 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30000 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30002 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30003 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30005 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30006 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30008 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30009 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30011 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30012 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30014 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30015 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30017 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30018 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30020 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30021 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30023 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30024 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30026 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30027 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30029 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30030 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30032 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30033 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30035 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30036 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30038 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30039 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30041 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30043 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30046 to _sifields.sigfault.
30047 (si_addr_lsb): Define new macro.
30048 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30052 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30055 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30057 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30059 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30060 loading the domain.
30062 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30064 * math/gen-libm-test.pl (parse_args): Do not include expected
30065 result in test name.
30066 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30070 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30073 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30075 * benchtests/Makefile: Sort function entries.
30077 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30078 tanh, asinh, acosh, atanh.
30079 * benchtests/acos-inputs: New file.
30080 * benchtests/acosh-inputs: New file.
30081 * benchtests/asin-inputs: New file.
30082 * benchtests/asinh-inputs: New file.
30083 * benchtests/atanh-inputs: New file.
30084 * benchtests/cosh-inputs: New file.
30085 * benchtests/log-inputs: New file.
30086 * benchtests/sinh-inputs: New file.
30087 * benchtests/tanh-inputs: New file.
30089 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30092 * posix/tst-getaddrinfo4.c: New test.
30093 * posix/Makefile (tests): Add it.
30095 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30098 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30099 when no services were used.
30100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30101 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30103 2013-05-21 Andreas Schwab <schwab@suse.de>
30106 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30107 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30109 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30110 redundant variable declarations and reallocation of buffer when
30111 parsing as IPv6 address. Always set NSS status when called from
30112 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30113 buffer too small. Correct computation of needed size.
30114 * nss/Makefile (tests): Add test-digits-dots.
30115 * nss/test-digits-dots.c: New test.
30117 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30119 * benchtests/Makefile: Remove instructions for adding
30121 * benchtests/README: New file to explain how to execute and
30122 enhance the benchmark tests.
30124 2013-05-21 Andreas Schwab <schwab@suse.de>
30127 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30128 * setjmp/tst-sigsetjmp.c: New test.
30130 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30132 * sysdeps/x86_64/memset.S (memset): New implementation.
30133 (__bzero): Likewise.
30134 (__memset_tail): New function.
30136 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30138 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30139 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30140 __memcpy_sse2_unaligned ifunc selection.
30141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30142 Add memcpy-sse2-unaligned.S.
30143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30144 Add: __memcpy_sse2_unaligned.
30146 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30149 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30150 math_force_eval before restoring floating-point envrionment.
30151 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30156 (__nearbyintl): Use math_force_eval before restoring
30157 floating-point environment.
30158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30160 * math/gen-libm-test.pl (special_functions): Remove.
30161 (parse_args): Don't handle TEST_extra. Handle functions with no
30163 * math/libm-test.inc (struct test_sincos_data): Replace with
30164 struct test_fFF_11_data.
30165 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30166 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30167 (sincos_test_data): Change element type to struct
30168 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30169 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30170 RUN_TEST_LOOP_sincos.
30171 * math/README.libm-test: Don't mention special handling of
30172 individual functions.
30173 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30175 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30176 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30180 * math/gen-libm-test.pl (get_variable): Remove function.
30181 (parse_args): Don't show pointer parameters to call in test
30182 names. Use "extra output N" in test names for extra outputs
30183 rather than naming variables.
30185 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30188 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30189 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30190 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30192 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30194 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30197 * math/gen-libm-test.pl (@tests): Remove variable.
30198 ($count): Likewise.
30199 (new_test): Remove function.
30200 (show_exceptions): New function.
30201 (special_functions): Use show_exceptions instead of new_test.
30202 (parse_args): Likewise.
30203 (generate_testfile): Pass only function name in generated call to
30204 print_max_error or print_complex_max_error.
30205 (get_ulps): Do not handle complex tests specially.
30206 (output_test): Rename to ...
30207 (get_all_ulps_for_test): ... this. Return a string rather than
30208 printing to a file. Require ulps to be present.
30209 (output_ulps): Generate arrays rather than #defines.
30210 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30211 (struct ulp_data): New type.
30212 (BUILD_COMPLEX_ULP): Remove macro.
30213 (compare_ulp_data): New function.
30214 (find_ulps): Likewise.
30215 (find_test_ulps): Likewise.
30216 (find_function_ulps): Likewise.
30217 (find_complex_function_ulps): Likewise.
30218 (print_max_error): Determine allowed ulps using
30219 find_function_ulps.
30220 (print_complex_max_error): Determine allowed ulps using
30221 find_complex_function_ulps.
30222 (check_float_internal): Determine max ulps using find_test_ulps.
30223 (check_float): Do not take max_ulp parameter. Update call to
30224 check_float_internal.
30225 (check_complex): Likewise.
30226 (check_int): Do not take max_ulp parameter.
30227 (check_long): Likewise.
30228 (check_bool): Likewise.
30229 (check_longlong): Likewise.
30230 (struct test_f_f_data): Remove max_ulp field.
30231 (struct test_ff_f_data): Likewise.
30232 (struct test_ff_f_data_nexttoward): Likewise.
30233 (struct test_fi_f_data): Likewise.
30234 (struct test_fl_f_data): Likewise.
30235 (struct test_if_f_data): Likewise.
30236 (struct test_fff_f_data): Likewise.
30237 (struct test_c_f_data): Likewise.
30238 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30239 (struct test_fF_f1_data): Likewise.
30240 (struct test_ffI_f1_data): Likewise.
30241 (struct test_c_c_data): Remove max_ulp field.
30242 (struct test_cc_c_data): Likewise.
30243 (struct test_f_i_data): Likewise.
30244 (struct test_ff_i_data): Likewise.
30245 (struct test_f_l_data): Likewise.
30246 (struct test_f_L_data): Likewise.
30247 (struct test_sincos_data): Likewise.
30248 (RUN_TEST_f_f): Do not handle ulps.
30249 (RUN_TEST_LOOP_f_f): Likewise.
30250 (RUN_TEST_2_f): Likewise.
30251 (RUN_TEST_LOOP_2_f): Likewise.
30252 (RUN_TEST_fff_f): Likewise.
30253 (RUN_TEST_LOOP_fff_f): Likewise.
30254 (RUN_TEST_c_f): Likewise.
30255 (RUN_TEST_LOOP_c_f): Likewise.
30256 (RUN_TEST_f_f1): Likewise.
30257 (RUN_TEST_LOOP_f_f1): Likewise.
30258 (RUN_TEST_fF_f1): Likewise.
30259 (RUN_TEST_LOOP_fF_f1): Likewise.
30260 (RUN_TEST_fI_f1): Likewise.
30261 (RUN_TEST_LOOP_fI_f1): Likewise.
30262 (RUN_TEST_ffI_f1): Likewise.
30263 (RUN_TEST_LOOP_ffI_f1): Likewise.
30264 (RUN_TEST_c_c): Likewise.
30265 (RUN_TEST_LOOP_c_c): Likewise.
30266 (RUN_TEST_cc_c): Likewise.
30267 (RUN_TEST_LOOP_cc_c): Likewise.
30268 (RUN_TEST_f_i): Likewise.
30269 (RUN_TEST_LOOP_f_i): Likewise.
30270 (RUN_TEST_f_i_tg): Likewise.
30271 (RUN_TEST_LOOP_f_i_tg): Likewise.
30272 (RUN_TEST_ff_i_tg): Likewise.
30273 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30274 (RUN_TEST_f_b): Likewise.
30275 (RUN_TEST_LOOP_f_b): Likewise.
30276 (RUN_TEST_f_b_tg): Likewise.
30277 (RUN_TEST_LOOP_f_b_tg): Likewise.
30278 (RUN_TEST_f_l): Likewise.
30279 (RUN_TEST_LOOP_f_l): Likewise.
30280 (RUN_TEST_f_L): Likewise.
30281 (RUN_TEST_LOOP_f_L): Likewise.
30282 (RUN_TEST_sincos): Likewise.
30283 (RUN_TEST_LOOP_sincos): Likewise.
30285 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30289 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30290 main case of finite arguments, set rounding mode to FE_TONEAREST
30291 and discard exceptions.
30292 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30294 (remainder_tonearest_test_data): New variable.
30295 (remainder_test_tonearest): New function.
30296 (remainder_towardzero_test_data): New variable.
30297 (remainder_test_towardzero): New function.
30298 (remainder_downward_test_data): New variable.
30299 (remainder_test_downward): New function.
30300 (remainder_upward_test_data): New variable.
30301 (remainder_test_upward): New function.
30302 (main): Call the new test functions.
30304 * math/libm-test.inc (struct test_f_f1_data): Remove field
30306 (struct test_fF_f1_data): Likewise.
30307 (struct test_ffI_f1_data): Likewise.
30308 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30309 based on value of EXTRA_EXPECTED.
30310 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30311 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30312 EXTRA_VAR based on value of EXTRA_EXPECTED.
30313 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30314 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30315 EXTRA_VAR based on value of EXTRA_EXPECTED.
30316 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30317 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30318 EXTRA_VAR based on value of EXTRA_EXPECTED.
30319 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30320 * math/gen-libm-test.pl (parse_args): Don't output initializers
30321 for extra output values.
30323 * math/libm-test.inc (check_int): Expect result to be exactly
30324 equal to expected value and do not handle ulps.
30325 (check_long): Likewise.
30326 (check_longlong): Likewise.
30328 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30330 (cimag_test_data): Likewise.
30331 (conj_test_data): Likewise.
30332 (copysign_test_data): Likewise.
30333 (cproj_test_data): Likewise.
30334 (creal_test_data): Likewise.
30335 (fabs_test_data): Likewise.
30336 (fdim_test_data): Likewise.
30337 (finite_test_data): Likewise.
30338 (floor_test_data): Likewise.
30339 (fmax_test_data): Likewise.
30340 (fmin_test_data): Likewise.
30341 (fmod_test_data): Likewise.
30342 (fpclassify_test_data): Likewise.
30343 (frexp_test_data): Likewise.
30344 (ilogb_test_data): Likewise.
30345 (isfinite_test_data): Likewise.
30346 (isgreater_test_data): Likewise.
30347 (isgreaterequal_test_data): Likewise.
30348 (isinf_test_data): Likewise.
30349 (isless_test_data): Likewise.
30350 (islessequal_test_data): Likewise.
30351 (islessgreater_test_data): Likewise.
30352 (isnan_test_data): Likewise.
30353 (isnormal_test_data): Likewise.
30354 (issignaling_test_data): Likewise.
30355 (isunordered_test_data): Likewise.
30356 (ldexp_test_data): Likewise.
30357 (lrint_test_data): Likewise.
30358 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30359 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30360 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30361 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30362 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30363 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30365 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30366 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30367 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30368 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30370 (lrint_downward_test_data): Test for "inexact" exceptions.
30371 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30372 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30373 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30375 (lrint_upward_test_data): Test for "inexact" exceptions.
30376 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30378 (llrint_test_data): Test for "inexact" exceptions.
30379 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30380 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30381 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30382 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30383 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30384 (llrint_downward_test_data): Test for "inexact" exceptions.
30385 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30386 (llrint_upward_test_data): Test for "inexact" exceptions.
30387 (logb_test_data): Likewise.
30388 (logb_downward_test_data): Likewise.
30389 (nextafter_test_data): Likewise.
30390 (nexttoward_test_data): Likewise.
30391 (remainder_test_data): Likewise.
30392 (remquo_test_data): Likewise.
30393 (scalbn_test_data): Likewise.
30394 (scalbln_test_data): Likewise.
30395 (signbit_test_data): Likewise.
30396 (sqrt_test_data): Likewise.
30397 (significand_test_data): Likewise.
30399 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30402 * benchtests/bench-modf.c (struct args): Mark arg0 as
30404 * scripts/bench.pl: Mark members of struct args as volatile.
30406 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30409 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30410 negative infinity on POWER6 or lower.
30411 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30413 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30416 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30417 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30418 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30419 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30420 (_FP_SETQNAN): New macro.
30421 (_FP_SETQNAN_SEMIRAW): Likewise.
30422 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30423 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30424 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30425 (FP_EXTEND): Use _FP_FRAC_SNANP.
30426 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30427 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30431 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30434 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30436 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30437 with DIVIDE_BY_ZERO_EXCEPTION.
30438 (gamma_test_data): Likewise.
30439 (lgamma_test_data): Likewise.
30440 (log_test_data): Likewise.
30441 (log10_test_data): Likewise.
30442 (log2_test_data): Likewise.
30443 (tgamma_test_data): Likewise.
30445 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30446 (acos_test_tonearest): Likewise.
30447 (acos_test_towardzero): Likewise.
30448 (acos_test_downward): Likewise.
30449 (acos_test_upward): Likewise.
30450 (acosh_test): Likewise.
30451 (asin_test): Likewise.
30452 (asin_test_tonearest): Likewise.
30453 (asin_test_towardzero): Likewise.
30454 (asin_test_downward): Likewise.
30455 (asin_test_upward): Likewise.
30456 (asinh_test): Likewise.
30457 (atan_test): Likewise.
30458 (atanh_test): Likewise.
30459 (atan2_test): Likewise.
30460 (cabs_test): Likewise.
30461 (cacos_test): Likewise.
30462 (cacosh_test): Likewise.
30463 (casin_test): Likewise.
30464 (casinh_test): Likewise.
30465 (catan_test): Likewise.
30466 (catanh_test): Likewise.
30467 (cbrt_test): Likewise.
30468 (ccos_test): Likewise.
30469 (ccosh_test): Likewise.
30470 (cexp_test): Likewise.
30471 (clog_test): Likewise.
30472 (clog10_test): Likewise.
30473 (cos_test): Likewise.
30474 (cos_test_tonearest): Likewise.
30475 (cos_test_towardzero): Likewise.
30476 (cos_test_downward): Likewise.
30477 (cos_test_upward): Likewise.
30478 (cosh_test): Likewise.
30479 (cosh_test_tonearest): Likewise.
30480 (cosh_test_towardzero): Likewise.
30481 (cosh_test_downward): Likewise.
30482 (cosh_test_upward): Likewise.
30483 (cpow_test): Likewise.
30484 (csin_test): Likewise.
30485 (csinh_test): Likewise.
30486 (csqrt_test): Likewise.
30487 (ctan_test): Likewise.
30488 (ctan_test_tonearest): Likewise.
30489 (ctan_test_towardzero): Likewise.
30490 (ctan_test_downward): Likewise.
30491 (ctan_test_upward): Likewise.
30492 (ctanh_test): Likewise.
30493 (ctanh_test_tonearest): Likewise.
30494 (ctanh_test_towardzero): Likewise.
30495 (ctanh_test_downward): Likewise.
30496 (ctanh_test_upward): Likewise.
30497 (erf_test): Likewise.
30498 (erfc_test): Likewise.
30499 (exp_test): Likewise.
30500 (exp_test_tonearest): Likewise.
30501 (exp_test_towardzero): Likewise.
30502 (exp_test_downward): Likewise.
30503 (exp_test_upward): Likewise.
30504 (exp10_test): Likewise.
30505 (exp2_test): Likewise.
30506 (expm1_test): Likewise.
30507 (fmod_test): Likewise.
30508 (gamma_test): Likewise.
30509 (hypot_test): Likewise.
30510 (j0_test): Likewise.
30511 (j1_test): Likewise.
30512 (jn_test): Likewise.
30513 (lgamma_test): Likewise.
30514 (log_test): Likewise.
30515 (log10_test): Likewise.
30516 (log1p_test): Likewise.
30517 (log2_test): Likewise.
30518 (logb_test_downward): Likewise.
30519 (pow_test): Likewise.
30520 (pow_test_tonearest): Likewise.
30521 (pow_test_towardzero): Likewise.
30522 (pow_test_downward): Likewise.
30523 (pow_test_upward): Likewise.
30524 (remainder_test): Likewise.
30525 (remquo_test): Likewise.
30526 (sin_test): Likewise.
30527 (sin_test_tonearest): Likewise.
30528 (sin_test_towardzero): Likewise.
30529 (sin_test_downward): Likewise.
30530 (sin_test_upward): Likewise.
30531 (sincos_test): Likewise.
30532 (sinh_test): Likewise.
30533 (sinh_test_tonearest): Likewise.
30534 (sinh_test_towardzero): Likewise.
30535 (sinh_test_downward): Likewise.
30536 (sinh_test_upward): Likewise.
30537 (sqrt_test): Likewise.
30538 (tan_test): Likewise.
30539 (tan_test_tonearest): Likewise.
30540 (tan_test_towardzero): Likewise.
30541 (tan_test_downward): Likewise.
30542 (tan_test_upward): Likewise.
30543 (tanh_test): Likewise.
30544 (tgamma_test): Likewise.
30545 (y0_test): Likewise.
30546 (y1_test): Likewise.
30547 (yn_test): Likewise.
30549 * math/gen-libm-test.pl (adjust_arg): Remove function.
30550 (special_function): Remove argument $in_func. Only handle
30551 generating output for tables of tests, not inside functions.
30552 (parse_args): Likewise.
30553 (generate_testfile): Remove variable $in_func. Update call to
30555 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30556 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30557 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30558 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30559 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30560 (MAX_VALUE_INIT): Rename macro to max_value.
30561 (MIN_VALUE_INIT): Rename macro to min_value.
30562 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30563 (plus_zero): Remove variable.
30564 (minus_zero): Likewise.
30565 (plus_infty): Likewise.
30566 (minus_infty): Likewise.
30567 (qnan_value): Likewise.
30568 (max_value): Likewise.
30569 (min_value): Likewise.
30570 (min_subnorm_value): Likewise.
30572 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30574 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30575 uint64_t or uint32_t usage.
30576 * crypt/sha256-block.c: Likewise.
30577 * crypt/sha256-crypt.c: Likewise.
30578 * crypt/sha256.c: Likewise.
30579 * crypt/sha512-block.c: Likewise.
30580 * crypt/sha512-crypt.c: Likewise.
30581 * crypt/sha512.c: Likewise.
30582 * debug/backtrace-tst.c: Likewise.
30583 * debug/pcprofiledump.c: Likewise.
30584 * elf/cache.c: Likewise.
30585 * elf/dl-cache.c: Likewise.
30586 * elf/dl-misc.c: Likewise.
30587 * elf/dl-profile.c: Likewise.
30588 * elf/dl-support.c: Likewise.
30589 * elf/ldconfig.c: Likewise.
30590 * elf/sprof.c: Likewise.
30591 * iconv/dummy-repertoire.c: Likewise.
30592 * iconv/iconv_charmap.c: Likewise.
30593 * iconv/skeleton.c: Likewise.
30594 * iconvdata/8bit-generic.c: Likewise.
30595 * iconvdata/cp737.h: Likewise.
30596 * iconvdata/cp775.h: Likewise.
30597 * iconvdata/ibm1008.h: Likewise.
30598 * iconvdata/ibm1025.h: Likewise.
30599 * iconvdata/ibm1046.h: Likewise.
30600 * iconvdata/ibm1097.h: Likewise.
30601 * iconvdata/ibm1112.h: Likewise.
30602 * iconvdata/ibm1122.h: Likewise.
30603 * iconvdata/ibm1123.h: Likewise.
30604 * iconvdata/ibm1124.h: Likewise.
30605 * iconvdata/ibm1129.h: Likewise.
30606 * iconvdata/ibm1130.h: Likewise.
30607 * iconvdata/ibm1132.h: Likewise.
30608 * iconvdata/ibm1133.h: Likewise.
30609 * iconvdata/ibm1137.h: Likewise.
30610 * iconvdata/ibm1140.h: Likewise.
30611 * iconvdata/ibm1141.h: Likewise.
30612 * iconvdata/ibm1142.h: Likewise.
30613 * iconvdata/ibm1143.h: Likewise.
30614 * iconvdata/ibm1144.h: Likewise.
30615 * iconvdata/ibm1145.h: Likewise.
30616 * iconvdata/ibm1146.h: Likewise.
30617 * iconvdata/ibm1147.h: Likewise.
30618 * iconvdata/ibm1148.h: Likewise.
30619 * iconvdata/ibm1149.h: Likewise.
30620 * iconvdata/ibm1153.h: Likewise.
30621 * iconvdata/ibm1154.h: Likewise.
30622 * iconvdata/ibm1155.h: Likewise.
30623 * iconvdata/ibm1156.h: Likewise.
30624 * iconvdata/ibm1157.h: Likewise.
30625 * iconvdata/ibm1158.h: Likewise.
30626 * iconvdata/ibm1160.h: Likewise.
30627 * iconvdata/ibm1161.h: Likewise.
30628 * iconvdata/ibm1162.h: Likewise.
30629 * iconvdata/ibm1163.h: Likewise.
30630 * iconvdata/ibm1164.h: Likewise.
30631 * iconvdata/ibm1166.h: Likewise.
30632 * iconvdata/ibm1167.h: Likewise.
30633 * iconvdata/ibm12712.h: Likewise.
30634 * iconvdata/ibm1390.h: Likewise.
30635 * iconvdata/ibm1399.h: Likewise.
30636 * iconvdata/ibm16804.h: Likewise.
30637 * iconvdata/ibm4517.h: Likewise.
30638 * iconvdata/ibm4899.h: Likewise.
30639 * iconvdata/ibm4909.h: Likewise.
30640 * iconvdata/ibm4971.h: Likewise.
30641 * iconvdata/ibm5347.h: Likewise.
30642 * iconvdata/ibm803.h: Likewise.
30643 * iconvdata/ibm856.h: Likewise.
30644 * iconvdata/ibm901.h: Likewise.
30645 * iconvdata/ibm902.h: Likewise.
30646 * iconvdata/ibm9030.h: Likewise.
30647 * iconvdata/ibm9066.h: Likewise.
30648 * iconvdata/ibm921.h: Likewise.
30649 * iconvdata/ibm922.h: Likewise.
30650 * iconvdata/ibm9448.h: Likewise.
30651 * iconvdata/isiri-3342.h: Likewise.
30652 * iconvdata/jis0201.h: Likewise.
30653 * include/link.h: Likewise.
30654 * include/netdb.h: Likewise.
30655 * inet/check_native.c: Likewise.
30656 * inet/check_pf.c: Likewise.
30657 * inet/getipv4sourcefilter.c: Likewise.
30658 * inet/getnameinfo.c: Likewise.
30659 * inet/getsourcefilter.c: Likewise.
30660 * inet/htonl.c: Likewise.
30661 * inet/setipv4sourcefilter.c: Likewise.
30662 * inet/setsourcefilter.c: Likewise.
30663 * inet/test-inet6_opt.c: Likewise.
30664 * inet/tst-network.c: Likewise.
30665 * locale/C-collate.c: Likewise.
30666 * locale/C-ctype.c: Likewise.
30667 * locale/C-time.c: Likewise.
30668 * locale/C-translit.h: Likewise.
30669 * locale/loadarchive.c: Likewise.
30670 * locale/programs/3level.h: Likewise.
30671 * locale/programs/charmap.c: Likewise.
30672 * locale/programs/charmap.h: Likewise.
30673 * locale/programs/ld-address.c: Likewise.
30674 * locale/programs/ld-collate.c: Likewise.
30675 * locale/programs/ld-ctype.c: Likewise.
30676 * locale/programs/ld-identification.c: Likewise.
30677 * locale/programs/ld-measurement.c: Likewise.
30678 * locale/programs/ld-messages.c: Likewise.
30679 * locale/programs/ld-monetary.c: Likewise.
30680 * locale/programs/ld-name.c: Likewise.
30681 * locale/programs/ld-numeric.c: Likewise.
30682 * locale/programs/ld-paper.c: Likewise.
30683 * locale/programs/ld-telephone.c: Likewise.
30684 * locale/programs/ld-time.c: Likewise.
30685 * locale/programs/linereader.c: Likewise.
30686 * locale/programs/locale.c: Likewise.
30687 * locale/programs/locarchive.c: Likewise.
30688 * locale/programs/locfile.h: Likewise.
30689 * locale/programs/repertoire.c: Likewise.
30690 * locale/programs/simple-hash.c: Likewise.
30691 * locale/programs/simple-hash.h: Likewise.
30692 * malloc/memusage.c: Likewise.
30693 * malloc/memusagestat.c: Likewise.
30694 * nis/nis_defaults.c: Likewise.
30695 * nis/nis_hash.c: Likewise.
30696 * nis/nis_print.c: Likewise.
30697 * nis/nis_xdr.c: Likewise.
30698 * nscd/connections.c: Likewise.
30699 * nscd/hstcache.c: Likewise.
30700 * nscd/nscd_gethst_r.c: Likewise.
30701 * nscd/nscd_getserv_r.c: Likewise.
30702 * nscd/nscd_helper.c: Likewise.
30703 * nscd/servicescache.c: Likewise.
30704 * nss/makedb.c: Likewise.
30705 * nss/nss_db/db-XXX.c: Likewise.
30706 * nss/nss_db/db-initgroups.c: Likewise.
30707 * nss/nss_db/db-netgrp.c: Likewise.
30708 * nss/nss_files/files-network.c: Likewise.
30709 * nss/nss_files/files-parse.c: Likewise.
30710 * posix/bug-regex5.c: Likewise.
30711 * posix/fnmatch_loop.c: Likewise.
30712 * posix/regcomp.c: Likewise.
30713 * posix/regexec.c: Likewise.
30714 * posix/tst-rfc3484-2.c: Likewise.
30715 * posix/tst-rfc3484-3.c: Likewise.
30716 * posix/tst-rfc3484.c: Likewise.
30717 * resolv/nss_dns/dns-canon.c: Likewise.
30718 * resolv/nss_dns/dns-network.c: Likewise.
30719 * resolv/res_init.c: Likewise.
30720 * resolv/res_mkquery.c: Likewise.
30721 * resolv/tst-aton.c: Likewise.
30722 * stdlib/cxa_atexit.c: Likewise.
30723 * stdlib/cxa_finalize.c: Likewise.
30724 * stdlib/gen-fpioconst.c: Likewise.
30725 * stdlib/strtol_l.c: Likewise.
30726 * string/tst-endian.c: Likewise.
30727 * sunrpc/auth_des.c: Likewise.
30728 * sunrpc/clnt_udp.c: Likewise.
30729 * sunrpc/rtime.c: Likewise.
30730 * sunrpc/svcauth_des.c: Likewise.
30731 * sunrpc/xdr.c: Likewise.
30732 * sunrpc/xdr_intXX_t.c: Likewise.
30733 * sunrpc/xdr_rec.c: Likewise.
30734 * sysdeps/generic/ldconfig.h: Likewise.
30735 * sysdeps/generic/ldsodefs.h: Likewise.
30736 * sysdeps/generic/memusage.h: Likewise.
30737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30747 * sysdeps/posix/getaddrinfo.c: Likewise.
30748 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30749 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30750 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30752 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30753 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30754 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30755 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30756 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30757 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30759 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30760 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30761 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30763 * sysdeps/x86_64/dl-tls.h: Likewise.
30764 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30765 * time/alt_digit.c: Likewise.
30766 * time/era.c: Likewise.
30767 * wcsmbs/tst-c16c32-1.c: Likewise.
30769 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30771 * math/libm-test.inc (struct test_sincos_data): New type.
30772 (RUN_TEST_LOOP_sincos): New macro.
30773 (sincos_test_data): New variable.
30774 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30776 2013-05-16 Richard Henderson <rth@redhat.com>
30778 * math/atest-exp2.c (LIMB64): New macro.
30779 (CONSTSZ): New macro.
30780 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30782 (print_mpn_fp): ... to function scope.
30783 (read_mpn_hex): Remove.
30784 (get_log2): Remove.
30785 (exp2_mpn): Use mp_log2.
30786 (main): Use mp_exp1.
30788 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30790 * math/libm-test.inc: Remove comment about not testing "inexact"
30792 (INEXACT_EXCEPTION): New macro.
30793 (NO_INEXACT_EXCEPTION): Likewise.
30794 (INVALID_EXCEPTION_OK): Update value.
30795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30796 (OVERFLOW_EXCEPTION_OK): Likewise.
30797 (UNDERFLOW_EXCEPTION_OK): Likewise.
30798 (IGNORE_ZERO_INF_SIGN): Likewise.
30799 (ERRNO_UNCHANGED): Likewise.
30800 (ERRNO_EDOM): Likewise.
30801 (ERRNO_ERANGE): Likewise.
30802 (test_exceptions): Handle testing "inexact" exceptions.
30803 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30804 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30805 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30806 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30808 (rint_towardzero_test_data): Likewise.
30809 (rint_downward_test_data): Likewise.
30810 (rint_upward_test_data): Likewise.
30812 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30813 with OVERFLOW_EXCEPTION.
30814 (exp10_test_data): Likewise.
30815 (exp2_test_data): Likewise.
30816 (expm1_test_data): Likewise.
30817 (lgamma_test_data): Likewise.
30818 (pow_test_data): Likewise.
30819 (tgamma_test_data): Likewise.
30820 (yn_test_data): Remove duplicate test of overflow.
30822 * math/libm-test.inc (struct test_cc_c_data): New type.
30823 (RUN_TEST_LOOP_cc_c): New macro.
30824 (cpow_test_data): New variable.
30825 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30827 * math/libm-test.inc (struct test_f_L_data): New type.
30828 (RUN_TEST_LOOP_f_L): New macro.
30829 (llrint_test_data): New variable.
30830 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30831 (llrint_tonearest_test_data): New variable.
30832 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30833 (llrint_towardzero_test_data): New variable.
30834 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30835 (llrint_downward_test_data): New variable.
30836 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30837 (llrint_upward_test_data): New variable.
30838 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30839 (llround_test_data): New variable.
30840 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30842 2013-05-13 Peter Collingbourne <pcc@google.com>
30844 * math/atest-exp2.c (get_log2): Remove const attribute.
30846 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30848 * math/libm-test.inc (struct test_f_l_data): New type.
30849 (RUN_TEST_LOOP_f_l): New macro.
30850 (lrint_test_data): New variable.
30851 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30852 (lrint_tonearest_test_data): New variable.
30853 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30854 (lrint_towardzero_test_data): New variable.
30855 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30856 (lrint_downward_test_data): New variable.
30857 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30858 (lrint_upward_test_data): New variable.
30859 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30860 (lround_test_data): New variable.
30861 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30863 2013-05-15 Peter Collingbourne <pcc@google.com>
30865 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30866 (EXTRACT_WORDS64) Use where appropriate.
30867 (INSERT_WORDS64) Likewise.
30869 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30870 constraints with x constraints.
30871 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30873 * malloc/obstack.c (_obstack_compat): Add initializer.
30875 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30877 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30878 si_trapno and add si_addr_lsb to _sifields.sigfault.
30879 (si_trapno): Remove macro.
30880 (si_addr_lsb): Define new macro.
30881 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30883 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30885 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30886 instead of TEST_f_l.
30887 (llrint_test_tonearest): Likewise.
30888 (llrint_test_towardzero): Likewise.
30889 (llrint_test_downward): Likewise.
30890 (llrint_test_upward): Likewise.
30891 (llround_test): Likewise.
30893 * math/libm-test.inc (struct test_f_i_data): Add comment.
30894 (RUN_TEST_LOOP_f_b): New macro.
30895 (RUN_TEST_LOOP_f_b_tg): Likewise.
30896 (finite_test_data): New variable.
30897 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30898 (isfinite_test_data): New variable.
30899 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30900 (isinf_test_data): New variable.
30901 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30902 (isnan_test_data): New variable.
30903 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30904 (isnormal_test_data): New variable.
30905 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30906 (issignaling_test_data): New variable.
30907 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30908 (signbit_test_data): New variable.
30909 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30911 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30912 with INVALID_EXCEPTION.
30913 (acosh_test_data): Likewise.
30914 (asin_test_data): Likewise.
30915 (atanh_test_data): Likewise.
30916 (fmod_test_data): Likewise.
30917 (log_test_data): Likewise.
30918 (log10_test_data): Likewise.
30919 (log2_test_data): Likewise.
30920 (pow_test_data): Likewise.
30921 (sqrt_test_data): Likewise.
30922 (y0_test_data): Likewise.
30923 (y1_test_data): Likewise.
30924 (yn_test_data): Likewise.
30926 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30929 * math/libm-test.inc (struct test_ff_i_data): New type.
30930 (RUN_TEST_LOOP_ff_i_tg): New macro.
30931 (isgreater_test_data): New variable.
30932 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30933 (isgreaterequal_test_data): New variable.
30934 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30935 (isless_test_data): New variable.
30936 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30937 (islessequal_test_data): New variable.
30938 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30939 (islessgreater_test_data): New variable.
30940 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30941 (isunordered_test_data): New variable.
30942 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30944 2013-05-14 David S. Miller <davem@davemloft.net>
30946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30948 2013-05-14 Joseph Myers <joseph@codesourcery.com>
30950 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30952 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30954 (struct test_f_i_data): Change type of max_ulp to int.
30956 * math/libm-test.inc (test_ffI_f1_data): New type.
30957 (RUN_TEST_LOOP_ffI_f1): New macro.
30958 (remquo_test_data): New variable.
30959 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30961 * setjmp/tst-setjmp-fp.c: New file.
30962 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30963 (link-libm): New variable.
30964 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30966 * math/libm-test.inc (struct test_f_i_data): New type.
30967 (RUN_TEST_LOOP_f_i): New macro.
30968 (RUN_TEST_LOOP_f_i_tg): Likewise.
30969 (fpclassify_test_data): New variable.
30970 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30971 (ilogb_test_data): New variable.
30972 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30974 * math/libm-test.inc (scalbln_test): Correct function name in END
30977 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30978 (RUN_TEST_LOOP_fI_f1): New macro.
30979 (frexp_test_data): New variable.
30980 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30982 * math/libm-test.inc (struct test_fF_f1_data): New type.
30983 (RUN_TEST_LOOP_fF_f1): New macro.
30984 (modf_test_data): New variable.
30985 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30987 * math/libm-test.inc (struct test_f_f1_data): New type.
30988 (RUN_TEST_LOOP_f_f1): New macro.
30989 (gamma_test_data): New variable.
30990 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30991 (lgamma_test_data): New variable.
30992 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30994 2013-05-13 Carlos O'Donell <carlos@redhat.com>
30996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30997 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30998 (main): Comment "tls" pseudo-hwcap.
31000 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31002 * math/libm-test.inc (struct test_fl_f_data): New type.
31003 (RUN_TEST_LOOP_fl_f): New variable.
31004 (scalbln_test_data): New variable.
31005 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31007 * math/libm-test.inc (struct test_fi_f_data): New type.
31008 (RUN_TEST_LOOP_fi_f): New macro.
31009 (ldexp_test_data): New variable.
31010 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31011 (scalbn_test_data): New variable.
31012 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31014 * math/libm-test.inc (struct test_c_f_data): New type.
31015 (RUN_TEST_LOOP_c_f): New macro.
31016 (cabs_test_data): New variable.
31017 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31018 (carg_test_data): New variable.
31019 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31020 (cimag_test_data): New variable.
31021 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31022 (creal_test_data): New variable.
31023 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31025 * math/libm-test.inc (struct test_if_f_data): New type.
31026 (RUN_TEST_LOOP_if_f): New macro.
31027 (jn_test_data): New variable.
31028 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31029 (yn_test_data): New variable.
31030 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31032 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31034 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31036 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31037 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31039 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31041 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31042 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31043 (bench-deps): Add bench-timing.h.
31044 * benchtests-bench-skeleton.c: Include bench-timing.h.
31045 (main): Use TIMING_* macros instead of clock_gettime.
31046 * benchtests/bench-timing.h: New file.
31049 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31050 Renamed from _LIB_VERSION.
31051 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31053 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31055 * math/libm-test.inc (struct test_fff_f_data): New type.
31056 (RUN_TEST_LOOP_fff_f): New macro.
31057 (fma_test_data): New variable.
31058 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31059 (fma_towardzero_test_data): New variable.
31060 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31061 (fma_downward_test_data): New variable.
31062 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31063 (fma_upward_test_data): New variable.
31064 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31066 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31067 (struct test_c_c_data): New type.
31068 (RUN_TEST_LOOP_c_c): New macro.
31069 (cacos_test_data): New variable.
31070 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31071 (cacosh_test_data): New variable.
31072 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31073 (casin_test_data): New variable.
31074 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31075 (casinh_test_data): New variable.
31076 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31077 (catan_test_data): New variable.
31078 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31079 (catanh_test_data): New variable.
31080 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31081 (ccos_test_data): New variable.
31082 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31083 (ccosh_test_data): New variable.
31084 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31085 (cexp_test_data): New variable.
31086 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31087 (clog_test_data): New variable.
31088 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31089 (clog10_test_data): New variable.
31090 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31091 (conj_test_data): New variable.
31092 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31093 (cproj_test_data): New variable.
31094 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31095 (csin_test_data): New variable.
31096 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31097 (csinh_test_data): New variable.
31098 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31099 (csqrt_test_data): New variable.
31100 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31101 (ctan_test_data): New variable.
31102 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31103 (ctan_tonearest_test_data): New variable.
31104 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31105 (ctan_towardzero_test_data): New variable.
31106 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31107 (ctan_downward_test_data): New variable.
31108 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31109 (ctan_upward_test_data): New variable.
31110 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31111 (ctanh_test_data): New variable.
31112 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31113 (ctanh_tonearest_test_data): New variable.
31114 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31115 (ctanh_towardzero_test_data): New variable.
31116 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31117 (ctanh_downward_test_data): New variable.
31118 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31119 (ctanh_upward_test_data): New variable.
31120 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31121 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31124 * math/libm-test.inc (struct test_ff_f_data): New type.
31125 (struct test_ff_f_data_nexttoward): Likewise.
31126 (RUN_TEST_LOOP_2_f): New macro.
31127 (RUN_TEST_LOOP_ff_f): Likewise.
31128 (atan2_test_data): New variable.
31129 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31130 (copysign_test_data): New variable.
31131 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31132 (fdim_test_data): New variable.
31133 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31134 (fmax_test_data): New variable.
31135 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31136 (fmin_test_data): New variable.
31137 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31138 (fmod_test_data): New variable.
31139 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31140 (hypot_test_data): New variable.
31141 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31142 (nextafter_test_data): New variable.
31143 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31144 (nexttoward_test_data): New variable.
31145 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31146 (pow_test_data): New variable.
31147 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31148 (pow_tonearest_test_data): New variable.
31149 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31150 (pow_towardzero_test_data): New variable.
31151 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31152 (pow_downward_test_data): New variable.
31153 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31154 (pow_upward_test_data): New variable.
31155 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31156 (remainder_test_data): New variable.
31157 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31158 (scalb_test_data): New variable.
31159 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31160 * sysdeps/i386/fpu/libm-test-ulps: Update.
31162 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31164 * math/libm-test.inc (fma_test): Use max_value instead of local
31166 (nextafter_test): Likewise.
31168 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31169 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31170 (acos_downward_test_data): New variable.
31171 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31172 (acos_upward_test_data): New variable.
31173 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31174 (acosh_test_data): New variable.
31175 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31176 (asin_test_data): New variable.
31177 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31178 (asin_tonearest_test_data): New variable.
31179 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31180 (asin_towardzero_test_data): New variable.
31181 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31182 (asin_downward_test_data): New variable.
31183 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31184 (asin_upward_test_data): New variable.
31185 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31186 (asinh_test_data): New variable.
31187 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31188 (atan_test_data): New variable.
31189 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31190 (atanh_test_data): New variable.
31191 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31192 (cbrt_test_data): New variable.
31193 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31194 (ceil_test_data): New variable.
31195 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31196 (cos_test_data): New variable.
31197 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31198 (cos_tonearest_test_data): New variable.
31199 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31200 (cos_towardzero_test_data): New variable.
31201 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31202 (cos_downward_test_data): New variable.
31203 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31204 (cos_upward_test_data): New variable.
31205 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31206 (cosh_test_data): New variable.
31207 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31208 (cosh_tonearest_test_data): New variable.
31209 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31210 (cosh_towardzero_test_data): New variable.
31211 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31212 (cosh_downward_test_data): New variable.
31213 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31214 (cosh_upward_test_data): New variable.
31215 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31216 (erf_test_data): New variable.
31217 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31218 (erfc_test_data): New variable.
31219 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31220 (exp_test_data): New variable.
31221 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31222 (exp_tonearest_test_data): New variable.
31223 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31224 (exp_towardzero_test_data): New variable.
31225 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31226 (exp_downward_test_data): New variable.
31227 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31228 (exp_upward_test_data): New variable.
31229 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31230 (exp10_test_data): New variable.
31231 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31232 (exp2_test_data): New variable.
31233 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31234 (expm1_test_data): New variable.
31235 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31236 (fabs_test_data): New variable.
31237 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31238 (floor_test_data): New variable.
31239 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31240 (j0_test_data): New variable.
31241 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31242 (j1_test_data): New variable.
31243 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31244 (log_test_data): New variable.
31245 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31246 (log10_test_data): New variable.
31247 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31248 (log1p_test_data): New variable.
31249 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31250 (log2_test_data): New variable.
31251 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31252 (logb_test_data): New variable.
31253 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31254 (logb_downward_test_data): New variable.
31255 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31256 (nearbyint_test_data): New variable.
31257 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31258 (rint_test_data): New variable.
31259 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31260 (rint_tonearest_test_data): New variable.
31261 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31262 (rint_towardzero_test_data): New variable.
31263 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31264 (rint_downward_test_data): New variable.
31265 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31266 (rint_upward_test_data): New variable.
31267 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31268 (round_test_data): New variable.
31269 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31270 (sin_test_data): New variable.
31271 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31272 (sin_tonearest_test_data): New variable.
31273 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31274 (sin_towardzero_test_data): New variable.
31275 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31276 (sin_downward_test_data): New variable.
31277 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31278 (sin_upward_test_data): New variable.
31279 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31280 (sinh_test_data): New variable.
31281 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31282 (sinh_tonearest_test_data): New variable.
31283 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31284 (sinh_towardzero_test_data): New variable.
31285 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31286 (sinh_downward_test_data): New variable.
31287 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31288 (sinh_upward_test_data): New variable.
31289 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31290 (sqrt_test_data): New variable.
31291 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31292 (tan_test_data): New variable.
31293 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31294 (tan_tonearest_test_data): New variable.
31295 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31296 (tan_towardzero_test_data): New variable.
31297 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31298 (tan_downward_test_data): New variable.
31299 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31300 (tan_upward_test_data): New variable.
31301 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31302 (tanh_test_data): New variable.
31303 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31304 (tgamma_test_data): New variable.
31305 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31306 (trunc_test_data): New variable.
31307 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31308 (y0_test_data): New variable.
31309 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31310 (y1_test_data): New variable.
31311 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31312 (significand_test_data): New variable.
31313 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31315 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31318 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31320 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31322 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31324 2013-05-10 Andreas Jaeger <aj@suse.de>
31327 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31328 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31330 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31332 * math/gen-libm-test.pl (adjust_arg): New function.
31333 (special_functions): Handle generating output in both functions
31335 (parse_args): Likewise.
31336 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31337 $in_func argument to parse_args.
31338 * math/libm-test.inc (struct test_f_f_data): New type.
31339 (IF_ROUND_INIT_): New macro.
31340 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31341 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31342 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31343 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31344 (ROUND_RESTORE_): Likewise.
31345 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31346 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31347 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31348 (ROUND_RESTORE_FE_UPWARD): Likewise.
31349 (RUN_TEST_LOOP_f_f): New macro.
31350 (acos_test_data): New variable.
31351 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31352 (acos_tonearest_test_data): New variable.
31353 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31355 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31357 * benchtests/bench-skeleton.c (startup): Fix coding style.
31359 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31362 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31363 negative infinity argument.
31364 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31365 negative infinity argument.
31366 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31367 negative infinity argument.
31368 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31371 2013-05-10 Florian Weimer <fweimer@redhat.com>
31373 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31374 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31375 * iconv/iconv_prog.c (main): Likewise.
31376 * locale/programs/charmap-dir.c (charmap_readdir)
31377 (fopen_uncompressed): Likewise.
31378 * locale/programs/locfile.c (siblings_uncached)
31379 (write_locale_data): Use lstat64 instead of lstat.
31380 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31383 2013-05-10 Andreas Jaeger <aj@suse.de>
31386 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31388 Include <locale.h>.
31390 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31392 * elf/dl-close.c (_dl_close_worker): Add comments.
31394 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31399 (__ieee754_rem_pio2l): Update comments.
31402 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31404 (__ieee754_rem_pio2l): Update comments.
31406 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31407 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31409 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31412 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31413 (M_PI_34_LOG10El): Likewise.
31414 (M_PI2_LOG10El): Likewise.
31415 (M_PI4_LOG10El): Likewise.
31416 (M_PI_LOG10El): Likewise.
31418 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31422 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31424 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31425 (MINUS_ZERO_INIT): Likewise.
31426 (PLUS_INFTY_INIT): Likewise.
31427 (MINUS_INFTY_INIT): Likewise.
31428 (QNAN_VALUE_INIT): Likewise.
31429 (MAX_VALUE_INIT): Likewise.
31430 (MIN_VALUE_INIT): Likewise.
31431 (MIN_SUBNORM_VALUE_INIT): Likewise.
31432 (plus_zero): Initialize with PLUS_ZERO_INIT.
31433 (minus_zero): Initialize with MINUS_ZERO_INIT.
31434 (plus_infty): Initialize with PLUS_INFTY_INIT.
31435 (minus_infty): Initialize with MINUS_INFTY_INIT.
31436 (qnan_value): Initialize with QNAN_VALUE_INIT.
31437 (max_value): Initialize with MAX_VALUE_INIT.
31438 (min_value): Initialize with MIN_VALUE_INIT.
31439 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31441 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31442 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31443 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31444 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31446 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31447 (RUN_TEST_2_f): Likewise.
31448 (RUN_TEST_ff_f): Likewise.
31449 (RUN_TEST_fi_f): Likewise.
31450 (RUN_TEST_fl_f): Likewise.
31451 (RUN_TEST_fff_f): Likewise.
31452 (RUN_TEST_c_f): Likewise.
31453 (RUN_TEST_f_f1): Likewise.
31454 (RUN_TEST_fF_f1): Likewise.
31455 (RUN_TEST_fI_f1): Likewise.
31456 (RUN_TEST_ffI_f1): Likewise.
31457 (RUN_TEST_c_c): Likewise.
31458 (RUN_TEST_cc_c): Likewise.
31459 (RUN_TEST_f_i): Likewise.
31460 (RUN_TEST_f_i_tg): Likewise.
31461 (RUN_TEST_ff_i_tg): Likewise.
31462 (RUN_TEST_f_b): Likewise.
31463 (RUN_TEST_f_b_tg): Likewise.
31464 (RUN_TEST_f_l): Likewise.
31465 (RUN_TEST_f_L): Likewise.
31466 (RUN_TEST_sincos): Likewise.
31467 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31468 whether to show exceptions. Do not include ");\n" in return
31470 (special_functions): Output call to RUN_TEST_sincos instead of
31471 check_float calls. Update calls to new_test.
31472 (parse_args): Output call to single RUN_TEST_* macro instead of
31473 check_* calls and other assignments. Update calls to new_test.
31479 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31480 input to result for tgamma overflow.
31481 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31482 (gamma_coeff): New variable.
31483 (NCOEFF): New macro.
31484 (gamma_positive): New function.
31485 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31486 underflow here. Use gamma_positive instead of exp (lgamma) for
31488 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31489 (gamma_coeff): New variable.
31490 (NCOEFF): New macro.
31491 (gammaf_positive): New function.
31492 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31493 underflow here. Use gamma_positive instead of exp (lgamma) for
31495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31496 (gamma_coeff): New variable.
31497 (NCOEFF): New macro.
31498 (gammal_positive): New function.
31499 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31500 underflow here. Use gamma_positive instead of exp (lgamma) for
31502 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31503 (gamma_coeff): New variable.
31504 (NCOEFF): New macro.
31505 (gammal_positive): New function.
31506 (__ieee754_gammal_r): Handle positive infinity, overflow and
31507 underflow here. Handle NaN the same as positive infinity. Remove
31508 check x < 0xffffffff for negative integers. Use gamma_positive
31509 instead of exp (lgamma) for other arguments.
31510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31511 (gamma_coeff): New variable.
31512 (NCOEFF): New macro.
31513 (gammal_positive): New function.
31514 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31515 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31516 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31517 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31518 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31519 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31520 * sysdeps/generic/math_private.h (__gamma_productf): New
31522 (__gamma_product): Likewise.
31523 (__gamma_productl): Likewise.
31524 * math/Makefile (libm-calls): Add gamma_product.
31525 * math/libm-test.inc (tgamma_test): Add more tests.
31526 * sysdeps/i386/fpu/libm-test-ulps: Update.
31527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31529 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31531 * benchtests/bench-skeleton.c (main): Preheat CPU.
31533 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31535 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31537 2013-05-07 Roland McGrath <roland@hack.frob.com>
31539 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31540 and _dl_skip_args_internal.
31542 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31544 * manual/message.texi (Message Translation): Talk about users.
31545 Message to key mapping impacts design.
31547 2013-05-06 Roland McGrath <roland@hack.frob.com>
31549 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31551 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31553 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31554 * sysdeps/wordsize-64/glob64.c: ... here.
31556 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31557 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31560 * debug/getlogin_r_chk.c: Moved to ...
31561 * login/getlogin_r_chk.c: ... here.
31562 * debug/Makefile (routines): Move getlogin_r_chk to ...
31563 * login/Makefile (routines): ... here.
31564 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31565 * login/Versions (libc: GLIBC_2.4): ... here.
31567 * io/poll.c (__poll): Renamed from poll.
31568 Add libc_hidden_def.
31569 (poll): Define as weak alias.
31571 * debug/ptsname_r_chk.c: Moved to ...
31572 * login/ptsname_r_chk.c: ... here.
31573 * debug/Makefile (routines): Move ptsname_r_chk to ...
31574 * login/Makefile (routines): ... here.
31575 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31576 * login/Versions (libc: GLIBC_2.4): ... here.
31578 * posix/getlogin.c: Moved to ...
31579 * login/getlogin.c: ... here.
31580 * posix/getlogin_r.c: Moved to ...
31581 * login/getlogin_r.c: ... here.
31582 * posix/getlogin_r.c: Moved to ...
31583 * login/getlogin_r.c: ... here.
31584 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31585 * login/Makefile (routines): ... here.
31586 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31587 * login/Versions (libc: GLIBC_2.0): ... here.
31589 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31590 (setrlimit): Define as weak alias.
31592 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31593 Call __ names for open, ftruncate, and close.
31594 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31595 (truncate): Define as weak alias.
31597 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31599 * math/gen-libm-test.pl (parse_args): Initialize x before each
31600 test of frexp, modf and remquo.
31602 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31603 test signgam value.
31605 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31609 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31613 2013-05-06 Roland McGrath <roland@hack.frob.com>
31615 * elf/dl-writev.h: New file.
31616 * elf/dl-misc.c: Include it.
31617 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31618 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31620 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31622 * math/libm-test.inc (noXFails): Remove variable.
31623 (noXPasses): Likewise.
31624 (BUILD_COMPLEX_INT): Remove macro.
31625 (print_screen): Remove xfail argument.
31626 (print_screen_max_error): Likewise.
31627 (update_stats): Likewise.
31628 (print_max_error): Likewise. Update calls to other affected
31630 (print_complex_max_error): Likewise.
31631 (test_single_exception): Update calls to print_screen.
31632 (test_single_errno): Likewise.
31633 (check_float_internal): Remove xfail argument. Update calls to
31634 other affected functions.
31635 (check_float): Likewise.
31636 (check_complex): Likewise.
31637 (check_int): Likewise.
31638 (check_long): Likewise.
31639 (check_bool): Likewise.
31640 (check_longlong): Likewise.
31641 (main): Don't print noXFails and noXPasses.
31642 * math/gen-libm-test.pl (top level): Don't mention expected
31643 failure handling in comment.
31644 (new_test): Don't handle expected failures.
31645 (parse_args): Don't mention expected failure handling in comment.
31646 (generate_testfile): Don't handle expected failures.
31647 (parse_ulps): Likewise.
31648 (print_ulps_file): Likewise.
31649 (get_failure): Remove function.
31650 (output_test): Don't handle expected failures.
31651 * make/README.libm-test: Don't mention expected failure handling.
31653 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31654 (minus_zero): Likewise.
31655 (plus_infty): Likewise.
31656 (minus_infty): Likewise.
31657 (qnan_value): Likewise.
31658 (max_value): Likewise.
31659 (min_value): Likewise.
31660 (min_subnorm_value): Likewise.
31661 (initialize): Do not initialize those variables dynamically.
31663 2013-05-03 Roland McGrath <roland@hack.frob.com>
31665 * io/open.c (__open_2): Moved to ...
31666 * io/open_2.c: ... this new file.
31667 * io/open64.c (__open64_2): Moved to ...
31668 * io/open64_2.c: ... this new file.
31669 * io/openat.c (__openat_2): Moved to ...
31670 * io/openat_2.c: ... this new file.
31671 * io/openat64.c (__openat64_2): Moved to ...
31672 * io/openat64_2.c: ... this new file.
31673 * io/Makefile (routines): Add them.
31674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31675 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31676 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31677 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31678 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31679 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31680 (__openat64): Add hidden_ver.
31681 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31682 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31684 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31685 Separately conditionalize setting of GLRO(dl_sysinfo) so
31686 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31687 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31689 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31691 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31692 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31694 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31695 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31696 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31697 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31698 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31700 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31702 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31703 test signgam value.
31705 * math/libm-test.inc (hypot_test): Do not use
31706 IGNORE_ZERO_INF_SIGN.
31708 2013-05-03 Andreas Jaeger <aj@suse.de>
31710 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31712 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31713 (PF_MAX): Adjust for VSOCK change.
31715 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31719 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31722 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31723 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31724 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31726 2013-05-02 David S. Miller <davem@davemloft.net>
31728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31730 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31732 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31734 2013-05-01 Roland McGrath <roland@hack.frob.com>
31736 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31738 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31741 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31742 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31743 Use __attribute__ ((__gnu_inline__)).
31744 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31745 Don't use __attribute__ ((__gnu_inline__)).
31747 2013-05-01 Joseph Myers <joseph@codesourcery.com>
31750 * math/s_catan.c (__catan): Handle small real or imaginary part of
31751 input specially to avoid spurious underflow.
31752 * math/s_catanf.c (__catanf): Likewise.
31753 * math/s_catanh.c (__catanh): Likewise.
31754 * math/s_catanhf.c (__catanhf): Likewise.
31755 * math/s_catanhl.c (__catanhl): Likewise.
31756 * math/s_catanl.c (__catanl): Likewise.
31757 * math/libm-test.inc (catan_test): Add more tests.
31758 (catanh_test): Likewise.
31759 * sysdeps/i386/fpu/libm-test-ulps: Update.
31760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31762 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31766 2013-04-30 Joseph Myers <joseph@codesourcery.com>
31769 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31770 accurately for denominator in atan2.
31771 * math/s_catanf.c (__catanf): Likewise.
31772 * math/s_catanh.c (__catanh): Likewise.
31773 * math/s_catanhf.c (__catanhf): Likewise.
31774 * math/s_catanhl.c (__catanhl): Likewise.
31775 * math/s_catanl.c (__catanl): Likewise.
31776 * math/libm-test.inc (catan_test): Add more tests.
31777 (catanh_test): Likewise.
31778 * sysdeps/i386/fpu/libm-test-ulps: Update.
31779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31781 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31783 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31785 * benchtests/Makefile (bench): Remove slow benchmarks.
31786 * benchtests/atan-inputs: Add slow benchmark inputs.
31787 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31788 (BENCH_FUNC): Accept variant offset.
31790 * benchtests/bench-skeleton.c (main): Run benchmark for each
31792 * benchtests/cos-inputs: Add slow benchmark inputs.
31793 * benchtests/exp-inputs: Likewise.
31794 * benchtests/pow-inputs: Likewise.
31795 * benchtests/sin-inputs: Likewise.
31796 * benchtests/slowatan-inputs: Remove.
31797 * benchtests/slowatan.c: Remove.
31798 * benchtests/slowcos-inputs: Remove.
31799 * benchtests/slowcos.c: Remove.
31800 * benchtests/slowexp-inputs: Remove.
31801 * benchtests/slowexp.c: Remove.
31802 * benchtests/slowpow-inputs: Remove.
31803 * benchtests/slowpow.c: Remove.
31804 * benchtests/slowsin-inputs: Remove.
31805 * benchtests/slowsin.c: Remove.
31806 * benchtests/slowtan-inputs: Remove.
31807 * benchtests/slowtan.c: Remove.
31808 * benchtests/tan-inputs: Add slow benchmark inputs.
31809 * scripts/bench.pl: Parse comments and directives.
31811 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31813 ($(objpfx)bench-%.c): Remove *-ITER.
31814 * benchtests/bench-modf.c: Remove definition of ITER.
31815 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31816 (main): Loop for DURATION seconds instead of fixed number of
31818 * scripts/bench.pl: Don't expect iterations in parameters.
31820 2013-04-29 Roland McGrath <roland@hack.frob.com>
31822 * io/fchdir.c (__fchdir): Renamed from fchdir.
31823 (fchdir): Define as weak alias.
31825 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31827 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31828 (ERRNO_EDOM): Likewise.
31829 (ERRNO_ERANGE): Likewise.
31830 (noErrnoTests): New variable.
31831 (init_max_error): Set errno to 0.
31832 (test_single_errno): New function.
31833 (test_errno): Likewise.
31834 (check_float_internal): Call test_errno. Set errno to 0.
31835 (check_complex): Refer to errno tests in comment.
31836 (check_int): Call test_errno. Set errno to 0.
31837 (check_long): Likewise.
31838 (check_bool): Likewise.
31839 (check_longlong): Likewise.
31840 (cos_test): Use ERRNO_* flags for errno tests instead of
31842 (expm1_test): Likewise.
31843 (fmod_test): Likewise.
31844 (ilogb_test): Likewise.
31845 (lgamma_test): Likewise.
31846 (pow_test): Likewise.
31847 (remainder_test): Likewise.
31848 (sin_test): Likewise.
31849 (tan_test): Likewise.
31850 (yn_test): Likewise.
31851 (initialize): Set errno to 0.
31852 (main): Print number of errno tests.
31853 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31855 2013-04-29 Andreas Jaeger <aj@suse.de>
31858 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31862 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31863 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31867 * stdlib/random.c (__initstate): Return NULL if
31871 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31872 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31875 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31879 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31881 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31882 of individual tests.
31883 (casin_test): Likewise.
31884 (casinh_test): Likewise.
31886 2013-04-27 Joseph Myers <joseph@codesourcery.com>
31889 * math/s_catan.c (__catan): Handle arguments with large real or
31890 imaginary part separately without squaring.
31891 * math/s_catanf.c (__catanf): Likewise.
31892 * math/s_catanh.c (__catanh): Likewise.
31893 * math/s_catanhf.c (__catanhf): Likewise.
31894 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31896 (__catanhl): Handle arguments with large real or imaginary part
31897 separately without squaring.
31898 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31900 (__catanl): Handle arguments with large real or imaginary part
31901 separately without squaring.
31902 * math/libm-test.inc (catan_test): Add more tests.
31903 (catanh_test): Likewise.
31904 * sysdeps/i386/fpu/libm-test-ulps: Update.
31905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31907 2013-04-27 Andreas Jaeger <aj@suse.de>
31910 * stdlib/stdlib.h: Update guards for qecvt.
31911 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31914 2013-04-27 Allan McRae <allan@archlinux.org>
31916 * sysdeps/i386/fpu/libm-test-ulps: Update.
31918 2013-04-26 Joseph Myers <joseph@codesourcery.com>
31921 * math/s_catan.c: Include <float.h>.
31922 (__catan): Ensure underflow exception occurs for underflowed
31924 * math/s_catanf.c: Include <float.h>.
31925 (__catanf): Ensure underflow exception occurs for underflowed
31927 * math/s_catanh.c: Include <float.h>.
31928 (__catanh): Ensure underflow exception occurs for underflowed
31930 * math/s_catanhf.c: Include <float.h>.
31931 (__catanhf): Ensure underflow exception occurs for underflowed
31933 * math/s_catanhl.c: Include <float.h>.
31934 (__catanhl): Ensure underflow exception occurs for underflowed
31936 * math/s_catanl.c: Include <float.h>.
31937 (__catanl): Ensure underflow exception occurs for underflowed
31939 * math/libm-test.inc (catan_test): Add more tests.
31940 (catanh_test): Likewise.
31943 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31944 underflowed result.
31945 * math/s_ccoshf.c (__ccoshf): Likewise.
31946 * math/s_ccoshl.c (__ccoshl): Likewise.
31947 * math/s_csin.c (__csin): Likewise.
31948 * math/s_csinf.c (__csinf): Likewise.
31949 * math/s_csinh.c (__csinh): Likewise.
31950 * math/s_csinhf.c (__csinhf): Likewise.
31951 * math/s_csinhl.c (__csinhl): Likewise.
31952 * math/s_csinl.c (__csinl): Likewise.
31953 * math/libm-test.inc (ccos_test): Add more tests.
31954 (ccosh_test): Likewise.
31955 (csin_test): Likewise.
31956 (csinh_test): Likewise.
31958 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31960 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31961 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31962 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31963 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31964 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31965 powerpc/power5+/fpu folders.
31966 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31969 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31973 2013-04-25 Joseph Myers <joseph@codesourcery.com>
31975 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31976 additions to variable.
31977 [$(config-machine) = x86_64] (modules-names): Likewise.
31978 ($(objpfx)tst-audit3): Remove dependency.
31979 ($(objpfx)tst-audit3.out): Likewise.
31980 ($(objpfx)tst-audit4): Likewise.
31981 ($(objpfx)tst-audit4.out): Likewise.
31982 ($(objpfx)tst-audit5): Likewise.
31983 ($(objpfx)tst-audit5.out): Likewise.
31984 ($(objpfx)tst-audit6): Likewise.
31985 ($(objpfx)tst-audit6.out): Likewise.
31986 ($(objpfx)tst-audit7): Likewise.
31987 ($(objpfx)tst-audit7.out): Likewise.
31988 (tst-audit3-ENV): Remove variable.
31989 (tst-audit4-ENV): Likewise.
31990 (tst-audit5-ENV): Likewise.
31991 (tst-audit6-ENV): Likewise.
31992 (tst-audit7-ENV): Likewise.
31993 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31994 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31995 addition to variable.
31996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31998 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31999 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32001 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32002 tst-audit3, tst-audit4 and tst-audit5.
32003 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32004 tst-audit6 and tst-audit7.
32005 [$(subdir) = elf] (modules-names): Add audit modules for those
32007 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32008 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32009 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32010 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32011 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32012 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32013 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32014 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32015 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32016 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32017 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32018 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32019 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32020 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32021 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32022 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32024 [$(subdir) = elf && $(config-cflags-avx) = yes]
32025 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32026 [$(subdir) = elf && $(config-cflags-avx) = yes]
32027 (CFLAGS-tst-auditmod4a.c): Likewise.
32028 [$(subdir) = elf && $(config-cflags-avx) = yes]
32029 (CFLAGS-tst-auditmod4b.c): Likewise.
32030 [$(subdir) = elf && $(config-cflags-avx) = yes]
32031 (CFLAGS-tst-auditmod6b.c): Likewise.
32032 [$(subdir) = elf && $(config-cflags-avx) = yes]
32033 (CFLAGS-tst-auditmod6c.c): Likewise.
32034 [$(subdir) = elf && $(config-cflags-avx) = yes]
32035 (CFLAGS-tst-auditmod7b.c): Likewise.
32036 * elf/tst-audit3.c: Move to ...
32037 * sysdeps/x86_64/tst-audit3.c: ... here.
32038 * elf/tst-audit4.c: Move to ...
32039 * sysdeps/x86_64/tst-audit4.c: ... here.
32040 * elf/tst-audit5.c: Move to ...
32041 * sysdeps/x86_64/tst-audit5.c: ... here.
32042 * elf/tst-audit6.c: Move to ...
32043 * sysdeps/x86_64/tst-audit6.c: ... here.
32044 * elf/tst-audit7.c: Move to ...
32045 * sysdeps/x86_64/tst-audit7.c: ... here.
32046 * elf/tst-auditmod3a.c: Move to ...
32047 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32048 * elf/tst-auditmod3b.c: Move to ...
32049 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32050 * elf/tst-auditmod4a.c: Move to ...
32051 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32052 * elf/tst-auditmod4b.c: Move to ...
32053 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32054 * elf/tst-auditmod5a.c: Move to ...
32055 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32056 * elf/tst-auditmod5b.c: Move to ...
32057 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32058 * elf/tst-auditmod6a.c: Move to ...
32059 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32060 * elf/tst-auditmod6b.c: Move to ...
32061 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32062 * elf/tst-auditmod6c.c: Move to ...
32063 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32064 * elf/tst-auditmod7a.c: Move to ...
32065 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32066 * elf/tst-auditmod7b.c: Move to ...
32067 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32069 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32072 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32073 define unconditionally.
32074 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32075 define unconditionally.
32076 (INT8_C, INT16_C, etc.): Likewise.
32078 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32080 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32081 __ehdr_start with hidden visibility.
32083 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32085 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32087 * math/libm-test.inc (cos_test): Use accurate hex constants.
32088 (sincost_test): Likewise.
32090 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32092 * math/libm-test.inc (catan_test): Add more tests.
32093 (catanh_test): Likewise.
32095 * math/s_catanf.c (__catanf): Use suffixed floating-point
32097 * math/s_catanhf.c (__catanhf): Likewise.
32098 * math/s_catanhl.c (__catanhl): Likewise.
32099 * math/s_catanl.c (__catanl): Likewise.
32102 * math/s_catan.c (__catan): Calculate imaginary part of result
32103 with log1p not log unless computing log of number close to 0.
32104 * math/s_catanf.c (__catanf): Likewise.
32105 * math/s_catanl.c (__catanl): Likewise.
32106 * math/s_catanh.c (__catanh): Calculate real part of result with
32107 log1p not log unless computing log of number close to 0.
32108 * math/s_catanhf.c (__catanhf): Likewise.
32109 * math/s_catanhl.c (__catanhl): Likewise.
32110 * math/libm-test.inc (catan_test): Add more tests.
32111 (catanh_test): Likewise.
32112 * sysdeps/i386/fpu/libm-test-ulps: Update.
32113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32115 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32117 * benchtests/Makefile: Mention files in which fast and slow
32118 paths of math functions are implemented.
32120 2013-04-23 Roland McGrath <roland@hack.frob.com>
32122 * sysdeps/posix/timespec_get.c: New file.
32124 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32126 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32128 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32130 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32131 powerpc/power5/fpu folders.
32132 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32133 * benchtests/Makefile: Add modf testcase.
32134 * benchtests/bench-modf.c: New file: Benchmark test for mo
32136 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32139 * time/Makefile (tests): Add tst-strptime-whitespace.
32140 * time/strptime_l.c (get_number): Use ISSPACE.
32141 (__strptime_internal): Likewise.
32142 * time/tst-strptime-whitespace.c: New test case.
32144 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32146 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32148 (_nss_files_init): Set it here.
32150 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32152 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32153 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32156 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32158 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32160 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32165 2013-04-21 David S. Miller <davem@davemloft.net>
32167 * po/ru.po: Update Russion translation from translation project.
32169 2013-04-17 Adam Conrad <adconrad@0c3.net>
32171 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32174 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32176 * configure.in: Remove i386 configure warning. Remove i386 case.
32177 * configure: Regenerate.
32178 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32179 Add example to error message.
32180 * sysdeps/i386/configure: Regenerate.
32182 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32184 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32186 * benchtests/cos-inputs: New file.
32187 * benchtests/slowcos-inputs: New file.
32188 * benchtests/slowcos.c: New file.
32189 * benchtests/slowtan-inputs: New file.
32190 * benchtests/slowtan.c: New file.
32191 * benchtests/tan-inputs: New file.
32193 2013-04-16 Roland McGrath <roland@hack.frob.com>
32195 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32198 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32200 * benchtests/Makefile: Include cppflags-iterator.mk to add
32201 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32203 * Makefile.in (bench-clean): New target.
32204 * benchtests/Makefile (bench-clean): Likewise.
32206 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32208 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32210 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32212 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32214 2013-04-15 Andreas Schwab <schwab@suse.de>
32216 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32218 * nscd/pwdcache.c (cache_addpw): Likewise.
32219 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32222 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32224 * benchtests/Makefile (bench): Write all output to
32225 bench-out.tmp together.
32227 2013-04-15 Andreas Schwab <schwab@suse.de>
32229 * nscd/nscd.c (main): Don't fork again after closing files.
32231 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32233 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32235 * benchtests/Rules (bench-deps): Collect dependencies into a
32236 single variable. Add Makefile to dependencies.
32237 ($(objpfx)bench-%.c): Depend on bench-deps.
32239 2013-04-12 Roland McGrath <roland@hack.frob.com>
32240 Xavier Roche <roche+kml2@exalead.com>
32243 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32244 just that it's a file descriptor.
32245 * manual/llio.texi (Synchronizing AIO Operations): Update description
32246 for EBADF error from aio_fsync.
32248 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32250 * Rules (bench): Move target definition...
32251 * benchtests/Makefile: ... here.
32253 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32255 * math/libm-test.inc (cos_test): Fix PI/2 test.
32256 (sincos_test): Likewise.
32257 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32258 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32260 2013-04-11 Andreas Schwab <schwab@suse.de>
32263 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32264 accept exponent character only when digits were seen.
32265 * stdio-common/Makefile (tests): Add bug26.
32266 * stdio-common/bug26.c: New file.
32269 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32272 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32274 * Makeconfig (rtld-prefix): Define built linker prefix.
32275 * Rules (run-bench): Use it.
32276 * math/Makefile (run-regen-ulps): Likewise.
32278 * Rules (bench): Remove eval.
32280 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32281 Roland McGrath <roland@hack.frob.com>
32282 Ondrej Bilka <neleai@seznam.cz>
32285 * time/getdate.c: Include ctype.h and alloca.h.
32286 (__getdate_r): Trim leading and trailing spaces of input.
32287 * time/tst-getdate.c (tests): Add tests with leading and
32290 2013-04-08 Roland McGrath <roland@hack.frob.com>
32293 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32294 when computing value.
32296 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32298 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32299 Use testrun.sh to run libm tests.
32302 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32304 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32307 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32309 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32311 * Makefile.in (regen-ulps): New target.
32312 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32313 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32314 [ifneq (no,$(PERL)] (regen-ulps): New target.
32315 [ifeq (no,$(PERL)] (regen-ulps): New target.
32316 * math/libm-test.inc (ulps_file_name): Define.
32317 (output_dir): New variable.
32318 (options): Add "output-dir" option.
32319 (parse_opt): Handle 'o' case.
32320 (main): If output_dir is non-NULL use it as a prefix
32322 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32324 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32326 [BZ #10060, #10062]
32327 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32328 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32329 fail configure if __sync_val_compare_and_swap is not inlined.
32330 * sysdeps/i386/configure: Regenerate.
32331 * configure.in: Build for i686 when configured for i386.
32332 * configure: Regenerate.
32333 * README: Remove i386 reference.
32335 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32337 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32340 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32342 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32343 (lmsnanval): New variables.
32344 (F): Add conversion tests.
32345 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32346 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32348 * stdio-common/tstdiomisc.c (F): Properly collect individual
32351 [BZ #14686, #15336]
32352 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32353 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32354 Instead, use input NaN values or generate a qNaN by arithmetic
32355 operation. Also fix bugs to comply with the standard.
32356 * math/libm-test.inc (remainder_test): Add more tests.
32358 [BZ #15335, #15342]
32359 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32361 input NaN values or generate a qNaN by arithmetic operation.
32363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32366 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32369 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32372 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32373 underflowed result.
32374 * math/s_cexpf.c (__cexpf): Likewise.
32375 * math/s_cexpl.c (__cexpl): Likewise.
32376 * math/libm-test.inc (cexp_test): Add more tests.
32378 2013-04-03 Andreas Schwab <schwab@suse.de>
32381 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32382 order arrays from heap if bigger than alloca cutoff.
32384 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32386 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32387 (SNAN_TESTS_double): Refer to GCC PR56831.
32388 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32391 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32393 * Rules (bench): Move bench.out after the run is complete.
32395 * Rules (bench): Echo currently running benchmark.
32397 * benchtests/Makefile (bench): Add atan and slowatan.
32398 * benchtests/atan-inputs: New file.
32399 * benchtests/slowatan-inputs: New file.
32400 * benchtests/slowatan.c: New file.
32402 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32407 * sysdeps/unix/sysv/linux/kernel-features.h
32408 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32409 __ASSUME_XFS_RESTRICTED_CHOWN.
32410 * sysdeps/unix/sysv/linux/pathconf.c
32411 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32412 Save and restore errno.
32414 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32417 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32418 arguments using __kernel_casinh.
32419 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32420 arguments using __kernel_casinhf.
32421 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32422 arguments using __kernel_casinhl.
32423 * math/libm-test.inc (cacosh_test): Add more tests.
32424 * sysdeps/i386/fpu/libm-test-ulps: Update.
32425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32427 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32429 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32432 * bench/Makefile (bench): Add sin and slowsin.
32433 * benchtests/sin-inputs: New file.
32434 * benchtests/slowsin-inputs: New file.
32435 * benchtests/slowsin.c: New file.
32437 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32438 (bench): Add slowexp and slowpow.
32439 (exp-ITER): Increase iterations.
32440 (pow-ITER): Likewise.
32441 * benchtests/exp-inputs: Change input.
32442 * benchtests/pow-inputs: Likewise.
32443 * benchtests/slowexp-inputs: New file.
32444 * benchtests/slowexp.c: New file.
32445 * benchtests/slowpow-inputs: New file.
32446 * benchtests/slowpow.c: New file.
32448 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32450 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32452 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32453 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32455 * benchtests/Makefile: Add rint benchtest.
32456 * benchtests/rint-inputs: Input for rint benchtest.
32458 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32460 * Versions.def (libm): Add GLIBC_2.18.
32461 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32462 hidden libm prototypes.
32463 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32464 * math/Makefile (libm-calls): Add s_issignaling.
32465 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32466 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32467 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32469 * math/math.h [__USE_GNU] (issignaling): New macro.
32470 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32471 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32474 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32476 * manual/arith.texi (issignaling): New section.
32477 * manual/libm-err-tab.pl (@all_functions): Update comment.
32478 * math/gen-libm-test.pl (parse_args): Apply special handling for
32480 * math/libm-test.inc (print_float, issignaling_test): New
32482 (check_float_internal): Add issignaling checks.
32483 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32484 default definition.
32485 * sysdeps/powerpc/math-tests.h: New file.
32486 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32488 * math/test-snan.c (TEST_FUNC): Likewise.
32490 2013-03-30 David S. Miller <davem@davemloft.net>
32492 * po/de.po: Update from translation team.
32494 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32497 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32498 imaginary part less than 1.0 and real part less than 0.5
32500 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32501 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32502 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32503 (cacos_test): Add more tests.
32504 (casin_test): Likewise.
32505 (casinh_test): Likewise.
32506 * sysdeps/i386/fpu/libm-test-ulps: Update.
32507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32509 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32511 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32512 ONE with its value.
32514 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32515 (__pow_mp): Replace ONE and MONE with their values.
32516 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32519 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32521 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32523 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32525 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32526 (__pow_mp): Replace ZERO and MZERO with their values.
32527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32531 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32532 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32535 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32537 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32539 2013-03-28 Roland McGrath <roland@hack.frob.com>
32541 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32542 Declare with __attribute__ ((weak)).
32543 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32544 Call __call_tls_dtors only if it's not NULL.
32546 2013-03-28 Roland McGrath <roland@hack.frob.com>
32548 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32549 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32550 magic __ehdr_start linker symbol if it's defined.
32551 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32552 them up here if it was already done.
32554 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32555 (_dl_aux_init): Use const in cast when setting it.
32556 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32557 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32558 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32560 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32562 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32563 * csu/libc-tls.c: Nor here.
32564 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32566 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32567 (__libc_message): Never call vsyslog.
32569 2013-03-28 Alan Modra <amodra@gmail.com>
32571 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32573 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32576 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32583 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32586 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32587 Don't add gid passed as argument.
32589 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32591 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32595 imaginary part between 1.0 and 1.5 and real part less than 0.5
32597 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32598 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32599 * math/libm-test.inc (cacos_test): Add more tests.
32600 (casin_test): Likewise.
32601 (casinh_test): Likewise.
32602 * sysdeps/i386/fpu/libm-test-ulps: Update.
32603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32605 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32607 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32610 (denorm): Likewise.
32611 (__dbl_mp): Likewise.
32612 (add_magnitudes): Likewise.
32613 (sub_magnitudes): Likewise.
32621 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32623 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32624 (__dubcos): Likewise.
32625 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32626 (__ieee754_acos): Likewise.
32627 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32628 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32629 (__exp1): Likewise.
32630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32633 (my_log2): Likewise.
32634 (checkint): Likewise.
32635 * sysdeps/ieee754/dbl-64/e_remainder.c
32636 (__ieee754_remainder): Likewise.
32637 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32639 (bsloww): Likewise.
32640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32642 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32643 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32644 MANTISSA_STORE_T to store computations on mantissa. Use
32645 macros for rounding and division.
32646 (denorm): Likewise.
32647 (__dbl_mp): Likewise.
32648 (add_magnitudes): Likewise.
32649 (sub_magnitudes): Likewise.
32652 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32653 powers of two in terms of TWOPOW macro.
32654 (mp_no): Make type of mantissa as MANTISSA_T.
32655 [!RADIXI]: Define RADIXI.
32656 [!TWO52]: Define TWO52.
32657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32659 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32661 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32662 llroundl symbol when building for PPC32.
32664 2013-03-24 Mark H Weaver <mhw@netris.org>
32666 * manual/arith.texi (Normalization Functions): Fix prototypes for
32667 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32669 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32673 high value to check if expl overflow.
32674 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32675 to check for underflow and overflow.
32676 * math/libm-test.inc: Add exp test.
32678 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32681 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32684 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32686 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32689 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32691 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32692 wrap blocks consisting of several statements.
32694 * sysdeps/generic/math-tests.h: New file.
32695 * sysdeps/i386/fpu/math-tests.h: Likewise.
32696 * math/test-snan.c: Include it.
32697 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32699 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32703 (__ieee754_j0l): Do not improve calculations using cos of twice
32704 input for inputs above LDBL_MAX / 2.0L.
32705 (__ieee754_y0l): Likewise.
32706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32707 (__ieee754_j1l): Do not improve calculations using cos of twice
32708 input for inputs above LDBL_MAX / 2.0L.
32709 (__ieee754_y1l): Likewise.
32710 * math/libm-test.inc (j0_test): Add another test.
32711 (j1_test): Likewise.
32712 (y0_test): Likewise.
32713 (y1_test): Likewise.
32714 * sysdeps/i386/fpu/libm-test-ulps: Update.
32716 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32718 * Rules ($(objpfx)bench-%.c): Include code from a C source
32721 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32725 imaginary part 1.0 and real part less than 0.5 specially.
32726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32728 * math/libm-test.inc (cacos_test): Add more tests.
32729 (casin_test): Likewise.
32730 (casinh_test): Likewise.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32737 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32739 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32741 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32742 * config.make.in (config-cflags-sse4): Remove variable.
32743 (config-cflags-avx): Likewise.
32744 (config-cflags-sse2avx): Likewise.
32745 (config-cflags-novzeroupper): Likewise.
32746 (config-asflags-i686): Likewise.
32747 (have-mfma4): Likewise.
32748 (have-as-vis3): Likewise.
32750 * configure.in (MIG): Do not AC_SUBST.
32751 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32752 (libc_cv_cc_sse4): Do not AC_SUBST.
32753 (libc_cv_cc_avx): Likewise.
32754 (libc_cv_cc_sse2avx): Likewise.
32755 (libc_cv_cc_novzeroupper): Likewise.
32756 (libc_cv_cc_fma4): Likewise.
32757 (libc_cv_as_i686): Likewise.
32758 (libc_cv_sparc_as_vis3): Likewise.
32759 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32761 (config-asflags-i686): Likewise.
32762 (config-cflags-avx): Likewise.
32763 (config-cflags-sse2avx): Likewise.
32764 (have-mfma4): Likewise.
32765 (config-cflags-novzeroupper): Likewise.
32766 * sysdeps/mach/configure.in (MIG): Likewise.
32767 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32768 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32770 (config-cflags-avx): Likewise.
32771 (config-cflags-sse2avx): Likewise.
32772 (have-mfma4): Likewise.
32773 (config-cflags-novzeroupper): Likewise.
32774 * configure: Regenerated.
32775 * sysdeps/i386/configure: Likewise.
32776 * sysdeps/mach/configure: Likewise.
32777 * sysdeps/sparc/configure: Likewise.
32778 * sysdeps/x86_64/configure: Likewise.
32780 2013-03-20 Roland McGrath <roland@hack.frob.com>
32783 * locale/programs/localedef.c (options): Put N_ translation marker
32784 on argument names, not just descriptions.
32786 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32788 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32790 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
32793 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32795 2013-03-19 Roland McGrath <roland@hack.frob.com>
32797 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32798 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32799 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32800 [!BEFORE_ABORT] (before_abort): New function.
32801 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32802 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32803 (writev_for_fatal): New function.
32804 (WRITEV_FOR_FATAL): New macro; call that.
32805 (backtrace_and_maps): New function.
32806 (BEFORE_ABORT): New macro; call that.
32807 (struct str_list): Type removed.
32808 (__libc_message, __libc_fatal): Functions removed.
32809 Include <sysdeps/posix/libc_fatal.c> instead.
32811 2013-03-19 Joseph Myers <joseph@codesourcery.com>
32813 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32815 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32818 2013-03-19 Andreas Schwab <schwab@suse.de>
32820 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32821 * sysdeps/gnu/configure: Regenerate.
32823 * configure.in: Substitute libc_cv_rtlddir.
32824 * configure: Regenerate.
32825 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32826 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32827 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32828 * elf/Makefile (install-others, CFLAGS-interp.c)
32829 (ldso_install, common-ldd-rewrite): Likewise.
32830 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32831 $(inst_slibdir)/$(rtld-installed-name).
32832 * scripts/rellns-sh: Add -p option.
32833 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32836 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32838 * manual/nptl.texi: Renamed to ...
32839 * manual/threads.texi: ... this.
32840 * manual/Makefile (chapters): Update.
32842 2013-03-18 Roland McGrath <roland@hack.frob.com>
32845 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32846 on argument names, not just descriptions.
32847 * malloc/memusagestat.c (options): Likewise.
32848 * nss/getent.c (options): Likewise.
32850 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
32853 * iconv/iconv_prog.c (options): Put N_ translation marker
32854 on argument names, not just descriptions.
32855 * iconv/iconvconfig.c (options): Likewise.
32857 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
32859 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32860 implementation which is faster on all x86_64 architectures.
32861 Tested on AMD, Intel Nehalem, SNB, IVB.
32862 * sysdeps/x86_64/strnlen.S: Likewise.
32864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32865 Remove all multiarch strlen and strnlen versions.
32866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32867 Remove strlen and strnlen related parts.
32869 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32870 Inline strlen part.
32871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32873 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32874 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32875 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32876 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32877 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32880 2013-03-17 Carlos O'Donell <carlos@redhat.com>
32882 * manual/memory.texi (Malloc Tunable Parameters):
32883 Sort parameters alphabetically. Add comments for missing entries.
32885 2013-03-17 David S. Miller <davem@davemloft.net>
32887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32889 2013-03-16 Joseph Myers <joseph@codesourcery.com>
32892 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32893 for arguments at most half maximum finite value.
32894 * math/libm-test.inc (j0_test): Add more tests.
32895 (j1_test): Likewise.
32896 (y0_test): Likewise.
32897 (y1_test): Likewise.
32898 * sysdeps/i386/fpu/libm-test-ulps: Update.
32899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32902 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32903 1 / x and functions P and Q for arguments above 0x1p256L.
32904 (__ieee754_y0l): Likewise.
32905 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32906 (__ieee754_y1l): Likewise.
32907 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32908 (j1_test): Likewise.
32909 (y0_test): Likewise.
32910 (y1_test): Likewise.
32912 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32914 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32917 2013-03-15 Roland McGrath <roland@hack.frob.com>
32919 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32920 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32921 zero since it's initialized to EXEC_PAGESIZE.
32923 * sysdeps/unix/sysv/linux/ldsodefs.h
32924 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32925 * sysdeps/generic/ldsodefs.h: ... here.
32927 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32929 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32931 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32933 * math/test-snan.c: Renamed from
32934 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32935 * math/Makefile (tests): Add test-snan.
32936 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32939 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32940 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32942 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32943 __builtin_nan family of functions.
32944 * math/libm-test.inc (initialize): Initialize qnan_value with
32945 __builtin_nan family of functions.
32946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32948 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32950 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32951 storage class. Initialize qNaN_var and sNaN_var with
32952 __builtin_nan and __builtin_nans families of functions,
32955 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32956 (sqrt_test): Remove duplicate test with qNaN input.
32957 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32958 (round_test, signbit_test, significand_test): Note missing +/-Inf
32959 as well as qNaN tests.
32961 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32962 qNaN_var. Fix a few strings, too.
32963 * math/libm-test.inc (nan_value): Rename to qnan_value.
32964 * math/gen-libm-test.pl (%beautify): Adjust to that.
32965 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32966 * math/test-misc.c (main): Likewise.
32967 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32968 to __qnan_bytes, and __qnan_union, respectively.
32969 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32971 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32972 and lqnanval, respectively.
32973 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32974 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32975 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32976 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32978 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32979 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32982 * math/test-misc.c (main): Fix copy'n'pastos.
32983 * misc/tst-efgcvt.c (special): Likewise.
32985 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32986 Remove declarations.
32988 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32990 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32991 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32992 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32993 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32995 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32998 macro to return vdso values correctly in IFUNC implementations.
32999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33000 Optimization by using IFUNC.
33002 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33003 Richard Henderson <rth@redhat.com>
33004 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33006 * Makefile.in (bench): New target.
33007 * NEWS: Mention the benchmark framework.
33008 * Rules (bench): Likewise.
33009 (binaries-bench): Generate binaries for functions to
33011 * benchtests/Makefile: New makefile for benchmark tests.
33012 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33014 * benchtests/exp-inputs: New input file for EXP function.
33015 * benchtests/pow-inputs: New input file for POW function.
33016 * scripts/bench.pl: New script to generate source files for
33017 benchmark programs.
33019 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33021 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33022 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33023 computations on mantissa. Use macros for rounding and
33025 (denorm): Likewise.
33026 (__dbl_mp): Likewise.
33027 (add_magnitudes): Likewise.
33028 (sub_magnitudes): Likewise.
33031 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33032 powers of two in terms of TWOPOW macro.
33033 (mp_no): Make type of mantissa as MANTISSA_T.
33034 [!RADIXI]: Define RADIXI.
33035 [!TWO52]: Define TWO52.
33036 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33038 * manual/nptl.texi (cindex): Modify threads to pthreads.
33040 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33042 * sysdeps/x86_64/preconfigure: Regenerated.
33044 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33047 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33049 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33050 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33052 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33053 * math/libm-test.inc (j0_test): Do not allow one spurious
33054 underflow exception.
33055 (y1_test): Likewise.
33057 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33059 * manual/Makefile (chapters): Add nptl.
33060 * manual/debug.texi (Debugging Support): Add link to Threads
33062 * manual/nptl.texi: New file.
33064 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33066 2013-03-14 Petr Baudis <pasky@ucw.cz>
33068 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33069 for non-NULL pointer before the memory validity test. Pointed
33070 out by Holger Brunck <holger.brunck@keymile.com>.
33072 2013-03-13 Andreas Schwab <schwab@suse.de>
33074 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33077 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33079 * timezone/zic.c: Update from tzcode 2013b.
33081 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33083 * manual/install.texi (Configuring and compiling):
33084 Mention i686 and i586.
33085 * INSTALL: Regenerate.
33087 2013-03-12 Roland McGrath <roland@hack.frob.com>
33089 * sysdeps/init_array/elf-init.c: New file.
33091 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33092 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33094 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33095 __gmon_start__ as global, but as static with a .preinit_array pointer.
33096 * sysdeps/init_array/gmon-start.c: New file. Use that.
33097 * sysdeps/init_array/crti.S: New file, empty except for comments.
33098 * sysdeps/init_array/crtn.S: Likewise.
33100 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33102 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33105 Remove Prefer_SSE_for_memop.
33106 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33107 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33108 HAS_PREFER_SSE_FOR_MEMOP.
33109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33112 Remove bzero, memset ifunc support.
33113 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33114 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33115 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33116 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33118 2013-03-11 Andreas Schwab <schwab@suse.de>
33121 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33124 (GLIBC_2.16): Remove pthread_atfork.
33126 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33128 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33129 (ptestcases.h): Likewise.
33131 2013-03-08 Roland McGrath <roland@hack.frob.com>
33133 * Makeconfig ($(common-objpfx)config.status): Depend on
33134 sysdeps/*/preconfigure{,.in} too.
33136 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33138 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33139 (__free_hook): Use void * instead of __malloc_ptr_t.
33140 (__malloc_hook): Likewise.
33141 (__realloc_hook): Likewise.
33142 (__memalign_hook): Likewise.
33143 (__after_morecore_hook): Likewise.
33144 * malloc/arena.c (save_malloc_hook): Likewise.
33145 (save_free_hook): Likewise.
33146 * malloc/hooks.c (malloc_hook_ini): Likewise.
33147 (realloc_hook_ini): Likewise.
33148 (memalign_hook_ini): Likewise.
33149 * malloc/malloc.c (malloc_hook_ini): Likewise.
33150 (realloc_hook_ini): Likewise.
33151 (memalign_hook_ini): Likewise.
33152 (__free_hook): Likewise.
33153 (__malloc_hook): Likewise.
33154 (__realloc_hook): Likewise.
33155 (__memalign_hook): Likewise.
33156 (__libc_malloc): Likewise.
33157 (__libc_free): Likewise.
33158 (__libc_realloc): Likewise.
33159 (__libc_memalign): Likewise.
33160 (__libc_valloc): Likewise.
33161 (__libc_pvalloc): Likewise.
33162 (__libc_calloc): Likewise.
33163 (__posix_memalign): Likewise.
33164 * malloc/morecore.c (__sbrk): Likewise.
33165 (__default_morecore): Likewise.
33167 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33169 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33170 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33171 __malloc_ptrdiff_t.
33173 * malloc/malloc.h (__malloc_size_t): Remove macro.
33174 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33176 (old_memalign_hook): Likewise.
33177 (old_realloc_hook): Likewise.
33178 (struct hdr): Likewise.
33180 (mallochook): Likewise.
33181 (memalignhook): Likewise.
33182 (reallochook): Likewise.
33183 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33184 (tr_old_realloc_hook): Likewise.
33185 (tr_old_memalign_hook): Likewise.
33186 (tr_mallochook): Likewise.
33187 (tr_reallochook): Likewise.
33188 (tr_memalignhook): Likewise.
33190 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33193 default_ldbl_pack and using as default implementation.
33194 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33196 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33197 redundant definition.
33198 (ldbl_insert_mantissa): Likewise.
33199 (ldbl_canonicalize): Likewise.
33200 (ldbl_nearbyint): Likewise.
33201 (ldbl_pack): Rename to ldbl_pack_ppc.
33202 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33203 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33204 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33206 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33209 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33210 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33211 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33214 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33215 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33217 2013-03-07 Andreas Jaeger <aj@suse.de>
33219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33222 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33224 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33225 Include mpa.h and declare __MPEXP.
33226 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33228 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33229 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33230 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33231 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33234 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33235 (__slowpow): Use long double EXPL and LOGL functions to
33237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33238 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33240 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33241 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33245 intermediate variable to calculate exponent.
33247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33251 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33252 [!NO__SQR]: Define __sqr.
33253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33254 and NO__SQR. Remove all code except __mul and __sqr. Include
33255 sysdeps/ieee754/dbl-64/mpa.c.
33256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33259 * posix/Makefile (tests): Add tst-pathconf.
33260 * posix/tst-pathconf.c: New test case.
33261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33263 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33265 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33267 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33269 2013-03-06 Andreas Jaeger <aj@suse.de>
33271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33272 definition via __MAP_ANONYMOUS.
33274 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33275 it's not part of Linux headers.
33277 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33278 (MAP_HUGE_MASK): Define.
33280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33286 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33291 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33293 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33294 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33295 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33296 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33297 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33304 Handle f2fs and efivarfs.
33306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33309 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33310 (EFIVARFS_MAGIC): Add.
33311 (F2FS_LINK_MAX): Add.
33313 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33315 * stdio-common/vfprintf.c: Replace __builtin_expect with
33318 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/generic/bp-sym.h: Remove file.
33322 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33323 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33324 <bp-sym.h> and <bp-asm.h>.
33325 (__longjmp): Don't use BP_SYM.
33326 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33328 (memcpy): Don't use BP_SYM.
33329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33330 <bp-sym.h> and <bp-asm.h>.
33331 (memcpy): Don't use BP_SYM.
33332 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33334 (memcpy): Don't use BP_SYM.
33335 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33337 (memset): Don't use BP_SYM.
33338 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33339 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33340 (__bzero): Don't use BP_SYM.
33341 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33342 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33343 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33344 <bp-sym.h> and <bp-asm.h>.
33345 (memcmp): Don't use BP_SYM. Remove comment about bounded
33347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33348 <bp-sym.h> and <bp-asm.h>.
33349 (memcpy): Don't use BP_SYM.
33350 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33351 <bp-sym.h> and <bp-asm.h>.
33352 (memset): Don't use BP_SYM.
33353 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33354 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33355 (__bzero): Don't use BP_SYM.
33356 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33357 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33359 <bp-sym.h> and <bp-asm.h>.
33360 (strncmp): Don't use BP_SYM. Remove comment about bounded
33362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33363 <bp-sym.h> and <bp-asm.h>.
33364 (memcpy): Don't use BP_SYM.
33365 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33366 <bp-sym.h> and <bp-asm.h>.
33367 (memset): Don't use BP_SYM.
33368 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33369 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33370 (__bzero): Don't use BP_SYM.
33371 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33372 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33374 <bp-sym.h> and <bp-asm.h>.
33375 (__memchr): Don't use BP_SYM.
33376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33377 <bp-sym.h> and <bp-asm.h>.
33378 (memcmp): Don't use BP_SYM. Remove comment about bounded
33380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33381 <bp-sym.h> and <bp-asm.h>.
33382 (memcpy): Don't use BP_SYM.
33383 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33384 <bp-sym.h> and <bp-asm.h>.
33385 (__mempcpy): Don't use BP_SYM.
33386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33387 <bp-sym.h> and <bp-asm.h>.
33388 (__memrchr): Don't use BP_SYM.
33389 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33390 <bp-sym.h> and <bp-asm.h>.
33391 (memset): Don't use BP_SYM.
33392 (__bzero): Likewise.
33393 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33394 <bp-sym.h> and <bp-asm.h>.
33395 (__rawmemchr): Don't use BP_SYM.
33396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33397 <bp-sym.h> and <bp-asm.h>.
33398 (__STRCMP): Don't use BP_SYM.
33399 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33400 <bp-sym.h> and <bp-asm.h>.
33401 (strchr): Don't use BP_SYM.
33402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33403 <bp-sym.h> and <bp-asm.h>.
33404 (__strchrnul): Don't use BP_SYM.
33405 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33406 <bp-sym.h> and <bp-asm.h>.
33407 (strlen): Don't use BP_SYM.
33408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33409 <bp-sym.h> and <bp-asm.h>.
33410 (strncmp): Don't use BP_SYM. Remove comment about bounded
33412 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33413 <bp-sym.h> and <bp-asm.h>.
33414 (__strnlen): Don't use BP_SYM.
33415 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33416 <bp-sym.h> and <bp-asm.h>.
33417 (__GI__setjmp): Don't use BP_SYM.
33418 (_setjmp): Likewise.
33419 (__sigsetjmp): Likewise.
33420 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33421 (L(start_addresses)): Don't use BP_SYM.
33422 (_start): Likewise.
33423 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33425 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33426 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33427 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33428 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33429 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33431 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33432 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33433 about bounded pointers.
33434 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33435 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33436 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33438 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33439 about bounded pointers. Remove GKM FIXME comments.
33440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33441 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33443 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33444 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33445 Remove GKM FIXME comments.
33446 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33447 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33448 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33450 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33451 about bounded pointers. Remove GKM FIXME comment.
33452 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33454 (strncmp): Don't use BP_SYM. Remove comment about bounded
33456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33457 <bp-sym.h> and <bp-asm.h>.
33458 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33460 <bp-sym.h> and <bp-asm.h>.
33461 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33464 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33466 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33469 2013-03-05 David S. Miller <davem@davemloft.net>
33471 * po/es.po: Update from translation team.
33473 2013-03-05 Andreas Jaeger <aj@suse.de>
33475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33476 <bits/mman-linux.h>.
33477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33480 <bits/mman-linux.h> to end of file.
33481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33484 <bits/mman-linux.h> to end of file.
33485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33488 <bits/mman-linux.h> to end of file.
33490 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33491 (MCL_CURRENT, MCL_FUTURE): Define here.
33493 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33500 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33502 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33503 fourth parameter needed for rt_sigprocmask syscall.
33504 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33505 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33507 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33511 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33514 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33515 comment about bounded pointers.
33516 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33517 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33519 2013-03-04 Andreas Jaeger <aj@suse.de>
33521 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33522 common definitions.
33524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33525 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33526 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33531 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33535 __ieee754_sqrl instead of __sqrl.
33537 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33539 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33540 * sysdeps/powerpc/fpu_control.h: ... here.
33541 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33542 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33543 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33544 * sysdeps/powerpc/bits/mathinline.h: ... here.
33546 2013-03-01 Roland McGrath <roland@hack.frob.com>
33548 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33549 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33550 to just [NEED_DL_SYSINFO_DSO].
33551 * elf/dl-support.c: Likewise.
33552 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33553 * elf/rtld.c (dl_main): Likewise.
33554 * elf/setup-vdso.h (setup_vdso): Likewise.
33555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33556 * sysdeps/unix/sysv/linux/dl-sysdep.c
33557 (_dl_discover_osversion): Likewise.
33559 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33561 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33562 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33564 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33566 * NEWS: Mention libm performance improvements and non-x86 PI
33569 * csu/libc-start.c (__pthread_initialize_minimal): Change
33570 function arguments.
33571 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33573 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33576 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33578 <bp-sym.h> and <bp-asm.h>.
33579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33582 (memcpy): Don't use BP_SYM.
33583 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33585 (__mpn_add_n): Don't use BP_SYM.
33586 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33587 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33589 (__mpn_addmul_1): Don't use BP_SYM.
33590 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33591 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33593 (_setjmp): Don't use BP_SYM.
33594 (__novmx_setjmp): Likewise.
33595 (__GI__setjmp): Likewise.
33596 (__vmx_setjmp): Likewise.
33597 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33599 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33600 (__bzero): Don't use BP_SYM.
33601 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33602 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33603 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33604 <bp-sym.h> and <bp-asm.h>.
33605 (memcpy): Don't use BP_SYM.
33606 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33607 <bp-sym.h> and <bp-asm.h>.
33608 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33609 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33610 <bp-sym.h> and <bp-asm.h>.
33611 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33612 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33614 (__mpn_lshift): Don't use BP_SYM.
33615 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33616 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33618 (memset): Don't use BP_SYM.
33619 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33620 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33621 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33623 (__mpn_mul_1): Don't use BP_SYM.
33624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33625 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33626 <bp-sym.h> and <bp-asm.h>.
33627 (memcmp): Don't use BP_SYM.
33628 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33629 <bp-sym.h> and <bp-asm.h>.
33630 (memcpy): Don't use BP_SYM.
33631 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33632 <bp-sym.h> and <bp-asm.h>.
33633 (memset): Don't use BP_SYM.
33634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33635 <bp-sym.h> and <bp-asm.h>.
33636 (strncmp): Don't use BP_SYM.
33637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33638 <bp-sym.h> and <bp-asm.h>.
33639 (memcpy): Don't use BP_SYM.
33640 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33641 <bp-sym.h> and <bp-asm.h>.
33642 (memset): Don't use BP_SYM.
33643 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33644 <bp-sym.h> and <bp-asm.h>.
33645 (__memchr): Don't use BP_SYM.
33646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33647 <bp-sym.h> and <bp-asm.h>.
33648 (memcmp): Don't use BP_SYM.
33649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33650 <bp-sym.h> and <bp-asm.h>.
33651 (memcpy): Don't use BP_SYM.
33652 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33653 <bp-sym.h> and <bp-asm.h>.
33654 (__mempcpy): Don't use BP_SYM.
33655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33656 <bp-sym.h> and <bp-asm.h>.
33657 (__memrchr): Don't use BP_SYM.
33658 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33659 <bp-sym.h> and <bp-asm.h>.
33660 (memset): Don't use BP_SYM.
33661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33662 <bp-sym.h> and <bp-asm.h>.
33663 (__rawmemchr): Don't use BP_SYM.
33664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33665 <bp-sym.h> and <bp-asm.h>.
33666 (__STRCMP): Don't use BP_SYM.
33667 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33668 <bp-sym.h> and <bp-asm.h>.
33669 (strchr): Don't use BP_SYM.
33670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33671 <bp-sym.h> and <bp-asm.h>.
33672 (__strchrnul): Don't use BP_SYM.
33673 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33674 <bp-sym.h> and <bp-asm.h>.
33675 (strlen): Don't use BP_SYM.
33676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33677 <bp-sym.h> and <bp-asm.h>.
33678 (strncmp): Don't use BP_SYM.
33679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33680 <bp-sym.h> and <bp-asm.h>.
33681 (__strnlen): Don't use BP_SYM.
33682 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33684 (__mpn_rshift): Don't use BP_SYM.
33685 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33687 <bp-sym.h> and <bp-asm.h>.
33688 (__sigsetjmp): Don't use BP_SYM.
33689 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33690 (L(start_addresses)): Don't use BP_SYM.
33691 (_start): Likewise.
33692 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33694 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33695 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33696 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33697 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33699 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33700 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33701 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33702 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33704 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33706 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33707 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33709 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33711 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33712 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33713 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33715 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33717 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33719 (strncmp): Don't use BP_SYM,
33720 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33722 (__mpn_sub_n): Don't use BP_SYM.
33723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33724 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33726 (__mpn_submul_1): Don't use BP_SYM.
33727 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33729 <bp-sym.h> and <bp-asm.h>.
33730 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33732 <bp-sym.h> and <bp-asm.h>.
33733 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33736 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33739 Use ZK to minimize writes to Z.
33740 (sub_magnitudes): Simplify code a bit.
33741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33742 Use ZK to minimize writes to Z.
33743 (sub_magnitudes): Simplify code a bit.
33745 2013-02-27 Roland McGrath <roland@hack.frob.com>
33747 * csu/gmon-start.c: Add special exception to license text.
33749 2013-02-27 Richard Henderson <rth@redhat.com>
33751 * scripts/config.guess: Update from config.git.
33752 * scripts/config.sub: Likewise.
33754 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33758 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33760 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33762 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33764 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33766 2013-02-26 Roland McGrath <roland@hack.frob.com>
33768 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33769 [$(build-shared = yes].
33771 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33773 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33774 (__mul): Reduce iterations for calculating mantissa.
33776 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33778 (__mpranred): Likewise.
33781 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33782 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33784 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33786 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33787 Define __attribute__.
33789 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33791 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33793 * posix/regex_internal.h (__attribute): Remove.
33794 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33795 (re_string_context_at): Likewise.
33796 (bitset_not): Use __attribute__ and mark function as possibly
33798 (bitset_merge): Likewise.
33799 (bitset_mask): Likewise.
33800 (re_string_char_size_at): Likewise.
33801 (re_string_wchar_at): Likewise.
33802 (re_string_elem_size_at): Likewise.
33804 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33810 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33814 (denorm): Likewise.
33815 (__dbl_mp): Likewise.
33816 (add_magnitudes): Likewise.
33817 (sub_magnitudes): Likewise.
33821 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33824 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33827 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33831 up changes with default code.
33832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33835 2013-02-24 Allan McRae <allan@archlinux.org>
33837 * manual/socket.texi (The Internet Namespace): Order menu items
33838 to match that in the file.
33840 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33841 node listing of the info page menu.
33843 2013-02-21 Joseph Myers <joseph@codesourcery.com>
33846 * sysdeps/i386/bp-asm.h: Remove file.
33847 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33848 (PARMS): Do not use macros from bp-asm.h.
33852 (__mpn_add_n): Do not use BP_SYM
33853 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33855 (PARMS): Do not use macros from bp-asm.h.
33858 (__mpn_addmul_1): Do not use BP_SYM
33859 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33861 (PARMS): Do not use macros from bp-asm.h.
33862 (SIGMSK): Likewise.
33863 (_setjmp): Likewise. Do not use BP_SYM.
33864 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33866 (PARMS): Do not use macros from bp-asm.h.
33867 (SIGMSK): Likewise.
33868 (setjmp): Likewise. Do not use BP_SYM.
33869 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33871 (PARMS): Do not use macros from bp-asm.h.
33872 (__frexp): Do not use BP_SYM.
33874 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33876 (PARMS): Do not use macros from bp-asm.h.
33877 (__frexpf): Do not use BP_SYM.
33878 (frexpf): Likewise.
33879 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33881 (PARMS): Do not use macros from bp-asm.h.
33882 (__frexpl): Do not use BP_SYM.
33883 (frexpl): Likewise.
33884 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33886 (PARMS): Do not use macros from bp-asm.h.
33887 (__remquo): Do not use BP_SYM.
33888 (remquo): Likewise.
33889 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33891 (PARMS): Do not use macros from bp-asm.h.
33892 (__remquof): Do not use BP_SYM.
33893 (remquof): Likewise.
33894 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33896 (PARMS): Do not use macros from bp-asm.h.
33897 (__remquol): Do not use BP_SYM.
33898 (remquol): Likewise.
33899 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33901 (PARMS): Do not use macros from bp-asm.h.
33904 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33905 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33907 (PARMS): Do not use macros from bp-asm.h.
33908 (strlen): Do not use BP_SYM.
33909 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33911 (PARMS): Do not use macros from bp-asm.h.
33915 (__mpn_add_n): Do not use BP_SYM.
33916 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33918 (PARMS): Do not use macros from bp-asm.h.
33921 (__mpn_addmul_1): Do not use BP_SYM.
33922 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33925 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33927 (PARMS): Do not use macros from bp-asm.h.
33930 (__mpn_lshift): Do not use BP_SYM.
33931 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33933 (PARMS): Do not use macros from bp-asm.h.
33937 (memcpy): Likewise. Do not use BP_SYM.
33938 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33939 libc_hidden_def and weak_alias.
33940 (mempcpy): Do not use BP_SYM in weak_alias.
33941 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33943 (PARMS): Do not use macros from bp-asm.h.
33946 [!BZERO_P] (CHR): Likewise.
33947 (memset): Likewise. Do not use BP_SYM.
33948 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33950 (PARMS): Do not use macros from bp-asm.h.
33953 (__mpn_mul_1): Do not use BP_SYM.
33954 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33956 (PARMS): Do not use macros from bp-asm.h.
33959 (__mpn_rshift): Do not use BP_SYM.
33960 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33962 (PARMS): Do not use macros from bp-asm.h.
33965 (strchr): Likewise. Do not use BP_SYM.
33966 (index): Do not use BP_SYM in weak_alias.
33967 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33969 (PARMS): Do not use macros from bp-asm.h.
33972 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33973 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33975 (PARMS): Do not use macros from bp-asm.h.
33976 (strlen): Do not use BP_SYM.
33977 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33979 (PARMS): Do not use macros from bp-asm.h.
33983 (__mpn_sub_n): Do not use BP_SYM.
33984 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33986 (PARMS): Do not use macros from bp-asm.h.
33989 (__mpn_submul_1): Do not use BP_SYM.
33990 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33992 (PARMS): Do not use macros from bp-asm.h.
33996 (__mpn_add_n): Do not use BP_SYM.
33997 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34000 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34002 (PARMS): Do not use macros from bp-asm.h.
34005 (memcmp): Do not use BP_SYM.
34006 (bcmp): Do not use BP_SYM in weak_alias.
34007 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34009 (PARMS): Do not use macros from bp-asm.h.
34013 (memcpy): Likewise. Do not use BP_SYM.
34014 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34016 (PARMS): Do not use macros from bp-asm.h.
34020 (memmove): Likewise. Do not use BP_SYM.
34021 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34023 (PARMS): Do not use macros from bp-asm.h.
34027 (__mempcpy): Likewise. Do not use BP_SYM.
34028 (mempcpy): Do not use BP_SYM in weak_alias.
34029 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34031 (PARMS): Do not use macros from bp-asm.h.
34034 [!BZERO_P] (CHR): Likewise.
34035 (memset): Likewise. Do not use BP_SYM.
34036 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34038 (PARMS): Do not use macros from bp-asm.h.
34040 (strcmp): Do not use BP_SYM.
34041 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34043 (PARMS): Do not use macros from bp-asm.h.
34046 [USE_AS_STRTOK_R] (SAVE): Likewise.
34047 (FUNCTION): Likewise. Do not use BP_SYM.
34048 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34050 (strtok_r): Likewise.
34051 (__GI___strtok_r): Likewise.
34052 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34053 (PARMS): Do not use macros from bp-asm.h.
34056 (__mpn_lshift): Do not use BP_SYM.
34057 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34058 (PARMS): Do not use macros from bp-asm.h.
34061 (__memchr): Do not use BP_SYM.
34062 (memchr): Do not use BP_SYM in weak_alias.
34063 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34064 (PARMS): Do not use macros from bp-asm.h.
34067 (memcmp): Do not use BP_SYM.
34068 (bcmp): Do not use BP_SYM in weak_alias.
34069 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34070 (PARMS): Do not use macros from bp-asm.h.
34073 (__mpn_mul_1): Do not use BP_SYM.
34074 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34076 (PARMS): Do not use macros from bp-asm.h.
34079 (__rawmemchr): Do not use BP_SYM.
34080 (rawmemchr): Do not use BP_SYM in weak_alias.
34081 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34082 (PARMS): Do not use macros from bp-asm.h.
34085 (__mpn_rshift): Do not use BP_SYM.
34086 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34087 (PARMS): Do not use macros from bp-asm.h.
34088 (SIGMSK): Likewise.
34089 (__sigsetjmp): Likewise. Do not use BP_SYM.
34090 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34091 (_start): Do not use BP_SYM.
34092 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34093 (PARMS): Do not use macros from bp-asm.h.
34096 (__stpcpy): Likewise. Do not use BP_SYM.
34097 (stpcpy): Do not use BP_SYM in weak_alias.
34098 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34100 (PARMS): Do not use macros from bp-asm.h.
34104 (__stpncpy): Likewise. Do not use BP_SYM.
34105 (stpncpy): Do not use BP_SYM in weak_alias.
34106 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34107 (PARMS): Do not use macros from bp-asm.h.
34110 (strchr): Likewise. Do not use BP_SYM.
34111 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34113 (PARMS): Do not use macros from bp-asm.h.
34116 (__strchrnul): Likewise. Do not use BP_SYM.
34117 (strchrnul): Do not use BP_SYM in weak_alias.
34118 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34120 (PARMS): Do not use macros from bp-asm.h.
34122 (strcspn): Do not use BP_SYM.
34123 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34125 (PARMS): Do not use macros from bp-asm.h.
34128 (strpbrk): Likewise. Do not use BP_SYM.
34129 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34131 (PARMS): Do not use macros from bp-asm.h.
34134 (strrchr): Likewise. Do not use BP_SYM.
34135 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34136 (PARMS): Do not use macros from bp-asm.h.
34138 (strspn): Do not use BP_SYM.
34139 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34140 (PARMS): Do not use macros from bp-asm.h.
34144 (FUNCTION): Likewise. Do not use BP_SYM.
34145 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34147 (strtok_r): Likewise.
34148 (__GI___strtok_r): Likewise.
34149 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34150 (PARMS): Do not use macros from bp-asm.h.
34154 (__mpn_sub_n): Do not use BP_SYM.
34155 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34157 (PARMS): Do not use macros from bp-asm.h.
34160 (__mpn_submul_1): Do not use BP_SYM.
34161 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34163 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34165 (PARMS): Do not use macros from bp-asm.h.
34170 (__clone): Do not use BP_SYM.
34171 (clone): Do not use BP_SYM in weak_alias.
34172 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34174 (PARMS): Do not use macros from bp-asm.h.
34176 (__mmap64): Do not use BP_SYM.
34177 (mmap64): Do not use BP_SYM in weak_alias.
34178 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34179 <bp-sym.h> and <bp-asm.h>.
34180 (PARMS): Do not use macros from bp-asm.h.
34181 (__posix_fadvise64_l64): Do not use BP_SYM.
34182 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34183 (PARMS): Do not use macros from bp-asm.h.
34185 (semtimedop): Do not use BP_SYM.
34186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34189 2013-02-21 Allan McRae <allan@archlinux.org>
34191 * manual/message.texi (Charset conversion in gettext):
34192 Move @end statement to beginning of line.
34194 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34202 (denorm): Likewise.
34203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34206 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34208 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34209 tail-call to the resolved function if pltexit isn't needed.
34211 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34214 or Y being zero as being unlikely.
34215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34218 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34220 * manual/nss.texi (System Databases and Name Service Switch):
34221 Remove frobnicate @pxref.
34223 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34225 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34226 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34228 2013-02-20 Petr Machata <pmachata@redhat.com>
34230 * elf/elf.h (R_ARM_TARGET1): New macro.
34231 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34232 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34233 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34234 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34235 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34236 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34237 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34238 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34239 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34240 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34241 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34242 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34243 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34244 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34245 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34246 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34247 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34248 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34249 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34250 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34251 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34252 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34253 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34254 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34255 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34256 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34257 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34258 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34259 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34260 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34261 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34262 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34263 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34264 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34265 (R_ARM_THM_GOT_BREL12): Likewise.
34266 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34267 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34268 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34269 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34270 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34271 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34272 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34273 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34274 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34276 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34278 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34279 __attribute_used__ to __attribute__ ((unused)).
34281 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34283 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34286 comment formatting.
34287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34289 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34292 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34294 (ENTER): Remove both macro definitions.
34296 (CHECK_BOUNDS_LOW): Likewise.
34297 (CHECK_BOUNDS_HIGH): Likewise.
34298 (CHECK_BOUNDS_BOTH): Likewise.
34299 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34300 (RETURN_BOUNDED_POINTER): Likewise.
34301 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34302 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34303 (POP_ERRNO_LOCATION_RETURN): Likewise.
34304 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34305 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34306 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34309 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34310 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34311 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34312 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34313 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34314 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34315 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34316 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34317 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34318 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34319 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34321 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34324 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34326 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34327 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34328 * sysdeps/i386/i586/memset.S (memset): Likewise.
34329 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34330 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34331 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34333 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34334 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34335 Change uses of L(2) to L(out).
34336 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34337 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34338 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34339 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34340 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34342 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34343 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34345 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34346 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34347 (RETURN): Do not use macro LEAVE.
34348 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34349 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34350 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34351 * sysdeps/i386/i686/memset.S (memset): Likewise.
34352 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34353 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34354 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34355 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34357 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34358 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34359 L(1_2) and L(1_3) into L(1).
34360 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34361 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34362 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34363 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34364 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34365 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34366 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34367 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34368 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34370 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34371 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34372 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34373 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34374 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34375 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34376 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34377 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34378 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34379 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34380 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34381 * sysdeps/i386/strspn.S (strspn): Likewise.
34382 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34384 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34385 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34386 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34387 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34388 L(1_3) into L(1_1).
34389 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34391 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34395 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34397 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34400 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34402 * math/atest-exp.c (exp_mpn): Remove ROUND.
34403 * math/atest-exp2.c (exp_mpn): Likewise.
34404 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34406 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34407 * stdlib/tst-tls-atexit-lib.c: Likewise.
34408 * stdlib/tst-tls-atexit.c: Likewise.
34410 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34412 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34413 and __attribute_alloc_size__.
34415 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34417 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34418 __attribute_alloc_size__.
34419 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34420 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34422 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34424 * include/programs/xmalloc.h: New file.
34425 * catgets/gencat.c: Include it.
34426 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34427 * elf/pldd.c: Likewise.
34428 * iconv/iconv_charmap.c: Likewise.
34429 * iconv/iconvconfig.c: Likewise.
34430 * iconv/strtab.c: Likewise.
34431 * locale/programs/locale.c: Likewise.
34432 * locale/programs/localedef.h: Likewise.
34433 * locale/programs/simple-hash.c: Likewise.
34434 * nscd/nscd.h: Likewise.
34435 * nss/makedb.c: Likewise.
34436 * sysdeps/generic/ldconfig.h: Likewise.
34438 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34440 * Versions.def: Add GLIBC_2.18.
34441 * include/link.h (struct link_map): New member l_tls_dtor_count.
34442 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34443 (__call_tls_dtors): Likewise.
34444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34445 __cxa_thread_atexit_impl.
34446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34462 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34463 (tests): Add test case tst-tls-atexit.
34464 (modules-names): Add shared library for tst-tls-atexit.
34465 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34466 (GLIBC_PRIVATE): Add __call_tls_dtors.
34467 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34469 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34470 * stdlib/tst-tls-atexit.c: New test case.
34471 * stdlib/tst-tls-atexit-lib.c: New test case.
34473 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34475 * elf/Versions (ld): Add _dl_find_dso_for_object.
34476 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34477 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34478 (dl_open_worker): Use _dl_find_dso_for_object.
34479 * elf/dl-sym.c (do_sym): Likewise.
34480 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34482 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34484 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34485 Syntactic changes only.
34486 (_dl_runtime_profile): Do a tail-call to the resolved function.
34488 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34491 * sysdeps/x86_64/bp-asm.h: Remove file.
34492 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34493 <bp-sym.h> and <bp-asm.h>.
34494 (__clone): Do not use BP_SYM.
34495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34496 <bp-sym.h> and <bp-asm.h>.
34497 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34498 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34500 (_setjmp): Do not use BP_SYM.
34501 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34503 (setjmp): Do not use BP_SYM.
34504 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34506 (mempcpy): Do not use BP_SYM in weak_alias.
34507 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34509 (strchr): Do not use BP_SYM.
34510 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34512 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34513 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34514 (_start): Do not use BP_SYM.
34515 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34517 (strcat): Do not use BP_SYM.
34518 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34520 (STRCMP): Do not use BP_SYM.
34521 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34523 (STRCPY): Do not use BP_SYM.
34524 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34526 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34528 (FUNCTION): Do not use BP_SYM.
34529 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34531 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34533 2013-02-17 Andreas Jaeger <aj@suse.de>
34535 * time/Versions: Sort entries.
34536 * string/Versions: Likewise.
34537 * resolv/Versions: Likewise.
34538 * posix/Versions: Likewise.
34539 * iconv/Versions: Likewise.
34540 * elf/Versions: Likewise.
34541 * wcsmbs/Versions: Likewise.
34543 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34545 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34546 loop termination condition.
34548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34549 variable to calculate EZ.
34552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34553 the lower precision input.
34555 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34558 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34559 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34560 (run-via-rtld-prefix): Do not handle %-bp tests.
34561 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34562 (all-object-suffixes): Remove .ob.
34563 (bppfx): Remove variable.
34564 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34565 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34566 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34567 [$(build-bounded) = yes] (libtype.ob): Likewise.
34568 * Makerules (elide-routines.ob): Remove variable.
34569 (do-tests-clean): Do not handle *-bp.out.
34570 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34571 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34572 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34573 (tests): Do not include $(tests-bp.out).
34574 (xtests): Do not include $(xtests-bp.out).
34575 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34576 [$(build-bounded) = yes] ($(addprefix
34577 $(objpfx),$(binaries-bounded))): Remove rule.
34578 ($(objpfx)%-bp.out): Remove rule.
34579 * config.make.in (build-bounded): Remove variable.
34580 * crypt/Makefile [$(build-bounded) = yes]
34581 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34582 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34583 append to variable.
34584 [$(build-bounded) = yes] (install-lib): Likewise.
34585 [$(build-bounded) = yes] (generated): Likewise.
34586 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34588 * intl/Makefile [$(build-bounded) = yes]
34589 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34590 * math/Makefile [$(build-bounded) = yes]
34591 ($(tests:%=$(objpfx)%-bp): Likewise.
34592 * misc/Makefile [$(build-bounded) = yes]
34593 ($(objpfx)tst-tsearch-bp): Likewise.
34594 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34595 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34597 * string/Makefile (o-objects.ob): Remove variable.
34598 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34599 (CFLAGS-.ob): Remove variable.
34600 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34601 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34602 both definitions of variable.
34603 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34604 (ASFLAGS-.ob): Remove variable.
34606 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34609 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34610 Remove __BOUNDED_POINTERS__ from condition.
34611 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34612 * string/bits/string2.h [!__NO_STRING_INLINES &&
34613 !__BOUNDED_POINTERS__]: Likewise.
34614 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34616 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34617 Remove conditional code.
34618 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34619 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34620 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34624 * csu/libc-start.c: Do not include <bp-sym.h>.
34625 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34626 * elf/dl-open.c: Do not include <bp-sym.h>.
34627 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34628 * math/fegetenv.c: Do not include <bp-sym.h>.
34629 (fegetenv): Do not use BP_SYM in versioned symbols.
34630 * nptl/sysdeps/pthread/bits/libc-lockP.h
34631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34634 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34636 (__pthread_mutex_destroy): Likewise.
34637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34638 (__pthread_mutex_lock): Likewise.
34639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34640 (__pthread_mutex_trylock): Likewise.
34641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34642 (__pthread_mutex_unlock): Likewise.
34643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34644 (__pthread_mutexattr_init): Likewise.
34645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34646 (__pthread_mutexattr_destroy): Likewise.
34647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34648 (__pthread_mutexattr_settype): Likewise.
34649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34650 (__pthread_rwlock_init): Likewise.
34651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34652 (__pthread_rwlock_destroy): Likewise.
34653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34654 (__pthread_rwlock_rdlock): Likewise.
34655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34656 (__pthread_rwlock_tryrdlock): Likewise.
34657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34658 (__pthread_rwlock_wrlock): Likewise.
34659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34660 (__pthread_rwlock_trywrlock): Likewise.
34661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34662 (__pthread_rwlock_unlock): Likewise.
34663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34664 (__pthread_key_create): Likewise.
34665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34666 (__pthread_setspecific): Likewise.
34667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34668 (__pthread_getspecific): Likewise.
34669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34672 (_pthread_cleanup_push_defer): Likewise.
34673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34674 (_pthread_cleanup_pop_restore): Likewise.
34675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34676 (pthread_setcancelstate): Likewise.
34677 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34679 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34680 (memchr): Do not use BP_SYM in weak_alias.
34681 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34682 (fegetenv): Do not use BP_SYM in versioned symbols.
34683 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34684 (fesetenv): Do not use BP_SYM in versioned symbols.
34685 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34686 (feupdateenv): Do not use BP_SYM in versioned symbols.
34687 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34688 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34689 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34690 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34691 (open64): Do not use BP_SYM in weak_alias.
34692 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34693 (fegetenv): Do not use BP_SYM in versioned symbols.
34694 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34695 (fesetenv): Do not use BP_SYM in versioned symbols.
34696 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34697 (feupdateenv): Do not use BP_SYM in versioned symbols.
34698 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34699 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34700 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34701 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34702 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34703 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34704 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34706 (__libc_start_main): Do not use BP_SYM.
34708 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34711 redundant return line.
34713 (denorm): Likewise.
34714 (dbl_mp): Likewise.
34715 (sub_magnitudes): Likewise.
34721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34723 (denorm): Likewise.
34724 (dbl_mp): Likewise.
34725 (sub_magnitudes): Likewise.
34732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34734 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34735 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34739 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34741 of __mul for squares.
34742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34749 2013-02-13 Joseph Myers <joseph@codesourcery.com>
34752 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34754 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34755 prototype or function definition. Rename ubp_* variables and
34756 parameters. Remove argv definitions conditional on
34757 [__BOUNDED_POINTERS__].
34758 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34759 * elf/dl-runtime.c (_dl_fixup): Likewise.
34760 * include/set-hooks.h (RUN_HOOK): Likewise.
34761 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34763 * string/strcpy.c (strcpy): Do not use __unbounded.
34764 * sysdeps/generic/frame.h (struct layout): Likewise.
34765 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34766 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34767 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34768 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34769 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34770 (__backtrace): Likewise.
34771 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34773 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34774 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34775 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34777 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34778 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34779 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34781 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34782 Do not use __unbounded.
34783 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34784 Rename __unboundedrlimits parameter to rlimits in prototype.
34785 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34786 Do not use __unbounded.
34787 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34788 not use __ptrvalue.
34789 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34790 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34791 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34793 __ptrvalue or __unbounded.
34794 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34795 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34797 (__new_msgctl): Do not use __ptrvalue.
34798 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34800 (__libc_msgrcv): Do not use __ptrvalue.
34801 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34802 startup_info): Do not use __unbounded.
34803 (__libc_start_main): Likewise. Rename ubp_* variables and
34804 parameters. Remove argv definitions conditional on
34805 [__BOUNDED_POINTERS__].
34806 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34808 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34810 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34812 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34814 (__new_shmctl): Do not use __ptrvalue.
34815 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34816 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34818 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34820 (__libc_sigaction): Likewise.
34821 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34822 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34824 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34826 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
34828 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34830 * string/mempcpy.c: Implement by calling memcpy.
34832 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34840 values in the mantissa.
34842 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34843 minimize writes to Z.
34844 (sub_magnitudes): Simplify code a bit.
34846 2013-02-12 Roland McGrath <roland@hack.frob.com>
34848 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34849 from the message. The linker prefixes all warnings with that already.
34851 2013-02-12 Andreas Schwab <schwab@suse.de>
34854 * posix/regexec.c (extend_buffers): Add parameter min_len.
34855 (check_matching): Pass minimum needed length.
34856 (clean_state_log_if_needed): Likewise.
34857 (get_subexp): Likewise.
34858 * posix/Makefile (tests): Add bug-regex34.
34859 (bug-regex34-ENV): Define.
34860 * posix/bug-regex34.c: New file.
34863 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34864 elements compare against the byte sequence of it, not its name.
34865 * posix/Makefile (tests): Add bug-regex35.
34866 (bug-regex35-ENV): Define.
34867 * posix/bug-regex35.c: New file.
34869 2013-02-11 Tom de Vries <tom@codesourcery.com>
34871 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34873 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34874 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34875 (CHECK_EOL): Add undef.
34877 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
34879 * bits/stdlib-bsearch.h: New file.
34880 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34881 * stdlib/stdlib.h: Likewise.
34883 2013-02-11 Roland McGrath <roland@hack.frob.com>
34885 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34886 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34888 * manual/search.texi (Array Search Function): Add missing const in
34890 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34891 declaration to use rlim_t.
34892 (Basic Scheduling Functions): Remove erroneous const from
34893 sched_getparam prototype. Remove erroneous * from
34894 sched_get_priority_max and sched_get_priority_min prototypes.
34895 (Resource Usage): Fix summary @comment on vtimes to refer to
34896 sys/vtimes.h rather than vtimes.h.
34897 Add missing *s in vtimes prototype.
34898 (Limits on Resources): Fix ulimit prototype to return long int.
34899 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34900 prototypes to use long int rather than double.
34901 (BSD Random): Fix initstate and setstate to use char *, not void *.
34902 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34903 prototype to make second argument 'struct aiocb64 *const[]'.
34904 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34905 (Status of AIO Operations): Remove erroneous const in aio_return and
34906 aio_return64 prototypes.
34907 (Synchronizing I/O): Fix sync prototype to return void.
34908 * manual/startup.texi (Suboptions): Remove an erroneous const in
34909 getsubopt prototype.
34910 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34911 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34912 use size_t rather than int.
34913 (Scanning All Users): Likewise for getpwent_r.
34914 (Setting Groups): Add missing const to setgroups prototype.
34915 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34916 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34917 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34918 'const void *' rather than 'const char *'.
34919 (Host Address Functions): Likewise for inet_ntop.
34920 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34921 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34922 ssize_t for return value.
34923 (Sending Data): Likewise for send, sendto, sendmsg.
34924 (Socket Option Functions): Add a missing const in setsockopt prototype.
34925 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34926 use wchar_t for the argument.
34927 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34928 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34930 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34931 double/float/long double for second argument.
34932 Fix return types of significand, significandf, significandl.
34933 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34934 argument in fchmod prototype.
34935 (File Owner): Use uid_t and gid_t in fchown prototype.
34936 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34937 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34938 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34939 use 'const struct dirent **' as argument types to CMP function pointer
34941 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34942 (File Times): Fix summary magic @comment for struct utimbuf and utime
34943 to refer to utime.h, not time.h.
34944 * manual/string.texi (Argz Functions): Add missing const in
34945 argz_extract and argz_next prototypes.
34946 (Finding Tokens in a String): Likewise for basename.
34947 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34948 (Copying and Concatenation): Fix typo in wmemmove prototype.
34949 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34950 (Signal Stack): Remove erroneous const in sigstack prototype.
34951 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34953 (Simple Calendar Time): Likewise for stime.
34954 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34956 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34957 say sys/sysctl.h instead.
34958 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34959 and vsyslog prototypes.
34961 2013-02-11 Tom de Vries <tom@codesourcery.com>
34963 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34966 2013-02-11 Roland McGrath <roland@hack.frob.com>
34968 * misc/sys/mman.h: Fix typo in mremap comment.
34970 2013-02-08 Roland McGrath <roland@hack.frob.com>
34972 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34973 the '\0' terminator.
34975 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34978 * debug/segfault.c: Don't include <bp-checks.h>.
34979 * sysdeps/generic/bp-checks.h: Remove file.
34980 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34981 (__GETDENTS): Don't use CHECK_N.
34982 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34983 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34984 (__getgroups): Don't use CHECK_N.
34985 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34986 (setgroups): Don't use CHECK_N.
34987 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34988 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34989 (__libc_msgrcv): Don't use CHECK_N.
34990 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34991 (__libc_msgsnd): Don't use CHECK_N.
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34994 (__libc_pread): Don't use CHECK_N.
34995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34996 include <bp-checks.h>.
34997 (__libc_pread64): Don't use CHECK_N.
34998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34999 include <bp-checks.h>.
35000 (__libc_pwrite): Don't use CHECK_N.
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35002 include <bp-checks.h>.
35003 (__libc_pwrite64): Don't use CHECK_N.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35006 (__libc_pread): Don't use CHECK_N.
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35008 include <bp-checks.h>.
35009 (__libc_pread64): Don't use CHECK_N.
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35011 include <bp-checks.h>.
35012 (__libc_pwrite): Don't use CHECK_N.
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35014 include <bp-checks.h>.
35015 (__libc_pwrite64): Don't use CHECK_N.
35016 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35017 (do_pread): Don't use CHECK_N.
35018 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35019 (do_pread64): Don't use CHECK_N.
35020 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35021 (do_pwrite): Don't use CHECK_N.
35022 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35023 (do_pwrite64): Don't use CHECK_N.
35024 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35025 (__libc_readv): Don't use CHECK_N.
35026 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35027 (semop): Don't use CHECK_N.
35028 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35030 (semtimedop): Don't use CHECK_N.
35031 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35032 (__libc_pread): Don't use CHECK_N.
35033 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35035 (__libc_pread64): Don't use CHECK_N.
35036 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35038 (__libc_pwrite): Don't use CHECK_N.
35039 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35041 (__libc_pwrite64): Don't use CHECK_N.
35042 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35044 (__libc_msgrcv): Don't use CHECK_N.
35045 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35046 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35047 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35048 (__libc_writev): Don't use CHECK_N.
35050 2013-02-08 Roland McGrath <roland@hack.frob.com>
35052 * string/strcpy.c: Removed unused variable.
35054 * Makeconfig (+sysdep-includes): Define with := rather than =.
35055 Use an existing include/ subdir of each sysdeps dir before it.
35057 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35059 * nscd/connection.c (register_traced_file): Comment function.
35060 [HAVE_INOTIFY] (union __inev): Define.
35061 [HAVE_INOTIFY] (inotify_check_files): New function.
35062 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35063 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35065 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35067 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35069 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35070 loaded if not already and that a failure is permanent.
35072 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35075 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35076 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35078 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35081 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35082 (CHECK_1_NULL_OK): Likewise.
35083 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35084 (__fxstat): Do not use CHECK_1.
35085 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35087 (___fxstat64): Do not use CHECK_1.
35088 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35090 (__fxstatat): Do not use CHECK_1.
35091 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35093 (__fxstatat64): Do not use CHECK_1.
35094 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35096 (__fxstat): Do not use CHECK_1.
35097 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35099 (__fxstatat): Do not use CHECK_1.
35100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35102 (__getresgid): Do not use CHECK_1.
35103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35105 (__getresuid): Do not use CHECK_1.
35106 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35108 (__lxstat): Do not use CHECK_1.
35109 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35111 (__old_msgctl): Do not use CHECK_1.
35112 (__new_msgctl): Likewise.
35113 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35115 (__new_setrlimit): Do not use CHECK_1.
35116 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35118 (__old_shmctl): Do not use CHECK_1.
35119 (__new_shmctl): Likewise.
35120 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35122 (__xstat): Do not use CHECK_1.
35123 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35124 (__lxstat): Do not use CHECK_1.
35125 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35127 (___lxstat64): Do not use CHECK_1.
35128 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35129 (__old_msgctl): Do not use CHECK_1.
35130 (__new_msgctl): Likewise.
35131 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35133 (__gettimeofday): Do not use CHECK_1.
35134 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35135 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35136 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35138 (__gettimeofday): Do not use CHECK_1.
35139 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35140 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35141 (__new_shmctl): Do not use CHECK_1.
35142 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35144 (do_sigtimedwait): Do not use CHECK_1.
35145 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35147 (do_sigwaitinfo): Do not use CHECK_1.
35148 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35150 (msgctl): Do not use CHECK_1.
35151 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35153 (shmctl): Do not use CHECK_1.
35154 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35155 (ustat): Do not use CHECK_1.
35156 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35158 (__fxstat): Do not use CHECK_1.
35159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35161 (__fxstatat): Do not use CHECK_1.
35162 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35164 (__lxstat): Do not use CHECK_1.
35165 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35167 (__xstat): Do not use CHECK_1.
35168 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35169 (__xstat): Do not use CHECK_1.
35170 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35171 (___xstat64): Do not use CHECK_1.
35174 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35176 (CHECK_BOUNDS_HIGH): Likewise.
35177 * string/strcpy.c: Do not include <bp-checks.h>.
35178 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35180 2013-02-07 Roland McGrath <roland@hack.frob.com>
35182 * nscd/nscd-client.h (__nscd_drop_map_ref):
35183 Add __attribute__ ((unused)).
35184 * nis/nss-nisplus.h (niserr2nss): Likewise.
35186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35187 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35189 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35190 Remove inline keyword.
35191 * include/rounding-mode.h (round_away): Likewise.
35192 * libio/wfileops.c (adjust_wide_data): Likewise.
35193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35194 (__m128i_strloadu_tolower): Likewise.
35195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35196 (__m128i_strloadu_tolower): Likewise.
35197 * time/mktime.c (ydhms_diff): Likewise.
35198 * locale/elem-hash.h (elem_hash): Likewise.
35199 * locale/setlocale.c (setdata): Likewise.
35200 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35201 (re_string_wchar_at): Likewise.
35202 (bitset_not, bitset_merge, bitset_mask): Likewise.
35203 [!(__GNUC__ > 3)] (inline): Remove macro.
35204 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35205 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35206 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35207 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35208 * string/memcmp.c (memcmp_bytes): Likewise.
35209 * locale/programs/locarchive.c (compute_hashval): Likewise.
35210 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35211 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35212 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35213 * nss/getent.c (print_rpc, print_protocols): Likewise.
35214 (print_passwd, print_group, print_aliases): Likewise.
35215 * nis/nss-nisplus.h (niserr2nss): Likewise.
35216 * nscd/connections.c (restart_p): Likewise.
35217 Change return type to bool.
35219 2013-02-05 Roland McGrath <roland@hack.frob.com>
35221 * Makeconfig (all-Depend-files): Add existing
35222 $(sorted-subdirs:=/Depend) files.
35223 (all-subdirs): Remove nss.
35224 * sysdeps/unix/inet/Subdirs: Add it here instead.
35225 * hesiod/Depend: New file.
35227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35228 instead of calling alloca.
35230 * io/lseek.c (__lseek): Rename to __libc_lseek.
35231 Define __lseek as an alias.
35233 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35235 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35237 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35238 else clause and remove check for non-standard endianness.
35240 2013-02-04 David S. Miller <davem@davemloft.net>
35242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35244 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35247 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35248 (__ubp_memchr): Remove prototype.
35249 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35250 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35251 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35252 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35253 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35255 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35256 (__ubp_memchr): Likewise.
35257 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35258 (__ubp_memchr): Likewise.
35259 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35260 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35261 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35262 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35264 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35265 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35266 (__getcwd): Do not use CHECK_STRING.
35267 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35269 (__real_chown): Do not use CHECK_STRING.
35270 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35272 (fchownat): Do not use CHECK_STRING.
35273 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35275 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35277 (__lchown): Do not use CHECK_STRING.
35278 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35279 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35280 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35281 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35283 include <bp-checks.h>.
35284 (truncate64): Do not use CHECK_STRING.
35285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35287 (__real_chown): Do not use CHECK_STRING.
35288 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35290 (__lchown): Do not use CHECK_STRING.
35291 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35293 (__chown): Do not use CHECK_STRING.
35294 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35296 (truncate64): Do not use CHECK_STRING.
35297 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35299 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35300 (__xmknod): Do not use CHECK_STRING.
35301 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35303 (__xmknodat): Do not use CHECK_STRING.
35304 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35305 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35307 2013-02-04 Andreas Schwab <schwab@suse.de>
35310 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35311 * include/netdb.h: Likewise for h_errno.
35312 * elf/tst-stackguard1.c: Include <tls.h>.
35314 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35316 * elf/link.h (struct link_map): Extend the l_addr comment.
35317 * include/link.h (struct link_map): Likewise.
35319 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35322 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35323 (BOUNDED_1): Remove macro.
35324 * debug/backtrace.c: Don't include <bp-checks.h>.
35325 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35326 (__backtrace): Likewise.
35327 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35329 (__backtrace): Don't use BOUNDED_1.
35330 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35332 (__backtrace): Don't use BOUNDED_1.
35333 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35334 (__backtrace): Don't use BOUNDED_1.
35335 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35336 (shmat): Don't use BOUNDED_N.
35338 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35341 * sysdeps/generic/bp-start.h: Remove file.
35342 * csu/libc-start.c: Don't include <bp-start.h>.
35343 (LIBC_START_MAIN): Set up __environ directly instead of using
35344 INIT_ARGV_and_ENVIRON.
35345 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35349 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35351 (CHECK_FCNTL): Likewise.
35352 (CHECK_N_PAGES): Likewise.
35355 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35357 (CHECK_SIGSET_NULL_OK): Likewise.
35358 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35360 (sigpending): Don't use CHECK_SIGSET.
35361 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35363 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35364 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35366 (do_sigsuspend): Don't use CHECK_SIGSET.
35367 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35369 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35370 (do_sigwait): Don't use CHECK_SIGSET.
35371 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35374 include <bp-checks.h>.
35375 (sigpending): Don't use CHECK_SIGSET.
35376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35377 include <bp-checks.h>.
35378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35379 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35381 (sigpending): Don't use CHECK_SIGSET.
35382 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35387 * sysdeps/generic/bp-semctl.h: Remove file.
35388 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35389 <bp-checks.h> and <bp-semctl.h>.
35390 (__old_semctl): Don't use CHECK_SEMCTL.
35391 (__new_semctl): Likewise.
35392 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35394 (__old_semctl): Don't use CHECK_SEMCTL.
35395 (__new_semctl): Likewise.
35396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35397 <bp-checks.h> and <bp-semctl.h>.
35398 (__old_semctl): Don't use CHECK_SEMCTL.
35399 (__new_semctl): Likewise.
35400 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35401 <bp-checks.h> and <bp-semctl.h>.
35402 (semctl): Don't use CHECK_SEMCTL.
35405 * Makerules (elide-bp-thunks): Remove variable.
35406 (elide-routines.oS): Don't use $(elide-bp-thunks).
35407 (elide-routines.os): Likewise.
35408 (elide-routines.o): Likewise.
35409 (elide-routines.op): Likewise.
35410 (elide-routines.og): Likewise.
35411 (objects): Don't use $(bp-thunks).
35412 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35414 (common-generated): Do not add s-proto-bp.d.
35415 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35418 Do not generate makefile rules for bounded-pointer thunks.
35419 * sysdeps/generic/bp-thunks.h: Remove file.
35420 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35421 * sysdeps/unix/s-proto-bp.S: Likewise.
35424 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35425 parts of result separately when argument is not close to line from
35426 -i to i and one part of argument is small.
35427 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35428 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35429 * math/libm-test.inc (cacos_test): Add more tests.
35430 (casin_test): Likewise.
35431 (casinh_test): Likewise.
35432 * sysdeps/i386/fpu/libm-test-ulps: Update.
35433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35435 2013-01-31 David S. Miller <davem@davemloft.net>
35437 * po/de.po: Update from translation team.
35439 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35441 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35443 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35445 * configure.in (_AC_PROG_CC_C89): New definition.
35446 * configure: Regenerate.
35448 * configure.in (AC_PROG_CPP): New definition.
35449 * configure: Regenerate.
35451 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35453 * debug/tst-backtrace.h: New file.
35454 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35455 (ret): Remove variable.
35457 (FAIL): Remove macro.
35458 (NO_INLINE): Likewise.
35459 (fn1): Use match function instead of strstr.
35460 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35461 (ret): Remove variable.
35463 (FAIL): Remove macro.
35464 (NO_INLINE): Likewise.
35465 (fn): Use match function instead of strstr.
35466 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35467 (ret): Remove variable.
35469 (FAIL): Remove macro.
35470 (NO_INLINE): Likewise.
35471 (handle_signal): Use match function instead of strstr.
35472 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35473 (ret): Remove variable.
35475 (FAIL): Remove macro.
35476 (NO_INLINE): Likewise.
35477 (handle_signal): Use match function instead of strstr.
35479 2013-01-23 Roland McGrath <roland@hack.frob.com>
35481 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35483 2013-01-23 David S. Miller <davem@davemloft.net>
35485 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35486 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35487 argument of CAS if possible.
35488 * sysdeps/sparc/sparc64/bits/atomic.h
35489 (__arch_compare_and_exchange_val_32_acq): Likewise.
35490 (__arch_compare_and_exchange_val_64_acq): Likewise.
35492 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35494 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35495 * sysdeps/posix/ulimit.c: ... this.
35496 Include <limits.h>.
35497 * sysdeps/unix/bsd/ulimit.c: Remove file.
35499 2013-01-23 Adam Conrad <adconrad@0c3.net>
35501 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35502 (LDFLAGS-tst-array5): Likewise.
35504 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35507 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35508 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35509 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35512 2013-01-21 David S. Miller <davem@davemloft.net>
35514 * sysdeps/sparc/backtrace.c: New file.
35515 * sysdeps/sparc/sparc32/backtrace.h: New file.
35516 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35517 * sysdeps/sparc/sparc64/backtrace.h: New file.
35518 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35519 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35522 2013-01-21 Andreas Schwab <schwab@suse.de>
35525 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35528 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35534 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35535 Mark Mitchell <mark@codesourcery.com>
35536 Tom de Vries <tom@codesourcery.com>
35537 Paul Pluzhnikov <ppluzhnikov@google.com>
35539 * debug/tst-backtrace2.c: New file.
35540 * debug/tst-backtrace3.c: Likewise.
35541 * debug/tst-backtrace4.c: Likewise.
35542 * debug/tst-backtrace5.c: Likewise.
35543 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35544 (CFLAGS-tst-backtrace3.c): Likewise.
35545 (CFLAGS-tst-backtrace4.c): Likewise.
35546 (CFLAGS-tst-backtrace5.c): Likewise.
35547 (LDFLAGS-tst-backtrace2): Likewise.
35548 (LDFLAGS-tst-backtrace3): Likewise.
35549 (LDFLAGS-tst-backtrace4): Likewise.
35550 (LDFLAGS-tst-backtrace5): Likewise.
35551 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35552 tst-backtrace4 and tst-backtrace5.
35554 2013-01-18 Anton Blanchard <anton@samba.org>
35555 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35557 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35558 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35560 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35562 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35563 "+r" and remove output regs list as redundant. Add explicit inline
35564 asm to specify register of return val to work around compiler codegen
35565 bug. Remove (int) cast on return value. Add return type parameter to
35566 use in macro so that this macro does not truncate return value for
35568 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35569 pass to INTERNAL_VSYSCALL_NCS.
35570 (INLINE_VSYSCALL): Add 'long int' as return type to
35571 INTERNAL_VSYSCALL_NCS macro invocation.
35572 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35573 INTERNAL_VSYSCALL_NCS macro invocation.
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35576 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35579 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35580 Fix application of SIMD FP exception mask.
35582 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35583 mp_no from a power of two.
35584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35585 __mpexp_twomm1. Use __pow_mp.
35587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35590 2013-01-17 David S. Miller <davem@davemloft.net>
35592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35594 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35597 * include/complex.h: Condition contents on [!_COMPLEX_H].
35598 (__kernel_casinhf): New prototype.
35599 (__kernel_casinh): Likewise.
35600 (__kernel_casinhl): Likewise.
35601 * math/Makefile (libm_calls): Add k_casinh.
35602 * math/k_casinh.c: New file.
35603 * math/k_casinhf.c: Likewise.
35604 * math/k_casinhl.c: Likewise.
35605 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35606 finite nonzero arguments.
35607 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35608 finite nonzero arguments.
35609 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35610 finite nonzero arguments.
35611 * math/s_casinh.c: Do not include <float.h>.
35612 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35613 * math/s_casinhf.c: Do not include <float.h>.
35614 (__casinhf): Move code for finite nonzero arguments to
35616 * math/s_casinhl.c: Do not include <float.h>.
35617 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35619 (__casinhl): Move code for finite nonzero arguments to
35621 * math/libm-test.inc (cacos_test): Add more tests.
35622 * sysdeps/i386/fpu/libm-test-ulps: Update.
35623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35625 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35627 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35628 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35629 [!HAVE_MREMAP]: Remove [defined linux] case.
35630 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35632 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35634 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35636 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35638 * elf/elf.h (R_386_SIZE32): New relocation.
35639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35641 (elf_machine_rela): Likewise.
35642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35643 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35645 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35647 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35648 (FP_FAST_FMA): Do not define.
35649 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35650 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35651 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35652 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35653 !_SOFT_FLOAT]: Likewise.
35654 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35658 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35660 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35661 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35662 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35665 2013-01-16 Andreas Schwab <schwab@suse.de>
35668 * include/stdlib.h (__mktemp): Add declaration.
35669 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35670 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35672 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35674 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35676 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35677 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35678 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35680 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35681 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35685 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35686 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35689 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35690 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35692 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35694 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35696 2013-01-15 David S. Miller <davem@davemloft.net>
35698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35699 trunc{,f} to libm-sysdep_routes.
35700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35710 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35711 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35713 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35714 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35715 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35718 nearbyint{,f} to libm-sysdep_routes.
35719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35736 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35737 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35740 libc_feholdexcept and libc_fesetenv.
35742 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35744 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35746 2013-01-14 David S. Miller <davem@davemloft.net>
35748 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35749 (SPARC_ASM_VIS2_IFUNC): Likewise.
35750 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35752 use of 'siam' instruction.
35753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35786 routines to libm-sysdep_routines.
35787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35790 fdim/fdimf to libm-sysdep_routines.
35791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35799 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35800 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35804 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35806 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35807 to optimize copies.
35809 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35814 local variable MPTWO.
35815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35818 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35820 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35823 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35825 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35827 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35829 * manual/pattern.texi (glob_t): Document gl_flags.
35830 (glob64_t): Likewise.
35832 2013-01-11 David S. Miller <davem@davemloft.net>
35834 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35835 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35836 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
35837 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35838 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35839 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35840 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35841 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35842 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35843 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35844 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35845 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35846 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35849 sparc V9 rather than using V8 code.
35850 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35851 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35853 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35858 2013-01-11 Roland McGrath <roland@hack.frob.com>
35860 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35861 not in the main loop.
35862 * configure: Regenerated.
35864 2013-01-11 Joseph Myers <joseph@codesourcery.com>
35866 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35867 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35869 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35870 [!__GLIBC_HAVE_LONG_LONG] case.
35871 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35872 condition to just #else.
35873 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35874 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35875 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35876 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35878 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35879 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35880 #elif condition to just #else.
35881 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35882 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35883 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35884 #elif condition to just #else.
35886 2013-01-11 Steve Ellcey <sellcey@mips.com>
35888 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35889 (EF_MIPS_ARCH_64): Fix value.
35890 (EF_MIPS_ARCH_32R2): New.
35891 (EF_MIPS_ARCH_64R2): New.
35893 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35895 * Makeconfig (+link-pie-before-libc): New.
35896 (+link-pie-after-libc): Likewise.
35897 (+link-pie-tests): Likewise.
35898 (+link-pie): Rewritten.
35899 (link-before-libc): Remove $(config-LDFLAGS).
35900 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35901 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35902 (config-LDFLAGS): Renamed to ...
35903 (rtld-LDFLAGS): This.
35904 (rtld-tests-LDFLAGS): New macro.
35905 (link-libc-rpath-link): Likewise.
35906 (link-libc-tests-rpath-link): Likewise.
35907 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35908 (link-libc): Prepand $(link-libc-rpath-link).
35909 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35910 (test-program-prefix): New macro.
35911 (test-via-rtld-prefix): Likewise.
35912 (test-program-cmd): Likewise.
35913 (host-test-program-cmd): Likewise.
35914 * Makefile ($(common-objpfx)testrun.sh): Replace
35915 $(run-program-prefix) with $(test-program-prefix).
35916 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35918 ($(common-objpfx)shlib.lds): Likewise.
35919 (build-module-helper): Likewise.
35920 ($(common-objpfx)format.lds): Likewise.
35921 * Rules (binaries-pie-tests): New.
35922 (binaries-pie-notests): Likewise.
35923 (binaries-pie): Rewritten.
35924 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35925 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35926 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35927 (make-test-out): Replace $(host-built-program-cmd) with
35928 $(host-test-program-cmd).
35929 * config.make.in (build-hardcoded-path-in-tests): New variable.
35930 * configure.in (--enable-hardcoded-path-in-tests): New configure
35932 (hardcoded_path_in_tests): New AC_SUBST.
35933 * configure: Regenerated.
35934 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35935 $(built-program-cmd) with $(test-program-cmd).
35936 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35937 (test_program_cmd): This.
35938 * elf/Makefile ($(objpfx)order.out): Run test with
35939 $(test-program-prefix).
35940 ($(objpfx)order2.out): Likewise.
35941 ($(objpfx)tst-initorder.out): Likewise.
35942 ($(objpfx)tst-initorder2.out): Likewise.
35943 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35944 $(test-program-cmd).
35945 ($(objpfx)tst-array1-static.out): Likewise.
35946 ($(objpfx)tst-array2.out): Likewise.
35947 ($(objpfx)tst-array3.out): Likewise.
35948 ($(objpfx)tst-array4.out): Likewise.
35949 ($(objpfx)tst-array5.out): Likewise.
35950 ($(objpfx)tst-array5-static.out): Likewise.
35951 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35952 $(test-program-cmd).
35953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35954 $(run-program-prefix) with $(test-program-prefix).
35955 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35956 (test_program_prefix): This.
35957 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35958 $(run-program-prefix) with $(test-program-prefix).
35959 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35960 (test_program_prefix): This.
35961 * iconvdata/tst-tables.sh: Likewise.
35962 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35963 $(run-program-prefix) with $(test-program-prefix).
35964 ($(objpfx)tst-translit.out): Likewise.
35965 ($(objpfx)tst-gettext2.out): Likewise.
35966 ($(objpfx)tst-gettext4.out): Likewise.
35967 ($(objpfx)tst-gettext6.out): Likewise.
35968 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35969 (test_program_prefix): This.
35970 * intl/tst-gettext2.sh: Likewise.
35971 * intl/tst-gettext4.sh Likewise.
35972 * intl/tst-gettext6.sh: Likewise.
35973 * intl/tst-translit.sh: Likewise.
35974 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35975 with $(test-program-cmd).
35976 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35977 $(run-program-prefix) with $(test-program-prefix).
35978 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35979 (test_program_prefix): This.
35980 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35981 $(run-program-prefix) with $(test-program-prefix).
35982 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35983 (test_program_prefix): This.
35984 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35985 * posix/Makefile ($(objpfx)globtest.out): Replace
35986 $(run-via-rtld-prefix) and $(test-wrapper) with
35987 $(test-program-prefix) and $(test-via-rtld-prefix).
35988 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35989 $(test-program-prefix).
35990 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35991 $(host-test-program-cmd).
35992 (tst-spawn-ARGS): Likewise.
35993 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35994 $(test-program-prefix).
35995 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35996 (test_via_rtld_prefix): This.
35997 (test_wrapper): Renamed to ...
35998 (test_program_prefix): This.
35999 (run_program_prefix): Replaced by test_program_prefix.
36000 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36001 (test_program_prefix): This.
36002 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36003 with $(host-test-program-cmd).
36004 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36005 $(run-program-prefix) with $(test-program-prefix).
36006 ($(objpfx)tst-printf.out): Likewise.
36007 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36008 $(test-program-cmd).
36009 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36010 (test_program_prefix): This.
36011 * stdio-common/tst-unbputc.sh: Likewise.
36012 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36013 $(run-program-prefix) with $(test-program-prefix).
36014 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36015 (test_program_prefix): This.
36016 * string/Makefile ($(objpfx)tst-svc.out): Replace
36017 $(built-program-cmd) with $(test-program-cmd).
36019 2013-01-11 Andreas Jaeger <aj@suse.de>
36022 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36023 value. Sync with Linux 3.7.
36025 2013-01-10 David S. Miller <davem@davemloft.net>
36027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36028 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36029 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36031 2013-01-10 Roland McGrath <roland@hack.frob.com>
36033 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36035 * configure: Regenerated.
36037 2013-01-10 David S. Miller <davem@davemloft.net>
36039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36040 sparc V9 rather than using V8 code.
36041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36044 2013-01-10 Roland McGrath <roland@hack.frob.com>
36046 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36047 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36048 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36049 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36050 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36051 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36052 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36053 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36054 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36055 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36056 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36057 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36058 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36059 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36060 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36061 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36062 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36063 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36064 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36065 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36066 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36067 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36068 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36069 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36070 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36071 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36072 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36074 2013-01-10 David S. Miller <davem@davemloft.net>
36076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36078 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36080 * posix/Makefile (tests-static): New variable.
36081 (tests): Add $(tests-static).
36082 (tst-exec-static-ARGS): New variable.
36083 (tst-spawn-static-ARGS): Likewise.
36084 * posix/tst-exec-static.c: New file.
36085 * posix/tst-spawn-static.c: Likewise.
36086 * posix/tst-exec.c: Support run directly.
36087 * posix/tst-spawn.c: Likewise.
36089 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36091 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36093 * math/bits/mathcalls.h (llrint): Likewise.
36094 (llround): Likewise.
36095 * stdlib/stdlib.h (struct drand48_data): Likewise.
36096 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36097 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36098 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36100 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36102 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36103 (elf_greg_t): Likewise.
36104 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36105 (__jmp_buf): Likewise.
36106 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36108 (llrint): Likewise, for all definitions.
36109 (llrintl): Likewise.
36111 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36112 Remove [__GNUC__] condition.
36113 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36114 condition to just [__USE_ISOC99].
36115 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36117 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36120 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36121 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36123 (_POSIX_V6_ILP32_OFF32): Likewise.
36124 (_XBS5_ILP32_OFF32): Likewise.
36125 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36126 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36128 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36130 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36133 doubles __mpexp_twomm1. Adjust usage.
36134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36137 2013-01-10 Andreas Schwab <schwab@suse.de>
36140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36141 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36143 2013-01-09 David S. Miller <davem@davemloft.net>
36146 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36147 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36148 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36149 (TCP_FASTOPEN): Define.
36150 (tcp_repair_opt): New structure.
36151 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36153 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36154 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36155 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36156 (tcp_cookie_transactions): New structure.
36158 2013-01-09 Anton Blanchard <anton@samba.org>
36160 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36161 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36163 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36165 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36167 * include/features.h (__USE_ANSI): Remove.
36169 2013-01-09 Roland McGrath <roland@hack.frob.com>
36171 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36173 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36175 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36177 * sysdeps/s390/fpu/libm-test-ulps: Update.
36179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36181 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36185 (denorm): Likewise.
36186 (__mp_dbl): Likewise.
36187 (__dbl_mp): Likewise.
36188 (add_magnitudes): Likewise.
36189 (sub_magnitudes): Likewise.
36195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36199 (denorm): Likewise.
36200 (__mp_dbl): Likewise.
36201 (__dbl_mp): Likewise.
36202 (add_magnitudes): Likewise.
36203 (sub_magnitudes): Likewise.
36209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36213 (denorm): Likewise.
36214 (__mp_dbl): Likewise.
36215 (__dbl_mp): Likewise.
36216 (add_magnitudes): Likewise.
36217 (sub_magnitudes): Likewise.
36224 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36226 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36227 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36228 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36229 2 && __USE_EXTERN_INLINES]: Likewise.
36231 2013-01-08 Andreas Jaeger <aj@suse.de>
36234 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36236 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36237 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36239 2013-01-07 Anton Blanchard <anton@samba.org>
36241 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36242 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36243 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36244 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36245 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36246 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36247 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36255 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36259 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36261 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36262 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36264 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36265 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36267 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36270 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36271 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36274 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36275 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36283 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36285 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36287 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36288 (__MALLOC_PMT): Likewise.
36289 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36290 [__GNUC__], only on [_LIBC].
36291 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36292 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36293 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36294 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36295 forward declaration.
36296 (realloc_hook_ini): Likewise.
36297 (memalign_hook_ini): Likewise.
36298 (__libc_memalign): Do not use __MALLOC_PMT in variable
36300 (__libc_valloc): Likewise.
36301 (__libc_pvalloc): Likewise.
36302 (__libc_calloc): Likewise.
36303 (__posix_memalign): Likewise.
36306 * math/s_casinh.c: Include <float.h>.
36307 (__casinh): Do not do computation with squaring and square root
36308 for large arguments.
36309 * math/s_casinhf.c: Include <float.h>.
36310 (__casinhf): Do not do computation with squaring and square root
36311 for large arguments.
36312 * math/s_casinhl.c: Include <float.h>.
36313 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36314 (__casinhl): Do not do computation with squaring and square root
36315 for large arguments.
36316 * math/libm-test.inc (casin_test): Add more tests.
36317 (casinh_test): Likewise.
36318 * sysdeps/i386/fpu/libm-test-ulps: Update.
36319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36321 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36323 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36324 (__x86_64_raw_data_cache_size): Likewise.
36325 (__x86_64_data_cache_size_half): Likewise.
36326 (__x86_64_raw_data_cache_size_half): Likewise.
36327 (__x86_64_shared_cache_size): Likewise.
36328 (__x86_64_raw_shared_cache_size): Likewise.
36329 (__x86_64_shared_cache_size_half): Likewise.
36330 (__x86_64_raw_shared_cache_size_half): Likewise.
36331 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36333 (__x86_data_cache_size): This.
36334 (__x86_64_raw_data_cache_size): Renamed to ...
36335 (__x86_raw_data_cache_size): This.
36336 (__x86_64_data_cache_size_half): Renamed to ...
36337 (__x86_data_cache_size_half): This.
36338 (__x86_64_raw_data_cache_size_half): Renamed to ...
36339 (__x86_raw_data_cache_size_half): This.
36340 (__x86_64_shared_cache_size): Renamed to ...
36341 (__x86_shared_cache_size): This.
36342 (__x86_64_raw_shared_cache_size): Renamed to ...
36343 (__x86_raw_shared_cache_size): This.
36344 (__x86_64_shared_cache_size_half): Renamed to ...
36345 (__x86_shared_cache_size_half): This.
36346 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36347 (__x86_raw_shared_cache_size_half): This.
36348 * sysdeps/x86_64/memcpy.S: Updated.
36349 * sysdeps/x86_64/memset.S: Likewise.
36350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36354 2013-01-04 David S. Miller <davem@davemloft.net>
36356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36358 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36361 1 to avoid redefinition warning.
36362 (__USE_GNU): Don't define.
36363 (init_signaling_nan): Protoize.
36365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36367 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36369 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36371 (__cpymn): Likewise.
36372 (norm): Remove commented code.
36373 (denorm): Likewise.
36374 (__mp_dbl): Likewise.
36376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36377 (__cpymn): Likewise.
36378 (norm): Remove commented code.
36379 (denorm): Likewise.
36380 (__mp_dbl): Likewise.
36383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36384 mp_no value for 1.0 and 2.0.
36385 (norm): Use RADIXI instead of radixi.d.
36386 (denorm): Likewise.
36387 (__mul): Use 0.0 instead of zero.d.
36388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36389 mp_no value for 1.0 and 2.0.
36390 (norm): Use RADIXI instead of radixi.d.
36391 (denorm): Likewise.
36392 (__mul): Use 0.0 instead of zero.d.
36394 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36397 * math/s_casinh.c (__casinh): Reduce finite argument to first
36398 quadrant then set signs of results at the end.
36399 * math/s_casinhf.c (__casinhf): Likewise.
36400 * math/s_casinhl.c (__casinhl): Likewise.
36401 * math/libm-test.inc (casin_test): Add more tests.
36402 (casinh_test): Likewise.
36403 * sysdeps/i386/fpu/libm-test-ulps: Update.
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36406 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36408 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36410 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36412 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36414 (denorm): Likewise.
36415 (__mp_dbl): Likewise.
36418 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36419 and adjust the header comment.
36421 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36422 variable name from declaration.
36424 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36427 Initialize COMMON_CPUID_INDEX_7 element.
36428 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36429 (CPUID_RTM): Likewise.
36430 (HAS_RTM): Likewise.
36431 (COMMON_CPUID_INDEX_7): New enum.
36433 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36436 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36437 size is zero, record memory as freed.
36439 2013-01-03 Andreas Jaeger <aj@suse.de>
36441 * po/ia.po: Add new Interlingua translation.
36443 2012-01-03 Allan McRae <allan@archlinux.org>
36445 * locale/programs/localedef.c: Fix description of '--posix' flag.
36447 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36449 * NEWS: Update dates in second copyright notice.
36450 * README: Update copyright dates in example.
36451 * manual/libc.texinfo: Update copyright dates.
36452 * scripts/test-installation.pl: Update copyright date in --version
36455 * hurd/ctty-input.c: Fix copyright notice formatting.
36456 * hurd/ctty-output.c: Likewise.
36457 * hurd/dtable.c: Likewise.
36458 * hurd/hurd-raise.c: Likewise.
36459 * hurd/hurdprio.c: Likewise.
36460 * hurd/msgportdemux.c: Likewise.
36461 * misc/sys/file.h: Likewise.
36462 * misc/sys/ioctl.h: Likewise.
36463 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36464 * sysdeps/mach/hurd/chdir.c: Likewise.
36465 * sysdeps/mach/hurd/fchdir.c: Likewise.
36466 * sysdeps/mach/hurd/rename.c: Likewise.
36467 * sysdeps/mach/hurd/rmdir.c: Likewise.
36468 * sysdeps/mach/hurd/seekdir.c: Likewise.
36469 * sysdeps/mach/hurd/setsid.c: Likewise.
36470 * sysdeps/posix/wait3.c: Likewise.
36472 * All files with FSF copyright notices: Update copyright dates
36473 using scripts/update-copyrights.
36474 * intl/plural.c: Regenerated.
36475 * locale/programs/charmap-kw.h: Likewise.
36476 * locale/programs/locfile-kw.h: Likewise.
36478 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36483 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36484 calculation loop and add branch prediction.
36486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36487 check access beyond bounds of m1np.
36489 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36491 (__inv): Remove local variable MPTWO to use the global
36493 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36496 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36497 MP3HALFS static const.
36499 2013-01-01 David S. Miller <davem@davemloft.net>
36501 * po/ca.po: Update from translation team.
36503 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36505 * scripts/update-copyrights: New file.
36506 * Makeconfig: Reformat copyright notice.
36507 * ctype/ctype.h: Likewise.
36508 * debug/swprintf_chk.c: Likewise.
36509 * elf/dl-cache.c: Likewise.
36510 * elf/dl-debug.c: Likewise.
36511 * elf/dl-object.c: Likewise.
36512 * grp/initgroups.c: Likewise.
36513 * hurd/Makefile: Likewise.
36514 * hurd/hurd/signal.h: Likewise.
36515 * hurd/hurdfault.c: Likewise.
36516 * hurd/hurdioctl.c: Likewise.
36517 * hurd/hurdlookup.c: Likewise.
36518 * hurd/intr-msg.c: Likewise.
36519 * iconv/gconv_open.c: Likewise.
36520 * libio/swprintf.c: Likewise.
36521 * locale/lc-ctype.c: Likewise.
36522 * locale/nl_langinfo.c: Likewise.
36523 * mach/Machrules: Likewise.
36524 * mach/Makefile: Likewise.
36525 * malloc/obstack.h: Likewise.
36526 * manual/Makefile: Likewise.
36527 * manual/tsort.awk: Likewise.
36528 * misc/bits/stab.def: Likewise.
36529 * nis/nis_print_group_entry.c: Likewise.
36530 * nis/nis_table.c: Likewise.
36531 * nis/nss_compat/compat-pwd.c: Likewise.
36532 * nis/nss_compat/compat-spwd.c: Likewise.
36533 * po/Makefile: Likewise.
36534 * posix/fnmatch.c: Likewise.
36535 * posix/regex.h: Likewise.
36536 * resolv/Makefile: Likewise.
36537 * resolv/nss_dns/dns-network.c: Likewise.
36538 * resolv/res_hconf.c: Likewise.
36539 * scripts/gen-sorted.awk: Likewise.
36540 * soft-fp/soft-fp.h: Likewise.
36541 * stdio-common/printf.h: Likewise.
36542 * stdlib/monetary.h: Likewise.
36543 * stdlib/random.c: Likewise.
36544 * stdlib/random_r.c: Likewise.
36545 * sysdeps/generic/Makefile: Likewise.
36546 * sysdeps/gnu/Makefile: Likewise.
36547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36570 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36575 * sysdeps/mach/hurd/errnos.awk: Likewise.
36576 * sysdeps/mach/hurd/fork.c: Likewise.
36577 * sysdeps/mach/hurd/getcwd.c: Likewise.
36578 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36579 * sysdeps/mach/hurd/mmap.c: Likewise.
36580 * sysdeps/mach/hurd/utimes.c: Likewise.
36581 * sysdeps/mach/hurd/xmknod.c: Likewise.
36582 * sysdeps/posix/profil.c: Likewise.
36583 * sysdeps/posix/readdir_r.c: Likewise.
36584 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36585 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36586 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36587 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36589 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36590 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36593 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36594 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36595 * sysdeps/pthread/lio_listio.c: Likewise.
36596 * sysdeps/sparc/dl-procinfo.h: Likewise.
36597 * sysdeps/unix/i386/sysdep.S: Likewise.
36598 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36599 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36600 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36601 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36603 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36604 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36605 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36606 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36607 * sysdeps/wordsize-32/divdi3.c: Likewise.
36608 * time/sys/time.h: Likewise.
36609 * wcsmbs/Makefile: Likewise.
36611 2013-01-01 David S. Miller <davem@davemloft.net>
36613 * po/fr.po: Update from translation team.
36615 * catgets/gencat.c: Update copyright year.
36616 * csu/version.c: Likewise.
36617 * debug/catchsegv.sh: Likewise.
36618 * debug/pcprofiledump.c: Likewise.
36619 * debug/xtrace.sh: Likewise.
36620 * elf/ldconfig.c: Likewise.
36621 * elf/ldd.bash.in: Likewise.
36622 * elf/pldd.c: Likewise.
36623 * elf/sotruss.ksh: Likewise.
36624 * elf/sprof.c: Likewise.
36625 * iconv/iconv_prog.c: Likewise.
36626 * iconv/iconvconfig.c: Likewise.
36627 * locale/programs/locale.c: Likewise.
36628 * locale/programs/localedef.c: Likewise.
36629 * login/programs/pt_chown.c: Likewise.
36630 * malloc/memusage.sh: Likewise.
36631 * malloc/memusagestat.c: Likewise.
36632 * malloc/mtrace.pl: Likewise.
36633 * nscd/nscd.c: Likewise.
36634 * nss/getent.c: Likewise.
36635 * nss/makedb.c: Likewise.
36636 * posix/getconf.c: Likewise.
36638 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36640 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36643 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36645 * math/bits/mathcalls.h (modf): Use __nonnull.
36647 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36649 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36650 (split): Use macro CN instead of the bare value.
36651 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36654 instead of the bare value.
36655 (power1): Likewise.
36657 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36663 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36665 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36667 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36668 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36670 2012-12-28 Andreas Jaeger <aj@suse.de>
36672 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36673 values are from Linux 3.7.
36675 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36676 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36678 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36680 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36685 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36686 variables with preprocessor constants.
36687 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36688 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36691 2012-12-27 Bruno Haible <bruno@clisp.org>
36694 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36697 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36700 and use variable directly.
36701 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36710 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36711 include directive. Remove local variable MPONE.
36712 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36713 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36716 2012-12-25 David S. Miller <davem@davemloft.net>
36718 * version.h (RELEASE): Set to "development".
36719 (VERSION): Set to "2.17.90".
36720 * NEWS: Add 2.18 section.
36722 2012-12-21 David S. Miller <davem@davemloft.net>
36724 * po/hr.po: Update from translation team.
36726 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36728 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36730 2012-12-19 Steve Ellcey <sellcey@mips.com>
36732 * NEWS: Mention new memcpy for MIPS.
36734 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36736 * manual/contrib.texi (Contributors): Spelling correction.
36738 2012-12-15 David S. Miller <davem@davemloft.net>
36740 * po/ru.po: Update from translation team.
36742 2012-12-13 David S. Miller <davem@davemloft.net>
36744 * NEWS: Mention IFUNC testsuite enhancements.
36746 * po/pl.po: Update from translation team.
36747 * po/bg.po: Likewise.
36749 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36750 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36752 2012-12-11 David S. Miller <davem@davemloft.net>
36754 * po/sv.po: Update from translation team.
36756 * po/vi.po: Update from translation team.
36758 * po/cs.po: Update from translation team.
36760 * po/de.po: Update from translation team.
36761 * po/eo.po: Likewise.
36762 * po/nl.po: Likewise.
36764 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36767 * manual/argp.texi (Argp Helper Functions): Move node to follow
36768 Argp Parsing State.
36771 * manual/conf.texi (Limits on File System Capacity): Mention if
36772 terminating null is included in the max size.
36774 2012-12-10 Andreas Jaeger <aj@suse.de>
36776 * po/cs.po: Update from translation team.
36778 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36780 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36781 void pointer and cast to uintptr_t.
36782 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36784 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36785 * sysdeps/s390/s390-64/memset.S: Likewise.
36787 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
36790 * menual/message.texi (Message Translation): Fix typos.
36791 (Helper programs for gettext): Likewise.
36793 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36796 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36799 2012-12-07 David S. Miller <davem@davemloft.net>
36801 * po/libc.pot: Update.
36803 2012-12-07 Richard Henderson <rth@redhat.com>
36806 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36807 normal/normal case to before the switch.
36808 (_FP_DIV): Likewise.
36810 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36811 Mike Frysinger <vapier@gentoo.org>
36813 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36814 check for __NR_fadvise64_64.
36816 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36818 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36819 0, not just to plain "0" as a statement.
36820 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36823 2012-12-06 Joseph Myers <joseph@codesourcery.com>
36825 * NEWS: Use sourceware.org in Bugzilla URL.
36827 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36830 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36832 * stdio-common/tst-put-error.c (do_test): Add newline to the
36833 padded test to ensure flush.
36835 2012-12-05 Jeff Law <law@redhat.com>
36837 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36839 2012-12-05 Joseph Myers <joseph@codesourcery.com>
36841 * README: Don't refer to ports add-on as distributed separately.
36842 Mention AArch64 in list of systems supported in the ports add-on.
36844 * LICENSES: Add more non-FSF copyright and license notices.
36846 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36851 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36852 10000 as width of padded output.
36854 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36856 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36859 variable LX with __attribute__ ((unused)).
36860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36862 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36865 with __attribute__ ((unused)).
36867 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
36869 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36871 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36873 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36874 (CFLAGS-nldbl-acos.c): New variable.
36875 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36876 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36877 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36878 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36879 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36880 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36881 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36882 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36883 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36884 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36885 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36886 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36887 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36888 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36889 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36890 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36891 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36892 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36893 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36894 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36895 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36896 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36897 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36898 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36899 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36900 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36901 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36902 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36903 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36904 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36905 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36906 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36907 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36908 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36909 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36910 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36911 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36912 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36913 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36914 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36915 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36916 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36917 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36918 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36919 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36920 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36921 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36922 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36923 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36924 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36925 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36926 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36927 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36928 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36929 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36930 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36931 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36932 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36933 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36934 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36935 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36936 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36937 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36938 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36939 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36940 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36941 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36942 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36943 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36944 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36945 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36946 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36947 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36948 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36949 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36950 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36951 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36952 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36953 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36954 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36955 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36956 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36957 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36958 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36959 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36960 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36961 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36962 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36963 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36964 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36965 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36966 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36967 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36968 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36969 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36970 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36971 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36974 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36978 whole low double instead of just low 47 bits when splitting values
36981 2012-12-03 Allan McRae <allan@archlinux.org>
36983 * manual/stdio.texi (Predefined Printf Handlers): Remove
36984 @hsep and @vsep usage.
36986 2012-12-03 Mike Frysinger <vapier@gentoo.org>
36988 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36989 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36991 2012-12-03 Jeff Law <law@redhat.com>
36993 * time/sys/time.h (settimeofday): Do not mark TV argument
36996 2012-12-01 Mike Frysinger <vapier@gentoo.org>
36998 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36999 when currently writing and seek to current position when not.
37000 * libio/Makefile (tests): Remove bug-fclose1.
37001 * libio/bug-fclose1.c: Delete.
37003 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37005 * manual/arith.texi (feenableexcept): Fix typo.
37006 (fedisableexcept): Likewise.
37008 2012-11-30 Roland McGrath <roland@hack.frob.com>
37010 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37011 second, differently-typed declaration, rather than a cast.
37013 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37015 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37016 * include/rpc/svc.h: ... here.
37018 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37021 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37022 depending n and resplen2 to catch cases where answer
37025 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37027 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37028 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37030 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37034 2012-11-29 Roland McGrath <roland@hack.frob.com>
37036 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37038 2012-11-28 Jeff Law <law@redhat.com>
37041 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37042 dataset_temporary. Track alloca usage into alloca_used.
37043 If dataset is large allocate and release it via malloc/free.
37045 2012-06-04 Florian Weimer <fweimer@redhat.com>
37048 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37050 2012-11-28 David S. Miller <davem@davemloft.net>
37052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37054 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37057 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37058 of pi/2 rounded to nearest to 64 bits.
37059 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37060 nearest to 64 bits.
37061 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37064 2012-11-28 Jeff Law <law@redhat.com>
37065 Martin Osvald <mosvald@redhat.com>
37068 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37069 * sunrpc/svc.c: Include time.h.
37070 (__svc_accept_failed): New function.
37071 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37072 any reason other than EINTR, call __svc_accept_failed.
37073 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37074 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37076 2012-11-28 Andreas Schwab <schwab@suse.de>
37078 * scripts/abilist.awk: Also handle indirect functions in .opd
37081 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37084 * sysdeps/x86/fpu/powl_helper.c: New file.
37085 * sysdeps/x86/fpu/Makefile: Likewise.
37086 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37088 (__ieee754_powl): Use __powl_helper for finite arguments except
37089 integer exponents below 8.
37090 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37092 (__ieee754_powl): Use __powl_helper for finite arguments except
37093 integer exponents below 8.
37094 * math/libm-test.inc (pow_test): Add more tests and enable some
37095 previously disabled tests.
37096 * sysdeps/i386/fpu/libm-test-ulps: Update.
37097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37099 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37100 Carlos O'Donell <carlos_odonell@mentor.com>
37102 * nss/makedb.c (is_prime): Assert that input is odd and greater
37103 than 4. Note that fact in a comment too.
37104 (next_prime): Add 4 to input.
37106 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37109 * libio/Makefile (tests): Add test case tst-fwrite-error.
37110 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37111 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37112 * libio/tst-fwrite-error.c: New test case.
37114 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37116 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37117 before casting to void *.
37118 * include/libc-internal.h (__pointer_type): New macro.
37119 (__integer_if_pointer_type_sub): Likewise.
37120 (__integer_if_pointer_type): Likewise.
37121 (cast_to_integer): Likewise.
37122 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37123 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37124 before casting to atomic64_t.
37125 (atomic_exchange_acq): Likewise.
37126 (__arch_exchange_and_add_body): Likewise.
37127 (__arch_add_body): Likewise.
37128 (atomic_add_negative): Likewise.
37129 (atomic_add_zero): Likewise.
37131 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37133 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37134 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37135 (add_fdes): Likewise.
37136 (linear_search_fdes): Likewise.
37137 (binary_search_unencoded_fdes): Likewise.
37139 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37141 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37143 2012-11-24 Adam Conrad <adconrad@0c3.net>
37145 * configure.in: Autodetect C++ header directories.
37146 * configure: Regenerated.
37148 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37150 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37152 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37156 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37158 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37159 LDBL_MANT_DIG == 106]: Disable some tests.
37160 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37162 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37167 input for small inputs. Return +/- pi/2 for large inputs.
37168 * math/libm-test.inc (atan_test): Add more tests.
37170 * sysdeps/generic/unwind-dw2-fde-glibc.c
37171 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37172 __attribute__ ((unused)).
37175 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37176 x * y if x and y are nonzero and z is zero.
37179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37180 nonzero exponents with absolute value below 0x1p-117 to +/-
37184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37185 up arguments below 2**-450, not just those below 2**-500.
37186 * math/libm-test.inc (hypot_test): Add another test.
37189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37190 Return a+b for ratio over 2**120, not 2**60.
37191 * math/libm-test.inc (hypot_test): Add another test.
37193 * math/libm-test.inc (clog_test): Use
37194 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37195 (clog10_test): Likewise.
37198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37200 2012-11-22 Andreas Schwab <schwab@suse.de>
37202 * sysdeps/i386/fpu/libm-test-ulps: Update.
37204 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37206 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37207 printf output with newline.
37209 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37212 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37213 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37214 -z nodlopen, -z initfirst and -z execstack support.
37215 * configure: Regenerated.
37217 * elf/elf.h (DF_1_NODIRECT): New macro.
37218 (DF_1_IGNMULDEF): Likewise.
37219 (DF_1_NOKSYMS): Likewise.
37220 (DF_1_NOHDR): Likewise.
37221 (DF_1_EDITED): Likewise.
37222 (DF_1_NORELOC): Likewise.
37223 (DF_1_SYMINTPOSE): Likewise.
37224 (DF_1_GLOBAUDIT): Likewise.
37225 (DF_1_SINGLETON): Likewise.
37226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37227 DT_1_SUPPORTED_MASK bits.
37228 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37230 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37232 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37234 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37236 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37239 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37240 (sendmmsg): Move declarations...
37241 * socket/sys/socket.h: ... here.
37242 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37243 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37245 * socket/recvmmsg.c: ... this new file.
37246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37247 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37248 definition of __sendmmsg hidden.
37249 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37250 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37251 Move ENOSYS stub into and include it from...
37252 * socket/sendmmsg.c: ... this new file.
37253 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37254 (sysdep_routines): Move recvmmsg and sendmmsg...
37255 * socket/Makefile (routines): ... here.
37256 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37257 (GLIBC_PRIVATE): Add __sendmmsg.
37258 * include/sys/socket.h (__sendmmsg): Add declarations.
37259 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37262 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37265 variable I1 with __attribute__ ((unused)).
37266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37268 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37270 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37271 DUMMY variables with __attribute__ ((unused)).
37273 * bits/byteswap.h: Include <bits/types.h>.
37274 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37276 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37278 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37279 string_t. Do not manually set errno.
37280 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37281 length with __strnlen. Make sure to both set errno and return it on
37284 2012-11-19 David S. Miller <davem@davemloft.net>
37286 With help from Joseph Myers.
37287 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37288 very large arguments properly.
37289 * math/libm-test.inc (atan_test): New tests.
37290 (atan2_test): New tests.
37291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37294 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37297 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37300 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37301 [POSIX] (EADDRNOTAVAIL): Likewise.
37302 [POSIX] (EAFNOSUPPORT): Likewise.
37303 [POSIX] (EALREADY): Likewise.
37304 [POSIX] (ECONNABORTED): Likewise.
37305 [POSIX] (ECONNREFUSED): Likewise.
37306 [POSIX] (ECONNRESET): Likewise.
37307 [POSIX] (EDESTADDRREQ): Likewise.
37308 [POSIX] (EDQUOT): Likewise.
37309 [POSIX] (EHOSTUNREACH): Likewise.
37310 [POSIX] (EIDRM): Likewise.
37311 [POSIX] (EISCONN): Likewise.
37312 [POSIX] (ELOOP): Likewise.
37313 [POSIX] (EMULTIHOP): Likewise.
37314 [POSIX] (ENETDOWN): Likewise.
37315 [POSIX] (ENETUNREACH): Likewise.
37316 [POSIX] (ENOBUFS): Likewise.
37317 [POSIX] (ENODATA): Likewise.
37318 [POSIX] (ENOLINK): Likewise.
37319 [POSIX] (ENOMSG): Likewise.
37320 [POSIX] (ENOPROTOOPT): Likewise.
37321 [POSIX] (ENOSR): Likewise.
37322 [POSIX] (ENOSTR): Likewise.
37323 [POSIX] (ENOTCONN): Likewise.
37324 [POSIX] (ENOTSOCK): Likewise.
37325 [POSIX] (EOPNOTSUPP): Likewise.
37326 [POSIX] (EOVERFLOW): Likewise.
37327 [POSIX] (EPROTO): Likewise.
37328 [POSIX] (EPROTONOSUPPORT): Likewise.
37329 [POSIX] (EPROTOTYPE): Likewise.
37330 [POSIX] (ESTALE): Likewise.
37331 [POSIX] (ETIME): Likewise.
37332 [POSIX] (ETXTBSY): Likewise.
37333 [POSIX] (EWOULDBLOCK): Likewise.
37334 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37335 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37336 [POSIX] (SEEK_CUR): Likewise.
37337 [POSIX] (SEEK_END): Likewise.
37338 [POSIX || UNIX98] (mode_t): Do not require.
37339 [POSIX] (off_t): Likewise.
37340 [POSIX] (pid_t): Likewise.
37341 [POSIX] (sys/stat.h): Do not allow header.
37342 [POSIX] (unistd.h): Likewise.
37343 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37344 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37346 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37348 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37349 sigevent): Specify elements.
37350 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37352 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37353 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37355 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37356 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37357 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37358 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37359 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37360 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37361 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37362 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37364 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37365 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37366 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37367 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37376 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37378 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37379 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37380 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37381 Specify lower bound on value.
37382 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37383 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37384 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37385 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37386 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37387 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37388 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37389 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37391 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37393 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37394 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37395 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37396 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37397 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37398 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37399 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37400 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37401 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37402 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37403 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37404 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37405 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37406 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37407 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37408 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37410 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37412 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37413 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37414 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37415 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37416 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37419 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37424 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37431 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37432 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37433 specify as optional.
37434 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37437 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37438 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37439 [XPG3] (NL_LANGMAX): Likewise.
37440 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37441 [POSIX || XPG3] (NL_NMAX): Likewise.
37442 [POSIX || XPG3] (NL_SETMAX): Likewise.
37443 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37444 [XPG3] (NZERO): Likewise.
37445 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37446 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37447 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37448 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37449 (REG_ERANGE): Expect.
37450 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37452 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37453 Use (void) in prototype.
37454 [POSIX] (*_t): Allow.
37455 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37456 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37457 (WRDE_BADVAL): Expect.
37459 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37461 [XPG3 || XPG4] (O_RSYNC): Likewise.
37462 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37464 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37465 [XPG3 || XPG4] (sigqueue): Likewise.
37466 [XPG3 || XPG4] (sigtimedwait): Likewise.
37467 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37468 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37469 [XPG3 || XPG4] (vsnprintf): Likewise.
37470 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37472 [XPG3 || XPG4] (blksize_t): Likewise.
37473 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37475 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37476 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37477 [XPG3 || XPG4] (struct itimerspec): Likewise.
37478 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37479 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37480 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37481 [XPG3 || XPG4] (clockid_t): Likewise.
37482 [XPG3 || XPG4] (timer_t): Likewise.
37483 [XPG3 || XPG4] (clock_getres): Likewise.
37484 [XPG3 || XPG4] (clock_gettime): Likewise.
37485 [XPG3 || XPG4] (clock_settime): Likewise.
37486 [XPG3 || XPG4] (nanosleep): Likewise.
37487 [XPG3 || XPG4] (timer_create): Likewise.
37488 [XPG3 || XPG4] (timer_delete): Likewise.
37489 [XPG3 || XPG4] (timer_gettime): Likewise.
37490 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37491 [XPG3 || XPG4] (timer_settime): Likewise.
37492 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37493 [XPG3 || XPG4] (getlogin_r): Likewise.
37494 [XPG3 || XPG4] (pread): Likewise.
37495 [XPG3 || XPG4] (pthread_atfork): Likewise.
37496 [XPG3 || XPG4] (pwrite): Likewise.
37499 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37502 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37504 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37505 finalizing MALLSTREAM.
37507 * sysdeps/mach/hurd/syncfs.c: New file.
37509 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37513 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37515 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37516 (_nss_dns_gethostbyname4_r): Likewise.
37517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37518 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37520 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37523 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37525 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37527 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37528 * elf/cache.c (print_entry): Print ",AArch64" for
37531 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37532 * elf/cache.c (print_entry): Print ",hard-float" for
37535 2012-11-18 David S. Miller <davem@davemloft.net>
37537 With help from Joseph Myers.
37538 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37540 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37542 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37543 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37546 * math/libm-test.inc (y0_test): New tests.
37547 (y1_test): New tests.
37548 * sysdeps/i386/fpu/libm-test-ulps: Update.
37549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37552 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37554 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37556 * configure: Regenerated.
37558 2012-11-17 David S. Miller <davem@davemloft.net>
37561 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37562 nonzero exponents with absolute value below 0x1p-128 to +/-
37565 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37567 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37569 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37571 * posix/getconf-speclist.c: New file.
37572 * posix/posix-envs.def: Likewise.
37573 * posix/confstr.c (START_ENV_GROUP): New macro.
37574 (END_ENV_GROUP): Likewise.
37575 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37576 (KNOWN_PRESENT_ENV_STRING): Likewise.
37577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37578 (UNKNOWN_ENVIRONMENT): Likewise.
37579 (confstr): Include posix-envs.def instead of handling
37580 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37581 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37582 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37583 (END_ENV_GROUP): Likewise.
37584 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37585 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37586 (UNKNOWN_ENVIRONMENT): Likewise.
37587 (__sysconf): Include posix-envs.def instead of handling associated
37588 cases directly here.
37589 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37590 preprocessing getconf-speclist.c rather than running getconf or
37591 generating empty file.
37593 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37595 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37597 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37600 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37602 2012-11-16 David S. Miller <davem@davemloft.net>
37604 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37605 smaller than LDBL_EPSILON/2.0L, just return xm1.
37607 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37609 * elf/tst-array1.c (init): Set constructor priority to 1000.
37610 (fini): Set destructor priority to 1000.
37611 * elf/tst-array2dep.c: Likewise.
37613 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37616 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37617 (_IO_new_file_xsputn): Also return EOF if none of the input
37618 data was written when overflow failed.
37619 * libio/iopadn.c (_IO_padn): Likewise.
37620 * libio/iowpadn.c (_IO_wpadn): Likewise.
37621 * stdio-common/tst-put-error.c: Add copyright notice.
37622 (do_test): Add case for printing padded string.
37623 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37624 _IO_padn returned error.
37625 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37626 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37629 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37631 * libio/libioP.h: Add comment note that the references to C++
37632 bits are now obsolete.
37634 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37636 * math/libm-test.inc (check_complex): Use asprintf.
37638 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37640 * debug/pcprofiledump.c (print_version): Update copyright year.
37641 * malloc/memusagestat.c (print_version): Likewise.
37643 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37646 * elf/Makefile (tests): Add tst-audit8.
37647 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37648 ($(objpfx)tst-audit8.out): New target.
37649 (tst-audit8-ENV): New variable.
37650 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37651 audit if l_reloc_result is NULL.
37652 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37653 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37654 * elf/tst-audit8.c: New file.
37656 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37658 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37659 * misc/Makefile (CFLAGS-select.c): Define.
37660 * posix/Makefile (CFLAGS-pause.c): Define.
37662 2012-11-13 David S. Miller <davem@davemloft.net>
37664 * crypt/Makefile: Move test targets after toplevel Rules
37665 inclusion. Grab any necessary sysdep routines when linking.
37666 * crypt/md5.c (md5_process_block): Remove define, we will always
37667 name it __md5_process_block.
37668 (md5_finish_ctx): Update md5_process_block call.
37669 (md5_stream): Likewise.
37670 (md5_process_bytes): Likewise.
37671 (md5_process_block): Rename to __md5_process_block and move to ...
37672 * crypt/md5-block.c: ... here.
37673 * crypt/sha256.c (sha256_process_block): Move to ...
37674 * crypt/sha256-block.c: ... here.
37675 * crypt/sha512.c (sha512_process_block): Move to ...
37676 * crypt/sha512-block.c: ... here.
37677 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37679 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37680 * sysdeps/sparc/sparc64/multiarch/Makefile
37681 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37683 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37686 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37687 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37688 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37689 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37690 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37691 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37692 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37693 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37696 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37699 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37701 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37703 * timezone/tzselect.ksh: Update from tzcode git revision
37704 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37705 * timezone/zdump.c: Likewise.
37706 * timezone/zic.c: Likewise.
37707 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37708 in TZVERSION setting, not $(PKGVERSION).
37709 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37710 REPORT_BUGS_TO settings.
37713 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37716 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37718 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37719 detection to immediately after _FP_ROUND().
37720 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37723 2012-11-11 David S. Miller <davem@davemloft.net>
37725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37727 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37728 __close rather than their public counterparts.
37730 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37732 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37734 [UNIX98] (sem_timedwait): Do not expect.
37735 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37736 [XPG4 || UNIX98] (sockatmark): Do not expect.
37737 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37738 (clock_getcpuclockid): Do not expect.
37739 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37740 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37742 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37743 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37744 [UNIX98] (vwscanf): Likewise.
37745 [UNIX98] (vswscanf): Likewise.
37747 2012-11-09 Joseph Myers <joseph@codesourcery.com>
37749 * timezone/version.h: Remove file.
37750 * timezone/README: Do not refer to version.h.
37751 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37752 $(objpfx)version.h.
37753 ($(objpfx)zdump.o): Likewise.
37754 ($(objpfx)version.h): New target.
37756 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37758 * timezone/README: Don't mention modification to tzselect.ksh.
37759 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37760 work on unmodified tzselect.ksh. Substitute version numbers in
37763 * Makefile (format-me): Remove.
37764 (INSTALL): Adjust indentation. Use commands directly instead of
37765 using $(format-me).
37767 * aclocal.m4 (ACX_PKGVERSION): New macro.
37768 (ACX_BUGURL): Likewise.
37769 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37770 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37771 (REPORT_BUGS_TO): Likewise.
37772 * configure: Regenerated.
37773 * config.h.in (PKGVERSION): New macro.
37774 (REPORT_BUGS_TO): Likewise.
37775 * config.make.in (PKGVERSION): New variable.
37776 (PKGVERSION_TEXI): Likewise.
37777 (REPORT_BUGS_TO): Likewise.
37778 (REPORT_BUGS_TEXI): Likewise.
37779 * Makefile (format-me): Use -I$(common-objpfx)manual.
37780 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37781 ($(common-objpfx)manual/%): New target.
37782 (manual/%): Remove target.
37783 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37784 (print_version): Use PKGVERSION.
37785 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37786 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37787 and REPORT_BUGS_TO.
37788 ($(objpfx)xtrace): Likewise.
37789 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37790 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37791 (print_version): Use PKGVERSION.
37792 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37793 (do_version): Use PKGVERSION.
37794 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37796 (common-ldd-rewrite): Likewise.
37797 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37798 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37799 (print_version): Use PKGVERSION.
37800 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37801 * elf/pldd.c (argp_program_bug_address): Remove variable.
37802 (more_help): New function.
37803 (argp): Use more_help.
37804 (print_version): Use PKGVERSION.
37805 * elf/sln.c (main): Use PKGVERSION.
37806 (usage): Use REPORT_BUGS_TO.
37807 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37808 (top level): Use PKGVERSION.
37809 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37810 (print_version): Use PKGVERSION.
37811 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37812 (print_version): Use PKGVERSION.
37813 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37814 (print_version): Use PKGVERSION.
37815 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37816 (print_version): Use PKGVERSION.
37817 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37818 (print_version): Use PKGVERSION.
37819 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37820 (print_version): Use PKGVERSION.
37821 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37823 ($(objpfx)memusage): Likewise.
37824 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37825 (do_version): Use PKGVERSION.
37826 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37827 (print_version): Use PKGVERSION.
37828 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37829 ($PKGVERSION): New variable.
37830 ($REPORT_BUGS_TO): Likewise.
37831 (usage): Use $REPORT_BUGS_TO.
37832 (top level): Use $PKGVERSION.
37833 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37834 ($(objpfx)pkgvers.texi): New rule.
37835 ($(objpfx)stamp-pkgvers): Likewise.
37836 * manual/install.texi: Include pkgvers.texi.
37837 (--with-pkgversion): Document new configure option.
37838 (--with-bugurl): Likewise.
37839 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37840 than necessarily for this particular distribution. Use
37841 REPORT_BUGS_TO for where to report bugs.
37842 * INSTALL: Regenerated.
37843 * manual/libc.texinfo: Include pkgvers.texi.
37844 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37845 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37846 (print_version): Use PKGVERSION.
37847 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37848 (print_version): Use PKGVERSION.
37849 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37850 (print_version): Use PKGVERSION.
37851 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37852 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37854 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37855 (print_version): Use PKGVERSION.
37856 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37857 (print_version): Use PKGVERSION.
37858 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37861 * timezone/checktab.awk: Update from tzcode 2012i.
37862 * timezone/ialloc.c: Likewise.
37863 * timezone/private.h: Likewise.
37864 * timezone/scheck.c: Likewise.
37865 * timezone/tzfile.h: Likewise.
37866 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37867 (TZVERSION): Hardcode tzcode version number.
37868 * timezone/zdump.c: Update from tzcode 2012i.
37869 * timezone/zic.c: Likewise.
37870 * timezone/version.h: New file.
37871 * timezone/README: Describe version.h. Update upstream location.
37874 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37875 (mktemp): Enable declaration.
37876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37893 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37894 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37895 for copies of such integer values.
37896 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37897 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37899 2012-11-09 Andreas Jaeger <aj@suse.de>
37901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37902 definitions and declarations that are provided by
37903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37905 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37907 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37908 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37909 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37912 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37914 * elf/elf.h: Update comment before AArch64 relocations.
37916 2012-11-07 David S. Miller <davem@davemloft.net>
37918 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37920 (__start_context): Declare.
37921 (__makecontext_ret): Delete.
37922 (__makecontext): Hook up __start_context instead of
37924 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37925 (sysdep_routines): Add __start_context when in stdlib.
37927 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37929 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37930 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37931 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37933 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37934 (READELF): New variable. Use it instead of hardcoded "readelf".
37936 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37938 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37939 * sysdeps/x86/Makefile: Here.
37940 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37941 * sysdeps/x86/tst-xmmymm.sh: This.
37943 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37945 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37947 [UNIX98] (pthread_barrier_t): Do not expect.
37948 [UNIX98] (pthread_barrierattr_t): Likewise.
37949 [UNIX98] (pthread_spinlock_t): Likewise.
37950 [UNIX98] (pthread_barrier_destroy): Likewise.
37951 [UNIX98] (pthread_barrier_init): Likewise.
37952 [UNIX98] (pthread_barrier_wait): Likewise.
37953 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37954 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37955 [UNIX98] (pthread_barrierattr_init): Likewise.
37956 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37957 [UNIX98] (pthread_getcpuclockid): Likewise.
37958 [UNIX98] (pthread_mutex_timedlock): Likewise.
37959 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37960 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37961 [UNIX98] (pthread_sigmask): Likewise.
37962 [UNIX98] (pthread_spin_destroy): Likewise.
37963 [UNIX98] (pthread_spin_init): Likewise.
37964 [UNIX98] (pthread_spin_lock): Likewise.
37965 [UNIX98] (pthread_spin_trylock): Likewise.
37966 [UNIX98] (pthread_spin_unlock): Likewise.
37967 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37969 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37971 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37972 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37973 [XPG3 || XPG4] (pthread_key_t): Likewise.
37974 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37975 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37976 [XPG3 || XPG4] (pthread_once_t): Likewise.
37977 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37978 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37980 [XPG3 || XPG4] (pthread_t): Likewise.
37982 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37984 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37986 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37987 Change function return type to int.
37989 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37990 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37991 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37992 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37993 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37994 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37995 [!POSIX] (posix_madvise): Likewise.
37996 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37998 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37999 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38000 (mode_t): Likewise.
38001 (posix_mem_offset): Likewise.
38002 (posix_typed_mem_get_info): Likewise.
38003 (posix_typed_mem_open): Likewise.
38005 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38006 Change condition to [XOPEN2K8].
38008 * conform/conformtest.pl: Preprocess allow-header data with -x c
38009 instead of from stdin.
38010 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38011 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38012 [C99-based standards] (cerfc): Likewise.
38013 [C99-based standards] (cexp2): Likewise.
38014 [C99-based standards] (cexpm1): Likewise.
38015 [C99-based standards] (clog10): Likewise.
38016 [C99-based standards] (clog1p): Likewise.
38017 [C99-based standards] (clog2): Likewise.
38018 [C99-based standards] (clgamma): Likewise.
38019 [C99-based standards] (ctgamma): Likewise.
38020 [C99-based standards] (cerff): Likewise.
38021 [C99-based standards] (cerfcf): Likewise.
38022 [C99-based standards] (cexp2f): Likewise.
38023 [C99-based standards] (cexpm1f): Likewise.
38024 [C99-based standards] (clog10f): Likewise.
38025 [C99-based standards] (clog1pf): Likewise.
38026 [C99-based standards] (clog2f): Likewise.
38027 [C99-based standards] (clgammaf): Likewise.
38028 [C99-based standards] (ctgammaf): Likewise.
38029 [C99-based standards] (cerfl): Likewise.
38030 [C99-based standards] (cerfcl): Likewise.
38031 [C99-based standards] (cexp2l): Likewise.
38032 [C99-based standards] (cexpm1l): Likewise.
38033 [C99-based standards] (clog10l): Likewise.
38034 [C99-based standards] (clog1pl): Likewise.
38035 [C99-based standards] (clog2l): Likewise.
38036 [C99-based standards] (clgammal): Likewise.
38037 [C99-based standards] (ctgammal): Likewise.
38038 * conform/data/inttypes.h-data [C99-based standards]: Include
38039 stdint.h-data. Remove all expectations for stdint.h contents.
38040 [C99-based standards] (PRI*): Do not allow.
38041 [C99-based standards] (SCN*): Likewise.
38042 [C99-based standards] (*_t): Likewise.
38043 [C99-based-standards] (PRId8): Expect macro.
38044 [C99-based-standards] (PRIi8): Likewise.
38045 [C99-based-standards] (PRIo8): Likewise.
38046 [C99-based-standards] (PRIu8): Likewise.
38047 [C99-based-standards] (PRIx8): Likewise.
38048 [C99-based-standards] (PRIX8): Likewise.
38049 [C99-based-standards] (SCNd8): Likewise.
38050 [C99-based-standards] (SCNi8): Likewise.
38051 [C99-based-standards] (SCNo8): Likewise.
38052 [C99-based-standards] (SCNu8): Likewise.
38053 [C99-based-standards] (SCNx8): Likewise.
38054 [C99-based-standards] (PRIdLEAST8): Likewise.
38055 [C99-based-standards] (PRIiLEAST8): Likewise.
38056 [C99-based-standards] (PRIoLEAST8): Likewise.
38057 [C99-based-standards] (PRIuLEAST8): Likewise.
38058 [C99-based-standards] (PRIxLEAST8): Likewise.
38059 [C99-based-standards] (PRIXLEAST8): Likewise.
38060 [C99-based-standards] (SCNdLEAST8): Likewise.
38061 [C99-based-standards] (SCNiLEAST8): Likewise.
38062 [C99-based-standards] (SCNoLEAST8): Likewise.
38063 [C99-based-standards] (SCNuLEAST8): Likewise.
38064 [C99-based-standards] (SCNxLEAST8): Likewise.
38065 [C99-based-standards] (PRIdFAST8): Likewise.
38066 [C99-based-standards] (PRIiFAST8): Likewise.
38067 [C99-based-standards] (PRIoFAST8): Likewise.
38068 [C99-based-standards] (PRIuFAST8): Likewise.
38069 [C99-based-standards] (PRIxFAST8): Likewise.
38070 [C99-based-standards] (PRIXFAST8): Likewise.
38071 [C99-based-standards] (SCNdFAST8): Likewise.
38072 [C99-based-standards] (SCNiFAST8): Likewise.
38073 [C99-based-standards] (SCNoFAST8): Likewise.
38074 [C99-based-standards] (SCNuFAST8): Likewise.
38075 [C99-based-standards] (SCNxFAST8): Likewise.
38076 [C99-based-standards] (PRId16): Likewise.
38077 [C99-based-standards] (PRIi16): Likewise.
38078 [C99-based-standards] (PRIo16): Likewise.
38079 [C99-based-standards] (PRIu16): Likewise.
38080 [C99-based-standards] (PRIx16): Likewise.
38081 [C99-based-standards] (PRIX16): Likewise.
38082 [C99-based-standards] (SCNd16): Likewise.
38083 [C99-based-standards] (SCNi16): Likewise.
38084 [C99-based-standards] (SCNo16): Likewise.
38085 [C99-based-standards] (SCNu16): Likewise.
38086 [C99-based-standards] (SCNx16): Likewise.
38087 [C99-based-standards] (PRIdLEAST16): Likewise.
38088 [C99-based-standards] (PRIiLEAST16): Likewise.
38089 [C99-based-standards] (PRIoLEAST16): Likewise.
38090 [C99-based-standards] (PRIuLEAST16): Likewise.
38091 [C99-based-standards] (PRIxLEAST16): Likewise.
38092 [C99-based-standards] (PRIXLEAST16): Likewise.
38093 [C99-based-standards] (SCNdLEAST16): Likewise.
38094 [C99-based-standards] (SCNiLEAST16): Likewise.
38095 [C99-based-standards] (SCNoLEAST16): Likewise.
38096 [C99-based-standards] (SCNuLEAST16): Likewise.
38097 [C99-based-standards] (SCNxLEAST16): Likewise.
38098 [C99-based-standards] (PRIdFAST16): Likewise.
38099 [C99-based-standards] (PRIiFAST16): Likewise.
38100 [C99-based-standards] (PRIoFAST16): Likewise.
38101 [C99-based-standards] (PRIuFAST16): Likewise.
38102 [C99-based-standards] (PRIxFAST16): Likewise.
38103 [C99-based-standards] (PRIXFAST16): Likewise.
38104 [C99-based-standards] (SCNdFAST16): Likewise.
38105 [C99-based-standards] (SCNiFAST16): Likewise.
38106 [C99-based-standards] (SCNoFAST16): Likewise.
38107 [C99-based-standards] (SCNuFAST16): Likewise.
38108 [C99-based-standards] (SCNxFAST16): Likewise.
38109 [C99-based-standards] (PRId32): Likewise.
38110 [C99-based-standards] (PRIi32): Likewise.
38111 [C99-based-standards] (PRIo32): Likewise.
38112 [C99-based-standards] (PRIu32): Likewise.
38113 [C99-based-standards] (PRIx32): Likewise.
38114 [C99-based-standards] (PRIX32): Likewise.
38115 [C99-based-standards] (SCNd32): Likewise.
38116 [C99-based-standards] (SCNi32): Likewise.
38117 [C99-based-standards] (SCNo32): Likewise.
38118 [C99-based-standards] (SCNu32): Likewise.
38119 [C99-based-standards] (SCNx32): Likewise.
38120 [C99-based-standards] (PRIdLEAST32): Likewise.
38121 [C99-based-standards] (PRIiLEAST32): Likewise.
38122 [C99-based-standards] (PRIoLEAST32): Likewise.
38123 [C99-based-standards] (PRIuLEAST32): Likewise.
38124 [C99-based-standards] (PRIxLEAST32): Likewise.
38125 [C99-based-standards] (PRIXLEAST32): Likewise.
38126 [C99-based-standards] (SCNdLEAST32): Likewise.
38127 [C99-based-standards] (SCNiLEAST32): Likewise.
38128 [C99-based-standards] (SCNoLEAST32): Likewise.
38129 [C99-based-standards] (SCNuLEAST32): Likewise.
38130 [C99-based-standards] (SCNxLEAST32): Likewise.
38131 [C99-based-standards] (PRIdFAST32): Likewise.
38132 [C99-based-standards] (PRIiFAST32): Likewise.
38133 [C99-based-standards] (PRIoFAST32): Likewise.
38134 [C99-based-standards] (PRIuFAST32): Likewise.
38135 [C99-based-standards] (PRIxFAST32): Likewise.
38136 [C99-based-standards] (PRIXFAST32): Likewise.
38137 [C99-based-standards] (SCNdFAST32): Likewise.
38138 [C99-based-standards] (SCNiFAST32): Likewise.
38139 [C99-based-standards] (SCNoFAST32): Likewise.
38140 [C99-based-standards] (SCNuFAST32): Likewise.
38141 [C99-based-standards] (SCNxFAST32): Likewise.
38142 [C99-based-standards] (PRId64): Likewise.
38143 [C99-based-standards] (PRIi64): Likewise.
38144 [C99-based-standards] (PRIo64): Likewise.
38145 [C99-based-standards] (PRIu64): Likewise.
38146 [C99-based-standards] (PRIx64): Likewise.
38147 [C99-based-standards] (PRIX64): Likewise.
38148 [C99-based-standards] (SCNd64): Likewise.
38149 [C99-based-standards] (SCNi64): Likewise.
38150 [C99-based-standards] (SCNo64): Likewise.
38151 [C99-based-standards] (SCNu64): Likewise.
38152 [C99-based-standards] (SCNx64): Likewise.
38153 [C99-based-standards] (PRIdLEAST64): Likewise.
38154 [C99-based-standards] (PRIiLEAST64): Likewise.
38155 [C99-based-standards] (PRIoLEAST64): Likewise.
38156 [C99-based-standards] (PRIuLEAST64): Likewise.
38157 [C99-based-standards] (PRIxLEAST64): Likewise.
38158 [C99-based-standards] (PRIXLEAST64): Likewise.
38159 [C99-based-standards] (SCNdLEAST64): Likewise.
38160 [C99-based-standards] (SCNiLEAST64): Likewise.
38161 [C99-based-standards] (SCNoLEAST64): Likewise.
38162 [C99-based-standards] (SCNuLEAST64): Likewise.
38163 [C99-based-standards] (SCNxLEAST64): Likewise.
38164 [C99-based-standards] (PRIdFAST64): Likewise.
38165 [C99-based-standards] (PRIiFAST64): Likewise.
38166 [C99-based-standards] (PRIoFAST64): Likewise.
38167 [C99-based-standards] (PRIuFAST64): Likewise.
38168 [C99-based-standards] (PRIxFAST64): Likewise.
38169 [C99-based-standards] (PRIXFAST64): Likewise.
38170 [C99-based-standards] (SCNdFAST64): Likewise.
38171 [C99-based-standards] (SCNiFAST64): Likewise.
38172 [C99-based-standards] (SCNoFAST64): Likewise.
38173 [C99-based-standards] (SCNuFAST64): Likewise.
38174 [C99-based-standards] (SCNxFAST64): Likewise.
38175 [C99-based-standards] (PRIdMAX): Likewise.
38176 [C99-based-standards] (PRIiMAX): Likewise.
38177 [C99-based-standards] (PRIoMAX): Likewise.
38178 [C99-based-standards] (PRIuMAX): Likewise.
38179 [C99-based-standards] (PRIxMAX): Likewise.
38180 [C99-based-standards] (PRIXMAX): Likewise.
38181 [C99-based-standards] (SCNdMAX): Likewise.
38182 [C99-based-standards] (SCNiMAX): Likewise.
38183 [C99-based-standards] (SCNoMAX): Likewise.
38184 [C99-based-standards] (SCNuMAX): Likewise.
38185 [C99-based-standards] (SCNxMAX): Likewise.
38186 [C99-based-standards] (PRIdPTR): Likewise.
38187 [C99-based-standards] (PRIiPTR): Likewise.
38188 [C99-based-standards] (PRIoPTR): Likewise.
38189 [C99-based-standards] (PRIuPTR): Likewise.
38190 [C99-based-standards] (PRIxPTR): Likewise.
38191 [C99-based-standards] (PRIXPTR): Likewise.
38192 [C99-based-standards] (SCNdPTR): Likewise.
38193 [C99-based-standards] (SCNiPTR): Likewise.
38194 [C99-based-standards] (SCNoPTR): Likewise.
38195 [C99-based-standards] (SCNuPTR): Likewise.
38196 [C99-based-standards] (SCNxPTR): Likewise.
38197 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38199 * conform/data/stdint.h-data: Update comments to clarify
38201 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38203 [C99-based standards] (INT8_MAX): Likewise.
38204 [C99-based standards] (INT16_MIN): Likewise.
38205 [C99-based standards] (INT16_MAX): Likewise.
38206 [C99-based standards] (INT32_MIN): Likewise.
38207 [C99-based standards] (INT32_MAX): Likewise.
38208 [C99-based standards] (INT64_MIN): Likewise.
38209 [C99-based standards] (INT64_MAX): Likewise.
38210 [C99-based standards] (UINT8_MAX): Likewise.
38211 [C99-based standards] (UINT16_MAX): Likewise.
38212 [C99-based standards] (UINT32_MAX): Likewise.
38213 [C99-based standards] (UINT64_MAX): Likewise.
38214 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38215 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38216 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38217 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38218 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38219 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38220 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38221 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38222 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38223 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38224 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38225 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38226 [C99-based standards] (INT_FAST8_MIN): Likewise.
38227 [C99-based standards] (INT_FAST8_MAX): Likewise.
38228 [C99-based standards] (INT_FAST16_MIN): Likewise.
38229 [C99-based standards] (INT_FAST16_MAX): Likewise.
38230 [C99-based standards] (INT_FAST32_MIN): Likewise.
38231 [C99-based standards] (INT_FAST32_MAX): Likewise.
38232 [C99-based standards] (INT_FAST64_MIN): Likewise.
38233 [C99-based standards] (INT_FAST64_MAX): Likewise.
38234 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38235 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38236 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38237 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38238 [C99-based standards] (INTPTR_MIN): Likewise.
38239 [C99-based standards] (INTPTR_MAX): Likewise.
38240 [C99-based standards] (UINTPTR_MAX): Likewise.
38241 [C99-based standards] (INTMAX_MIN): Likewise.
38242 [C99-based standards] (INTMAX_MAX): Likewise.
38243 [C99-based standards] (UINTMAX_MAX): Likewise.
38244 [C99-based standards] (PTRDIFF_MIN): Likewise.
38245 [C99-based standards] (PTRDIFF_MAX): Likewise.
38246 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38247 [C99-based standards] (SIZE_MAX): Likewise.
38248 [C99-based standards] (WCHAR_MAX): Likewise.
38249 [C99-based standards] (WINT_MAX): Likewise.
38250 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38251 constraint on value.
38252 [C99-based standards] (WCHAR_MIN): Likewise.
38253 [C99-based standards] (WINT_MIN): Likewise.
38254 [C99-based standards] (*_t): Allow.
38255 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38256 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38257 Include math.h-data and complex.h-data. Remove all expectations
38258 of math.h and complex.h contents.
38259 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38261 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38262 (struct tm): Expect tag.
38263 [C99-based-standards] (wcstof): Expect function.
38264 [C99-based-standards] (wcstold): Likewise.
38265 [C99-based-standards] (wcstoll): Likewise.
38266 [C99-based-standards] (wcstoull): Likewise.
38267 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38268 macro-int-constant. Specify type.
38269 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38270 constraint on value.
38271 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38273 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38275 [ISO C standards]: Do not allow headers.
38276 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38277 wcs[abcdefghijklmnopqrstuvwxyz]*.
38278 [ISO C standards] (*_t): Do not allow.
38279 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38281 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38282 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38284 [ISO C standards]: Do not allow headers.
38285 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38286 is[abcdefghijklmnopqrstuvwxyz]*.
38287 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38288 to[abcdefghijklmnopqrstuvwxyz]*.
38289 [ISO C standards] (*_t): Do not allow.
38290 * conform/data/stdalign.h-data: New file.
38291 * conform/data/stdbool.h-data: Likewise.
38292 * conform/data/stdnoreturn.h-data: Likewise.
38294 2012-11-07 Roland McGrath <roland@hack.frob.com>
38297 * manual/filesys.texi (Directory Entries): Typo fix.
38298 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38300 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38302 * elf/elf.h (EM_AARCH64): New macro.
38303 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38304 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38305 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38306 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38307 (R_AARCH64_TLSDESC): Likewise.
38308 (NT_ARM_TLS): Likewise.
38309 (NT_ARM_HW_BREAK): Likewise.
38310 (NT_ARM_HW_WATCH): Likewise.
38312 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38315 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38316 (__ieee754_powl): Saturate nonzero exponents with absolute value
38317 below 0x1p-79 to +/- 0x1p-79.
38318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38319 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38320 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38321 nonzero exponents with absolute value below 0x1p-32 to +/-
38323 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38324 (__ieee754_powl): Saturate nonzero exponents with absolute value
38325 below 0x1p-79 to +/- 0x1p-79.
38326 * math/libm-test.inc (pow_test): Add more tests.
38328 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38330 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38331 _dl_s390_cap_flags with kernel. Increase string length.
38332 (_dl_s390_platforms): Add z196 and zEC12.
38334 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38336 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38337 Change XOPEN21K to XOPEN2K.
38339 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38341 * string/memmove.c: Use memcpy when possible.
38343 2012-11-06 Andreas Jaeger <aj@suse.de>
38345 * po/eo.po: Update from translation team.
38347 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38351 exponent and small x and y exponents, scale x or y up. Increase
38352 by 2 the exponent used in scaling up.
38353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38354 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38355 * math/libm-test.inc (fma_test): Add more tests.
38356 (fma_test_towardzero): Likewise.
38357 (fma_test_downward): Likewise.
38358 (fma_test_upward): Likewise.
38360 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38363 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38367 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38368 namespace for names of struct fields.
38369 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38371 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38372 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38374 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38377 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38379 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38381 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38385 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38388 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38392 definitely overflow as x * y not x * y + z.
38393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38395 * math/libm-test.inc (fma_test): Add more tests.
38396 (fma_test_towardzero): Likewise.
38397 (fma_test_downward): Likewise.
38398 (fma_test_upward): Likewise.
38400 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38404 * include/stub-tag.h: Remove file.
38405 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38407 * manual/maint.texi (Porting): Don't reference it.
38408 * Makerules ($(objpfx)stubs): Likewise.
38409 * dirent/closedir.c: Don't include <stub-tag.h>.
38410 * dirent/dirfd.c: Likewise.
38411 * dirent/fdopendir.c: Likewise.
38412 * dirent/getdents.c: Likewise.
38413 * dirent/getdents64.c: Likewise.
38414 * dirent/opendir.c: Likewise.
38415 * dirent/readdir.c: Likewise.
38416 * dirent/readdir64.c: Likewise.
38417 * dirent/readdir64_r.c: Likewise.
38418 * dirent/readdir_r.c: Likewise.
38419 * dirent/rewinddir.c: Likewise.
38420 * dirent/seekdir.c: Likewise.
38421 * dirent/telldir.c: Likewise.
38422 * gmon/profil.c: Likewise.
38423 * grp/setgroups.c: Likewise.
38424 * inet/if_index.c: Likewise.
38425 * io/access.c: Likewise.
38426 * io/chdir.c: Likewise.
38427 * io/chmod.c: Likewise.
38428 * io/chown.c: Likewise.
38429 * io/close.c: Likewise.
38430 * io/dup.c: Likewise.
38431 * io/dup2.c: Likewise.
38432 * io/dup3.c: Likewise.
38433 * io/euidaccess.c: Likewise.
38434 * io/faccessat.c: Likewise.
38435 * io/fchdir.c: Likewise.
38436 * io/fchmod.c: Likewise.
38437 * io/fchmodat.c: Likewise.
38438 * io/fchown.c: Likewise.
38439 * io/fchownat.c: Likewise.
38440 * io/fcntl.c: Likewise.
38441 * io/flock.c: Likewise.
38442 * io/fstatfs.c: Likewise.
38443 * io/fstatfs64.c: Likewise.
38444 * io/fstatvfs.c: Likewise.
38445 * io/fstatvfs64.c: Likewise.
38446 * io/futimens.c: Likewise.
38447 * io/fxstat.c: Likewise.
38448 * io/fxstat64.c: Likewise.
38449 * io/fxstatat.c: Likewise.
38450 * io/fxstatat64.c: Likewise.
38451 * io/getcwd.c: Likewise.
38452 * io/isatty.c: Likewise.
38453 * io/lchmod.c: Likewise.
38454 * io/lchown.c: Likewise.
38455 * io/link.c: Likewise.
38456 * io/linkat.c: Likewise.
38457 * io/lseek.c: Likewise.
38458 * io/lseek64.c: Likewise.
38459 * io/lxstat64.c: Likewise.
38460 * io/mkdir.c: Likewise.
38461 * io/mkdirat.c: Likewise.
38462 * io/mkfifo.c: Likewise.
38463 * io/mkfifoat.c: Likewise.
38464 * io/open.c: Likewise.
38465 * io/open64.c: Likewise.
38466 * io/openat.c: Likewise.
38467 * io/openat64.c: Likewise.
38468 * io/pipe.c: Likewise.
38469 * io/pipe2.c: Likewise.
38470 * io/poll.c: Likewise.
38471 * io/posix_fadvise.c: Likewise.
38472 * io/posix_fadvise64.c: Likewise.
38473 * io/posix_fallocate.c: Likewise.
38474 * io/posix_fallocate64.c: Likewise.
38475 * io/read.c: Likewise.
38476 * io/readlink.c: Likewise.
38477 * io/readlinkat.c: Likewise.
38478 * io/rmdir.c: Likewise.
38479 * io/sendfile.c: Likewise.
38480 * io/sendfile64.c: Likewise.
38481 * io/statfs.c: Likewise.
38482 * io/statfs64.c: Likewise.
38483 * io/statvfs.c: Likewise.
38484 * io/statvfs64.c: Likewise.
38485 * io/symlink.c: Likewise.
38486 * io/symlinkat.c: Likewise.
38487 * io/ttyname.c: Likewise.
38488 * io/ttyname_r.c: Likewise.
38489 * io/umask.c: Likewise.
38490 * io/unlink.c: Likewise.
38491 * io/unlinkat.c: Likewise.
38492 * io/utime.c: Likewise.
38493 * io/utimensat.c: Likewise.
38494 * io/write.c: Likewise.
38495 * io/xmknod.c: Likewise.
38496 * io/xmknodat.c: Likewise.
38497 * io/xstat.c: Likewise.
38498 * io/xstat64.c: Likewise.
38499 * login/getpt.c: Likewise.
38500 * login/grantpt.c: Likewise.
38501 * login/unlockpt.c: Likewise.
38502 * math/e_acoshl.c: Likewise.
38503 * math/e_acosl.c: Likewise.
38504 * math/e_asinl.c: Likewise.
38505 * math/e_atan2l.c: Likewise.
38506 * math/e_atanhl.c: Likewise.
38507 * math/e_coshl.c: Likewise.
38508 * math/e_expl.c: Likewise.
38509 * math/e_fmodl.c: Likewise.
38510 * math/e_gammal_r.c: Likewise.
38511 * math/e_hypotl.c: Likewise.
38512 * math/e_j0l.c: Likewise.
38513 * math/e_j1l.c: Likewise.
38514 * math/e_jnl.c: Likewise.
38515 * math/e_lgammal_r.c: Likewise.
38516 * math/e_log10l.c: Likewise.
38517 * math/e_log2l.c: Likewise.
38518 * math/e_logl.c: Likewise.
38519 * math/e_powl.c: Likewise.
38520 * math/e_rem_pio2l.c: Likewise.
38521 * math/e_sinhl.c: Likewise.
38522 * math/e_sqrtl.c: Likewise.
38523 * math/fclrexcpt.c: Likewise.
38524 * math/fedisblxcpt.c: Likewise.
38525 * math/feenablxcpt.c: Likewise.
38526 * math/fegetenv.c: Likewise.
38527 * math/fegetexcept.c: Likewise.
38528 * math/fegetround.c: Likewise.
38529 * math/feholdexcpt.c: Likewise.
38530 * math/fesetenv.c: Likewise.
38531 * math/fesetround.c: Likewise.
38532 * math/feupdateenv.c: Likewise.
38533 * math/fgetexcptflg.c: Likewise.
38534 * math/fraiseexcpt.c: Likewise.
38535 * math/fsetexcptflg.c: Likewise.
38536 * math/ftestexcept.c: Likewise.
38537 * math/k_cosl.c: Likewise.
38538 * math/k_rem_pio2l.c: Likewise.
38539 * math/k_sinl.c: Likewise.
38540 * math/k_tanl.c: Likewise.
38541 * math/s_asinhl.c: Likewise.
38542 * math/s_atanl.c: Likewise.
38543 * math/s_cbrtl.c: Likewise.
38544 * math/s_erfl.c: Likewise.
38545 * math/s_expm1l.c: Likewise.
38546 * math/s_log1pl.c: Likewise.
38547 * math/s_tanhl.c: Likewise.
38548 * misc/acct.c: Likewise.
38549 * misc/brk.c: Likewise.
38550 * misc/chflags.c: Likewise.
38551 * misc/chroot.c: Likewise.
38552 * misc/fchflags.c: Likewise.
38553 * misc/fgetxattr.c: Likewise.
38554 * misc/flistxattr.c: Likewise.
38555 * misc/fremovexattr.c: Likewise.
38556 * misc/fsetxattr.c: Likewise.
38557 * misc/fsync.c: Likewise.
38558 * misc/ftruncate.c: Likewise.
38559 * misc/futimes.c: Likewise.
38560 * misc/futimesat.c: Likewise.
38561 * misc/getdomain.c: Likewise.
38562 * misc/getdtsz.c: Likewise.
38563 * misc/gethostid.c: Likewise.
38564 * misc/gethostname.c: Likewise.
38565 * misc/getloadavg.c: Likewise.
38566 * misc/getpagesize.c: Likewise.
38567 * misc/getsysstats.c: Likewise.
38568 * misc/getxattr.c: Likewise.
38569 * misc/gtty.c: Likewise.
38570 * misc/ioctl.c: Likewise.
38571 * misc/lgetxattr.c: Likewise.
38572 * misc/listxattr.c: Likewise.
38573 * misc/llistxattr.c: Likewise.
38574 * misc/lremovexattr.c: Likewise.
38575 * misc/lsetxattr.c: Likewise.
38576 * misc/lutimes.c: Likewise.
38577 * misc/madvise.c: Likewise.
38578 * misc/mincore.c: Likewise.
38579 * misc/mlock.c: Likewise.
38580 * misc/mlockall.c: Likewise.
38581 * misc/mmap.c: Likewise.
38582 * misc/mprotect.c: Likewise.
38583 * misc/msync.c: Likewise.
38584 * misc/munlock.c: Likewise.
38585 * misc/munlockall.c: Likewise.
38586 * misc/munmap.c: Likewise.
38587 * misc/preadv.c: Likewise.
38588 * misc/preadv64.c: Likewise.
38589 * misc/ptrace.c: Likewise.
38590 * misc/pwritev.c: Likewise.
38591 * misc/pwritev64.c: Likewise.
38592 * misc/readv.c: Likewise.
38593 * misc/reboot.c: Likewise.
38594 * misc/remap_file_pages.c: Likewise.
38595 * misc/removexattr.c: Likewise.
38596 * misc/revoke.c: Likewise.
38597 * misc/select.c: Likewise.
38598 * misc/setdomain.c: Likewise.
38599 * misc/setegid.c: Likewise.
38600 * misc/seteuid.c: Likewise.
38601 * misc/sethostid.c: Likewise.
38602 * misc/sethostname.c: Likewise.
38603 * misc/setregid.c: Likewise.
38604 * misc/setreuid.c: Likewise.
38605 * misc/setxattr.c: Likewise.
38606 * misc/sstk.c: Likewise.
38607 * misc/stty.c: Likewise.
38608 * misc/swapoff.c: Likewise.
38609 * misc/swapon.c: Likewise.
38610 * misc/sync.c: Likewise.
38611 * misc/syncfs.c: Likewise.
38612 * misc/syscall.c: Likewise.
38613 * misc/truncate.c: Likewise.
38614 * misc/ualarm.c: Likewise.
38615 * misc/usleep.c: Likewise.
38616 * misc/ustat.c: Likewise.
38617 * misc/utimes.c: Likewise.
38618 * misc/vhangup.c: Likewise.
38619 * misc/writev.c: Likewise.
38620 * posix/_exit.c: Likewise.
38621 * posix/alarm.c: Likewise.
38622 * posix/execve.c: Likewise.
38623 * posix/fexecve.c: Likewise.
38624 * posix/fork.c: Likewise.
38625 * posix/fpathconf.c: Likewise.
38626 * posix/getaddrinfo.c: Likewise.
38627 * posix/getegid.c: Likewise.
38628 * posix/geteuid.c: Likewise.
38629 * posix/getgid.c: Likewise.
38630 * posix/getgroups.c: Likewise.
38631 * posix/getlogin.c: Likewise.
38632 * posix/getlogin_r.c: Likewise.
38633 * posix/getpgid.c: Likewise.
38634 * posix/getpid.c: Likewise.
38635 * posix/getppid.c: Likewise.
38636 * posix/getresgid.c: Likewise.
38637 * posix/getresuid.c: Likewise.
38638 * posix/getsid.c: Likewise.
38639 * posix/getuid.c: Likewise.
38640 * posix/glob64.c: Likewise.
38641 * posix/nanosleep.c: Likewise.
38642 * posix/pathconf.c: Likewise.
38643 * posix/pause.c: Likewise.
38644 * posix/posix_madvise.c: Likewise.
38645 * posix/pread.c: Likewise.
38646 * posix/pread64.c: Likewise.
38647 * posix/pwrite.c: Likewise.
38648 * posix/pwrite64.c: Likewise.
38649 * posix/sched_getaffinity.c: Likewise.
38650 * posix/sched_getp.c: Likewise.
38651 * posix/sched_gets.c: Likewise.
38652 * posix/sched_primax.c: Likewise.
38653 * posix/sched_primin.c: Likewise.
38654 * posix/sched_rr_gi.c: Likewise.
38655 * posix/sched_setaffinity.c: Likewise.
38656 * posix/sched_setp.c: Likewise.
38657 * posix/sched_sets.c: Likewise.
38658 * posix/sched_yield.c: Likewise.
38659 * posix/setgid.c: Likewise.
38660 * posix/setlogin.c: Likewise.
38661 * posix/setpgid.c: Likewise.
38662 * posix/setresgid.c: Likewise.
38663 * posix/setresuid.c: Likewise.
38664 * posix/setsid.c: Likewise.
38665 * posix/setuid.c: Likewise.
38666 * posix/sleep.c: Likewise.
38667 * posix/spawni.c: Likewise.
38668 * posix/sysconf.c: Likewise.
38669 * posix/times.c: Likewise.
38670 * posix/wait.c: Likewise.
38671 * posix/wait3.c: Likewise.
38672 * posix/wait4.c: Likewise.
38673 * posix/waitpid.c: Likewise.
38674 * resolv/gai_sigqueue.c: Likewise.
38675 * resource/getpriority.c: Likewise.
38676 * resource/getrlimit.c: Likewise.
38677 * resource/getrusage.c: Likewise.
38678 * resource/nice.c: Likewise.
38679 * resource/setpriority.c: Likewise.
38680 * resource/setrlimit.c: Likewise.
38681 * resource/ulimit.c: Likewise.
38682 * rt/aio_cancel.c: Likewise.
38683 * rt/aio_fsync.c: Likewise.
38684 * rt/aio_read.c: Likewise.
38685 * rt/aio_sigqueue.c: Likewise.
38686 * rt/aio_suspend.c: Likewise.
38687 * rt/aio_write.c: Likewise.
38688 * rt/clock_getres.c: Likewise.
38689 * rt/clock_gettime.c: Likewise.
38690 * rt/clock_nanosleep.c: Likewise.
38691 * rt/clock_settime.c: Likewise.
38692 * rt/lio_listio.c: Likewise.
38693 * rt/mq_close.c: Likewise.
38694 * rt/mq_getattr.c: Likewise.
38695 * rt/mq_notify.c: Likewise.
38696 * rt/mq_open.c: Likewise.
38697 * rt/mq_receive.c: Likewise.
38698 * rt/mq_send.c: Likewise.
38699 * rt/mq_setattr.c: Likewise.
38700 * rt/mq_timedreceive.c: Likewise.
38701 * rt/mq_timedsend.c: Likewise.
38702 * rt/mq_unlink.c: Likewise.
38703 * rt/shm_open.c: Likewise.
38704 * rt/shm_unlink.c: Likewise.
38705 * rt/timer_create.c: Likewise.
38706 * rt/timer_delete.c: Likewise.
38707 * rt/timer_getoverr.c: Likewise.
38708 * rt/timer_gettime.c: Likewise.
38709 * rt/timer_settime.c: Likewise.
38710 * setjmp/__longjmp.c: Likewise.
38711 * setjmp/setjmp.c: Likewise.
38712 * signal/kill.c: Likewise.
38713 * signal/killpg.c: Likewise.
38714 * signal/raise.c: Likewise.
38715 * signal/sigaction.c: Likewise.
38716 * signal/sigaltstack.c: Likewise.
38717 * signal/sigblock.c: Likewise.
38718 * signal/sigignore.c: Likewise.
38719 * signal/sigintr.c: Likewise.
38720 * signal/signal.c: Likewise.
38721 * signal/sigpause.c: Likewise.
38722 * signal/sigpending.c: Likewise.
38723 * signal/sigqueue.c: Likewise.
38724 * signal/sigreturn.c: Likewise.
38725 * signal/sigset.c: Likewise.
38726 * signal/sigsetmask.c: Likewise.
38727 * signal/sigstack.c: Likewise.
38728 * signal/sigsuspend.c: Likewise.
38729 * signal/sigtimedwait.c: Likewise.
38730 * signal/sigvec.c: Likewise.
38731 * signal/sigwait.c: Likewise.
38732 * signal/sigwaitinfo.c: Likewise.
38733 * signal/sysv_signal.c: Likewise.
38734 * socket/accept.c: Likewise.
38735 * socket/accept4.c: Likewise.
38736 * socket/bind.c: Likewise.
38737 * socket/connect.c: Likewise.
38738 * socket/getpeername.c: Likewise.
38739 * socket/getsockname.c: Likewise.
38740 * socket/getsockopt.c: Likewise.
38741 * socket/isfdtype.c: Likewise.
38742 * socket/listen.c: Likewise.
38743 * socket/recv.c: Likewise.
38744 * socket/recvfrom.c: Likewise.
38745 * socket/recvmsg.c: Likewise.
38746 * socket/send.c: Likewise.
38747 * socket/sendmsg.c: Likewise.
38748 * socket/sendto.c: Likewise.
38749 * socket/setsockopt.c: Likewise.
38750 * socket/shutdown.c: Likewise.
38751 * socket/sockatmark.c: Likewise.
38752 * socket/socket.c: Likewise.
38753 * socket/socketpair.c: Likewise.
38754 * stdio-common/ctermid.c: Likewise.
38755 * stdio-common/cuserid.c: Likewise.
38756 * stdio-common/remove.c: Likewise.
38757 * stdio-common/rename.c: Likewise.
38758 * stdio-common/renameat.c: Likewise.
38759 * stdio-common/tempname.c: Likewise.
38760 * stdlib/getcontext.c: Likewise.
38761 * stdlib/makecontext.c: Likewise.
38762 * stdlib/setcontext.c: Likewise.
38763 * stdlib/swapcontext.c: Likewise.
38764 * stdlib/system.c: Likewise.
38765 * streams/fattach.c: Likewise.
38766 * streams/fdetach.c: Likewise.
38767 * streams/getmsg.c: Likewise.
38768 * streams/getpmsg.c: Likewise.
38769 * streams/putmsg.c: Likewise.
38770 * streams/putpmsg.c: Likewise.
38771 * sysdeps/unix/bsd/getpt.c: Likewise.
38772 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38773 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38774 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38777 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38779 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38780 * sysvipc/msgctl.c: Likewise.
38781 * sysvipc/msgget.c: Likewise.
38782 * sysvipc/msgrcv.c: Likewise.
38783 * sysvipc/msgsnd.c: Likewise.
38784 * sysvipc/semctl.c: Likewise.
38785 * sysvipc/semget.c: Likewise.
38786 * sysvipc/semop.c: Likewise.
38787 * sysvipc/semtimedop.c: Likewise.
38788 * sysvipc/shmat.c: Likewise.
38789 * sysvipc/shmctl.c: Likewise.
38790 * sysvipc/shmdt.c: Likewise.
38791 * sysvipc/shmget.c: Likewise.
38792 * termios/tcdrain.c: Likewise.
38793 * termios/tcflow.c: Likewise.
38794 * termios/tcflush.c: Likewise.
38795 * termios/tcgetattr.c: Likewise.
38796 * termios/tcgetpgrp.c: Likewise.
38797 * termios/tcsendbrk.c: Likewise.
38798 * termios/tcsetattr.c: Likewise.
38799 * termios/tcsetpgrp.c: Likewise.
38800 * time/adjtime.c: Likewise.
38801 * time/clock.c: Likewise.
38802 * time/getitimer.c: Likewise.
38803 * time/gettimeofday.c: Likewise.
38804 * time/setitimer.c: Likewise.
38805 * time/settimeofday.c: Likewise.
38806 * time/stime.c: Likewise.
38807 * time/time.c: Likewise.
38809 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
38811 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38814 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38816 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38818 2012-11-03 Joseph Myers <joseph@codesourcery.com>
38821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38822 FE_TONEAREST before applying Dekker multiplication and Knuth
38823 addition. Clear inexact exceptions and check for exact zero
38824 results afterwards.
38825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38828 * math/libm-test.inc (fma_test): Add more tests.
38829 (fma_test_towardzero): Likewise.
38830 (fma_test_downward): Likewise.
38831 (fma_test_upward): Likewise.
38832 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38834 (libc_fesetround): New macro.
38835 (libc_fesetroundf): Likewise.
38836 (libc_fesetroundl): Likewise.
38837 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38839 (libc_fesetround_387): Likewise.
38840 (libc_fesetroundf): New macro.
38841 (libc_fesetround): Likewise.
38842 (libc_fesetroundl): Likewise.
38843 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38845 (libc_fesetroundf): New macro.
38846 (libc_fesetround): Likewise.
38847 (libc_fesetroundl): Likewise.
38848 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38849 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38850 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38852 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38853 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38856 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38858 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38862 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38863 integer constant usable in #if and use that to give value to enum
38865 (FE_DIVBYZERO): Likewise.
38866 (FE_UNDERFLOW): Likewise.
38867 (FE_OVERFLOW): Likewise.
38868 (FE_INVALID): Likewise.
38869 (FE_INVALID_SNAN): Likewise.
38870 (FE_INVALID_ISI): Likewise.
38871 (FE_INVALID_IDI): Likewise.
38872 (FE_INVALID_ZDZ): Likewise.
38873 (FE_INVALID_IMZ): Likewise.
38874 (FE_INVALID_COMPARE): Likewise.
38875 (FE_INVALID_SOFTWARE): Likewise.
38876 (FE_INVALID_SQRT): Likewise.
38877 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38878 (FE_TONEAREST): Likewise.
38879 (FE_TOWARDZERO): Likewise.
38880 (FE_UPWARD): Likewise.
38881 (FE_DOWNWARD): Likewise.
38882 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38883 (FE_DIVBYZERO): Likewise.
38884 (FE_OVERFLOW): Likewise.
38885 (FE_UNDERFLOW): Likewise.
38886 (FE_INEXACT): Likewise.
38887 (FE_TONEAREST): Likewise.
38888 (FE_DOWNWARD): Likewise.
38889 (FE_UPWARD): Likewise.
38890 (FE_TOWARDZERO): Likewise.
38891 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38892 (FE_UNDERFLOW): Likewise.
38893 (FE_OVERFLOW): Likewise.
38894 (FE_DIVBYZERO): Likewise.
38895 (FE_INVALID): Likewise.
38896 (FE_TONEAREST): Likewise.
38897 (FE_TOWARDZERO): Likewise.
38898 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38899 (FE_OVERFLOW): Likewise.
38900 (FE_UNDERFLOW): Likewise.
38901 (FE_DIVBYZERO): Likewise.
38902 (FE_INEXACT): Likewise.
38903 (FE_TONEAREST): Likewise.
38904 (FE_TOWARDZERO): Likewise.
38905 (FE_UPWARD): Likewise.
38906 (FE_DOWNWARD): Likewise.
38907 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38908 (FE_DIVBYZERO): Likewise.
38909 (FE_OVERFLOW): Likewise.
38910 (FE_UNDERFLOW): Likewise.
38911 (FE_INEXACT): Likewise.
38912 (FE_TONEAREST): Likewise.
38913 (FE_DOWNWARD): Likewise.
38914 (FE_UPWARD): Likewise.
38915 (FE_TOWARDZERO): Likewise.
38917 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38919 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38921 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38923 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38924 commands. Quote $PWD.
38925 (blacklist_exports): Don't use remove_newlines. Replace "declare
38927 (remove_newlines): Remove.
38929 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38931 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38932 * stdlib/stdlib.h (atof): Moved to ...
38933 * include/bits/stdlib-float.h: Here. New file.
38934 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38935 * stdlib/bits/stdlib-float.h: New file.
38936 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38941 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38943 * conform/conformtest.pl (@headers): Add fenv.h.
38944 * conform/data/fenv.h-data: New file.
38945 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38946 include of <math/fenv.h>.
38948 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38949 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38950 && !UNIX98]. Enables tests for XOPEN2K8.
38951 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38952 POSIX2008]: Likewise.
38954 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38955 (struct rusage): Do not expect type or its members.
38958 * math/math.h (FP_NAN): Define macro to integer constant usable in
38959 #if and use that to give value to enum constant.
38960 (FP_INFINITE): Likewise.
38961 (FP_ZERO): Likewise.
38962 (FP_SUBNORMAL): Likewise.
38963 (FP_NORMAL): Likewise.
38965 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38967 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38968 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38971 2012-11-02 Roland McGrath <roland@hack.frob.com>
38973 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38974 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38975 autoconf-time if not.
38976 * configure.in: Remove AC_PREREQ.
38978 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38980 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38981 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38982 of the internal implementation.
38984 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38986 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38987 except include of <misc/sys/syslog.h>.
38989 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38992 function returns with a NULL context exit with zero.
38994 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38996 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38998 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39000 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39001 (run_program_cmd): This.
39002 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39003 (tst_langinfo): New variable. Use it.
39005 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39007 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39008 floating point opcodes.
39010 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39012 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39015 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39017 * sysdeps/mach/hurd/powerpc: Remove directory.
39018 * sysdeps/mach/powerpc: Likewise.
39020 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39022 * scripts/check-local-headers.sh: Ignore c++ headers.
39024 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39026 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39027 __libc_cleanup_region_start argument.
39029 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39034 x * y using scaling, not as x * y + z.
39035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39037 * math/libm-test.inc (fma_test): Add more tests.
39038 (fma_test_towardzero): Likewise.
39039 (fma_test_downward): Likewise.
39040 (fma_test_upward): Likewise.
39042 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39044 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39046 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39048 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39051 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39053 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39055 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39062 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39065 Fix the order of the list for glibc 2.17.
39066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39069 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39073 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39077 for low part of x being zero before using __atanl (y).
39078 * math/libm-test.inc (atan2_test): Add another test.
39080 * manual/install.texi (Configuring and compiling): Document
39081 general use of test-wrapper and test-wrapper-env.
39082 * INSTALL: Regenerated.
39084 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39085 (__fma): Do not extract and scale down low bits on after-rounding
39086 systems when result rounded to normal precision would have normal
39088 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39089 (__fmal): Do not extract and scale down low bits on after-rounding
39090 systems when result rounded to normal precision would have normal
39092 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39093 (__fmal): Do not extract and scale down low bits on after-rounding
39094 systems when result rounded to normal precision would have normal
39096 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39098 (fma_test): Add more tests.
39099 (fma_test_towardzero): Likewise.
39100 (fma_test_downward): Likewise.
39101 (fma_test_upward): Likewise.
39103 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39105 * sysdeps/i386/tininess.h: Renamed to ...
39106 * sysdeps/x86/tininess.h: This.
39107 * sysdeps/x86_64/tininess.h: Removed.
39109 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39111 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39112 input. Use $(build-program-cmd).
39113 ($(objpfx)tst-array1-static.out): Likewise.
39114 ($(objpfx)tst-array2.out): Likewise.
39115 ($(objpfx)tst-array3.out): Likewise.
39116 ($(objpfx)tst-array4.out): Likewise.
39117 ($(objpfx)tst-array5.out): Likewise.
39118 ($(objpfx)tst-array5-static.out): Likewise.
39120 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39122 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39125 * nss/nsswitch.h (nss_interface_function): Provide new
39126 macro for use with NSS functions.
39127 * grp/initgroups.c: Use new macro.
39128 * nss/getXXbyYY.c: Likewise.
39129 * nss/getXXbyYY_r.c: Likewise.
39130 * nss/getXXent.c: Likewise.
39131 * nss/getXXent_r.c: Likewise.
39132 * sysdeps/posix/getaddrinfo.c: Likewise.
39134 2012-10-30 Andreas Jaeger <aj@suse.de>
39136 * po/ru.po: Update Russion translation from translation project.
39138 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39143 result and shift together with sticky bit instead of replicating
39144 round-to-nearest rounding.
39145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39147 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39148 missing underflow exceptions.
39149 (fma_test_towardzero): Add more tests.
39150 (fma_test_downward): Likewise.
39151 (fma_test_upward): Likewise.
39154 * sysdeps/generic/tininess.h: New file.
39155 * sysdeps/i386/tininess.h: Likewise.
39156 * sysdeps/sh/tininess.h: Likewise.
39157 * sysdeps/x86_64/tininess.h: Likewise.
39158 * stdlib/tst-strtod-underflow.c: Likewise.
39159 * stdlib/tst-tininess.c: Likewise.
39160 * stdlib/strtod_l.c: Include <tininess.h>.
39161 (round_and_return): Do not set errno for exact underflow cases.
39162 Force an underflow exception when setting errno for underflow.
39163 Determine underflow based on rounding to normal precision if
39164 TININESS_AFTER_ROUNDING.
39165 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39166 ERANGE for exact underflow cases.
39167 * stdlib/Makefile (tests): Add tst-tininess and
39168 tst-strtod-underflow.
39169 ($(objpfx)tst-tininess): Use $(link-libm).
39170 ($(objpfx)tst-strtod-underflow): Likewise.
39172 2012-10-30 Andreas Jaeger <aj@suse.de>
39175 * elf/Makefile (tests): Remove conditional for have-initfini-array
39176 since this is now always required and the variable does not exist
39178 (tests-static): Likewise.
39179 (modules-names): Likewise.
39181 * po/eo.po: Add Esperanto translation from translation project.
39183 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39184 merged with constructor/destructor.
39185 (init_array): Likewise.
39186 * elf/tst-array2dep.c (fini_array): Likewise.
39187 (init_array): Likewise.
39189 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39191 * manual/message.texi: Delete @cartouche tags.
39193 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39195 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39197 * sysdeps/mach/hurd/fsync.c: Likewise.
39199 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39200 [_POSIX_REALTIME_SIGNALS]: Change condition to
39201 [_POSIX_REALTIME_SIGNALS > 0].
39203 2012-10-27 Andreas Jaeger <aj@suse.de>
39205 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39206 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39208 [__WORDSIZE != 64]: Likewise.
39210 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39212 * iconvdata/tst-table.sh: Remove ${SHELL}.
39213 * iconvdata/tst-tables.sh: Likewise.
39215 2012-10-25 David S. Miller <davem@davemloft.net>
39217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39218 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39224 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39225 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39228 2012-10-25 Roland McGrath <roland@hack.frob.com>
39230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39231 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39234 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39235 Jim Blandy <jimb@codesourcery.com>
39237 * scripts/cross-test-ssh.sh: New file.
39238 * manual/install.texi (Configuring and compiling): Document use of
39240 * INSTALL: Regenerated.
39242 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39244 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39247 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39249 * Makeconfig (run-program-prefix): Fix comment.
39251 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39252 Jim Blandy <jimb@codesourcery.com>
39254 * Makeconfig (test-wrapper): New variable,
39255 (test-wrapper-env): Likewise.
39256 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39257 (run-built-tests): Define to yes.
39258 (run-program-prefix): Use $(test-wrapper).
39259 (built-program-cmd): Likewise.
39260 * Rules (make-test-out): Use $(test-wrapper-env) and
39261 $(host-built-program-cmd).
39262 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39263 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39265 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39266 $(test-wrapper-env) to tst-rtld-load-self.sh.
39267 ($(objpfx)order2.out): Use $(test-wrapper).
39268 ($(objpfx)tst-initorder.out): Likewise.
39269 ($(objpfx)tst-initorder2.out): Likewise.
39270 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39271 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39272 (test_wrapper_env): New variable. Use it to run ld.so.
39273 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39274 Use it to run ld.so.
39275 (test_wrapper_env): Likewise.
39276 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39277 $(test-wrapper) to run-iconv-test.sh.
39278 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39279 (ICONV): Use $test_wrapper.
39280 * posix/Makefile ($(objpfx)globtest.out): Pass
39281 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39282 globtest.sh, not $(run-program-prefix).
39283 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39284 (test_wrapper): Likewise.
39285 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39286 set together with run_via_rtld_prefix.
39287 (run_program_prefix): Define in terms of test_wrapper and
39288 run_via_rtld_prefix.
39290 2012-10-24 Roland McGrath <roland@hack.frob.com>
39292 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39293 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39297 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39298 Declare __clock_getres, __clock_gettime, __clock_settime,
39299 __clock_nanosleep, and __clock_getcpuclockid.
39300 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39301 Remove librt_hidden_def (clock_gettime).
39302 * sysdeps/unix/clock_gettime.c: Likewise.
39303 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39305 * rt/clock_getres.c: Define __clock_getres as an alias.
39306 * sysdeps/posix/clock_getres.c: Likewise.
39307 * rt/clock_settime.c: Define __clock_settime as an alias.
39308 * sysdeps/unix/clock_settime.c: Likewise.
39309 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39310 * sysdeps/unix/clock_nanosleep.c: Likewise.
39311 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39312 * rt/clock-compat.c: New file.
39313 * rt/Makefile (librt-routines): Add clock-compat and move
39314 $(clock-routines) to ...
39315 (routines): ... here, new variable.
39316 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39317 Don't add get_clockfreq here.
39318 * rt/Versions (libc: GLIBC_2.17): New version set.
39319 Add clock_* symbols here.
39320 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39322 (GLIBC_2.17): Add clock_* symbols.
39323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39325 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39334 * NEWS: Mention the move.
39336 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39337 Use __open, __read, __close rather than their public counterparts.
39338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39339 (__get_clockfreq_via_cpuinfo): Likewise.
39340 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39341 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39343 * config.h.in (HAVE_IFUNC): New #undef.
39344 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39346 * configure: Regenerated.
39348 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39350 * configure.in: Move READELF check to start of file.
39351 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39352 libc_cv_asm_gnu_indirect_function in the process.
39353 * configure: Regenerated.
39355 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39357 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39358 send the output to /dev/null.
39359 (libc_cv_cc_with_libunwind): Likewise.
39360 (libc_cv_as_noexecstack): Likewise.
39361 * configure: Regenerate.
39363 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39365 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39367 * posix/globtest.sh (TMPDIR): Do not set.
39368 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39369 (testout): Likewise.
39371 2012-10-24 Andreas Jaeger <aj@suse.de>
39373 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39374 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39375 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39376 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39377 posix_fadvise64, posix_fallocate64.
39379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39380 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39381 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39383 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39385 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39388 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39389 <bits/fcntl-linux.h>.
39390 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39393 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39394 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39395 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39396 [__WORDSIZE != 64]: Likewise.
39398 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39400 * Makeconfig (run-built-tests): New variable.
39401 * Rules [$(cross-compiling) = yes]: Change condition to
39402 [$(run-built-tests) = no].
39403 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39404 to [$(run-built-tests) = yes].
39405 * elf/Makefile [$(cross-compiling) = no]: Likewise
39406 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39407 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39408 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39409 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39410 * io/Makefile [$(cross-compiling) = no]: Likewise.
39411 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39412 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39413 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39414 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39415 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39416 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39417 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39418 * string/Makefile [$(cross-compiling) = no]: Likewise.
39420 * posix/Makefile ($(objpfx)globtest.out): Pass
39421 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39422 $(rtld-installed-name).
39423 * posix/globtest.sh (elf_objpfx): Remove variable.
39424 (rtld_installed_name): Likewise.
39425 (library_path): Likewise.
39426 (run_program_prefix): New variable. Use for running globtest
39429 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39430 Joseph Myers <joseph@codesourcery.com>
39432 * Makeconfig (host-built-program-cmd): New variable.
39433 * elf/Makefile (tst-stackguard1-ARGS): Use
39434 $(host-built-program-cmd).
39435 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39436 (tst-spawn-ARGS): Likewise.
39437 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39439 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39440 Jim Blandy <jimb@codesourcery.com>
39442 * Makeconfig (run-via-rtld-prefix): New variable.
39443 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39444 (built-program-cmd): Likewise.
39446 2012-10-22 Andreas Jaeger <aj@suse.de>
39448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39449 __O_RSYNC if it exists, otherwise to O_SYNC.
39451 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39452 Joseph Myers <joseph@codesourcery.com>
39454 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39456 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39458 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39461 2012-10-22 Andreas Jaeger <aj@suse.de>
39463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39468 bits/fcntl-linux.h.
39470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39471 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39478 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39479 Joseph Myers <joseph@codesourcery.com>
39481 * config.make.in (NM): New variable.
39483 2012-10-21 Andreas Jaeger <aj@suse.de>
39485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39486 definitions and declarations that are provided by
39487 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39489 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39492 * elf/Makefile (tests-static): Add tst-leaks1-static.
39493 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39494 ($(objpfx)tst-leaks1-static): New rule.
39495 ($(objpfx)tst-leaks1-static-mem): Likewise.
39496 (tst-leaks1-static-ENV): New macro.
39497 * elf/dl-open.c (dl_open_worker): Check the main application
39498 only if SHARED is defined.
39499 * elf/tst-leaks1-static.c: New file.
39501 2012-10-20 Andreas Jaeger <aj@suse.de>
39503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39504 generic values for Linux.
39505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39506 and declarations that are provided by <bits/fcntl-linux.h> and
39507 include <bits/fcntl-linux.h>.
39508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39511 2012-10-20 Roland McGrath <roland@hack.frob.com>
39513 * io/fcntl.h: Move include of <bits/types.h> to the top and
39514 include it unconditionally.
39516 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39518 * wcsmbs/Makefile (tests-ifunc): New variable.
39519 (tests): Add $(tests-ifunc).
39520 * wcsmbs/test-wcschr-ifunc.c: New file.
39521 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39522 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39523 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39524 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39525 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39527 * string/Makefile (tests-ifunc): New variable.
39528 (tests): Add $(tests-ifunc).
39529 * string/test-memccpy.c (TEST_NAME): New macro.
39530 * string/test-memchr.c (TEST_NAME): Likewise.
39531 * string/test-memcmp.c (TEST_NAME): Likewise.
39532 * string/test-memcpy.c (TEST_NAME): Likewise.
39533 * string/test-memmem.c (TEST_NAME): Likewise.
39534 * string/test-memmove.c (TEST_NAME): Likewise.
39535 * string/test-memset.c (TEST_NAME): Likewise.
39536 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39537 * string/test-stpcpy.c (TEST_NAME): Likewise.
39538 * string/test-stpncpy.c (TEST_NAME): Likewise.
39539 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39540 * string/test-strcasestr.c (TEST_NAME): Likewise.
39541 * string/test-strcat.c (TEST_NAME): Likewise.
39542 * string/test-strchr.c (TEST_NAME): Likewise.
39543 * string/test-strcmp.c(TEST_NAME): Likewise.
39544 * string/test-strcpy.c (TEST_NAME): Likewise.
39545 * string/test-strcspn.c (TEST_NAME): Likewise.
39546 * string/test-strlen.c (TEST_NAME): Likewise.
39547 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39548 * string/test-strncmp.c (TEST_NAME): Likewise.
39549 * string/test-strncpy.c (TEST_NAME): Likewise.
39550 * string/test-strnlen.c (TEST_NAME): Likewise.
39551 * string/test-strpbrk.c (TEST_NAME): Likewise.
39552 * string/test-strrchr.c (TEST_NAME): Likewise.
39553 * string/test-strspn.c (TEST_NAME): Likewise.
39554 * string/test-strstr.c (TEST_NAME): Likewise.
39555 * string/test-bcopy-ifunc.c: New file.
39556 * string/test-bzero-ifunc.c: Likewise.
39557 * string/test-memccpy-ifunc.c: Likewise.
39558 * string/test-memchr-ifunc.c: Likewise.
39559 * string/test-memcmp-ifunc.c: Likewise.
39560 * string/test-memcpy-ifunc.c: Likewise.
39561 * string/test-memmem-ifunc.c: Likewise.
39562 * string/test-memmove-ifunc.c: Likewise.
39563 * string/test-mempcpy-ifunc.c: Likewise.
39564 * string/test-memset-ifunc.c: Likewise.
39565 * string/test-rawmemchr-ifunc.c: Likewise.
39566 * string/test-stpcpy-ifunc.c: Likewise.
39567 * string/test-stpncpy-ifunc.c: Likewise.
39568 * string/test-strcasecmp-ifunc.c: Likewise.
39569 * string/test-strcasestr-ifunc.c: Likewise.
39570 * string/test-strcat-ifunc.c: Likewise.
39571 * string/test-strchr-ifunc.c: Likewise.
39572 * string/test-strchrnul-ifunc.c: Likewise.
39573 * string/test-strcmp-ifunc.c: Likewise.
39574 * string/test-strcpy-ifunc.c: Likewise.
39575 * string/test-strcspn-ifunc.c: Likewise.
39576 * string/test-strlen-ifunc.c: Likewise.
39577 * string/test-strncasecmp-ifunc.c: Likewise.
39578 * string/test-strncat-ifunc.c: Likewise.
39579 * string/test-strncmp-ifunc.c: Likewise.
39580 * string/test-strncpy-ifunc.c: Likewise.
39581 * string/test-strnlen-ifunc.c: Likewise.
39582 * string/test-strpbrk-ifunc.c: Likewise.
39583 * string/test-strrchr-ifunc.c: Likewise.
39584 * string/test-strspn-ifunc.c: Likewise.
39585 * string/test-strstr-ifunc.c: Likewise.
39587 * debug/Makefile (tests-ifunc): New variable.
39588 (tests): Add $(tests-ifunc).
39589 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39590 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39591 * debug/test-stpcpy_chk-ifunc.c: New file.
39592 * debug/test-strcpy_chk-ifunc.c: Likewise.
39594 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39597 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39598 header is not read in.
39600 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39602 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39603 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39604 directly. Pass built executable to script as
39605 $(built-program-cmd).
39606 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39607 $testprogram without using LD_LIBRARY_PATH and $ldso.
39609 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39610 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39611 $(rtld-installed-name).
39612 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39613 (rtld_installed_name): Likewise.
39614 (library_path): Likewise.
39615 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39616 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39617 $(run-program-prefix) to tst-tables.sh.
39618 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39619 it to run tst-table-from and tst-table-to.
39620 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39621 Pass it to tst-table.sh.
39622 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39623 $(run-program-prefix) to tst-gettext.sh.
39624 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39626 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39628 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39629 to run tst-gettext.
39630 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39631 to run tst-gettext2.
39632 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39633 to run tst-translit.
39634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39635 $(run-program-prefix) to tst-mtrace.sh.
39636 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39638 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39639 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39640 $(rtld-installed-name).
39641 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39642 (rtld_installed_name): Likewise.
39643 (run_program_prefix): New variable. Use it to run wordexp-test.
39645 * Makeconfig (ARCH): Remove all definitions.
39646 (machine): Likewise.
39647 [ARCH]: Remove conditional code.
39648 [!objdir]: Give error.
39649 [!objdir] (objpfx): Remove.
39650 [!objdir] (common-objpfx): Likewise.
39651 [!objdir] (common-objdir): Likewise.
39652 * configure.in (config_makefile): Remove. Hardcode Makefile in
39653 AC_CONFIG_FILES call.
39654 * configure: Regenerated.
39657 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39659 (testout): Likewise.
39661 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39662 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39663 $(rtld-installed-name).
39664 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39665 (rtld_installed_name): Likwise.
39666 (runit): Remove function.
39667 (run_getconf): New variable, Use it for running getconf binary.
39669 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39672 * string/test-memmem.c (check_result): New function.
39673 (do_one_test): Use it.
39674 (check1): New function.
39675 (test_main): Use it.
39677 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39679 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39681 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39683 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39684 (_G_LSEEK64): Likewise.
39685 (_G_MMAP64): Likewise.
39686 (_G_FSTAT64): Likewise.
39687 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39688 (_G_LSEEK64): Likewise.
39689 (_G_MMAP64): Likewise.
39690 (_G_FSTAT64): Likewise.
39691 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39692 unconditional. Call __mmap64 directly.
39693 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39694 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39695 __lseek64 directly.
39696 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39697 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39699 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39700 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39701 __lseek64 directly.
39702 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39703 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39704 __lseek64 directly.
39705 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39706 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39707 __lseek64 directly.
39708 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39709 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39710 __fxstat64 directly.
39711 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39712 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39714 (freopen64) [!_G_OPEN64]: Remove conditional code.
39715 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39717 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39718 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39720 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39721 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39723 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39724 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39726 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39727 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39729 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39730 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39732 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39733 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39735 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39737 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39740 * manual/memory.texi (Malloc Tunable Parameters): Add note
39741 about free list pointers overwriting some perturb bytes.
39742 Wording suggested by Roland McGrath.
39744 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39746 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39747 (lgamma_test): Likewise.
39748 (tgamma_test): Likewise.
39750 2012-10-16 Florian Weimer <fweimer@redhat.com>
39753 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39754 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39756 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39758 * NEWS: Mention BZ #14716.
39759 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39760 when removing AVAILABLE1_USES_J macro.
39762 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39764 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39765 (__bswap_64): __uint64_t for unsigned 64-bit int.
39767 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39769 * include/string.h (memmem): Declare libc hidden alias.
39770 * string/memmem.c (memmem): Define libc hidden alias.
39771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39772 __read, __close instead of open, read, close.
39774 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39777 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39779 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39780 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39781 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39783 (__rawmemchr_sse2): Likewise.
39784 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39785 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39786 (__strchr_sse2): Likewise.
39787 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39788 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39789 (__strcasecmp_sse2): Likewise.
39790 (__strncasecmp_sse2): Likewise.
39791 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39792 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39793 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39794 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39795 (__strrchr_sse2): Likewise.
39796 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39798 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39799 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39800 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39801 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39802 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39803 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39804 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39805 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39806 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39807 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39808 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39809 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39810 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39811 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39812 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39813 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39814 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39815 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39816 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39817 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39818 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39819 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39820 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39821 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39822 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39824 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39825 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39826 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39827 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39829 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39831 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39832 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39833 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39834 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39836 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39838 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39839 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39840 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39841 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39843 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39844 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39846 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39847 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39861 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39871 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39872 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39885 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39886 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39887 * include/ifunc-impl-list.h: New file.
39888 * misc/ifunc-impl-list.c: Likewise.
39889 * misc/Makefile (routines): Add ifunc-impl-list.
39890 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39891 * string/test-string.h: Include <ifunc-impl-list.h>.
39892 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39893 TEST_NAME]: New variables.
39894 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39896 (test_init): Call __libc_ifunc_impl_list to initialize
39897 func_list if TEST_IFUNC and TEST_NAME are defined.
39899 * string/Makefile (strop-tests): Add bcopy and bzero.
39900 * string/test-bcopy.c: New file.
39901 * string/test-bzero.c: Likewise.
39902 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39904 * string/test-memset.c: Support bzero test if TEST_BZERO is
39906 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39908 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39910 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39913 2012-10-10 Joseph Myers <joseph@codesourcery.com>
39915 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39916 * configure: Regenerated.
39918 * Makeconfig (+link-static-before-libc): Don't include
39919 $(link-static-libc).
39921 * libio/libio.h (_IO_pos_t): Remove.
39923 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39925 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39928 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39930 * crypt/crypt-entry.c: Include fips-private.h.
39931 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39932 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39933 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39934 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39936 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39938 * crypt/crypt-private.h: Include stdbool.h.
39939 (_ufc_setup_salt_r): Return bool.
39940 * crypt/crypt-entry.c: Include errno.h.
39941 (__crypt_r): Return NULL with EINVAL for bad salt.
39942 * crypt/crypt_util.c (bad_for_salt): New.
39943 (_ufc_setup_salt_r): Check that salt is long enough and within
39944 the specified alphabet.
39945 * crypt/badsalttest.c: New file.
39946 * crypt/Makefile (tests): Add it.
39947 ($(objpfx)badsalttest): New.
39949 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39951 * NEWS: Add entry for BZ #14602.
39953 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39955 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39957 * math/libm-test.inc: Update comment listing what functions and
39959 (isgreater_test): New function.
39960 (isgreaterequal_test): Likewise.
39961 (isless_test): Likewise.
39962 (islessequal_test): Likewise.
39963 (islessgreater_test): Likewise.
39964 (isunordered_test): Likewise.
39965 (main): Call the new functions.
39967 2012-10-09 Roland McGrath <roland@hack.frob.com>
39969 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39970 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39971 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39972 * sysdeps/i386/configure: Regenerated.
39973 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39974 * sysdeps/mach/configure: Regenerated.
39975 * sysdeps/mach/hurd/configure: Regenerated.
39976 * sysdeps/powerpc/configure: Regenerated.
39977 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39978 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39979 * sysdeps/s390/s390-32/configure: Regenerated.
39980 * sysdeps/s390/s390-64/configure: Regenerated.
39981 * sysdeps/sh/configure: Regenerated.
39982 * sysdeps/sparc/configure: Regenerated.
39983 * sysdeps/unix/sysv/linux/configure: Regenerated.
39984 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39985 * sysdeps/x86_64/configure: Regenerated.
39987 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39988 defined. Don't check if MAP is NULL.
39990 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39992 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39993 (_G_stat64): Likewise.
39994 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39995 (_G_stat64): Likewise.
39996 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39997 instead of struct _G_stat64.
39998 * libio/fileops.c (mmap_remap_check): Likewise.
39999 (decide_maybe_mmap): Likewise.
40000 (_IO_new_file_seekoff): Likewise.
40001 (_IO_file_stat): Likewise.
40002 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40004 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40005 instead of struct _G_stat64.
40006 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40008 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40013 (CHECK_EOL): New macro.
40014 (two_way_short_needle): Check beginning of haystack for EOL. Use
40016 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40017 Replace with CHECK_EOL.
40018 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40019 Replace with CHECK_EOL.
40021 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40023 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40025 * math/libm-test.inc: Update comment listing what functions and
40027 (finite_test): New function.
40028 (isinf_test): Likewise.
40029 (isnan_test): Likewise.
40030 (fpclassify_test): Test subnormal input.
40031 (isfinite_test): Likewise.
40032 (isnormal_test): Likewise.
40033 (main): Call the new functions.
40035 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40038 * Makerules (%.dynsym): Force C locale when running
40039 $(OBJDUMP) --dynamic-syms.
40041 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40043 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40046 2012-10-06 David S. Miller <davem@davemloft.net>
40048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40049 upper 32-bits of the length value in %o2 since we use branch-on-register
40050 tests which consider the entire 64-bit register.
40052 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40054 * string/test-strstr.c (check2): Add a test for page boundary.
40056 2012-10-05 David S. Miller <davem@davemloft.net>
40058 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40059 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40061 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40063 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40064 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40065 and bzero when HWCAP_SPARC_CRYPTO is present.
40067 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40070 * string/test-strstr.c (check2): New function.
40071 (test_main): Call check2.
40073 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40075 * string/bug-strcasestr1.c (do_test): Moved to ...
40076 * string/test-strcasestr.c (check1): Here. New function.
40077 (do_one_test): Break out result checking code into ...
40078 (check_result): This. New function.
40079 (do_one_test): Call check_result.
40080 (test_main): Call check1.
40081 * string/bug-strchr1.c (do_test): Moved to ...
40082 * string/test-strchr.c (check1): Here. New function.
40083 (do_one_test): Break out result checking code into ...
40084 (check_result): This. New function.
40085 (do_one_test): Call check_result.
40086 (test_main): Call check1.
40087 * string/bug-strstr1.c (main): Moved to ...
40088 * string/test-strstr.c (check1): Here. New function.
40089 (do_one_test): Break out result checking code into ...
40090 (check_result): This. New function.
40091 (do_one_test): Call check_result.
40092 (test_main): Call check1.
40093 * string/bug-strcasestr1.c: Removed.
40094 * string/bug-strchr1.c: Likewise.
40095 * string/bug-strstr1.c: Likewise.
40097 * elf/Makefile (dl-routines): Add hwcaps.
40098 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40099 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40100 (_dl_important_hwcaps): Moved to ...
40101 * elf/dl-hwcaps.c: Here. New file.
40102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40105 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40106 if IS_IN_rtld isn't defined.
40108 * elf/dl-support.c (_dl_sysinfo_map): New.
40109 Include "get-dynamic-info.h" and "setup-vdso.h".
40110 (_dl_non_dynamic_init): Call setup_vdso.
40111 * elf/dynamic-link.h: Don't include <assert.h>.
40112 (elf_get_dynamic_info): Moved to ...
40113 * elf/get-dynamic-info.h: Here. New file.
40114 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40115 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40116 * elf/setup-vdso.h: Here. New file.
40117 * elf/rtld.c: Include "setup-vdso.h".
40118 (dl_main): Call setup_vdso.
40120 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40122 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40123 creal in comment listing functions tested. List finite, isinf,
40124 isnan, isless, islessequal, isgreater, isgreaterequal,
40125 islessgreater, isunordered, lgamma_r and pow10 as functions and
40126 macros not tested. Mention which functions not tested are aliases
40127 for other functions. Fix typo. Note that signs of NaNs are not
40130 * scripts/config.guess: Update from config.git.
40131 * scripts/config.sub: Likewise.
40133 2012-10-04 Roland McGrath <roland@hack.frob.com>
40135 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40136 * misc/madvise.c (madvise): Renamed to __madvise.
40137 Make madvise a weak alias.
40138 * include/sys/mman.h: Declare __madvise.
40139 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40140 * sysdeps/unix/syscalls.list
40141 (madvise): Make __madvise the strong name, and madvise a weak alias.
40142 * sysdeps/unix/sysv/linux/syscalls.list
40143 (madvise, mmap): Remove redundant entries.
40144 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40145 * malloc/malloc.c (mtrim): Likewise.
40146 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40148 2012-10-03 Roland McGrath <roland@hack.frob.com>
40150 * sysdeps/mach/hurd/dl-cache.c: File removed.
40151 * config.h.in (USE_LDCONFIG): New #undef.
40152 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40153 * configure: Regenerated.
40154 * elf/Makefile (dl-routines): Add dl-cache only under
40155 [$(use-ldconfig) = yes].
40156 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40157 cache on [USE_LDCONFIG].
40158 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40160 * elf/rtld.c (dl_main): Likewise.
40162 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40164 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40165 _SC_LEVEL4_CACHE_LINESIZE.
40167 2012-10-03 Roland McGrath <roland@hack.frob.com>
40169 * sysdeps/unix/bsd/confstr.h: File removed.
40171 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40173 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40176 2012-10-02 Roland McGrath <roland@hack.frob.com>
40178 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40179 Make 'mapoff' field ElfW(Off) rather than off_t.
40181 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40183 * nscd/Makefile: Remove nscd-cflags and all its users.
40184 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40185 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40188 * malloc.c (malloc_printerr): Clarify error message.
40190 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40194 Set bit_FMA_Usable if FMA is supported.
40195 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40197 (bit_FMA4_Usable): Updated.
40198 (index_FMA_Usable): New macro.
40199 (CPUID_FMA): Likewise
40200 (HAS_FMA): Defined with bit_FMA_Usable.
40202 2012-10-01 Roland McGrath <roland@hack.frob.com>
40204 * bits/types.h (__swblk_t): Type removed.
40205 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40206 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40208 (__SWBLK_T_TYPE): Likewise.
40209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40210 (__SWBLK_T_TYPE): Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40212 (__SWBLK_T_TYPE): Likewise.
40213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40214 (__SWBLK_T_TYPE): Likewise.
40216 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40217 Honza Horak <hhorak@redhat.com>
40219 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40220 (xdr_mapname): Use YPMAXMAP as maxsize.
40221 (xdr_peername): Use YPMAXPEER as maxsize.
40222 (xdr_keydat): Use YPAXRECORD as maxsize.
40223 (xdr_valdat): Use YPMAXRECORD as maxsize.
40225 2012-10-01 Roland McGrath <roland@hack.frob.com>
40227 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40229 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40230 * csu/init-first.c: ... here.
40231 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40232 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40234 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40235 * sysdeps/i386/init-first.c: File removed.
40236 * sysdeps/sh/init-first.c: File removed.
40238 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40242 if x * y might underflow to zero and z is zero.
40243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40245 * math/libm-test.inc (min_subnorm_value): New variable.
40246 (fma_test): Add more tests.
40247 (fma_test_towardzero): Likewise.
40248 (fma_test_downward): Likewise
40249 (fma_test_upward): Likewise.
40250 (initialize): Set min_subnorm_value.
40252 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40258 mode for addition resulting in exact zero.
40259 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40264 * math/libm-test.inc (fma_test): Add more tests.
40265 (fma_test_towardzero): New function.
40266 (fma_test_downward): Likewise.
40267 (fma_test_upward): Likewise.
40268 (main): Call the new functions.
40270 2012-09-28 David S. Miller <davem@davemloft.net>
40272 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40274 2012-09-28 Roland McGrath <roland@hack.frob.com>
40276 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40277 instead of SIGALRM.
40279 * sysdeps/gnu/_G_config.h: Moved to ...
40280 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40281 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40282 * sysdeps/generic/_G_config.h: ... here.
40284 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40286 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40288 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40289 Conditionalize target on [libnss_test1.so-version].
40291 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40293 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40294 (elfobjdir): Move out of conditionals.
40296 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40297 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40298 (__nss_lookup_function): Conditionalize label remove_from_tree on
40299 [!DO_STATIC_NSS || SHARED], matching its only use.
40301 2012-09-28 David S. Miller <davem@davemloft.net>
40303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40306 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40310 when HWCAP_SPARC_CRYPTO is present.
40312 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40314 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40316 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40319 * stdio-common/vfprintf.c (process_string_arg): Revert
40322 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40324 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40326 * stdio-common/tst-sprintf.c: Include <locale.h>
40327 (main): Test sprintf's handling of incomplete multibyte
40330 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40332 * elf/dl-runtime.c (VERSYMIDX): Removed.
40333 * elf/dl-version.c (VERSYMIDX): Likewise.
40334 * elf/do-rel.h (VERSYMIDX): Likewise.
40335 (VALIDX): Likewise.
40336 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40337 * elf/rtld.c (VALIDX): Likewise.
40338 (ADDRIDX): Likewise.
40339 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40340 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40341 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40342 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40343 (VALIDX): Likewise.
40344 (ADDRIDX): Likewise.
40346 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40348 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40350 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40353 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40355 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40356 addresses are in the same scope as 192.0.2/24.
40357 * posix/gai.conf: Document new scope table defaults.
40359 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40362 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40363 for ftell. Compute offsets from write pointers instead.
40364 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40366 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40369 * libio/Makefile (tests): New test case tst-fseek.
40370 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40371 combination works in wide mode.
40372 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40373 state when the external buffer state changes.
40375 2012-09-27 David S. Miller <davem@davemloft.net>
40378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40379 pass reloc->r_addend in as the 'high' argument to
40380 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40384 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40386 * rt/tst-aio2.c: Include <pthread.h>.
40387 * rt/tst-aio3.c: Likewise.
40389 2012-09-27 Steve Ellcey <sellcey@mips.com>
40391 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40393 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40395 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40396 contents on [SHARED].
40398 2012-09-26 Marek Polacek <polacek@redhat.com>
40402 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40403 for C++ and GCC <4.3 as well as for non GCC compilers.
40405 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40409 2012-09-25 Roland McGrath <roland@hack.frob.com>
40411 * Makefile.in (all, install): Declare with .PHONY.
40412 Reported by Michael Hope <michael.hope@linaro.org>.
40414 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40416 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40417 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40421 (sydep_routines): Add the new and the internal functions.
40422 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40423 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40425 (GLIBC_2.17): Add the new function.
40426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40427 (GLIBC_2.17): Likewise.
40428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40429 (GLIBC_2.17): Likewise.
40430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40431 (GLIBC_2.17): Likewise.
40432 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40434 2012-09-25 Alan Modra <amodra@gmail.com>
40436 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40437 Add release barrier before setting once_control to say
40438 initialisation is done. Add hints on lwarx. Use macro in
40440 (clear_once_control): Add release barrier.
40442 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40445 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40447 * math/s_clog10.c (__clog10): Likewise.
40448 * math/s_clog10f.c (__clog10f): Likewise.
40449 * math/s_clog10l.c (__clog10l): Likewise.
40450 * math/s_clogf.c (__clogf): Likewise.
40451 * math/s_clogl.c (__clogl): Likewise.
40452 * math/Makefile (libm-calls): Add x2y2m1.
40453 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40454 (__x2y2m1): Likewise.
40455 (__x2y2m1l): Likewise.
40456 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40457 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40460 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40461 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40462 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40463 * sysdeps/i386/fpu/libm-test-ulps: Update.
40464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40467 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40468 int as type of variable DEPTH.
40469 (glob): Use size_t instead of int as type of variables NEWCOUNT
40472 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40475 Add s_sincosf-sse2.
40476 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40477 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40478 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40479 macros for using routine as __sincosf_ia32.
40480 Use macro for function declaration and weak_alias.
40481 * sysdeps/i386/fpu/libm-test-ulps: Update.
40483 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40486 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40487 subnormal argument.
40488 * math/s_cexpf.c (__cexpf): Likewise.
40489 * math/s_csinf.c (__csinf): Likewise.
40490 * math/s_csinhf.c (__csinhf): Likewise.
40491 * math/s_ctanf.c (__ctanf): Likewise.
40492 * math/s_ctanhf.c (__ctanhf): Likewise.
40493 * math/s_ccosh.c (__ccoshf): Likewise.
40494 * math/s_cexp.c (__cexpl): Likewise.
40495 * math/s_csin.c (__csin): Likewise.
40496 * math/s_csinh.c (__csinh): Likewise.
40497 * math/s_ctan.c (__ctan): Likewise.
40498 * math/s_ctanh.c (ctanh): Likewise.
40499 * math/s_ccoshl.c (__ccoshl): Likewise.
40500 * math/s_cexpl.c (__cexpl): Likewise.
40501 * math/s_csinl.c (__csinl): Likewise.
40502 * math/s_csinhl.c (__csinhl): Likewise.
40503 * math/s_ctanl.c (__ctanl): Likewise.
40504 * math/s_ctanhl.c (__ctanhl): Likewise.
40506 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40508 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40509 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40510 (_IO_off_t): Define to __off_t, not _G_off_t.
40511 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40512 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40513 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40514 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40515 type of __dummy and __dummy2 fields.
40516 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40517 (_G_ssize_t): Likewise.
40518 (_G_off_t): Likewise.
40519 (_G_pid_t): Likewise.
40520 (_G_uid_t): Likewise.
40521 (_G_wchar_t): Likewise.
40522 (_G_wint_t): Likewise.
40523 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40524 (_G_ssize_t): Likewise.
40525 (_G_off_t): Likewise.
40526 (_G_pid_t): Likewise.
40527 (_G_uid_t): Likewise.
40528 (_G_wchar_t): Likewise.
40529 (_G_wint_t): Likewise.
40530 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40531 (_G_ssize_t): Likewise.
40532 (_G_off_t): Likewise.
40533 (_G_pid_t): Likewise.
40534 (_G_uid_t): Likewise.
40535 (_G_wchar_t): Likewise.
40536 (_G_wint_t): Likewise.
40538 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40540 * malloc/arena.c: Include malloc-sysdep.h.
40541 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40542 is sufficient to shrink the heap or an unmap is needed.
40543 * sysdeps/generic/malloc-sysdep.h: New file. Define
40544 new function check_may_shrink_heap.
40545 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40546 new function check_may_shrink_heap.
40548 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40550 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40553 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40555 * catgets/test-gencat.sh: Add "set -e".
40556 * elf/tst-pathopt.sh: Likewise.
40557 * grp/tst_fgetgrent.sh: Likewise.
40558 * iconvdata/run-iconv-test.sh: Likewise.
40559 * intl/tst-gettext.sh: Likewise.
40560 * intl/tst-gettext2.sh: Likewise.
40561 * intl/tst-gettext4.sh: Likewise.
40562 * intl/tst-gettext6.sh: Likewise.
40563 * intl/tst-translit.sh: Likewise.
40564 * io/ftwtest-sh: Likewise.
40565 * libio/test-freopen.sh: Likewise.
40566 * malloc/tst-mtrace.sh: Likewise.
40567 * posix/globtest.sh: Likewise.
40568 * posix/tst-getconf.sh: Likewise.
40569 * posix/wordexp-tst.sh: Likewise.
40570 * stdio-common/tst-printf.sh: Likewise.
40571 * stdio-common/tst-unbputc.sh: Likewise.
40572 * stdlib/tst-fmtmsg.sh: Likewise.
40573 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40574 * catgets/Makefile: Do not specify -e option when running
40575 testsuite shell scripts.
40576 * elf/Makefile: Likewise.
40577 * grp/Makefile: Likewise.
40578 * iconvdata/Makefile: Likewise.
40579 * intl/Makefile: Likewise.
40580 * io/Makefile: Likewise.
40581 * libio/Makefile: Likewise.
40582 * malloc/Makefile: Likewise.
40583 * posix/Makefile: Likewise.
40584 * stdio-common/Makefile: Likewise.
40585 * stdlib/Makefile: Likewise.
40586 * sysdeps/x86_64/Makefile: Likewise.
40588 * io/ftwtest-sh: Add copyright header.
40589 * posix/globtest.sh: Likewise.
40590 * posix/tst-getconf.sh: Likewise.
40591 * posix/wordexp-tst.sh: Likewise.
40592 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40594 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40597 * Makeconfig (+link): Defined as $(+link-static) if
40598 $(build-shared) isn't yes.
40599 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40601 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40603 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40606 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40607 new chunk size with MALLOC_ALIGN_MASK.
40609 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40612 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40614 (__printf_fphex): Determine rounding using get_rounding_mode and
40616 * stdio-common/tst-printf-round.c (struct hex_test): New
40618 (hex_tests): New variable.
40619 (test_hex_in_one_mode): New function.
40620 (do_test): Also run tests for hex float output.
40622 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40624 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40625 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40626 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40627 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40628 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40629 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40630 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40631 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40633 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40635 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40636 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40637 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40638 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40640 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40643 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40645 * elf/tst-rtld-load-self.sh: New test.
40646 * elf/Makefile: Run it.
40648 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40650 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40651 (tst-writev-ENV): Remove.
40652 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40654 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40656 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40658 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40660 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40662 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40664 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40665 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40669 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40672 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40673 * config.make.in (have-cpp-asm-debuginfo): Removed.
40674 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40675 * configure: Regenerated.
40677 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40680 * stdio-common/printf_fp.c: Include <stdbool.h> and
40682 (___printf_fp): Determine rounding using get_rounding_mode and
40684 * stdio-common/tst-printf-round.c: New file.
40685 * stdio-common/Makefile (tests): Add tst-printf-round.
40686 (link-libm): New variable.
40687 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40689 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40692 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40693 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40695 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40698 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40700 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40701 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40702 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40703 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40705 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40708 * include/rounding-mode.h: New file.
40709 * sysdeps/generic/get-rounding-mode.h: Likewise.
40710 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40711 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40712 (MAX_VALUE): New macro.
40713 (MIN_VALUE): Likewise.
40714 (overflow_value): New function.
40715 (underflow_value): Likewise.
40716 (round_and_return): Use overflow_value and underflow_value to
40717 determine return values in overflow and underflow cases. Use
40718 round_away to determine rounding depending on rounding mode.
40719 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40720 determine return values in overflow and underflow cases.
40721 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40722 (struct test_results): New structure.
40723 (struct test): Use struct test_results to store expected results
40724 for all rounding modes.
40725 (TEST): Include expected results for all rounding modes.
40726 (test_in_one_mode): New function.
40727 (do_test): Use test_in_one_mode to compute and check results.
40728 Check results for all rounding modes.
40729 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40732 2012-12-09 Allan McRae <allan@archlinux.org>
40734 * sysdeps/i386/fpu/libm-test-ulps: Update
40736 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40738 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40739 (_G_int32_t): Likewise.
40740 (_G_uint16_t): Likewise.
40741 (_G_uint32_t): Likewise.
40742 (_G_HAVE_BOOL): Likewise.
40743 (_G_HAVE_ATEXIT): Likewise.
40744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40745 (_G_HAVE_IO_FILE_OPEN): Likewise.
40746 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40747 (_G_int32_t): Likewise.
40748 (_G_uint16_t): Likewise.
40749 (_G_uint32_t): Likewise.
40750 (_G_HAVE_BOOL): Likewise.
40751 (_G_HAVE_ATEXIT): Likewise.
40752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40753 (_G_HAVE_IO_FILE_OPEN): Likewise.
40754 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40755 (_G_int32_t): Likewise.
40756 (_G_uint16_t): Likewise.
40757 (_G_uint32_t): Likewise.
40758 (_G_HAVE_BOOL): Likewise.
40759 (_G_HAVE_ATEXIT): Likewise.
40760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40761 (_G_HAVE_IO_FILE_OPEN): Likewise.
40763 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40765 * csu/libc-tls.c: Update copyright years.
40767 2012-09-10 Joseph Myers <joseph@codesourcery.com>
40769 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40770 [!_G_USING_THUNKS]: Remove conditional code.
40771 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40772 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40774 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40775 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40776 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40777 (_G_VTABLE_LABEL_PREFIX): Likewise.
40778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40779 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40780 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40781 (_G_VTABLE_LABEL_PREFIX): Likewise.
40782 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40783 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40785 (_G_VTABLE_LABEL_PREFIX): Likewise.
40786 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40788 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40790 * libio/Makefile: Include ../Makeconfig before tests.
40791 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40792 only if $(build-shared) is yes.
40794 * iconv/gconv_db.c: Update copyright years.
40796 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40799 unwind info if defined PIC. Fix special cases description.
40800 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40802 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40804 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40806 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40808 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40810 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40813 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40814 (LDLIBS-tst-chk4): This.
40815 (LDFLAGS-tst-chk5): Renamed to ...
40816 (LDLIBS-tst-chk5): This.
40817 (LDFLAGS-tst-chk6): Renamed to ...
40818 (LDLIBS-tst-chk6): This.
40819 (LDFLAGS-tst-lfschk4): Renamed to ...
40820 (LDLIBS-tst-lfschk4): This.
40821 (LDFLAGS-tst-lfschk5): Renamed to ...
40822 (LDLIBS-tst-lfschk5): This.
40823 (LDFLAGS-tst-lfschk6): Renamed to ...
40824 (LDLIBS-tst-lfschk6): This.
40826 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40827 on $(common-objpfx)soversions.mk.
40829 2012-09-07 Joseph Myers <joseph@codesourcery.com>
40832 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40835 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40837 * malloc/arena.c (arena_get_retry): New function that gets
40838 another arena for the caller to try its request on.
40839 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40840 current arena cannot fulfill the request.
40841 (__libc_memalign): Likewise.
40842 (__libc_memalign): Likewise.
40843 (__libc_pvalloc): Likewise.
40844 (__libc_calloc): Likewise.
40846 2012-09-05 John Tobey <john.tobey@gmail.com>
40849 * manual/arith.texi (Operations on Complex): Fix description
40850 of carg branch cut.
40852 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40855 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40859 * manual/memory.texi (Memory): Make order of menu items match
40862 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40864 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40865 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40866 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40868 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40870 * csu/libc-tls.c (static_dtv): Renamed to ...
40871 (_dl_static_dtv): This. Make it global.
40872 (_dl_initial_dtv): Removed.
40873 (__libc_setup_tls): Updated.
40874 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40875 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40878 2012-09-06 Petr Machata <pmachata@redhat.com>
40880 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40881 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40882 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40883 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40885 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40888 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40889 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40892 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40895 * Makeconfig (link-static-before-libc): Replace $(+prector)
40897 (link-static-after-libc): Replace $(+postctor) with
40899 (link-bounded): Replace $(+prector)/$(+postctor) with
40900 $(+prectorT)/$(+postctorT).
40901 (+prectorT): New macro.
40902 (+postctorT): Likewise.
40904 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40906 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40907 (round_str): Handle values above the maximum for IBM long double
40909 * stdlib/tst-strtod-round.c (tests): Regenerated.
40911 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40913 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40915 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40916 zarch_nohighgprs around the zarch optimized routines.
40917 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40918 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40919 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40922 2012-09-05 David S. Miller <davem@davemloft.net>
40924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40926 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40927 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40928 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40929 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40932 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40934 * malloc/arena.c: Fold copyright years.
40935 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40937 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40941 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40943 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40945 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40947 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40948 change internal state upon failure.
40950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40952 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40953 * malloc/memusage.c (mmap): Likewise.
40954 (mmap64, mremap): Likewise. Adjust name in comment.
40956 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40958 * libio/fileops.c: Fix typos in comments.
40959 * libio/oldfileops.c: Likewise.
40960 * libio/wfileops.c: Likewise.
40962 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40965 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40966 (tst-malloc-usable-ENV): Set environment for test case.
40967 * malloc/hooks.c (malloc_check_get_size): New function to get
40969 * malloc/malloc.c (musable): Use malloc_check_get_size.
40970 * malloc/tst-malloc-usable.c: New test case.
40972 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40974 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40976 2012-09-05 Allan McRae <allan@archlinux.org>
40979 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40980 determine header location.
40981 * configure: Regenerated.
40983 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40985 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40987 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40988 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40990 (test): Regenerate.
40992 2012-09-04 David S. Miller <davem@davemloft.net>
40994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40996 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40998 2012-09-04 Florian Weimer <fweimer@redhat.com>
41000 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41003 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41005 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41008 * libio/iogetdelim.c: Include <limits.h>.
41009 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41010 + len + 1 would overflow.
41012 2012-09-03 Andreas Jaeger <aj@suse.de>
41014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41015 * sysdeps/i386/fpu/libm-test-ulps: Update.
41017 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41019 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41020 Add s_sinf-sse2, s_conf-sse2.
41022 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41024 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41025 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41027 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41028 for using routine as __sinf_ia32.
41029 Use macro for function declaration and weak_alias.
41030 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41031 for using routine as __cosf_ia32.
41032 Use macro for function declaration and weak_alias.
41034 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41035 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41037 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41038 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41041 * math/libm-test.inc (cos_test): Add more test cases.
41042 (sin_test): Likewise.
41043 (sincos_test): Likewise.
41045 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41047 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41048 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41052 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41055 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41056 first element of the GOT.
41057 (elf_machine_load_address): Return the difference between
41058 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41060 2012-09-01 Allan McRae <allan@archlinux.org>
41063 * configure.in (AWK): Require gawk version 3.0 or later.
41064 * configure: Regenerated.
41066 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41068 * sysdeps/unix/sysv/linux/kernel-features.h
41069 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41071 [__NR_clock_getres]: Make code unconditional.
41072 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41073 (clock_getcpuclockid): Remove code left unreachable by removal of
41075 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41076 code unconditional.
41077 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41079 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41080 Make code unconditional.
41081 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41083 * sysdeps/unix/sysv/linux/clock_settime.c
41084 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41086 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41087 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41089 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41092 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41093 scripts/test-installation.pl.
41095 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41096 and $ld_so_version if it is set.
41098 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41102 failure if reading from procfs failed.
41103 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41105 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41107 * sysdeps/unix/sysv/linux/kernel-features.h
41108 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41109 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41110 Remove conditional code.
41111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41112 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41113 Remove conditional code.
41114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41115 * sysdeps/unix/sysv/linux/i386/fxstat.c
41116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41118 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41121 * sysdeps/unix/sysv/linux/i386/lxstat.c
41122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41125 Remove conditional code.
41126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41127 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41128 Remove conditional code.
41129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41130 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41131 <kernel-features.h>.
41132 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41134 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41135 Remove conditional code.
41136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41137 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41138 Remove conditional.
41140 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41143 * NEWS: Add fixed bug number.
41145 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41148 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41149 underflowing exponent in case of negative sign.
41150 * stdlib/tst-strtod-round-data: Add more tests.
41151 * stdlib/tst-strtod-round.c (tests): Regenerated.
41154 * stdlib/strtod_l.c (NDIG): Remove.
41155 (HEXNDIG): Likewise.
41156 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41157 smallest representable value.
41158 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41159 lie within an exact representation of 1/2 ulp of the result.
41160 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41162 (TENS_P9_IDX): Define unconditionally.
41163 (TENS_P9_SIZE): Likewise.
41164 (TENS_P10_IDX): Likewise.
41165 (TENS_P10_SIZE): Likewise.
41166 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41167 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41168 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41169 entries for 10^2^13 and 10^2^14.
41170 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41171 (TENS_P13_IDX): Define.
41172 (TENS_P13_SIZE): Likewise.
41173 (TENS_P14_IDX): Likewise.
41174 (TENS_P14_SIZE): Likewise.
41175 (_fpioconst_pow10): Change array size to
41176 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41178 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41179 1024]: Add entries for 10^2^13 and 10^2^14.
41180 [LAST_POW10 > _LAST_POW10]: Remove #error.
41181 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41182 (_fpioconst_pow10): Change array size to
41183 FPIOCONST_POW10_ARRAY_SIZE.
41184 * stdlib/gen-fpioconst.c: New file.
41185 * stdlib/gen-tst-strtod-round.c: Likewise.
41186 * stdlib/tst-strtod-round-data: Likewise.
41187 * stdlib/tst-strtod-round.c: Likewise.
41188 * stdlib/Makefile (tests): Add tst-strtod-round.
41191 * stdlib/strtod_l.c: Include <stdint.h>.
41192 (NDEBUG): Do not define.
41193 (round_and_return): Change EXPONENT parameter to type intmax_t.
41194 Rearrange calculations to avoid internal overflow possibilities.
41195 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41196 Rearrange calculations to avoid internal overflow possibilities.
41197 Assert that number fits inside MPNSIZE limbs.
41198 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41199 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41200 calculations and add assertions to avoid internal overflow
41201 possibilities. Add casts to avoid signed/unsigned operations.
41202 * stdlib/tst-strtod-overflow.c: New file.
41203 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41205 2012-08-25 Marek Polacek <polacek@redhat.com>
41207 * time/time.h: Fix some typos in comments.
41209 2012-08-23 Roland McGrath <roland@hack.frob.com>
41211 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41212 * posix/tst-rfc3484-2.c: Likewise.
41213 * posix/tst-rfc3484-3.c: Likewise.
41215 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41217 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41218 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41220 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41222 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41223 #include of fxstatat64.c.
41225 2012-08-22 Roland McGrath <roland@hack.frob.com>
41227 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41228 * shadow/getspent_r.c: Likewise.
41229 * shadow/getspnam.c: Likewise.
41230 * shadow/getspnam_r.c: Likewise.
41231 * gshadow/getsgent.c: Likewise.
41232 * gshadow/getsgent_r.c: Likewise.
41233 * gshadow/getsgnam.c: Likewise.
41234 * gshadow/getsgnam_r.c: Likewise.
41235 * inet/getnetbyad.c: Likewise.
41236 * inet/getnetbyad_r.c: Likewise.
41237 * inet/getnetbynm.c: Likewise.
41238 * inet/getnetbynm_r.c: Likewise.
41239 * inet/getnetent.c: Likewise.
41240 * inet/getnetent_r.c: Likewise.
41241 * inet/getproto.c: Likewise.
41242 * inet/getproto_r.c: Likewise.
41243 * inet/getprtent.c: Likewise.
41244 * inet/getprtent_r.c: Likewise.
41245 * inet/getprtname.c: Likewise.
41246 * inet/getprtname_r.c: Likewise.
41247 * inet/getrpcbyname.c: Likewise.
41248 * inet/getrpcbyname_r.c: Likewise.
41249 * inet/getrpcbynumber.c: Likewise.
41250 * inet/getrpcbynumber_r.c: Likewise.
41251 * inet/getrpcent.c: Likewise.
41252 * inet/getrpcent_r.c: Likewise.
41253 * inet/getaliasent.c: Likewise.
41254 * inet/getaliasent_r.c: Likewise.
41255 * inet/getaliasname.c: Likewise.
41256 * inet/getaliasname_r.c: Likewise.
41257 * nscd/getgrgid_r.c: Likewise.
41258 * nscd/getgrnam_r.c: Likewise.
41259 * nscd/gethstbyad_r.c: Likewise.
41260 * nscd/gethstbynm3_r.c: Likewise.
41261 * nscd/getpwnam_r.c: Likewise.
41262 * nscd/getpwuid_r.c: Likewise.
41263 * nscd/getsrvbynm_r.c: Likewise.
41264 * nscd/getsrvbypt_r.c: Likewise.
41265 * nscd/gai.c: Likewise.
41267 * configure.in (build_nscd): New substituted variable, set
41268 by --disable-build-nscd and defaults to $use_nscd.
41269 * configure: Regenerated.
41270 * config.make.in (build-nscd): New substituted variable.
41271 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41272 Change conditional to require [$(build-nscd) = yes] as well.
41273 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41276 * configure.in (use_nscd): New substituted variable, set by
41277 --disable-nscd. If enabled, define USE_NSCD.
41278 * configure: Regenerated.
41279 * config.h.in: Add USE_NSCD.
41280 * config.make.in (use-nscd): New substituted variable.
41281 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41282 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41283 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41284 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41285 (CFLAGS-getgrnam_r.c): Likewise.
41286 (CFLAGS-initgroups.c): Likewise.
41287 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41288 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41290 * inet/getnetgrent_r.c
41291 (nscd_setnetgrent): New function, broken out of ...
41292 (setnetgrent): ... here. Call it.
41293 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41294 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41295 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41296 * nscd/Makefile (routines, aux): Move definitions after include of
41297 Makeconfig. Conditionalize on [$(use-nscd) != no].
41298 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41299 Conditionalize on [USE_NSCD].
41300 (is_nscd, nscd_init_cb): Likewise.
41301 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41302 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41303 * nss/nss_db/db-init.c: Likewise.
41304 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41306 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41307 (make_request): Use it.
41308 (cache_valid_p): New function.
41309 (__check_pf): Use it.
41310 * NEWS: Add item for --disable-nscd.
41312 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41314 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41315 to support sed >= 4.2.1-20-ga9bf076.
41316 * configure: Regenerated.
41318 2012-08-22 Roland McGrath <roland@hack.frob.com>
41320 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41321 Conditionalize whole body on [IREL].
41323 2012-08-22 Jeff Law <law@redhat.com>
41326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41327 if the family is PF_UNSPEC.
41329 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41331 * Makerules (lib-version): Rename from V.
41332 (install-lib-nosubdir): Change V to lib-version.
41334 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41337 * powerpc32/power6/wcschr.c: New file.
41338 * powerpc32/power6/wcscpy.c: New file.
41339 * powerpc32/power6/wcsrchr.c: New file.
41340 * powerpc64/power6/wcschr.c: New file.
41341 * powerpc64/power6/wcscpy.c: New file.
41342 * powerpc64/power6/wcsrchr.c: New file.
41344 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41346 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41347 (two_way_short_needle): Use it.
41348 * string/strstr.c (AVAILABLE1_USES_J): Define.
41349 * string/strcasestr.c: Likewise.
41351 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41353 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41356 * NEWS: Add an entry.
41357 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41358 define their defaults.
41359 (two_way_short_needle): Detect end-of-string on-the-fly.
41360 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41361 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41362 * string/bug-strcasestr1.c: New test.
41363 * string/Makefile: Run it.
41365 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41368 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41369 the first character.
41371 2012-08-21 Roland McGrath <roland@hack.frob.com>
41373 * csu/elf-init.c (__libc_csu_irel): Function removed.
41374 * csu/libc-start.c (apply_irel): New function.
41375 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41377 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41379 * sysdeps/unix/sysv/linux/kernel-features.h
41380 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41381 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41382 <kernel-features.h>.
41383 [__NR_fadvise64_64]: Make code unconditional.
41384 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41385 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41386 !__NR_fadvise64_64)]: Likewise.
41387 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41388 !__NR_fadvise64_64))]: Likewise.
41389 [__NR_fadvise64]: Make code unconditional.
41390 [!__NR_fadvise64]: Remove conditional code.
41391 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41392 <kernel-features.h>.
41393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41398 not include <kernel-features.h>.
41399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41403 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41404 include <kernel-features.h>.
41405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41410 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41413 slight instruction rearrangements per scrollpipe analysis.
41414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41416 2012-08-20 Roland McGrath <roland@hack.frob.com>
41418 * manual/syslog.texi (syslog; vsyslog, closelog):
41419 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41420 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41422 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41423 DSOCAPS to match condition on defining it.
41425 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41427 * sysdeps/unix/sysv/linux/kernel-features.h
41428 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41439 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41440 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41442 * sysdeps/unix/sysv/linux/kernel-features.h
41443 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41444 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41446 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41447 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41448 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41449 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41450 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41451 Make code unconditional.
41452 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41453 (__mmap64) [!__NR_mmap2]: Likewise.
41454 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41455 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41456 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41457 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41458 [__NR_mmap2]: Make code unconditional.
41459 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41460 (__mmap64) [!__NR_mmap2]: Likewise.
41462 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41464 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41466 2012-08-18 Andreas Jaeger <aj@suse.de>
41468 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41470 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41472 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41473 * include/unistd.h (__have_sock_cloexec): Likewise.
41474 (__have_pipe2): Likewise.
41475 (__have_dup3): Likewise.
41477 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41480 * include/unistd.h (__have_pipe2): Change define into an extern int.
41481 (__have_dup3): Likewise.
41482 * socket/have_sock_cloexec.c: Include fcntl.h.
41483 (__have_pipe2): New variable.
41484 (__have_dup3): Likewise.
41486 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41488 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41490 2012-08-17 Marek Polacek <polacek@redhat.com>
41492 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41493 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41495 2012-08-17 Roland McGrath <roland@hack.frob.com>
41497 * configure.in: Add AC_SUBST for sysheaders.
41498 * configure: Regenerated.
41499 * config.make.in (sysheaders): New substituted variable.
41501 * sysdeps/unix/mkfifo.c: Moved ...
41502 * sysdeps/posix/mkfifo.c: ... here.
41503 * sysdeps/unix/mkfifoat.c: Moved ...
41504 * sysdeps/posix/mkfifoat.c: ... here.
41506 * sysdeps/unix/utime.c: Moved ...
41507 * sysdeps/posix/utime.c: ... here.
41509 * sysdeps/unix/time.c: Moved ...
41510 * sysdeps/posix/time.c: ... here.
41511 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41512 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41514 * sysdeps/unix/nice.c: Moved ...
41515 * sysdeps/posix/nice.c: ... here.
41517 * sysdeps/unix/alarm.c: Moved ...
41518 * sysdeps/posix/alarm.c: ... here.
41520 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41522 2012-08-17 Jeff Law <law@redhat.com>
41524 * intl/Makefile (codeset_mo): New variable.
41525 ($(codeset_mo)): New target.
41526 (tst-codeset.out): Depend on that. Remove explicit rule.
41527 (tst-gettext3.out, tst-gettext5.out): Likewise.
41528 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41529 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41530 * intl/tst-codeset.sh: Remove.
41531 * intl/tst-gettext3.sh: Likewise.
41532 * intl/tst-gettext5.sh: Likewise.
41534 2012-08-17 Roland McGrath <roland@hack.frob.com>
41536 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41537 * sysdeps/unix/syscalls.list: ... here.
41539 * sysdeps/posix/getaddrinfo.c
41540 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41541 (gaiconf_init, gaiconf_reload): Use them.
41542 [!_STATBUF_ST_NSEC]
41543 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41544 Define using time_t rather than struct timespec.
41546 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41547 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41549 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41551 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41552 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41555 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41556 __libc_cleanup_push argument.
41558 * bits/param.h: New file.
41559 * misc/sys/param.h: New file.
41560 * include/sys/param.h: New file.
41561 * misc/Makefile (headers): Add bits/param.h.
41562 * sysdeps/generic/sys/param.h: File removed.
41563 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41564 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41565 * sysdeps/mach/hurd/bits/param.h: New file.
41566 * sysdeps/mach/hurd/sys/param.h: File removed.
41568 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41571 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41573 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41574 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41577 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41578 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41579 rather than -D_IO_MTSAFE_IO conditionally.
41580 * stdio-common/Makefile (CPPFLAGS): Likewise.
41581 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41582 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41583 Use $(libio-mtsafe).
41584 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41585 of -D_IO_MTSAFE_IO.
41586 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41587 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41588 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41589 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41590 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41591 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41592 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41593 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41594 (CFLAGS-fread_u_chk.c): Likewise.
41595 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41596 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41597 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41598 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41599 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41600 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41601 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41602 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41603 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41605 * libio/Makefile: Test [$(libc-reentrant) = yes]
41606 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41609 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41610 * sysdeps/pthread/configure: File removed.
41611 * sysdeps/pthread/Makeconfig: New file.
41612 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41613 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41615 2012-08-16 Gary Benson <gbenson@redhat.com>
41617 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41618 unmapping the first object in a namespace.
41620 2012-08-16 Roland McGrath <roland@hack.frob.com>
41622 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41623 (__internal_setnetgrent): ... this. Add internal_function to
41624 definition. Add libc_hidden_def.
41625 (setnetgrent): Update caller.
41626 (internal_endnetgrent): Renamed to ...
41627 (__internal_endnetgrent): ... this. Add internal_function to
41628 definition. Add libc_hidden_def.
41629 (endnetgrent): Update caller.
41630 (internal_getnetgrent_r): Renamed to ...
41631 (__internal_getnetgrent_r): ... this. Add internal_function to
41632 definition. Add libc_hidden_def.
41633 (__getnetgrent_r): Update caller.
41634 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41636 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41638 * stdlib/longlong.h: Update from GCC.
41640 2012-08-16 Roland McGrath <roland@hack.frob.com>
41642 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41643 on _QL, which is set by umul_ppmm but never used.
41644 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41645 variables, which are set by GMP macros but never used.
41646 * stdio-common/_itowa.c (_itowa): Likewise.
41647 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41648 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41650 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41652 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41653 struct La_sh_regs is not constant.
41654 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41655 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41656 and struct La_sparc64_regs are not constant.
41658 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41660 * sysdeps/unix/sysv/linux/kernel-features.h
41661 (__ASSUME_POSIX_TIMERS): Remove.
41662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41664 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41665 Make code unconditional.
41666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41667 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41668 Make code unconditional.
41669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41670 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41671 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41673 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41674 Make code unconditional.
41675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41676 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41677 (__libc_missing_posix_timers): Remove.
41679 2012-08-15 Roland McGrath <roland@hack.frob.com>
41681 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41682 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41684 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41686 * elf/dl-sym.c: Include <stdlib.h>.
41688 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41689 constants, which avoids warnings in 32-bit builds.
41691 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41692 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41694 * misc/lseek.c: File moved to ...
41695 * io/lseek.c: ... here.
41697 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41699 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41700 shifting LEN more than 31 bits at once.
41702 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41705 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41706 segmentation fault for a case of two empty input strings.
41707 * string/test-strncasecmp.c (check1): Renamed to...
41708 (bz12205): ...this.
41709 (bz14195): Add new testcase for two empty input strings and N > 0.
41710 (test_main): Call new testcase, adapt for renamed function.
41712 2012-08-15 Andreas Jaeger <aj@suse.de>
41715 * crypt/md5test2.c: New test, based on test supplied by Serge
41716 Belyshev <belyshev@depni.sinp.msu.ru>.
41717 * crypt/Makefile (xtests): Add md5test-giant..
41718 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41720 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41723 * crypt/md5.c (md5_process_block): Don't assume the buffer
41724 length is less than 2**32.
41725 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41726 length is less than 2**64.
41728 2012-08-15 Roland McGrath <roland@hack.frob.com>
41730 * string/str-two-way.h: Include <sys/param.h>.
41731 (MAX): Macro removed.
41733 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41734 Move #define and #undef of memmove to just before and after
41735 including <string.h>.
41737 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41738 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41739 and after including <string.h>. Move declarations of
41740 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41741 to before #include "string/memmove.c".
41743 * include/dirent.h: Declare __getdirentries.
41745 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41746 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41748 2012-08-14 Mike Frysinger <vapier@gentoo.org>
41750 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41751 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41752 * sysdeps/i386/configure: Regenerated.
41753 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41754 STABS_CURRENT_FILE, and STABS_FUN.
41755 (END): Remove call to STABS_FUN_END.
41756 (STABS_CURRENT_FILE1): Delete.
41757 (STABS_CURRENT_FILE): Likewise.
41758 (STABS_FUN): Likewise.
41759 (STABS_FUN_END): Likewise.
41760 (STABS_FUN2): Likewise.
41761 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41762 * sysdeps/x86_64/configure: Regenerated.
41764 2012-08-14 Roland McGrath <roland@hack.frob.com>
41766 * elf/dl-open.c: Include <atomic.h>.
41767 * elf/dl-lookup.c: Likewise.
41769 2012-08-14 Joseph Myers <joseph@codesourcery.com>
41771 * sysdeps/unix/sysv/linux/kernel-features.h
41772 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41773 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41775 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41777 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41778 condition on __ASSUME_CLONE_THREAD_FLAGS.
41780 2012-08-14 Andreas Jaeger <aj@suse.de>
41782 * sysdeps/i386/fpu/libm-test-ulps: Update.
41784 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41786 * include/atomic.h (atomic_exchange_and_add): Split into ...
41787 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41790 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41794 2012-08-13 Jeff Law <law@redhat.com>
41796 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41797 null byte in the output string.
41799 2012-08-10 Joseph Myers <joseph@codesourcery.com>
41801 * sysdeps/unix/sysv/linux/kernel-features.h
41802 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41803 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41804 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41805 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41806 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41807 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41808 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41810 2012-08-09 Jeff Law <law@redhat.com>
41813 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41814 When avoid_arena is set, don't retry in the that arena. Pick the
41815 next one, whatever it might be.
41816 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41817 (arena_lock): Pass in new parameter to arena_get2.
41818 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41820 (__libc_malloc): Unify retrying after main arena failure with
41821 __libc_memalign version.
41822 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41824 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41827 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41828 to __redirect_strstr.
41829 (__strstr_sse42): Use typeof __redirect_strstr.
41830 (__strstr_ia32): Likewise.
41831 (__libc_strstr): New prototype.
41832 (strstr): Renamed to ...
41833 (__libc_strstr): This.
41834 (strstr): New strong alias of __libc_strstr.
41835 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41836 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41839 (__libc_time): New prototype.
41840 (time_ifunc): Replace time with __libc_time.
41841 (time): New strong alias and hidden definition of __libc_time.
41842 (__GI_time): Remove strong alias.
41843 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41844 Include <stddef.h>.
41845 (memmove): Redefined to __redirect_memmove.
41846 (__memmove_sse2): Use typeof __redirect_memmove.
41847 (__memmove_ssse3): Likewise.
41848 (__memmove_ssse3_back): Likewise.
41849 (__libc_memmove): New prototype.
41850 (memmove): Renamed to ...
41851 (__libc_memmove): This.
41852 (memmove): New strong alias of __libc_memmove.
41854 2012-08-08 Mark Salter <msalter@redhat.com>
41857 (R_MN10300_TLS_GD): Define.
41858 (R_MN10300_TLS_LD): Likewise.
41859 (R_MN10300_TLS_LDO): Likewise.
41860 (R_MN10300_TLS_GOTIE): Likewise.
41861 (R_MN10300_TLS_IE): Likewise.
41862 (R_MN10300_TLS_LE): Likewise.
41863 (R_MN10300_TLS_DTPMOD): Likewise.
41864 (R_MN10300_TLS_DTPOFF): Likewise.
41865 (R_MN10300_TLS_TPOFF): Likewise.
41866 (R_MN10300_SYM_DIFF): Likewise.
41867 (R_MN10300_ALIGN): Likewise.
41868 (R_MN10300_NUM): Update.
41870 2012-08-08 Joseph Myers <joseph@codesourcery.com>
41872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41875 2012-08-08 Roland McGrath <roland@hack.frob.com>
41877 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41879 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41880 sysdeps/unix -> sysdeps/posix move.
41881 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41883 2012-08-07 Allan McRae <allan@archlinux.org>
41886 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41887 (SUNOS_CPP): Likewise.
41888 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41890 (open_input): Call CPP using execvp.
41892 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41894 * sysdeps/unix/sysv/linux/kernel-features.h
41895 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41896 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41897 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41898 (__ASSUME_WAITID_SYSCALL): Likewise.
41899 * sysdeps/unix/sysv/linux/dl-execstack.c
41900 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41901 code unconditional.
41902 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41904 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41905 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41906 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41908 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41910 [__ASSUME_WAITID_SYSCALL]: Likewise.
41911 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41913 2012-08-07 Roland McGrath <roland@hack.frob.com>
41915 * sysdeps/unix/closedir.c: Renamed to ...
41916 * sysdeps/posix/closedir.c: ... here.
41917 * sysdeps/unix/dirfd.c: Renamed to ...
41918 * sysdeps/posix/dirfd.c: ... here.
41919 * sysdeps/unix/dirstream.h: Renamed to ...
41920 * sysdeps/posix/dirstream.h: ... here.
41921 * sysdeps/unix/fdopendir.c: Renamed to ...
41922 * sysdeps/posix/fdopendir.c: ... here.
41923 * sysdeps/unix/opendir.c: Renamed to ...
41924 * sysdeps/posix/opendir.c: ... here.
41925 * sysdeps/unix/readdir.c: Renamed to ...
41926 * sysdeps/posix/readdir.c: ... here.
41927 * sysdeps/unix/readdir_r.c: Renamed to ...
41928 * sysdeps/posix/readdir_r.c: ... here.
41929 * sysdeps/unix/rewinddir.c: Renamed to ...
41930 * sysdeps/posix/rewinddir.c: ... here.
41931 * sysdeps/unix/seekdir.c: Renamed to ...
41932 * sysdeps/posix/seekdir.c: ... here.
41933 * sysdeps/unix/telldir.c: Renamed to ...
41934 * sysdeps/posix/telldir.c: ... here.
41935 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41936 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41937 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41938 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41940 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41941 * bits/fcntl.h: ... here.
41943 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41945 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41946 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41947 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41948 (struct flock): Move l_start, l_len to the beginning.
41949 Use __pid_t for l_pid.
41950 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41951 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41952 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41953 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41954 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41955 [__USE_LARGEFILE64] (struct flock64): New type.
41956 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41958 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41959 * bits/dirent.h: ... here.
41961 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41962 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41964 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41967 Change from 2.6.0 to 2.6.16.
41968 * sysdeps/unix/sysv/linux/configure: Regenerated.
41969 * sysdeps/unix/sysv/linux/kernel-features.h
41970 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41971 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41973 (__ASSUME_UTIMES): Likewise.
41974 (__ASSUME_CLONE_STOPPED): Remove.
41975 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41976 architectures, not kernel version.
41977 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41978 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41979 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41980 (__ASSUME_WAITID_SYSCALL): Likewise.
41981 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41982 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41983 * README: State 2.6.16 as minimum Linux kernel version. Do not
41984 refer to older versions.
41986 2012-08-06 Roland McGrath <roland@hack.frob.com>
41988 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41989 Define alphasort64 as an alias.
41990 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41991 Define versionsort64 as an alias.
41992 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41993 Define scandir64 as an alias.
41994 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41995 Define scandirat64 as an alias.
41996 * dirent/alphasort64.c (alphasort64):
41997 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41998 * dirent/versionsort64.c: Likewise.
41999 * dirent/scandir64.c: Likewise.
42000 * dirent/scandirat64.c: Likewise.
42001 * sysdeps/wordsize-64/alphasort.c: File removed.
42002 * sysdeps/wordsize-64/alphasort64.c: File removed.
42003 * sysdeps/wordsize-64/scandir.c: File removed.
42004 * sysdeps/wordsize-64/scandir64.c: File removed.
42005 * sysdeps/wordsize-64/scandirat.c: File removed.
42006 * sysdeps/wordsize-64/scandirat64.c: File removed.
42007 * sysdeps/wordsize-64/versionsort.c: File removed.
42008 * sysdeps/wordsize-64/versionsort64.c: File removed.
42009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42018 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42020 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42022 [defined __arch64__ || defined __sparcv9]
42023 (__INO_T_MATCHES_INO64_T): New macro.
42024 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42025 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42026 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42027 * sysdeps/unix/sysv/linux/bits/dirent.h
42028 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42029 (_DIRENT_MATCHES_DIRENT64): New macro.
42031 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42032 Define lockf64 as an alias.
42033 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42034 Define fseeko64 as an alias.
42035 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42036 Define ftello64 as an alias.
42037 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42038 Define _IO_fgetpos64 and fgetpos64 as aliases.
42039 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42040 Define _IO_fsetpos64 and fsetpos64 as aliases.
42041 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42042 Conditionalize body on this.
42043 * libio/fseeko64.c: Likewise.
42044 * libio/ftello64.c: Likewise.
42045 * libio/iofgetpos64.c: Likewise.
42046 * libio/iofsetpos64.c: Likewise.
42047 * sysdeps/wordsize-64/lockf.c: File removed.
42048 * sysdeps/wordsize-64/lockf64.c: File removed.
42049 * sysdeps/wordsize-64/fseeko.c: File removed.
42050 * sysdeps/wordsize-64/fseeko64.c: File removed.
42051 * sysdeps/wordsize-64/ftello.c: File removed.
42052 * sysdeps/wordsize-64/ftello64.c: File removed.
42053 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42054 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42055 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42056 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42059 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42061 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42063 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42065 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42068 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42070 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42072 [defined __arch64__ || defined __sparcv9]
42073 (__OFF_T_MATCHES_OFF64_T): New macro.
42074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42075 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42077 (__OFF_T_MATCHES_OFF64_T): New macro.
42079 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42081 * stdlib/secure-getenv.c (__secure_getenv): Replace
42082 GLIBC_2_16 with GLIBC_2_17.
42084 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42089 2012-08-03 David S. Miller <davem@davemloft.net>
42091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42093 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42097 (__ASSUME_CORRECT_SI_PID): Likewise.
42098 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42099 (__ASSUME_TMPFS_NAME): Likewise.
42100 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42101 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42102 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42103 (HAVE_AUX_SECURE): Make definition unconditional.
42104 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42105 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42107 2012-08-03 Roland McGrath <roland@hack.frob.com>
42109 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42110 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42111 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42112 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42113 __eloop_threshold instead of SYMLOOP_MAX.
42115 * sysdeps/generic/eloop-threshold.h: New file.
42116 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42118 * elf/chroot_canon.c (chroot_canon): Likewise.
42120 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42124 Change to 2.6.0 everywhere.
42125 * sysdeps/unix/sysv/linux/configure: Regenerated.
42126 * sysdeps/unix/sysv/linux/kernel-features.h
42127 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42128 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42130 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42131 (__ASSUME_FUTEX_REQUEUE): Remove.
42132 (__ASSUME_STATFS64): Define unconditionally.
42133 (__ASSUME_AT_SECURE): Likewise.
42134 (__ASSUME_CORRECT_SI_PID): Likewise.
42135 (__ASSUME_TGKILL): Define without depending on kernel version for
42137 (__ASSUME_UTIMES): Likewise.
42138 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42140 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42141 (__ASSUME_TMPFS_NAME): Likewise.
42142 * README: Update reference to Linux kernel versions.
42144 2012-08-02 Marek Polacek <polacek@redhat.com>
42147 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42148 libc_cv_asm_type_prefix with %.
42149 * configure: Regenerated.
42150 * include/libc-symbols.h: Remove comment about
42151 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42152 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42153 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42154 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42155 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42156 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42157 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42158 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42159 * elf/tst-unique2mod1.c: Likewise.
42160 * elf/tst-unique1mod2.c: Likewise.
42161 * elf/tst-unique1mod1.c: Likewise.
42162 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42163 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42164 Replace ASM_TYPE_DIRECTIVE with .type.
42165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42166 * sysdeps/i386/sysdep.h: Likewise.
42167 * sysdeps/x86_64/sysdep.h: Likewise.
42168 * sysdeps/sh/sysdep.h: Likewise.
42169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42170 Do not define ASM_TYPE_DIRECTIVE.
42171 * sysdeps/powerpc/sysdep.h: Likewise.
42172 * sysdeps/powerpc/powerpc32/sysdep.h:
42173 Replace ASM_TYPE_DIRECTIVE with .type.
42174 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42175 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42176 * sysdeps/i386/fpu/e_powf.S: Likewise.
42177 * sysdeps/i386/fpu/e_expl.S: Likewise.
42178 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42180 * sysdeps/i386/fpu/e_pow.S: Likewise.
42181 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42183 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42184 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42185 * sysdeps/i386/fpu/e_log2.S: Likewise.
42186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42188 * sysdeps/i386/fpu/e_powl.S: Likewise.
42189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42190 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42191 * sysdeps/i386/fpu/e_logl.S: Likewise.
42192 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42193 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42194 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42196 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42197 * sysdeps/i386/fpu/e_log.S: Likewise.
42198 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42199 * sysdeps/i386/fpu/e_logf.S: Likewise.
42200 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42202 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42203 * sysdeps/i386/fpu/e_log10.S: Likewise.
42204 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42205 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42206 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42207 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42208 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42210 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42211 * sysdeps/i386/i686/strtok.S: Likewise.
42212 * sysdeps/i386/i386-mcount.S: Likewise.
42213 * sysdeps/i386/strtok.S: Likewise.
42214 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42215 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42216 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42217 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42219 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42220 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42221 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42222 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42223 * sysdeps/x86_64/_mcount.S: Likewise.
42224 * sysdeps/x86_64/strtok.S: Likewise.
42225 * sysdeps/sh/_mcount.S: Likewise.
42227 2012-08-01 Roland McGrath <roland@hack.frob.com>
42229 * libio/iofopen.c: Include <fcntl.h>.
42230 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42231 (_IO_fopen64, fopen64): Define as aliases.
42232 * libio/iofopen64.c: Include <fcntl.h>.
42233 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42234 Conditionalize body on this.
42235 * sysdeps/wordsize-64/iofopen.c: File removed.
42236 * sysdeps/wordsize-64/iofopen64.c: File removed.
42238 2012-08-01 Marek Polacek <polacek@redhat.com>
42240 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42241 Use dlfcn directly instead of a variable.
42242 (binfmt-subdir): Do not define.
42245 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42248 Remove all definitions.
42249 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42250 <kernel-features.h>.
42251 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42252 (miss_F_GETOWN_EX): Remove all definitions.
42253 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42255 [!__ASSUME_FCNTL64]: Remove conditional code.
42256 [__ASSUME_FCNTL64]: Make code unconditional.
42257 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42258 <kernel-features.h>.
42259 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42260 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42261 (lockf64) [__NR_fcntl64]: Make code unconditional.
42262 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42264 * sysdeps/unix/sysv/linux/kernel-features.h
42265 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42266 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42267 Make code unconditional.
42268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42271 [__NR_vfork]: Make code unconditional.
42272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42275 [__NR_vfork]: Make code unconditional.
42276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42279 2012-08-01 Roland McGrath <roland@hack.frob.com>
42281 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42282 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42284 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42285 Define mkstemp64 as an alias.
42286 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42287 Define mkstemps64 as an alias.
42288 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42289 Define mkostemp64 as an alias.
42290 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42291 Define mkostemps64 as an alias.
42292 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42293 Conditionalize body on this.
42294 * misc/mkostemp64.c: Likewise.
42295 * misc/mkostemps64.c: Likewise.
42296 * misc/mkstemps64.c: Likewise.
42297 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42298 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42299 * sysdeps/wordsize-64/mkostemp.c: File removed.
42300 * sysdeps/wordsize-64/mkstemp.c: File removed.
42301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42302 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42304 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42307 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42308 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42309 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42310 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42312 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42313 compat_symbol macros from <shlib-compat.h> rather than the underlying
42314 default_symbol_version and symbol_version macros, so that DEFAULT
42315 lines in shlib-versions are respected.
42316 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42318 2012-08-01 Florian Weimer <fweimer@redhat.com>
42320 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42321 Declare with warn_unused_result.
42322 (setgid, setregid, setegid, setresgid): Likewise.
42323 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42325 * WUR-REPORT: Remove set*id functions.
42327 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42329 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42331 2012-07-31 Roland McGrath <roland@hack.frob.com>
42334 * include/sys/socket.h (__libc_accept, __libc_accept4):
42335 Add attribute_hidden.
42336 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42338 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42340 * inet/getnetgrent_r.c (setup): Likewise.
42342 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42344 2012-07-31 David S. Miller <davem@davemloft.net>
42346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42348 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42351 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42352 value between 1.0 and 2.0 and smaller part has absolute value less
42354 * math/s_clog10.c (__clog10): Likewise.
42355 * math/s_clog10f.c (__clog10f): Likewise.
42356 * math/s_clog10l.c (__clog10l): Likewise.
42357 * math/s_clogf.c (__clogf): Likewise.
42358 * math/s_clogl.c (__clogl): Likewise.
42359 * math/libm-test.inc (clog_test): Add more tests.
42360 (clog10_test): Likewise.
42361 * sysdeps/i386/fpu/libm-test-ulps: Update.
42362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42364 2012-07-31 Florian Weimer <fweimer@redhat.com>
42366 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42367 Exit with zero in case no suitable GID is found, and write a
42368 message to standard error.
42370 2012-07-30 Roland McGrath <roland@hack.frob.com>
42372 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42374 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42375 (MAXPATHLEN): Removed.
42376 (NOGROUP, NODEV): New macros.
42377 (setbit, clrbit, isset, isclr): New macros.
42378 (howmany, roundup, powerof2): New macros.
42379 (DEV_BSIZE): New macro.
42381 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42382 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42384 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42385 definition on [!__NO_LONG_DOUBLE_MATH].
42387 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42388 PTR_MANGLE and PTR_DEMANGLE.
42390 * socket/accept4.c (accept4): Rename to __libc_accept4.
42391 Define accept4 as a weak alias.
42393 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42394 on [_DIRENT_HAVE_D_TYPE].
42395 * io/ftw.c (ftw_dir): Likewise.
42397 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42399 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42401 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42402 Use the BSD numbers rather than the arbitrary ones we had.
42403 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42404 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42405 (SIGXCPU, SIGXFSZ): New macros.
42408 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42409 initializer on [_LIBC_REENTRANT].
42411 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42412 definitions inside [_POSIX_MAPPED_FILES].
42414 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42416 * dirent/opendir.c: Include <fcntl.h>.
42418 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42419 (__libc_getspecific): Likewise.
42420 (__libc_key_create): Likewise.
42422 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42423 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42424 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42425 (tmpfile64): Define as alias.
42426 * sysdeps/wordsize-64/tmpfile.c: File removed.
42427 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42428 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42429 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42431 * stdio-common/vfscanf.c: Include <stdbool.h>.
42432 * nss/makedb.c: Likewise.
42433 * stdio-common/_i18n_number.h: Likewise.
42434 * argp/argp-help.c: Likewise.
42435 * posix/wordexp.c: Likewise.
42436 * sysdeps/posix/spawni.c: Likewise.
42437 * nss/nss_files/files-initgroups.c: Likewise.
42438 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42439 * nss/nss_files/files-initgroups.c: Likewise.
42440 * nss/nss_db/db-netgrp.c: Likewise.
42441 * nss/nss_db/db-initgroups.c: Likewise.
42442 * io/fchmodat.c: Include <sys/stat.h>.
42444 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42445 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42447 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42450 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42451 Add multiple inclusion protection.
42453 2012-07-27 David S. Miller <davem@davemloft.net>
42455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42457 2012-07-27 Gary Benson <gbenson@redhat.com>
42460 * elf/rtld.c: Include <stap-probe.h>.
42461 (dl_main): Added static probes "init_start" and "init_complete".
42462 * elf/dl-load.c: Include <stap-probe.h>.
42463 (lose): Take new parameter "nsid".
42464 Added static probe "map_failed".
42465 (_dl_map_object_from_fd): Pass namespace id to lose.
42466 Added static probe "map_start".
42467 (open_verify): Pass namespace id to lose.
42468 * elf/dl-open.c: Include <stap-probe.h>.
42469 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42470 and "reloc_complete".
42471 * elf/dl-close.c: Include <stap-probe.h>.
42472 (_dl_close_worker): Added static probes "unmap_start" and
42474 * elf/rtld-debugger-interface.txt: New file documenting the above.
42476 2012-07-26 Roland McGrath <roland@hack.frob.com>
42478 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42479 rather than a string variable.
42480 * sunrpc/rpc_main.c (h_output): Likewise.
42481 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42483 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42485 * inet/check_native.c: New file.
42487 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42490 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42491 if larger part has absolute value 1.0.
42492 * math/s_clog10.c (__clog10): Likewise.
42493 * math/s_clog10f.c (__clog10f): Likewise.
42494 * math/s_clog10l.c (__clog10l): Likewise.
42495 * math/s_clogf.c (__clogf): Likewise.
42496 * math/s_clogl.c (__clogl): Likewise.
42497 * math/libm-test.inc (clog_test): Add more tests.
42498 (clog10_test): Likewise.
42499 * sysdeps/i386/fpu/libm-test-ulps: Update.
42500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42502 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42503 (pltexit): Likewise.
42504 (La_regs): Likewise.
42505 (La_retval): Likewise.
42506 (int_retval): Likewise.
42507 Update #error for removed macros to refer only to definitions in
42509 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42511 (pltexit): Likewise.
42512 (La_regs): Likewise.
42513 (La_retval): Likewise.
42514 (int_retval): Likewise.
42515 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42517 (pltexit): Likewise.
42518 (La_regs): Likewise.
42519 (La_retval): Likewise.
42520 (int_retval): Likewise.
42521 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42523 (pltexit): Likewise.
42524 (La_regs): Likewise.
42525 (La_retval): Likewise.
42526 (int_retval): Likewise.
42527 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42529 (pltexit): Likewise.
42530 (La_regs): Likewise.
42531 (La_retval): Likewise.
42532 (int_retval): Likewise.
42533 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42535 (pltexit): Likewise.
42536 (La_regs): Likewise.
42537 (La_retval): Likewise.
42538 (int_retval): Likewise.
42539 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42541 (pltexit): Likewise.
42542 (La_regs): Likewise.
42543 (La_retval): Likewise.
42544 (int_retval): Likewise.
42545 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42546 macro definitions in tst-audit.h.
42547 * sysdeps/i386/tst-audit.h: New file.
42548 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42549 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42550 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42551 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42552 * sysdeps/sh/tst-audit.h: Likewise.
42553 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42554 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42555 * sysdeps/x86_64/tst-audit.h: Likewise.
42557 2012-07-26 Andreas Jaeger <aj@suse.de>
42559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42562 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42563 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42564 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42566 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42567 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42568 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42570 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42573 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42575 (si_call_addr, si_syscall, si_arch): Define new macro.
42576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42578 (si_call_addr, si_syscall, si_arch): Define new marcro.
42579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42581 (si_call_addr, si_syscall, si_arch): Define new macro.
42582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42584 (si_call_addr, si_syscall, si_arch): Define new macro.
42586 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42590 Change to 2.4.21 where previously 2.4.1.
42591 * sysdeps/unix/sysv/linux/configure: Regenerated.
42592 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42593 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42594 Linux kernel version.
42595 (__ASSUME_STD_AUXV): Remove.
42596 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42598 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42599 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42600 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42601 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42602 (__ASSUME_NETLINK_SUPPORT): Likewise.
42603 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42604 (__no_netlink_support): Remove conditional definition.
42605 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42607 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42608 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42609 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42610 (if_nameindex_ioctl): Remove.
42611 (if_nameindex_netlink): Do not handle __no_netlink_support.
42612 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42614 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42615 Remove conditional code.
42616 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42618 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42620 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42621 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42622 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42624 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42625 [!__ASSUME_STD_AUXV]: Remove conditional code.
42626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42627 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42628 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42630 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42631 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42633 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42635 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42636 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42638 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42640 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42643 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42646 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42647 code unconditional.
42648 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42650 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42652 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42655 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42657 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42660 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42661 code unconditional.
42662 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42664 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42666 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42669 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42670 code unconditional.
42671 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42673 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42675 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42678 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42680 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42681 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42682 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42683 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42684 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42685 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42686 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42687 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42688 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42689 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42690 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42691 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42692 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42693 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42695 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42696 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42697 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42698 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42700 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42701 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42704 2012-07-25 Florian Weimer <fweimer@redhat.com>
42706 * Versions.def: Add GLIBC_2.17.
42707 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42708 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42709 Introduce __libc_secure_getenv.
42710 * stdlib/Versions (2.17): Add secure_getenv
42711 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42712 * stdlib/secure-getenv.c: Rename __secure_getenv to
42713 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42714 symbol __secure_getenv for GLIBC_2.0.
42715 * stdlib/tst-secure-getenv.c: New.
42716 * stdlib/Makefile (tests): Add testcase.
42717 * manual/startup.texi (Environment Access): Document
42719 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42720 __libc_secure_getenv.
42721 * inet/ruserpass.c (ruserpass): Likewise.
42722 * malloc/mtrace.c (mtrace): Likewise.
42723 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42724 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42725 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42726 * sysdeps/posix/tempname.c: Likewise. Evaluate
42727 HAVE_SECURE_GETENV.
42728 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42729 __secure_getenv to __libc_secure_getenv.
42730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42743 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42745 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42746 (struct La_i86_retval): Likewise.
42747 (struct La_x86_64_regs): Likewise.
42748 (struct La_x86_64_retval): Likewise.
42749 (struct La_x32_regs): Likewise.
42750 (struct La_x32_retval): Likewise.
42751 (struct La_ppc32_regs): Likewise.
42752 (struct La_ppc32_retval): Likewise.
42753 (struct La_ppc64_regs): Likewise.
42754 (struct La_ppc64_retval): Likewise.
42755 (struct La_sh_regs): Likewise.
42756 (struct La_sh_retval): Likewise.
42757 (struct La_s390_32_regs): Likewise.
42758 (struct La_s390_32_retval): Likewise.
42759 (struct La_s390_64_regs): Likewise.
42760 (struct La_s390_64_retval): Likewise.
42761 (struct La_sparc32_regs): Likewise.
42762 (struct La_sparc32_retval): Likewise.
42763 (struct La_sparc64_regs): Likewise.
42764 (struct La_sparc64_retval): Likewise.
42765 (struct audit_ifaces): Remove architecture-specific pltenter and
42767 * sysdeps/i386/ldsodefs.h: New file.
42768 * sysdeps/powerpc/ldsodefs.h: Likewise.
42769 * sysdeps/s390/ldsodefs.h: Likewise.
42770 * sysdeps/sh/ldsodefs.h: Likewise.
42771 * sysdeps/sparc/ldsodefs.h: Likewise.
42772 * sysdeps/x86_64/ldsodefs.h: Likewise.
42774 2012-07-25 Marek Polacek <polacek@redhat.com>
42777 * math/libm-test.inc (yn_test): Add another test.
42778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42779 to ERANGE when the result is +-Inf.
42780 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42782 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42783 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42785 2012-07-24 Joseph Myers <joseph@codesourcery.com>
42787 * conform/data/time.h-data (NULL): Use macro-constant. Require
42789 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42791 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42793 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42795 * configure.in <sysdeps resolving>: Correct printing
42797 * configure: Regenerate.
42799 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42801 * math/w_ilogb.c: Include <limits.h>.
42802 * math/w_ilogbl.c: Likewise.
42804 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42806 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42807 va_copy. Document allowing for unavailable va_copy only as
42808 pre-C99 compatibility.
42809 * manual/string.texi (Copying and Concatenation): Use va_copy
42810 instead of __va_copy in concat example.
42812 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42814 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42815 (__sendto): Use create_address_port. Initialize APORT and deallocate
42818 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42819 with O_NOLINK passed to __file_name_lookup.
42821 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42822 with O_NOLINK passed to __file_name_lookup.
42824 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42825 negative N or less than NGIDS.
42827 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42828 type to string_t. Set ERANGE as errno and return it if NAME is not big
42829 enough. Use memcpy instead of strncpy.
42831 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42833 * elf/Makefile (check-data): Remove.
42834 (localplt.data): New vpath directive.
42835 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42836 instead of $(check-data).
42837 * scripts/data/localplt-generic.data: Move to ...
42838 * sysdeps/generic/localplt.data: ... here.
42839 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42840 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42841 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42844 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42847 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42850 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42853 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42856 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42860 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42862 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42863 PPC32 and PPC64 files.
42864 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42865 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42867 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42869 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42870 __makecontext_ret to ...
42871 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42872 ... here and call exit if uc_link is NULL. New file.
42873 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42874 __makecontext_ret.S.
42875 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42876 __makecontext_ret to ...
42877 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42878 ... here and call exit if uc_link is NULL. New file.
42879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42880 __makecontext_ret.S.
42882 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42884 * elf/elf.h (R_390_IRELATIVE): New definition.
42885 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42886 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42887 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42889 (elf_machine_lazy_rel): Likewise.
42890 * sysdeps/s390/dl-irel.h: New file.
42891 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42892 * sysdeps/s390/s390-64/memset.S: New asm code.
42893 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42894 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42896 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42897 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42898 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42900 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42901 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42902 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42903 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42904 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42905 * sysdeps/s390/s390-32/memset.S: New asm code.
42906 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42908 2012-07-17 Marek Polacek <polacek@redhat.com>
42911 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42912 * sysdeps/s390/s390-64/configure.in: Likewise.
42913 * sysdeps/sparc/configure.in: Likewise.
42914 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42915 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42916 * sysdeps/i386/configure.in: Likewise.
42917 * sysdeps/x86_64/configure.in: Likewise.
42918 * sysdeps/sh/configure.in: Likewise.
42919 * sysdeps/s390/s390-32/configure: Regenerated.
42920 * sysdeps/s390/s390-64/configure: Likewise.
42921 * sysdeps/x86_64/configure: Likewise.
42922 * sysdeps/sh/configure: Likewise.
42923 * sysdeps/powerpc/powerpc64/configure: Likewise.
42924 * sysdeps/powerpc/powerpc32/configure: Likewise.
42925 * sysdeps/sparc/configure: Likwise.
42926 * sysdeps/i386/configure: Likewise.
42928 * elf/dl-open.c: Comment fixes.
42930 2012-07-17 Joseph Myers <joseph@codesourcery.com>
42932 * Makefile [CXX] (check-data): Remove.
42933 [CXX] (c++-types.data): New vpath directive.
42934 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42935 vpath. Do not allow for C++ type data being missing.
42936 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42937 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42938 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42939 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42940 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42941 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42942 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42945 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42948 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42951 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42954 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42957 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42960 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42963 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42966 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42967 definitions to architecture-specific files.
42968 (TLS_IE): Likewise.
42969 (TLS_LD): Likewise.
42970 (TLS_GD): Likewise.
42971 * sysdeps/i386/tls-macros.h: New file.
42972 * sysdeps/powerpc/tls-macros.h: Likewise.
42973 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42974 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42975 * sysdeps/sh/tls-macros.h: Likewise.
42976 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42977 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42978 * sysdeps/x86_64/tls-macros.h: Likewise.
42980 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42983 zero value for regular exit case.
42985 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42986 (__start_context): Preserve zero value for regular exit case.
42988 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42989 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42991 * manual/setjmp.texi (setcontext): Clarify normal process
42992 termination when uc_link is the null pointer.
42993 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42996 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42998 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42999 preprocessor. Test for each exception mask separately.
43001 2012-07-16 Andreas Jaeger <aj@suse.de>
43003 * po/ru.po: Update from translation team.
43005 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43007 * conform/data/string.h-data (NULL): Use macro-constant. Require
43009 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43010 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43011 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43012 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43015 2012-07-13 Andreas Jaeger <aj@suse.de>
43017 * po/fr.po: Update from translation team.
43019 2012-07-12 Marek Polacek <polacek@redhat.com>
43022 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43023 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43026 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43030 Change to 2.4.1 where previously 2.4.0.
43031 * sysdeps/unix/sysv/linux/configure: Regenerated.
43032 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43033 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43035 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43036 (__ASSUME_AT_CLKTCK): Remove.
43037 (__ASSUME_AT_PAGESIZE): Likewise.
43038 (__ASSUME_AT_XID): Likewise.
43039 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43040 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43041 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43043 (HAVE_AUX_PAGESIZE): Likewise.
43044 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43045 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43046 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43048 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43052 the temporary buffer used to invoke __gethostbyname2_r,
43053 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43054 host_data / struct gaih_addrtuple.
43055 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43056 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43057 header file nss/nsswitch.h.
43058 * nss/nsswitch.h (global scope): Add definition of implementation
43059 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43060 resolv/nss_dns/dns-host.c).
43062 2012-07-11 Andreas Jaeger <aj@suse.de>
43064 * po/fr.po: Update from translation team.
43066 * po/sv.po: Update from translation team
43067 * po/fr.po: Another update from translation team.
43069 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43071 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43072 for subnormals or multiply small sinh result by itself.
43073 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43076 2012-07-11 David S. Miller <davem@davemloft.net>
43078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43080 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43083 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43084 (INTERNAL_MARK): Shift it here.
43086 2012-07-10 Marek Polacek <polacek@redhat.com>
43089 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43090 libc_cv_asm_global_directive with .globl.
43091 * configure: Regenerated.
43092 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43094 * sysdeps/i386/configure: Regenerated.
43095 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43097 * sysdeps/x86_64/configure: Regenerated.
43098 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43099 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43100 * elf/tst-unique2mod2.c: Likewise.
43101 * elf/tst-unique2mod1.c: Likewise.
43102 * elf/tst-unique1mod2.c: Likewise.
43103 * elf/tst-unique1mod1.c: Likewise.
43104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43105 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43107 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43108 * sysdeps/mach/sysdep.h: Likewise.
43109 * sysdeps/i386/sysdep.h: Likewise.
43110 * sysdeps/i386/i386-mcount.S: Likewise.
43111 * sysdeps/x86_64/_mcount.S: Likewise.
43112 * sysdeps/x86_64/sysdep.h: Likewise.
43113 * sysdeps/sh/_mcount.S: Likewise.
43114 * sysdeps/sh/sysdep.h: Likewise.
43115 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43116 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43117 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43118 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43119 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43120 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43121 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43122 * locale/localeinfo.h: Likewise.
43123 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43124 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43126 2012-07-09 Roland McGrath <roland@hack.frob.com>
43129 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43131 * manual/message.texi (The Uniforum approach): Likewise.
43132 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43133 (glibc iconv Implementation): Likewise.
43135 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43138 * math/s_clog.c (__clog): Avoid scaling a value down where that
43139 could result in underflow.
43140 * math/s_clog10.c (__clog10): Likewise.
43141 * math/s_clog10f.c (__clog10f): Likewise.
43142 * math/s_clog10l.c (__clog10l): Likewise.
43143 * math/s_clogf.c (__clogf): Likewise.
43144 * math/s_clogl.c (__clogl): Likewise.
43145 * math/libm-test.inc (clog_test): Add more tests.
43146 (clog10_test): Likewise.
43147 * sysdeps/i386/fpu/libm-test-ulps: Update.
43148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43150 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43153 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43154 by 7 not 8 to examine high bit of fractional part.
43157 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43158 for call to __mcount_internal.
43159 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43160 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43161 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43163 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43166 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43167 approximation for values within 0x1p-13f of an odd multiple of
43169 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43170 exception. Add more tests.
43171 * sysdeps/i386/fpu/libm-test-ulps: Update.
43174 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43175 inputs and return -1 for them. Do not check for +Inf in case not
43176 reachable for +Inf.
43177 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43178 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43180 and return -1 for them. Do not check for +Inf in case not
43181 reachable for +Inf.
43182 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43185 and return -1 for them. Do not check for +Inf in case not
43186 reachable for +Inf.
43187 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43188 spurious underflow.
43189 * sysdeps/i386/fpu/libm-test-ulps: Update.
43190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43192 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43194 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43196 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43200 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43201 could result in spurious underflow. Scale down values above
43202 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43203 * math/s_csqrtf.c (__csqrtf): Likewise.
43204 * math/s_csqrtl.c (__csqrtl): Likewise.
43205 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43206 spurious underflow.
43207 * sysdeps/i386/fpu/libm-test-ulps: Update.
43208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43210 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43212 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43214 * catgets/xopen-msg.awk: New file.
43215 * catgets/xopen-msg.sed: Removed.
43217 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43219 * intl/po2test.awk: New file.
43220 * intl/po2test.sed: Removed.
43222 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43225 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43226 or multiply small sinh result by itself.
43227 * math/s_ctanf.c (__ctanf): Likewise.
43228 * math/s_ctanh.c (__ctanh): Likewise.
43229 * math/s_ctanhf.c (__ctanhf): Likewise.
43230 * math/s_ctanhl.c (__ctanhl): Likewise.
43231 * math/s_ctanl.c (__ctanl): Likewise.
43232 * math/libm-test.inc (ctan_test_tonearest): New function.
43233 (ctan_test_towardzero): Likewise.
43234 (ctan_test_downward): Likewise.
43235 (ctan_test_upward): Likewise.
43236 (ctanh_test_tonearest): Likewise.
43237 (ctanh_test_towardzero): Likewise.
43238 (ctanh_test_downward): Likewise.
43239 (ctanh_test_upward): Likewise.
43240 (main): Call these new functions.
43241 * sysdeps/i386/fpu/libm-test-ulps: Update.
43242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43244 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43246 * .gitignore: Delete /ports entry.
43248 2012-07-03 Andreas Jaeger <aj@suse.de>
43250 * po/bg.po: Update from translation team.
43251 * po/cs.po: Likewise.
43252 * po/de.po: Likewise.
43253 * po/hr.po: Likewise.
43254 * po/nl.pl: Likewise.
43255 * po/pl.po: Likewise.
43256 * po/vi.po: Likewise.
43258 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43260 * Makeconfig [!+link] (+link-before-libc): New variable.
43261 [!+link] (+link-after-libc): Likewise.
43262 [!+link] (+link-tests): Likewise.
43263 [!+link] (+link): Define in terms of $(+link-before-libc) and
43264 $(+link-after-libc).
43265 [!+link-static] (+link-static-before-libc): New variable.
43266 [!+link-static] (+link-static-after-libc): Likewise.
43267 [!+link-static] (+link-static-tests): Likewise.
43268 [!+link-static] (+link-static): Define in terms of
43269 $(+link-static-before-libc) and $(+link-static-after-libc).
43270 [build-shared] (link-libc-before-gnulib): New variable.
43271 [build-shared] (link-libc-tests): Likewise.
43272 [build-shared] (link-libc): Define in terms of
43273 $(link-libc-before-gnulib).
43274 [!build-shared] (link-libc-tests): New variable.
43275 (link-libc-static-tests): New variable.
43276 [!gnulib] (gnulib-arch): New variable.
43277 [!gnulib] (gnulib-tests): Likewise.
43278 [!gnulib] (static-gnulib-arch): Likewise.
43279 [!gnulib] (static-gnulib-tests): Likewise.
43280 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43281 Define with "=" instead of ":=".
43282 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43283 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43284 * Rules (binaries-all-notests): New variable.
43285 (binaries-all-tests): Likewise.
43286 (binaries-static-notests): Likewise.
43287 (binaries-static-tests): Likewise.
43288 (binaries-all): Define using $(binaries-all-notests) and
43289 $(binaries-all-tests).
43290 (binaries-static): Define using $(binaries-static-notests) and
43291 $(binaries-static-tests).
43292 (binaries-shared-tests): New variable.
43293 (binaries-shared-notests): Likewise.
43294 (binaries-shared): Remove variable.
43295 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43296 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43297 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43298 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43299 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43300 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43301 * elf/Makefile (sln-modules): New variable.
43302 (extra-objs): Add $(sln-modules:=.o).
43303 (ldconfig-modules): Add static-stubs.
43304 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43305 * elf/static-stubs.c: New file.
43308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43309 by 7 not 8 to examine high bit of fractional part. Use volatile
43310 variables when splitting into final array of floats if
43311 __FLT_EVAL_METHOD__ != 0.
43312 * math/libm-test.inc (cos_test): Add another test.
43313 (sin_test): Likewise.
43314 * sysdeps/i386/fpu/libm-test-ulps: Update.
43317 * math/libm-test.inc (cosh_test): Add more tests.
43319 * version.h (RELEASE): Set to "development".
43320 (VERSION): Set to "2.16.90".
43322 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43324 * NEWS: Update copyright. Remove last-updated date.
43325 Mention math library bug fixes and timezone data changes.
43326 * README: Mention GNU/Hurd, x32, and HPPA support status.
43328 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43330 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43332 2012-06-27 Andreas Jaeger <aj@suse.de>
43334 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43336 2012-06-25 Andreas Jaeger <aj@suse.de>
43338 * sysdeps/s390/fpu/libm-test-ulps: Update.
43340 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43341 Thomas Schwinge <thomas@codesourcery.com>
43343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43344 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43348 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43350 * sysdeps/mach/start.c: Remove file.
43351 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43352 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43353 * sysdeps/sh/init-first.c: Likewise.
43355 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43356 registers for frame unwinding purposes, add CFI directives.
43357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43359 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43362 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43363 __fortify_fail returning.
43364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43367 sysdeps/sh/____longjmp_chk.S.
43368 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43369 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43370 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43371 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43373 * sysdeps/sh/abort-instr.h: New file.
43374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43375 process in case exit returns.
43377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43378 initialize the GOT register before use.
43380 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43381 calculation of ARGC > 4.
43383 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43384 meaningful names to some local labels.
43386 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43387 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43390 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43391 (__arch_compare_and_exchange_val_16_acq): Likewise.
43392 (__arch_compare_and_exchange_val_32_acq): Likewise.
43393 (atomic_exchange_and_add): Fix gUSA sequence.
43394 (atomic_add): Likewise.
43395 (atomic_add_negative): Likewise.
43396 (atomic_add_zero): Likewise.
43397 (atomic_bit_test_set): Likewise.
43399 2012-06-22 Andreas Schwab <schwab@redhat.com>
43402 * include/link.h (struct link_map): Add l_free_initfini.
43403 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43405 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43406 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43407 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43410 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43412 * configure.in: Use AC_LANG_SOURCE.
43413 * configure: Regenerate.
43415 2012-06-22 Roland McGrath <roland@hack.frob.com>
43417 * configure.in (libc_cv_localstatedir): New substituted variable.
43418 * configure: Regenerated.
43419 * config.make.in (localstatedir): New variable, substituted from
43420 libc_cv_localstatedir.
43421 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43422 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43423 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43424 * sysdeps/gnu/configure: Regenerated.
43426 2012-06-21 Jeff Law <law@redhat.com>
43429 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43430 free. Simplify list management for _LIBC case.
43432 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43436 Clear sign bit of 64-bit integer value before comparing against
43439 * sysdeps/mach/configure: Regenerated.
43441 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43444 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43446 2012-06-21 Jeff Law <law@redhat.com>
43449 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43450 uint16_t for elements in the "seen" array to avoid char overflows.
43451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43452 * elf/dl-open.c (dl_open_worker): Likewise.
43454 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43456 * scripts/list-sources.sh: Scan PORTS for translations.
43457 * po/libc.pot: Regenerated.
43459 2012-06-21 Andreas Jaeger <aj@suse.de>
43462 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43464 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43465 * bits/byteswap-16.h (__bswap_16): Likewise.
43466 * bits/byteswap.h (__bswap_constant_16): Likewise.
43468 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43471 * sysdeps/i386/fpu_control.h: Removed.
43472 * sysdeps/x86_64/fpu_control.h: Moved to ...
43473 * sysdeps/x86/fpu_control.h: Here.
43475 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43476 (_FPU_SETCW): Likewise.
43478 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43481 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43482 * sysdeps/x86/fpu/bits/mathinline.h: This.
43483 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43487 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43488 functions if __x86_64__ is defined.
43490 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43492 * string/endian.h: Add !__ASSEMBLER__ condition for including
43493 conversion interfaces.
43495 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43499 of ABS(x) in calculating zero to negative powers other than odd
43501 * math/libm-test.inc (pow_test): Add more tests.
43503 2012-06-15 Andreas Jaeger <aj@suse.de>
43505 * manual/contrib.texi (Contributors): Update entry of Liubov
43506 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43509 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43511 * string/string.h: Add __wur to GNU version of strerror_r.
43513 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43516 * string/Makefile (tests): Add tst-strtok_r.
43517 * string/tst-strtok_r.c: New file.
43518 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43519 RAX_LP/RDX_LP on SAVE_PTR.
43521 2012-06-14 Roland McGrath <roland@hack.frob.com>
43523 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43525 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43527 * libm_test.inc (csqrt_test): Allow more spurious underflow
43529 (j0_test): Likewise.
43530 (j1_test): Likewise.
43531 (y0_test): Likewise.
43532 (y1_test): Likewise.
43534 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43536 * po/Makefile (libc.pot): Use UTF-8 charset.
43538 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43541 Suppress sign-conversion warning from FD_SET.
43542 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43543 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43544 not unsigned long int.
43545 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43547 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43551 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43552 __extern_always_inline instead of __extern_inline.
43553 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43554 (__signbit): Likewise.
43555 (__signbitl): Support C++ namespace.
43556 (lrintf): New inline function.
43558 (llrintf): Likewise.
43559 (llrint): Likewise.
43569 (floorf): Likewise.
43570 (nearbyint): Likewise.
43571 (nearbyintf): Likewise.
43573 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43576 non-default versions.
43578 2012-06-11 Roland McGrath <roland@hack.frob.com>
43581 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43583 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43585 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43586 (FE_UPWARD, FE_DOWNWARD): Don't define.
43587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43593 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43595 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43600 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43602 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43605 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43606 * sysdeps/i386/fpu/Implies: New file.
43607 * sysdeps/x86_64/fpu/Implies: Likewise.
43608 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43609 * sysdeps/x86/fpu/bits/fenv.h: This.
43611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43614 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43617 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43618 character 0xffff that matches the last element of the
43621 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43626 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43629 values higher than 25.6283.
43631 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43634 subnormal exponent extraction and add some __builtin_expect.
43635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43636 Fix for subnormal mantissa calculation.
43638 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43640 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43641 cpu2 is -1 and errno is not ENOSYS.
43643 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43646 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43647 * sysdeps/x86/bits/string.h: This.
43648 * sysdeps/x86_64/bits/string.h: Removed.
43650 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43651 if not compiling for x86-64, but compiling for >= i486.
43653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43654 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43657 New macro from Linux kernel 3.4.0.
43658 (FP_XSTATE_MAGIC2): Likewise.
43659 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43660 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43661 (struct _fpx_sw_bytes): New struct.
43662 (struct _xsave_hdr): Likewise.
43663 (struct _ymmh_state): Likewise.
43664 (struct _xstate): Likewise.
43666 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43667 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43669 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43671 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43673 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43675 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43676 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43677 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43678 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43680 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43683 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43684 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43685 (sysdep_headers): Include sys/platform/ppc.h.
43686 * sysdeps/powerpc/test-gettimebase.c: Test for
43687 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43688 * manual/Makefile (appendices): Include platform.texi.
43689 * manual/contrib.texi (Contributors): Update @node pointers.
43690 * manual/maint.texi (Maintenance): Likewise.
43691 (Platform): New node.
43692 * manual/platform.texi: New file. Document the new features.
43694 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43695 Jakub Jelinek <jakub@redhat.com>
43698 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43699 where __builtin_expect is unavailable.
43701 2012-06-03 David S. Miller <davem@davemloft.net>
43703 * stdlib/longlong.h: Updated from GCC.
43705 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43708 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43709 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43712 (GLIBC_2.16): Likewise.
43714 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43718 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43721 (default-abi): New variable.
43722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43723 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43725 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43727 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43732 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43733 definition. Document in comment.
43735 2012-06-01 David S. Miller <davem@davemloft.net>
43737 * stdlib/longlong.h: Updated from GCC.
43739 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43742 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43743 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43744 sys/debugreg.h sys/io.h here.
43745 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43746 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43748 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43749 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43750 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43751 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43752 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43753 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43756 Define only if __x86_64__ is defined.
43758 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43762 Use int64_t for variable i.
43763 * math/libm-test.inc (fmod_test): Add more tests.
43765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43766 z computation is not scheduled after fetestexcept.
43767 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43768 Use math_force_eval instead of asm to ensure calculation scheduled
43769 before exception test.
43770 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43771 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43773 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43776 computation is not scheduled after fetestexcept.
43778 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43782 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43784 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43786 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43787 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43789 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43794 (__WCHAR_MIN): Support __WORDSIZE == 64.
43795 (__WCHAR_MAX): Likewise.
43797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43802 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43805 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43808 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43811 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43812 Defined to 1 if __x86_64__ isn't defined.
43813 (_STAT_VER_LINUX_OLD): New.
43814 (st_atime): Remove duplicate.
43815 (st_mtime): Likewise.
43816 (st_ctime): Likewise.
43818 2012-05-31 David S. Miller <davem@davemloft.net>
43820 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43823 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43825 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43829 * elf/dl-reloc.c: Include <_itoa.h>.
43830 (_dl_reloc_bad_type): Remove use of INTUSE.
43831 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43832 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43833 * stdio-common/psiginfo.c (psiginfo): Likewise.
43834 * stdio-common/psignal.c (psignal): Likewise.
43835 * string/strsignal.c (strsignal): Likewise.
43836 * include/signal.h (_sys_siglist): Declare hidden proto.
43837 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43838 INTVARDEF with libc_hidden_data_def.
43839 * stdio-common/itoa-udigits.c: Likewise.
43840 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43841 (_itoa_lower_digits_internal): Remove declaration.
43842 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43843 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43844 (_sys_sigabbrev_internal): Remove aliases.
43845 (_sys_siglist): Define hidden alias.
43847 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43852 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43855 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43856 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43858 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43861 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43863 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43865 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43867 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43869 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43879 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43881 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43882 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43885 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43886 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43888 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43889 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43891 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43896 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43898 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43899 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43901 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43903 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43904 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43905 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43907 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43909 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43911 2012-05-31 Joseph Myers <joseph@codesourcery.com>
43913 * math/math.h (M_El): Use two more decimal places.
43914 (M_LOG2El): Likewise.
43915 (M_LOG10El): Likewise.
43916 (M_LN2l): Likewise.
43917 (M_LN10l): Likewise.
43919 (M_PI_2l): Likewise.
43920 (M_PI_4l): Likewise.
43921 (M_1_PIl): Likewise.
43922 (M_2_PIl): Likewise.
43923 (M_2_SQRTPIl): Likewise.
43924 (M_SQRT2l): Likewise.
43925 (M_SQRT1_2l): Likewise.
43927 2012-05-31 David S. Miller <davem@davemloft.net>
43929 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43930 values between float registers.
43931 * sysdeps/sparc/sparc64/memset.S: Likewise.
43932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43934 2012-05-31 Mike Frysinger <vapier@gentoo.org>
43936 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43937 -D_FORTIFY_SOURCE=1.
43938 (CPPFLAGS-tst-longjmp_chk.c): Define.
43939 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43940 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43941 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43942 CFLAGS-tst-wchar-h.c.
43944 2012-05-31 Marek Polacek <polacek@redhat.com>
43947 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43948 __endmntent_internal): Remove declaration.
43949 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43950 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43951 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43953 2012-05-30 David S. Miller <davem@davemloft.net>
43955 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43956 (___Q_simulate_exceptions): Use real FP ops rather than writing
43958 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43961 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43964 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43965 * sysdeps/x86/bits/xtitypes.h: This.
43967 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43968 * sysdeps/x86/bits/wordsize.h: This.
43970 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43971 * sysdeps/x86/bits/huge_vall.h: This.
43973 * sysdeps/i386/bits/select.h: Removed.
43974 * sysdeps/x86_64/bits/select.h: Renamed to ...
43975 * sysdeps/x86/bits/select.h: This.
43977 * sysdeps/i386/bits/setjmp.h: Removed.
43978 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43979 * sysdeps/x86/bits/setjmp.h: This.
43981 * sysdeps/i386/bits/mathdef.h: Removed.
43982 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43983 * sysdeps/x86/bits/mathdef.h: This.
43985 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43988 * include/sys/socket.h (__connect_internal)
43989 (__libc_sa_len_internal): Remove declaration.
43990 (__connect, __libc_sa_len): Declare hidden_proto.
43991 (SA_LEN): Remove use of INTUSE.
43992 * socket/connect.c: Add libc_hidden_def.
43993 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43994 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43995 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43997 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43999 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44000 of adding _internal alias.
44002 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44005 * sysdeps/i386/bits/link.h: Removed.
44006 * sysdeps/i386/bits/linkmap.h: Likewise.
44007 * sysdeps/x86_64/bits/link.h: Renamed to ...
44008 * sysdeps/x86/bits/link.h: This.
44009 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44010 * sysdeps/x86/bits/linkmap.h: This.
44012 * sysdeps/i386/bits/endian.h: Removed.
44013 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44014 * sysdeps/x86/bits/endian.h: This.
44016 * sysdeps/i386/bits/byteswap.h: Removed.
44017 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44018 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44019 * sysdeps/x86/bits/byteswap.h: This.
44020 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44021 * sysdeps/x86/bits/byteswap-16.h: This.
44022 * sysdeps/i386/Implies: Add x86.
44023 * sysdeps/x86_64/Implies: Likewise.
44025 2012-05-30 David S. Miller <davem@davemloft.net>
44027 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44028 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44030 (FP_TRAPPING_EXCEPTIONS): Define.
44031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44032 (FP_TRAPPING_EXCEPTIONS): Define.
44033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44034 subnormals only when inexact has been signalled or underflow
44035 exceptions are enabled.
44036 (_FP_PACK_CANONICAL): Likewise.
44038 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44042 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44044 2012-05-30 Richard Henderson <rth@twiddle.net>
44046 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44047 with #ifndef NOT_IN_libc.
44049 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44050 marked to avoid plt entry.
44052 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44055 * Makeconfig (default-abi): New macro.
44056 (abi-includes): Likewise.
44057 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44058 $(abi-$(default-abi)-lib-soname) for soname if defined.
44059 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44061 * Makefile (installed-stubs): Likewise.
44062 * include/stubs-biarch.h: Removed.
44063 * scripts/lib-names.awk: Only handle one library at a time.
44064 * scripts/soversions.awk: Remove WORDSIZE support.
44065 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44069 (syscall-list-default-condition): Likewise.
44070 (syscall-list-default-condition): Likewise.
44071 (syscall-list-includes): Likewise.
44072 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44073 syscall-list-* with abi-*. Handle undefined abi-variants.
44074 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44075 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44076 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44077 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44079 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44081 (syscall-list-32-options): Likewise.
44082 (syscall-list-32-condition): Likewise.
44083 (syscall-list-64-options): Likewise.
44084 (syscall-list-64-condition): Likewise.
44085 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44087 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44090 (abi-64-ld-soname): New macro.
44091 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44092 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44095 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44096 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44098 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44100 * sysdeps/unix/sysv/linux/kernel-features.h
44101 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44102 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44103 include <kernel-features.h>.
44104 [!__NR_ftruncate64]: Remove conditional code.
44105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44106 [__NR_ftruncate64]: Make code unconditional.
44107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44108 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44109 include <kernel-features.h>.
44110 [!__NR_ftruncate64]: Remove conditional code.
44111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44112 [__NR_ftruncate64]: Make code unconditional.
44113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44115 include <kernel-features.h>.
44116 [!__NR_ftruncate64]: Remove conditional code.
44117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44118 [__NR_ftruncate64]: Make code unconditional.
44119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44121 include <kernel-features.h>.
44122 [!__NR_ftruncate64]: Remove conditional code.
44123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44124 [__NR_ftruncate64]: Make code unconditional.
44125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44127 * configure.in (libc_cv_fpie): Weaken to a compile test using
44128 LIBC_TRY_CC_OPTION.
44129 * configure: Regenerated.
44131 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44146 2012-05-27 David S. Miller <davem@davemloft.net>
44148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44150 (__Q_simulate_exceptions): Return void. Change to simulate
44151 exceptions by writing into the %fsr.
44152 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44153 (__Qp_handle_exceptions): Likewise.
44155 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44156 __Qp_handle_exceptions.
44157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44158 __Qp_handle_exceptions.
44159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44160 as unused and give dummy FP_RND_NEAREST initializer.
44161 (FP_INHIBIT_RESULTS): Define.
44162 (___Q_simulate_exceptions): Update declaration.
44163 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44166 as unused and give dummy FP_RND_NEAREST initializer.
44167 (__Qp_handle_exceptions): Update declaration.
44168 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44171 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44173 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44174 the temporary FPU control word.
44175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44176 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44178 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44181 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44182 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44183 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44184 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44187 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44192 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44194 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44195 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44196 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44197 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44199 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44200 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44203 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44205 * po/h.po: Update from translation team.
44207 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44209 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44211 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44212 handling of denormals.
44213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44216 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44222 2012-05-26 Marek Polacek <polacek@redhat.com>
44225 * math/libm-test.inc (fma_test): Don't always expect underflow
44228 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44231 * elf/tst-execstack.c: Include stackinfo.h.
44232 (do_test): Adjust test case to ensure that pthread_getattr_np
44233 behaviour remains the same after marking stack executable.
44235 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44237 * sysdeps/unix/sysv/linux/kernel-features.h
44238 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44239 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44248 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44250 * configure.in: Define the default includes to being none.
44251 * configure: Regenerated.
44253 2012-05-25 Roland McGrath <roland@hack.frob.com>
44255 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44256 * sysdeps/x86_64/setjmp.S: Likewise.
44257 * sysdeps/i386/bsd-setjmp.S: Likewise.
44258 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44259 * sysdeps/i386/setjmp.S: Likewise.
44260 * sysdeps/i386/__longjmp.S: Likewise.
44261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44264 * include/stap-probe.h: New file.
44265 * configure.in: Handle --enable-systemtap.
44266 * configure: Regenerated.
44267 * config.h.in (USE_STAP_PROBE): New #undef.
44268 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44269 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44270 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44272 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44276 to 2.4.0 where earlier.
44277 * sysdeps/unix/sysv/linux/configure: Regenerated.
44278 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44279 <kernel-features.h>.
44280 [__ASSUME_32BITUIDS]: Make code unconditional.
44281 [!__ASSUME_32BITUIDS]: Remove conditional code.
44282 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44283 <kernel-features.h>.
44284 [__ASSUME_32BITUIDS]: Make code unconditional.
44285 [!__ASSUME_32BITUIDS]: Remove conditional code.
44286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44287 [__ASSUME_32BITUIDS]: Make code unconditional.
44288 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44289 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44290 <kernel-features.h>.
44291 [__ASSUME_32BITUIDS]: Make code unconditional.
44292 [!__ASSUME_32BITUIDS]: Remove conditional code.
44293 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44294 <kernel-features.h>.
44295 [__ASSUME_32BITUIDS]: Make code unconditional.
44296 [!__ASSUME_32BITUIDS]: Remove conditional code.
44297 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44298 <kernel-features.h>.
44299 [__ASSUME_32BITUIDS]: Make code unconditional.
44300 [!__ASSUME_32BITUIDS]: Remove conditional code.
44301 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44302 <kernel-features.h>.
44303 [__ASSUME_32BITUIDS]: Make code unconditional.
44304 [!__ASSUME_32BITUIDS]: Remove conditional code.
44305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44306 <kernel-features.h>.
44307 [__ASSUME_32BITUIDS]: Make code unconditional.
44308 [!__ASSUME_32BITUIDS]: Remove conditional code.
44309 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44310 <kernel-features.h>.
44311 [__ASSUME_32BITUIDS]: Make code unconditional.
44312 [!__ASSUME_32BITUIDS]: Remove conditional code.
44313 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44314 <kernel-features.h>.
44315 [__ASSUME_32BITUIDS]: Make code unconditional.
44316 [!__ASSUME_32BITUIDS]: Remove conditional code.
44317 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44318 <kernel-features.h>.
44319 [__ASSUME_32BITUIDS]: Make code unconditional.
44320 [!__ASSUME_32BITUIDS]: Remove conditional code.
44321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44322 <kernel-features.h>.
44323 [__ASSUME_32BITUIDS]: Make code unconditional.
44324 [!__ASSUME_32BITUIDS]: Remove conditional code.
44325 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44326 <kernel-features.h>.
44327 [__ASSUME_32BITUIDS]: Make code unconditional.
44328 [!__ASSUME_32BITUIDS]: Remove conditional code.
44329 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44330 <kernel-features.h>.
44331 [__NR_setresgid] (__setresgid): Do not declare.
44332 [__ASSUME_32BITUIDS]: Make code unconditional.
44333 [!__ASSUME_32BITUIDS]: Remove conditional code.
44334 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44335 <kernel-features.h>.
44336 [__NR_setresuid] (__setresuid): Do not declare.
44337 [__ASSUME_32BITUIDS]: Make code unconditional.
44338 [!__ASSUME_32BITUIDS]: Remove conditional code.
44339 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44340 <kernel-features.h>.
44341 [__ASSUME_32BITUIDS]: Make code unconditional.
44342 [!__ASSUME_32BITUIDS]: Remove conditional code.
44343 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44344 <kernel-features.h>.
44345 [__ASSUME_32BITUIDS]: Make code unconditional.
44346 [!__ASSUME_32BITUIDS]: Remove conditional code.
44347 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44348 <kernel-features.h>.
44349 [__ASSUME_32BITUIDS]: Make code unconditional.
44350 [!__ASSUME_32BITUIDS]: Remove conditional code.
44351 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44352 <kernel-features.h>.
44353 [__ASSUME_32BITUIDS]: Make code unconditional.
44354 [!__ASSUME_32BITUIDS]: Remove conditional code.
44355 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44356 <kernel-features.h>.
44357 [__ASSUME_32BITUIDS]: Make code unconditional.
44358 [!__ASSUME_32BITUIDS]: Remove conditional code.
44359 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44360 <kernel-features.h>.
44361 [__ASSUME_32BITUIDS]: Make code unconditional.
44362 [!__ASSUME_32BITUIDS]: Remove conditional code.
44363 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44364 <kernel-features.h>.
44365 [__ASSUME_32BITUIDS]: Make code unconditional.
44366 [!__ASSUME_32BITUIDS]: Remove conditional code.
44367 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44368 <kernel-features.h>.
44369 [__ASSUME_32BITUIDS]: Make code unconditional.
44370 [!__ASSUME_32BITUIDS]: Remove conditional code.
44371 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44372 <kernel-features.h>.
44373 [__ASSUME_32BITUIDS]: Make code unconditional.
44374 [!__ASSUME_32BITUIDS]: Remove conditional code.
44375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44376 <kernel-features.h>.
44377 [__ASSUME_32BITUIDS]: Make code unconditional.
44378 [!__ASSUME_32BITUIDS]: Remove conditional code.
44379 * sysdeps/unix/sysv/linux/kernel-features.h
44380 (__ASSUME_SETRESUID_SYSCALL): Remove.
44381 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44382 (__ASSUME_32BITUIDS): Likewise.
44383 (__ASSUME_LDT_WORKS): Likewise.
44384 (__ASSUME_O_DIRECTORY): Likewise.
44385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44386 architecture but not kernel version.
44387 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44388 (__ASSUME_MMAP2_SYSCALL): Likewise.
44389 (__ASSUME_STAT64_SYSCALL): Likewise.
44390 (__ASSUME_IPC64): Likewise.
44391 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44392 <kernel-features.h>.
44393 [__ASSUME_32BITUIDS]: Make code unconditional.
44394 [!__ASSUME_32BITUIDS]: Remove conditional code.
44395 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44396 <kernel-features.h>.
44397 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44398 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44399 132096]: Remove conditional code.
44400 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44402 <kernel-features.h>.
44403 [__ASSUME_32BITUIDS]: Make code unconditional.
44404 [!__ASSUME_32BITUIDS]: Remove conditional code.
44405 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44406 <kernel-features.h>.
44407 [__ASSUME_32BITUIDS]: Make code unconditional.
44408 [!__ASSUME_32BITUIDS]: Remove conditional code.
44409 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44410 <kernel-features.h>.
44411 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44413 (__setresgid): Do not declare.
44414 [__ASSUME_32BITUIDS]: Make code unconditional.
44415 [!__ASSUME_32BITUIDS]: Remove conditional code.
44416 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44417 <kernel-features.h>.
44418 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44420 (__setresuid): Do not declare.
44421 [__ASSUME_32BITUIDS]: Make code unconditional.
44422 [!__ASSUME_32BITUIDS]: Remove conditional code.
44423 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44424 <kernel-features.h>.
44425 [__ASSUME_32BITUIDS]: Make code unconditional.
44426 [!__ASSUME_32BITUIDS]: Remove conditional code.
44427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44428 <kernel-features.h>.
44429 [__ASSUME_32BITUIDS]: Make code unconditional.
44430 [!__ASSUME_32BITUIDS]: Remove conditional code.
44432 2012-05-25 Richard Henderson <rth@twiddle.net>
44434 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44435 dl_hwcap to ifunc resolver.
44436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44439 dl_hwcap to ifunc resolver.
44440 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44442 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44445 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44446 for |x| <= 2**-26, not 2**-57.
44447 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44450 2012-05-24 Jeff Law <law@redhat.com>
44452 * stdio-common/Makefile (tests): Add bug25.
44453 * stdio-common/bug25.c: New test.
44455 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44458 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44459 multiple of MALLOC_ALIGNMENT in size.
44460 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44462 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44464 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44466 (FILENAME_MAX): Use macro-int-constant.
44467 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44468 (_IOFBF): Use macro-int-constant.
44469 (_IOLBF): Likewise.
44470 (_IONBF): Likewise.
44471 (SEEK_CUR): Likewise.
44472 (SEEK_END): Likewise.
44473 (SEEK_SET): Likewise.
44474 (TMP_MAX): Likewise.
44475 (EOF): Use macro-int-constant. Require < 0.
44476 (NULL): Use macro-constant. Require == 0.
44477 (stdin): Require type to be FILE *.
44478 (stdout): Likewise.
44479 (stderr): Likewise.
44480 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44481 macro-int-constant.
44482 (EXIT_SUCCESS): Likewise.
44483 (NULL): Use macro-constant. Require == 0.
44484 (RAND_MAX): Use macro-int-constant.
44485 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44486 [C99-based standards] (strtof): Require function.
44487 [C99-based standards] (strtold): Likewise.
44488 [C99-based standards] (strtoll): Likewise.
44489 [C99-based standards] (strtoull): Likewise.
44490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44491 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44492 [ISO || ISO99 || ISO11] (math.h): Likewise.
44493 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44494 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44497 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44500 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44501 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44502 * intl/dgettext.c (DCGETTEXT): Likewise.
44503 * intl/gettext.c (DCGETTEXT): Likewise.
44504 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44505 * posix/regex_internal.h (gettext): Likewise.
44506 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44507 Remove declaration.
44508 * include/argz.h (__argz_count_internal)
44509 (__argz_stringify_internal): Remove declaration.
44510 (__argz_count, __argz_stringify): Declare hidden proto.
44511 * intl/dcgettext.c: Remove use of INTDEF.
44512 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44513 * string/argz-stringify.c: Likewise.
44514 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44515 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44516 Declare hidden proto.
44517 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44518 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44519 Declare hidden proto.
44520 * include/stdio.h (__asprintf_internal): Don't declare.
44521 (__asprintf): Don't define as macro. Declare hidden proto.
44522 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44523 (__fsetlocking): Declare hidden proto.
44524 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44525 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44527 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44528 (_IO_setlinebuf): Remove use of INTUSE.
44529 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44530 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44531 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44532 Remove declaration.
44533 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44534 (_IO_do_flush): Remove use of INTUSE.
44535 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44536 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44537 (_IO_adjust_column, _IO_least_wmarker)
44538 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44539 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44540 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44541 (_IO_default_doallocate, _IO_wdefault_doallocate)
44542 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44543 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44544 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44545 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44546 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44547 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44548 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44549 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44550 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44551 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44552 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44553 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44554 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44556 (_IO_flush_all_internal, _IO_adjust_column_internal)
44557 (_IO_default_uflow_internal, _IO_default_finish_internal)
44558 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44559 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44560 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44561 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44562 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44563 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44564 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44565 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44566 (_IO_file_close_internal, _IO_file_close_it_internal)
44567 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44568 (_IO_file_init_internal, _IO_file_attach_internal)
44569 (_IO_file_fopen_internal, _IO_file_read_internal)
44570 (_IO_file_sync_internal, _IO_file_seek_internal)
44571 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44572 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44573 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44574 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44575 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44576 (_IO_list_all_internal, _IO_link_in_internal)
44577 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44578 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44579 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44580 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44581 (_IO_do_write_internal, _IO_padn_internal)
44582 (_IO_getline_info_internal, _IO_getline_internal)
44583 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44584 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44585 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44586 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44587 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44588 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44589 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44590 with libc_hidden_ver, remove use of INTUSE.
44591 * libio/genops.c: Likewise.
44592 * libio/freopen.c: Likewise.
44593 * libio/freopen64.c: Likewise.
44594 * libio/iofclose.c: Likewise.
44595 * libio/iofdopen.c: Likewise.
44596 * libio/iofflush.c: Likewise.
44597 * libio/iofflush_u.c: Likewise.
44598 * libio/iofgets.c: Likewise.
44599 * libio/iofgets_u.c: Likewise.
44600 * libio/iofopen.c: Likewise.
44601 * libio/iofopncook.c: Likewise.
44602 * libio/iofread.c: Likewise.
44603 * libio/iofread_u.c: Likewise.
44604 * libio/ioftell.c: Likewise.
44605 * libio/iofwrite.c: Likewise.
44606 * libio/iogetline.c: Likewise.
44607 * libio/iogets.c: Likewise.
44608 * libio/iogetwline.c: Likewise.
44609 * libio/iopadn.c: Likewise.
44610 * libio/iopopen.c: Likewise.
44611 * libio/ioseekoff.c: Likewise.
44612 * libio/ioseekpos.c: Likewise.
44613 * libio/iosetbuffer.c: Likewise.
44614 * libio/iosetvbuf.c: Likewise.
44615 * libio/ioungetc.c: Likewise.
44616 * libio/ioungetwc.c: Likewise.
44617 * libio/iovdprintf.c: Likewise.
44618 * libio/iovsprintf.c: Likewise.
44619 * libio/iovsscanf.c: Likewise.
44620 * libio/memstream.c: Likewise.
44621 * libio/obprintf.c: Likewise.
44622 * libio/oldfileops.c: Likewise.
44623 * libio/oldiofclose.c: Likewise.
44624 * libio/oldiofdopen.c: Likewise.
44625 * libio/oldiofopen.c: Likewise.
44626 * libio/oldiopopen.c: Likewise.
44627 * libio/oldstdfiles.c: Likewise.
44628 * libio/putc.c: Likewise.
44629 * libio/setbuf.c: Likewise.
44630 * libio/setlinebuf.c: Likewise.
44631 * libio/stdfiles.c: Likewise.
44632 * libio/strops.c: Likewise.
44633 * libio/vasprintf.c: Likewise.
44634 * libio/vscanf.c: Likewise.
44635 * libio/vsnprintf.c: Likewise.
44636 * libio/vswprintf.c: Likewise.
44637 * libio/wfiledoalloc.c: Likewise.
44638 * libio/wfileops.c: Likewise.
44639 * libio/wgenops.c: Likewise.
44640 * libio/wmemstream.c: Likewise.
44641 * libio/wstrops.c: Likewise.
44642 * libio/__fpurge.c: Likewise.
44643 * libio/__fsetlocking.c: Likewise.
44644 * assert/assert.c: Likewise.
44645 * debug/fgets_chk.c: Likewise.
44646 * debug/fgets_u_chk.c: Likewise.
44647 * debug/fread_chk.c: Likewise.
44648 * debug/fread_u_chk.c: Likewise.
44649 * debug/gets_chk.c: Likewise.
44650 * debug/obprintf_chk.c: Likewise.
44651 * debug/vasprintf_chk.c: Likewise.
44652 * debug/vdprintf_chk.c: Likewise.
44653 * debug/vsnprintf_chk.c: Likewise.
44654 * debug/vsprintf_chk.c: Likewise.
44655 * malloc/mtrace.c: Likewise.
44656 * misc/error.c: Likewise.
44657 * misc/syslog.c: Likewise.
44658 * stdio-common/asprintf.c: Likewise.
44659 * stdio-common/fxprintf.c: Likewise.
44660 * stdio-common/getw.c: Likewise.
44661 * stdio-common/isoc99_fscanf.c: Likewise.
44662 * stdio-common/isoc99_scanf.c: Likewise.
44663 * stdio-common/isoc99_vfscanf.c: Likewise.
44664 * stdio-common/isoc99_vscanf.c: Likewise.
44665 * stdio-common/isoc99_vsscanf.c: Likewise.
44666 * stdio-common/printf-prs.c: Likewise.
44667 * stdio-common/printf_fp.c: Likewise.
44668 * stdio-common/printf_fphex.c: Likewise.
44669 * stdio-common/printf_size.c: Likewise.
44670 * stdio-common/putw.c: Likewise.
44671 * stdio-common/scanf.c: Likewise.
44672 * stdio-common/sprintf.c: Likewise.
44673 * stdio-common/tmpfile.c: Likewise.
44674 * stdio-common/vfprintf.c: Likewise.
44675 * stdio-common/vfscanf.c: Likewise.
44676 * stdlib/strfmon_l.c: Likewise.
44677 * sunrpc/openchild.c: Likewise.
44678 * sunrpc/xdr_stdio.c: Likewise.
44679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44680 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44682 2012-05-24 Roland McGrath <roland@hack.frob.com>
44684 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44686 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44687 in the third column, to generate for the shared library an IFUNC
44688 that uses _dl_vdso_vsym.
44689 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44690 * Makeconfig (object-suffixes-noshared): New variable.
44692 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44693 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44694 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44695 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44698 * include/sys/time.h (__gettimeofday): Remove macro.
44699 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44700 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44702 (__gettimeofday): Add libc_hidden_def.
44703 (gettimeofday): Add libc_hidden_weak.
44704 * sysdeps/mach/gettimeofday.c: Likewise.
44705 * sysdeps/posix/gettimeofday.c: Likewise.
44706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44707 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44709 (__gettimeofday_internal): Remove strong_alias.
44710 (__gettimeofday): Add libc_hidden_def.
44711 (gettimeofday): Add libc_hidden_weak.
44712 * sysdeps/unix/syscalls.list (gettimeofday):
44713 Remove __gettimeofday_internal alias.
44715 2012-05-24 Daniel Jacobowitz <drow@false.org>
44716 H.J. Lu <hongjiu.lu@intel.com>
44719 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44720 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44721 (largebin_index_32_big): New.
44722 (largebin_index): Use it for 16-byte alignment.
44723 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44724 correction with front_misalign.
44726 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44754 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44755 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44757 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44761 * math/libm-test.inc (exp_test): Add test from bug 14036.
44762 (pow_test): Add test from bug 10846.
44764 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44766 (special_function): Do not include flags in test name.
44767 (parse_args): Likewise.
44768 * sysdeps/i386/fpu/libm-test-ulps: Update.
44769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44774 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44776 * math/libm-test.inc ("Philosophy"): Update comment about
44778 (UNDERFLOW_EXCEPTION): New macro.
44779 (UNDERFLOW_EXCEPTION_OK): Likewise.
44780 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44781 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44782 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44783 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44784 (INVALID_EXCEPTION_OK): Update value.
44785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44786 (OVERFLOW_EXCEPTION_OK): Likewise.
44787 (IGNORE_ZERO_INF_SIGN): Likewise.
44788 (test_exceptions): Handle underflow exceptions.
44789 (acos_test): Update for underflow exception expectations.
44790 (cexp_test): Likewise.
44791 (clog_test): Likewise.
44792 (clog10_test): Likewise.
44793 (csqrt_test): Likewise.
44794 (ctan_test): Likewise.
44795 (ctanh_test): Likewise.
44796 (exp_test): Likewise.
44797 (exp10_test): Likewise.
44798 (exp2_test): Likewise.
44799 (expm1_test): Likewise.
44800 (fma_test): Likewise.
44801 (j0_test): Likewise.
44802 (jn_test): Likewise.
44803 (nexttoward_test): Likewise.
44804 (pow_test): Likewise.
44805 (scalbn_test): Likewise.
44806 (scalbln_test): Likewise.
44807 (tan_test): Likewise.
44808 (y1_test): Likewise.
44809 * sysdeps/i386/fpu/libm-test-ulps: Update.
44810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44812 2012-05-23 David S. Miller <davem@davemloft.net>
44814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44815 (__libc_sigaction): Remove unused local variables.
44817 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44819 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44821 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44823 mktime: avoid signed integer overflow
44824 * time/mktime.c (__mktime_internal): Do not mishandle the case
44825 where diff == INT_MIN.
44827 mktime: simplify computation of average
44828 * time/mktime.c (ranged_convert): Use new time_t_avg function
44829 instead of rolling our own (probably-slower) code.
44831 mktime: do not assume signed right shift propagates sign bit
44832 * time/mktime.c (isdst_differ): New static function.
44833 (__mktime_internal): No need to normalize tm_isdst now.
44834 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44837 mktime: merge another wrapv change from gnulib
44838 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44839 from some compilers.
44841 mktime: remove incorrect attempt at unusual arithmetics
44842 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44843 The code didn't really work on such machines anyway.
44844 (TYPE_MINIMUM): Assume two's complement.
44845 (twos_complement_arithmetic): Verify that long_int and time_t
44846 are two's complement (or unsigned, in the latter case).
44848 mktime: check signed shifts on long_int and time_t, too
44849 * time/mktime.c (SHR): Check that shifts work as desired
44850 on the types long_int and time_t too, as SHR is used on
44853 mktime: do not assume 'long' is wide enough
44854 * time/mktime.c (verify): Move decl up.
44855 (long_int): New type.
44856 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44857 to remove assumption in the code that 'long' is wide enough to
44858 store year values. This assumption is not true on x32 and on
44859 some non-glibc platforms.
44861 mktime: merge wrapv change from gnulib
44862 * time/mktime.c (WRAPV): New macro.
44863 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44864 (guess_time_tm, __mktime_internal): Do not assume that signed
44865 integer overflow wraps around; modern compilers generate code
44866 where this assumption is no longer valid.
44868 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44871 Replace "jmp L(pseudo_end)" with "ret".
44872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44875 2012-05-23 Andreas Jaeger <aj@suse.de>
44877 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44878 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44880 2012-05-23 Andreas Jaeger <aj@suse.de>
44881 Maximilian Attems <max@stro.at>
44883 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44886 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44889 code so that pseudo_end is just ret and the stack pointer is
44890 correct also for static library in error case.
44892 2012-05-23 Joseph Myers <joseph@codesourcery.com>
44894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44895 move to syscalls.list.
44896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44901 * manual/install.texi (Running make install): Do not mention Linux
44902 kernel version for which pt_chown is not needed.
44903 (Linux): Do not mention problems with nscd with 2.0 kernels.
44904 * INSTALL: Regenerated.
44906 2012-05-23 Andreas Jaeger <aj@suse.de>
44908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44909 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44911 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44913 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44915 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44921 * sysdeps/unix/sysv/linux/bits/in.h
44922 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44924 2012-05-22 Roland McGrath <roland@hack.frob.com>
44926 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44927 (PREPARE_VERSION): Just use assert instead, it will be elided
44928 under [NDEBUG] anyway.
44930 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44932 * sysdeps/unix/sysv/linux/Makefile: Include
44933 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44934 (sysdep_routines): Remove sysctl.
44935 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44936 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44938 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44939 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44941 2012-05-22 Andreas Jaeger <aj@suse.de>
44943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44944 that pseudo_end is just ret and the stack pointer is correct also
44945 for static library in error case.
44947 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44950 * nss/nsswitch.c (defconfig_entries): New variable.
44951 (__nss_database_lookup): Don't leak defconfig entries.
44952 (nss_parse_service_list): Don't leak on error paths.
44953 (free_database_entries): New function.
44954 (free_defconfig): New function.
44955 (free_mem): Move common code to free_database_entries.
44957 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44963 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44964 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44967 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44968 (INTERNAL_SYSCALL_TYPES): Likewise.
44969 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44970 (LOAD_REGS_TYPES_[1-6]): Likewise.
44971 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44972 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44974 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44976 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44977 copysignl for GLIBC_2_0.
44978 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44979 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44981 logbl for GLIBC_2_0.
44982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44983 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44985 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44990 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44993 * time/mktime.c: Update copyright years.
44995 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44997 mktime: merge comment-quoting-style change from gnulib
44998 * time/mktime.c: Quote 'like this' in comments.
44999 The GNU coding standards suggest that we no longer quote `like this',
45000 as "`" and "'" are typically rendered asymmetrically nowadays.
45001 The typical gnulib style is to quote 'like this' when quoting
45002 code, and "like this" when quoting English.
45004 * time/mktime.c (compile-command): Add "-I.".
45006 mktime: merge mktime-internal.h change from gnulib
45007 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45009 mktime: merge time_r change from gnulib
45010 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45012 mktime: merge DEBUG change from gnulib
45013 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45014 case system <time.h> has a #define.
45016 mktime: merge <sys/types.h> change from gnulib
45017 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45018 since <time.t> is now guaranteed to define time_t.
45020 mktime: merge HAVE_CONFIG_H change from gnulib
45021 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45023 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45030 (struct rusage): Use anonymous union to pad each field to
45033 2012-05-21 David S. Miller <davem@davemloft.net>
45035 * Makefules (o-iterator): Remove .s cases.
45036 (compile-command.s): Delete.
45037 (COMPILE.s): Delete.
45038 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45040 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45042 * configure.in (libc_cv_predef_stack_protector): Only consider
45043 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45044 * configure: Regenerated.
45046 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45049 New macro. Use R*LP on int and pointer.
45050 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45051 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45052 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45053 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45055 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45056 [__WORDSIZE_TIME64_COMPAT32] instead of
45057 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45058 (struct utmp): Likewise.
45059 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45060 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45062 (__WORDSIZE_TIME64_COMPAT32): This.
45063 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45064 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45065 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45066 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45067 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45068 (__WORDSIZE_TIME64_COMPAT32): New macro.
45070 2012-05-21 Andreas Jaeger <aj@suse.de>
45072 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45073 only if [SHARED]. Add prototype for __wcschr_ia32.
45075 2012-05-21 Roland McGrath <roland@hack.frob.com>
45077 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45078 of %rbp unmolested in the jmp_buf while mangling the low bits.
45079 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45080 unmolested high bits of %rbp while demangling the low bits.
45081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45083 2012-05-21 Andreas Jaeger <aj@suse.de>
45085 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45086 * sunrpc/svc_simple.c: Use it for registerrpc.
45087 * sunrpc/xcrypt.c: Use it for passwd2des.
45089 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45091 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45093 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45094 Don't define if [__SYSCALL_WORDSIZE != 32].
45095 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45098 2012-05-21 Bruno Haible <bruno@clisp.org>
45099 Andreas Jaeger <aj@suse.de>
45101 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45102 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45103 inptr and inend for must_buffer_ch.
45104 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45105 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45106 * stdio-common/Makefile (tests): Remove bug15.
45107 (bug15-ENV): Remove macro.
45108 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45111 2012-05-19 Andreas Jaeger <aj@suse.de>
45112 Roland McGrath <roland@hack.frob.com>
45114 * manual/contrib.texi: Completely rewritten. It contains now an
45115 alphabetical list of contributors and their contributions.
45117 2012-05-21 Richard Henderson <rth@twiddle.net>
45119 * misc/getauxval.c (__getauxval): Use unsigned long int.
45120 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45121 (getauxval): Use unsigned long int.
45123 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45127 2012-05-21 Roland McGrath <roland@hack.frob.com>
45129 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45130 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45131 __alignof__ (long double).
45133 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45137 2012-05-20 Richard Henderson <rth@twiddle.net>
45139 * misc/getauxval.c: New file.
45140 * misc/sys/auxv.h: New file.
45141 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45142 (routines): Add getauxval.
45143 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45145 * elf/dl-sysdep.c (_dl_auxv): Remove.
45146 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45147 * elf/dl-support.c (_dl_auxv): New variable.
45148 (_dl_aux_init): Initialize it.
45149 * manual/startup.texi (Auxiliary Vector): New node.
45150 * sysdeps/generic/bits/hwcap.h: New file.
45151 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45152 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45153 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45154 * sysdeps/sparc/sysdep.h: ... here. Include it.
45155 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45168 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45172 2012-05-19 David S. Miller <davem@davemloft.net>
45174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45176 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45179 * math/s_ccosh.c: Include <float.h>
45180 (__ccosh): Avoid internal overflow calculating sinh and cosh
45181 values before multiplying by sin and cos values.
45182 * math/s_ccoshf.c: Likewise.
45183 * math/s_ccoshl.c: Likewise.
45184 * math/s_csin.c: Likewise.
45185 * math/s_csinf.c: Likewise.
45186 * math/s_csinl.c: Likewise.
45187 * math/s_csinh.c: Likewise.
45188 * math/s_csinhf.c: Likewise.
45189 * math/s_csinhl.c: Likewise.
45190 * math/libm-test.inc (ccos_test): Add more tests.
45191 (ccosh_test): Likewise.
45192 (csin_test): Likewise.
45193 (csinh_test): Likewise.
45194 * sysdeps/i386/fpu/libm-test-ulps: Update.
45195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45197 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45199 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45200 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45202 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45204 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45206 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45207 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45208 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45209 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45210 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45211 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45212 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45213 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45214 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45215 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45216 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45217 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45218 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45219 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45220 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45221 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45222 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45223 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45224 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45225 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45226 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45227 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45228 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45229 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45230 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45231 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45232 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45233 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45234 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45235 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45236 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45238 2012-05-18 Andreas Jaeger <aj@suse.de>
45240 * csu/.gitignore: Delete.
45242 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45244 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45245 (timex): Use __syscall_slong_t.
45247 2012-05-18 Andreas Jaeger <aj@suse.de>
45248 Carlos O'Donell <carlos_odonell@mentor.com>
45250 * manual/install.texi (Configuring and compiling): Update
45251 description about files modified in the source directory.
45252 * INSTALL: Regenerated.
45254 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45256 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45257 value. Use "or" to set return value to -1.
45258 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45259 negate return value.
45261 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45263 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45264 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45265 failure if the compiler has Graphite support disabled.
45266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45268 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45269 (CFLAGS-memmove.c): Likewise.
45270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45273 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45275 * sysdeps/x86_64/x32/_itoa.h: New file.
45277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45278 getdents system call only if kernel and user dirents have the
45279 same d_ino and d_off.
45281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45282 LLONG_MAX != LONG_MAX.
45283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45284 (_fitoa_word): Likewise.
45286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45289 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45293 include <bits/wordsize.h>. Check __x86_64__ instead of
45295 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45296 if __x86_64__ is defined. Use anonymous union on fpstate.
45298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45301 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45303 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45304 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45305 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45306 Refer to _rtld_local_ro instead of _rtld_global_ro.
45307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45309 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45311 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45313 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45314 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45315 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45317 * sysdeps/powerpc/powerpc32/dl-machine.c
45318 (__elf_machine_runtime_setup) [PROF]: Don't reference
45321 2012-05-18 Andreas Jaeger <aj@suse.de>
45323 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45324 function only available for GCCs before 3.4 since GCC 3.4
45325 introduced a builtin.
45327 (llrintf): Likewise.
45328 (llrint): Likewise.
45335 (nearbyint): Likewise.
45336 (nearbyintf): Likewise.
45340 (floorf): Likewise.
45342 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45344 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45345 on both fields and cast pointer to __syscall_ulong_t.
45347 * bits/types.h (__fsword_t): New type.
45348 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45349 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45351 (__FSWORD_T_TYPE): Likewise.
45352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45353 (__FSWORD_T_TYPE): Likewise.
45354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45355 (__FSWORD_T_TYPE): Likewise.
45356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45357 (__FSWORD_T_TYPE): Likewise.
45358 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45359 __SWORD_TYPE with __fsword_t.
45360 (statfs64): Likewise.
45362 2012-05-17 David S. Miller <davem@davemloft.net>
45364 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45366 2012-05-17 Andreas Jaeger <aj@suse.de>
45368 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45371 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45373 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45375 2012-05-17 Andreas Jaeger <aj@suse.de>
45377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45380 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45382 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45384 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45386 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45387 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45389 2012-05-17 Andreas Jaeger <aj@suse.de>
45390 Carlos O'Donell <carlos_odonell@mentor.com>
45393 * sysdeps/x86_64/multiarch/init-arch.h
45394 (bit_YMM_Usable): Rename to...
45395 (bit_AVX_Usable): ... this.
45396 (bit_FMA4_Usable): New macro.
45397 (bit_XMM_state): New macro.
45398 (bit_YMM_state): New macro.
45399 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45400 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45401 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45402 (CPUID_OSXSAVE): New macro.
45403 (CPUID_AVX): New macro.
45404 (CPUID_FMA4): New macro.
45405 (index_YMM_Usable): Rename to...
45406 (index_AVX_Usable): ... this.
45407 (HAS_AVX): Use HAS_ARCH_FEATURE.
45408 (HAS_FMA4): Likewise.
45409 (HAS_YMM_USABLE): Remove.
45410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45411 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45413 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45414 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45415 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45416 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45417 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45419 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45421 * math/libm-test.c: Support platforms without multiple rounding modes.
45422 * math/bug-nextafter.c: Support platforms without FP exceptions.
45423 * math/bug-nexttoward.c: Likewise.
45424 * math/test-fenv.c: Likewise.
45425 * math/test-misc.c: Likewise.
45426 * stdlib/bug-getcontext.c: Likewise.
45428 2012-05-17 Andreas Jaeger <aj@suse.de>
45430 * manual/examples/search.c (critter_cmp): Change signature to
45432 * manual/string.texi (Collation Functions): Likewise.
45434 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45436 * bits/types.h: Fold copyright years.
45437 * bits/typesizes.h: Likewise.
45438 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45442 * time/time.h: Likewise.
45444 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45447 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45448 in instead of returning them. Return void.
45449 (__libc_mallinfo): Accumulate over all arenas.
45450 (__malloc_stats): Adjust for change in int_mallinfo interface.
45452 2012-05-16 Roland McGrath <roland@hack.frob.com>
45455 * configure.in (NM): Add AC_CHECK_TOOL for it.
45456 (libc_extra_cflags): New substituted variable.
45457 Check for -fstack-protector being used implicitly.
45458 * configure: Regenerated.
45459 * config.make.in (config-extra-cflags): New variable,
45460 gets @libc_extra_cflags@.
45461 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45464 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45465 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45466 * configure: Regenerated.
45467 * config.make.in (CPPUNDEFS): New substituted variable.
45468 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45469 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45470 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45472 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45474 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45475 (mq_attr): Use __syscall_slong_t.
45477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45479 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45480 Check __x86_64__ instead of __WORDSIZE.
45481 (_STAT_VER_LINUX): Likewise.
45482 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45483 __syscall_ulong_t and __syscall_slong_t.
45484 (stat64): Likewise.
45486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45496 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45499 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45500 include <bits/wordsize.h>. Check __x86_64__ instead of
45502 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45504 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45507 include <bits/wordsize.h>. Check __x86_64__ instead of
45509 (user_regs_struct): Use "__extension__ unsigned long long"
45510 instead of "unsigned long" if __x86_64__ is defined.
45511 (user): Likewise. Pad after pointer field if __ILP32__ is
45514 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45516 * configure.in (makeinfo): Require version 4.5 or later. Allow
45518 * configure: Regenerated.
45519 * manual/install.texi (texinfo): Increase version requirement to
45521 * INSTALL: Regenerated.
45523 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45527 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45529 * sysdeps/x86_64/x32/ffs.c: New file.
45531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45533 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45534 defined. Use __syscall_ulong_t.
45535 (shminfo): Use __syscall_ulong_t.
45536 (shm_info): Likewise.
45538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45543 (msgqnum_t): Use __syscall_ulong_t.
45544 (msglen_t): Likewise.
45545 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45548 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45551 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45553 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45554 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45556 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45560 include <bits/wordsize.h>. Check __x86_64__ instead of
45563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45564 "unsigned long long int" if __x86_64__ is defined.
45565 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45568 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45569 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45573 (GET_PC): Cast to uintptr_t first.
45574 (GET_FRAME): Likewise.
45575 (GET_STACK): Likewise.
45577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45583 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45584 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45585 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45586 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45607 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45609 * Makerules (+depfiles): Also collect depfiles from .oS in
45611 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45612 .oS, $(libnldbl-routines)).
45614 * Makerules (native-compile-mkdep-flags): Define.
45615 * sunrpc/Makefile (extra-objs): Add $(addprefix
45616 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45617 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45618 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45619 calling $(make-target-directory).
45621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45623 * bits/types.h (__snseconds_t): Removed.
45624 * time/time.h (struct timespec): Replace __snseconds_t with
45626 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45627 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45630 (__SNSECONDS_T_TYPE): Likewise.
45631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45632 (__SNSECONDS_T_TYPE): Likewise.
45633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45634 (__SNSECONDS_T_TYPE): Likewise.
45636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45638 * sysdeps/mach/hurd/bits/typesizes.h
45639 (__SYSCALL_SLONG_TYPE): New macro.
45640 (__SYSCALL_ULONG_TYPE): Likewise.
45642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45644 * bits/types.h (__syscall_slong_t): New type.
45645 (__syscall_ulong_t): Likewise.
45647 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45648 (__SYSCALL_ULONG_TYPE): Likewise.
45649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45650 (__SYSCALL_SLONG_TYPE): Likewise.
45651 (__SYSCALL_ULONG_TYPE): Likewise.
45652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45653 (__SYSCALL_SLONG_TYPE): Likewise.
45654 (__SYSCALL_ULONG_TYPE): Likewise.
45655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45656 (__SYSCALL_SLONG_TYPE): Likewise.
45657 (__SYSCALL_ULONG_TYPE): Likewise.
45659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45661 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45662 Add sigaltstack-offsets.sym.
45663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45664 <sigaltstack-offsets.h>.
45665 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45666 longjmp_msg pointer.
45667 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45668 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45670 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45672 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45674 * elf/stackguard-macros.h: Remove file.
45675 * sysdeps/generic/stackguard-macros.h: New file.
45676 * sysdeps/i386/stackguard-macros.h: Likewise.
45677 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45678 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45679 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45680 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45681 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45682 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45683 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45684 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45685 <elf/stackguard-macros.h>.
45688 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45689 __aligned__ in attribute.
45690 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45691 (gregset_t): Likewise.
45693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45695 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45696 * sysdeps/x86_64/64/Implies-after: Here. New file.
45697 * sysdeps/x86_64/x32/Implies-after: New file.
45699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45701 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45702 and access return value for _dl_profile_fixup. Use R10_LP to
45705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45711 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45712 * sysdeps/x86_64/x32/sysdep.h: New file.
45714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45716 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45717 * sysdeps/x86_64/setjmp.S: Likewise.
45719 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45723 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45725 remove unused global constant.
45727 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45729 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45730 include of <not-cancel.h>.
45732 2012-05-15 Roland McGrath <roland@hack.frob.com>
45734 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45736 2012-05-15 Jeff Law <law@redhat.com>
45737 Andreas Jaeger <aj@suse.de>
45740 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45742 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45743 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45745 code changing __hst_map_handle.map.
45747 2012-05-15 Roland McGrath <roland@hack.frob.com>
45749 * configure.in (sysnames): Look for Implies-before and Implies-after
45751 * configure: Regenerated.
45753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45756 8-byte data alignment with LP_SIZE alignment.
45758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45765 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45770 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45777 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45778 (stackinfo_sub_sp): Likewise.
45780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45797 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45801 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45802 into R11_LP and load __x86_64_shared_cache_size_half into
45805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45810 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45819 powerpc32/power7/fpu/s_logb.c via #include.
45820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45821 powerpc32/power7/fpu/s_logbf.c via #include.
45822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45823 powerpc32/power7/fpu/s_logbl.c via #include.
45825 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45827 * README.libm: Remove file.
45829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45831 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45832 count for x32. Use R*_LP and omit operand-size suffix.
45834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45836 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45837 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45838 * sysdeps/x86_64/x32/shlib-versions: New file.
45840 2012-05-14 Roland McGrath <roland@hack.frob.com>
45842 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45843 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45844 Use _dl_fatal_printf instead.
45846 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45848 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45849 set if not set by the user. Do not allow for being unset.
45850 * sysdeps/unix/sysv/linux/configure: Regenerated.
45852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45854 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45855 the `q' suffix from lea and replace .quad with ASM_ADDR.
45857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45860 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45862 (PTR_DEMANGLE): Likewise.
45864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45866 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45868 (ASM_ADDR): Likewise.
45869 (RAX_LP): Likewise.
45870 (RBP_LP): Likewise.
45871 (RBX_LP): Likewise.
45872 (RCX_LP): Likewise.
45873 (RDI_LP): Likewise.
45874 (RSI_LP): Likewise.
45875 (RSP_LP): Likewise.
45878 (R10_LP): Likewise.
45879 (R10_LP): Likewise.
45880 (R11_LP): Likewise.
45881 (R12_LP): Likewise.
45882 (R13_LP): Likewise.
45883 (R14_LP): Likewise.
45884 (R15_LP): Likewise.
45886 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45888 * sysdeps/x86_64/x32/dl-machine.h: New file.
45890 2012-05-14 Andreas Jaeger <aj@suse.de>
45892 * manual/Makefile (subdir): Remove export of subdir.
45893 (all): Remove target.
45894 (.PHONY): Remove all from list.
45895 (mkinstalldirs): Remove.
45896 (.PHONY): Remove installdirs from list.
45897 ($(inst_infodir)/libc.info): Use make-target-directory.
45898 (installdirs): Remove.
45899 (subdir_%): Remove.
45900 (glibc-targets): Remove.
45903 ($(objpfx)stubs ../po/manual.pot): Remove.
45904 ($(objpfx)stamp%): Remove.
45905 (make-target-directory): Remove.
45906 (subdir_install): Remove.
45907 (routines): Remove.
45914 * manual/.gitignore: Remove, it's not needed anymore.
45915 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45917 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45919 (texis): Renamed to $(objpfx)texis.
45920 (texis-path): New, contains path to generated files.
45921 (chapters.%): Use texis-path for complete path, add extra argument
45923 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45924 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45925 (summary,texi, stamp-summary): Use complete path of
45926 files. Generate files in build dir.
45927 (dir-add.texi): Build in build dir.
45928 (libm-err.texi,stamp-libm-err): Likewise.
45929 (version.texi, stamp-version): Likewise.
45930 (.%c.texi): Likewise.
45931 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45932 (mostlyclean): Remove target.
45933 (realclean): Remove target.
45934 (generated): Add new variable with contents from mostlyclean and
45935 realclean, remove entries duplicated in common-mostlyclean, add
45936 stamp-libm-err and stamp-version.
45937 (generated-dirs): Add libc directory.
45938 ($(inst_infodir)/libc.info): Install files from build dir.
45940 * manual/install.texi (Configuring and compiling): Adjust since
45941 the info files are not part of the tar ball anymore.
45943 2012-05-14 Andreas Jaeger <aj@suse.de>
45945 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45948 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45952 to 2.2.0 where earlier.
45953 * sysdeps/unix/sysv/linux/configure: Regenerated.
45954 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45955 Remove conditional code.
45956 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45957 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45958 Remove conditional code.
45959 [!__NR_lchown]: Likewise.
45960 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45961 [__NR_lchown]: Likewise.
45962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45963 comment referencing __ASSUME_LCHOWN_SYSCALL.
45964 * sysdeps/unix/sysv/linux/i386/sigaction.c
45965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45967 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45968 Remove conditional code.
45969 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45970 (__protocol_available): Remove #if 0 code.
45971 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45973 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45974 * sysdeps/unix/sysv/linux/kernel-features.h
45975 (__ASSUME_GETCWD_SYSCALL): Don't define.
45976 (__ASSUME_REALTIME_SIGNALS): Likewise.
45977 (__ASSUME_PREAD_SYSCALL): Likewise.
45978 (__ASSUME_PWRITE_SYSCALL): Likewise.
45979 (__ASSUME_POLL_SYSCALL): Likewise.
45980 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45981 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45983 (__ASSUME_SIOCGIFNAME): Don't define.
45984 (__ASSUME_MSG_NOSIGNAL): Likewise.
45985 (__ASSUME_SENDFILE): Define unconditionally.
45986 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45987 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45989 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45990 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45991 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45992 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45993 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45994 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45995 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46020 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46021 Remove conditional code.
46022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46023 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46024 Remove conditional code.
46025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46026 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46027 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46028 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46029 Remove conditional code.
46030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46031 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46032 Remove conditional code.
46033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46034 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46035 Remove conditional code.
46036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46037 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46038 Remove conditional code.
46039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46040 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46041 Remove conditional code.
46042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46043 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46046 * sysdeps/unix/sysv/linux/sigaction.c
46047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46049 * sysdeps/unix/sysv/linux/sigpending.c
46050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46052 * sysdeps/unix/sysv/linux/sigprocmask.c
46053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46055 * sysdeps/unix/sysv/linux/sigsuspend.c
46056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46059 (__libc_missing_rt_sigs): Remove.
46060 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46061 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46062 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46063 Remove conditional code.
46064 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46065 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46072 2012-05-14 Andreas Jaeger <aj@suse.de>
46074 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46075 it's not used in glibc.
46076 (__coshm1): Likewise.
46077 (__acosh1p): Likewise.
46080 * manual/string.texi (Copying and Concatenation): Add missing
46081 variable in concat example.
46082 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46088 __builtin_clzl with __builtin_clzll.
46090 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46093 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46096 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46098 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46099 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46100 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46103 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46105 * NEWS: Update ia64 info.
46107 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46109 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46112 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46114 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46115 * sysdeps/unix/syscalls.list (dup3): Likewise.
46116 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46117 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46119 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46121 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46122 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46124 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46126 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46128 (TLS_IE): Use mov/add instead of movq/addq to load thread
46130 (TLS_GD_PREFIX): New.
46133 2012-05-11 David S. Miller <davem@davemloft.net>
46135 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46136 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46137 (_FPU_SETCW): Likewise.
46139 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46141 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46142 is 32-byte aligned.
46144 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46147 * iconvdata/gb18030.c: Update tables.
46148 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46149 characters specially.
46150 (BODY for TO_LOOP): Add encoding of missing ranges.
46152 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46155 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46156 * sysdeps/mach/hurd/dup3.c: Likewise.
46157 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46158 * sysdeps/powerpc/memmove.c:: Likewise.
46160 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46163 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46165 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46167 * elf/elf.h (R_X86_64_RELATIVE64): New.
46168 (R_X86_64_NUM): Updated.
46169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46170 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46171 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46172 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46173 tst-quad1pie tst-quad2pie
46174 (modules-names): Add tst-quadmod1 tst-quadmod2.
46175 ($(objpfx)tst-quad1): New dependency.
46176 ($(objpfx)tst-quad2): Likewise.
46177 ($(objpfx)tst-quad1pie): Likewise.
46178 ($(objpfx)tst-quad2pie): Likewise.
46179 * sysdeps/x86_64/tst-quad1.c: New file.
46180 * sysdeps/x86_64/tst-quad1pie.c: New file.
46181 * sysdeps/x86_64/tst-quad2.c: Likewise.
46182 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46183 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46184 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46185 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46186 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46190 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46191 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46192 * streams/stropts.h (t_scalar_t): Define type.
46194 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46195 (_PATH_PRESERVE): Set to "/var/lib".
46196 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46198 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46201 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46202 if __dir_mkfile succeeded.
46204 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46205 checking for _hurd_dtablesize. Unlock it right after having
46206 finished _hurd_dtable allocation.
46208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46210 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46211 * sysdeps/mach/hurd/configure: Regenerated.
46212 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46213 special-casing to...
46214 * sysdeps/gnu/configure.in: ... this new file.
46215 * sysdeps/unix/sysv/linux/configure: Regenerated.
46216 * sysdeps/gnu/configure: New generated file.
46218 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46219 for Linux: use nsec instead of usec, as well as:
46220 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46221 members of type struct timespec.
46222 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46224 (struct stat64): Likewise.
46225 (_STATBUF_ST_NSEC): New macro.
46226 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46229 __strtoul_internal rather than strtoul.
46231 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46233 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46238 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46239 which preserves existing values.
46240 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46242 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46244 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46245 TIMEOUT values. Return EINVAL for NFDS values either negative or
46246 greater than FD_SETSIZE.
46248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46250 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46251 allocated, call __vm_protect to finish enabling the existing space, and
46252 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46253 allocate the remainder.
46255 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46257 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46258 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46262 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46263 sysdeps/mach/hurd/readlink.c.
46265 * posix/tst-sysconf.c (posix_options): Only use
46266 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46267 _POSIX_SYNCHRONIZED_IO when they are defined
46268 * sysdeps/mach/hurd/bits/posix_opt.h:
46269 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46270 (_XOPEN_REALTIME): Undefine macro.
46271 (_XOPEN_REALTIME_THREADS): Undefine macro.
46272 (_XOPEN_SHM): Undefine macro.
46273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46277 (_POSIX_ASYNC_IO): Undefine macro.
46278 (_POSIX_PRIORITIZED_IO): Undefine macro.
46279 (_POSIX_SPIN_LOCKS): Define macro to -1.
46281 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46282 SA_NODEFER, SA_RESETHAND.
46283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46284 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46289 * elf/Makefile (pldd-modules): Define unconditionally.
46291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46293 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46297 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46298 Return ENOENT when name is empty.
46299 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46303 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46305 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46309 Fix mlock in all cases except non-readable pages.
46310 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46311 instead of VM_PROT_ALL as parameter to __vm_wire function.
46313 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46314 (__mkdir): When path is `/', just fail with EEXIST.
46315 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46317 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46319 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46320 <sys/uio.h> (for writev).
46321 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46322 and <sys/param.h> (for MIN).
46324 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46326 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46327 REQUESTED_TIME. Properly set the remaining time and return EINTR
46330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46332 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46333 Depend on against $(link-rpcuserlibs).
46335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46337 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46338 (__libc_stack_end): Do not use attribute_relro.
46339 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46340 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46341 to libthread-provided value.
46342 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46348 * bits/libc-lock.h (__libc_once_get): New macro.
46349 * sysdeps/mach/bits/libc-lock.h: Likewise.
46350 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46352 instead of using implementation details.
46354 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46355 * libio/freopen.c: Likewise.
46356 * libio/freopen64.c: Likewise.
46357 * misc/syslog.c: Likewise.
46358 * nscd/connections.c: Likewise.
46359 * nscd/netgroupcache.c: Likewise.
46360 * sysdeps/posix/getcwd.c: Likewise.
46362 2012-05-10 Roland McGrath <roland@hack.frob.com>
46364 * math/w_ilogbf.c: Add #include <limits.h>.
46366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46368 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46369 path instead of returning without unlocking.
46371 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46372 immediate-write ioctls.
46373 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46377 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46378 __builtin_frame_address instead of making assumptions about the
46379 location of the return address relative to DATA. Force early load of
46380 the return address.
46381 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46382 __builtin_frame_address.
46385 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46386 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46387 implement dup3 and do some further code clean-ups.
46388 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46393 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46395 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46396 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46397 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46398 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46399 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46402 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46403 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46404 when handler == SIG_ERR, not when handler != SIG_ERR.
46406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46408 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46409 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46412 accept4 for GNU Hurd.
46413 * include/sys/socket.h (__libc_accept4): New prototype.
46414 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46415 to implement __libc_accept4.
46416 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46421 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46422 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46423 signal-defines.sym.
46425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46427 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46431 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46432 assertion on O_CLOEXEC flag.
46433 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46434 * hurd/intern-fd.c: Likewise.
46435 * hurd/port2fd.c: Likewise.
46437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46440 * bits/in.h (IPV6_PKTINFO): Define new macro.
46441 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46443 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46450 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46454 * math/libm-test.inc (logb_test) : Additional logb tests.
46456 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46457 Andreas Jaeger <aj@suse.de>
46459 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46460 * configure: Regenerated.
46461 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46462 * config.make.in (link-obsolete-rpc): New substituted variable.
46463 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46464 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46465 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46466 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46467 so that libc.a contains the symbols.
46468 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46469 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46470 * sunrpc/auth_none.c: Likewise.
46471 * sunrpc/auth_unix.c: Likewise.
46472 * sunrpc/authdes_prot.c: Likewise.
46473 * sunrpc/authuxprot.c: Likewise.
46474 * sunrpc/clnt_gen.c: Likewise.
46475 * sunrpc/clnt_perr.c: Likewise.
46476 * sunrpc/clnt_raw.c: Likewise.
46477 * sunrpc/clnt_simp.c: Likewise.
46478 * sunrpc/clnt_tcp.c: Likewise.
46479 * sunrpc/clnt_udp.c: Likewise.
46480 * sunrpc/clnt_unix.c: Likewise.
46481 * sunrpc/des_crypt.c: Likewise.
46482 * sunrpc/des_soft.c: Likewise.
46483 * sunrpc/get_myaddr.c: Likewise.
46484 * sunrpc/key_call.c: Likewise.
46485 * sunrpc/key_prot.c: Likewise.
46486 * sunrpc/netname.c: Likewise.
46487 * sunrpc/pm_getmaps.c: Likewise.
46488 * sunrpc/pm_getport.c: Likewise.
46489 * sunrpc/pmap_clnt.c: Likewise.
46490 * sunrpc/pmap_prot.c: Likewise.
46491 * sunrpc/pmap_prot2.c: Likewise.
46492 * sunrpc/pmap_rmt.c: Likewise.
46493 * sunrpc/publickey.c: Likewise.
46494 * sunrpc/rpc_cmsg.c: Likewise.
46495 * sunrpc/rpc_common.c: Likewise.
46496 * sunrpc/rpc_dtable.c: Likewise.
46497 * sunrpc/rpc_prot.c: Likewise.
46498 * sunrpc/rpc_thread.c: Likewise.
46499 * sunrpc/rtime.c: Likewise.
46500 * sunrpc/svc.c: Likewise.
46501 * sunrpc/svc_auth.c: Likewise.
46502 * sunrpc/svc_raw.c: Likewise.
46503 * sunrpc/svc_run.c: Likewise.
46504 * sunrpc/svc_tcp.c: Likewise.
46505 * sunrpc/svc_udp.c: Likewise.
46506 * sunrpc/svc_unix.c: Likewise.
46507 * sunrpc/svcauth_des.c: Likewise.
46508 * sunrpc/xcrypt.c: Likewise.
46509 * sunrpc/xdr.c: Likewise.
46510 * sunrpc/xdr_array.c: Likewise.
46511 * sunrpc/xdr_float.c: Likewise.
46512 * sunrpc/xdr_intXX_t.c: Likewise.
46513 * sunrpc/xdr_mem.c: Likewise.
46514 * sunrpc/xdr_rec.c: Likewise.
46515 * sunrpc/xdr_ref.c: Likewise.
46516 * sunrpc/xdr_sizeof.c: Likewise.
46517 * sunrpc/xdr_stdio.c: Likewise.
46519 2012-05-10 Roland McGrath <roland@hack.frob.com>
46521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46522 change. Update copyright years.
46524 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46526 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46528 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46529 Joseph Myers <joseph@codesourcery.com>
46530 Paul Pluzhnikov <ppluzhnikov@google.com>
46533 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46535 [cross-compiling] (extra-libs): Likewise.
46536 [cross-compiling] (extra-libs-others): Likewise.
46537 [cross-compiling] (librpcsvc-routines): Likewise.
46538 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46539 [cross-compiling] (omit-deps): Likewise.
46540 (sunrpc-CPPFLAGS): New variable.
46541 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46542 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46543 (cross-rpcgen-objs): New variable.
46544 (extra-objs): Append $(cross-rpcgen-objs).
46545 ($(cross-rpcgen-objs)): New rule.
46546 ($(objpfx)cross-rpcgen): Likewise.
46547 (rpcgen-cmd): Define to use $(built-program-file). Expand
46549 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46550 ($(objpfx)x%.stmp): Likewise.
46551 * sunrpc/proto.h [IS_IN_build] (_): Define.
46552 [IS_IN_build] (_libc_intl_domainname): Likewise.
46554 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46557 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46558 and R_X86_64_TPOFF64.
46560 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46562 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46563 sysdeps/unix/sysv/syscalls.list.
46566 * sysdeps/unix/sysv/syscalls.list: Remove file.
46568 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46571 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46572 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46573 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46574 (__LC_IDENTIFICATION): Make these macros useful in #if
46575 expressions, as required by C99.
46577 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46579 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46580 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46583 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46585 * stdlib/longlong.h: Updated from GCC.
46587 2012-05-09 Andreas Jaeger <aj@suse.de>
46589 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46590 default is first entry.
46591 (run_mode): Set type.
46592 (main): Remove informal message about syslog.
46593 (options): Fix typo.
46596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46599 (llrintf): Likewise.
46600 (llrint): Likewise.
46603 (nearbyint): Likewise.
46604 (nearbyintf): Likewise.
46606 2012-05-09 Andreas Jaeger <aj@suse.de>
46607 Pedro Alves <palves@redhat.com>
46609 * nscd/nscd.c (run_mode): Use enum.
46610 (main): Cleanup coding style issue.
46612 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46613 Andreas Jaeger <aj@suse.de>
46615 * nscd/nscd.c (go_background): Replaced with...
46616 (run_mode): ... this.
46617 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46618 (options): Add -F --foreground.
46619 (main): Implement it.
46620 (parse_opt): Parse it.
46622 2012-05-09 Andreas Jaeger <aj@suse.de>
46625 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46626 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46627 -Wconversion warning.
46628 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46631 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46633 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46635 (LC_ALL): Use macro-int-constant.
46636 (LC_COLLATE): Likewise.
46637 (LC_CTYPE): Likewise.
46638 (LC_MESSAGES): Likewise.
46639 (LC_MONETARY): Likewise.
46640 (LC_NUMERIC): Likewise.
46641 (LC_TIME): Likewise.
46642 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46643 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46645 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46647 [C99-based standards] (float_t): Expect type.
46648 [C99-based standards] (double_t): Expect type.
46649 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46651 [C99-based standards] (HUGE_VALL): Likewise.
46652 [C99-based standards] (INFINITY): Likewise.
46653 [C99-based standards] (NAN): Likewise.
46654 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46655 [C99-based standards] (FP_NAN): Likewise.
46656 [C99-based standards] (FP_NORMAL): Likewise.
46657 [C99-based standards] (FP_SUBNORMAL): Likewise.
46658 [C99-based standards] (FP_ZERO): Likewise.
46659 [C99-based standards] (FP_FAST_FMA): Use
46660 optional-macro-int-constant. Specify type. Require == 1.
46661 [C99-based standards] (FP_FAST_FMAF): Likewise.
46662 [C99-based standards] (FP_FAST_FMAL): Likewise.
46663 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46664 [C99-based standards] (FP_ILOGBNAN): Likewise.
46665 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46667 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46668 [C99-based standards] (math_errhandling): Specify type.
46669 [ISO99 || ISO11] (signgam): Do not allow.
46670 [non-C99-based standards] (copysignf): Do not allow.
46671 [non-C99-based standards] (exp2f): Likewise.
46672 [non-C99-based standards] (log2f): Likewise.
46673 [non-C99-based standards] (modff): Allow.
46674 [non-C99-based standards] (erff): Do not allow.
46675 [non-C99-based standards] (erfcf): Likewise.
46676 [non-C99-based standards] (gammaf): Likewise.
46677 [non-C99-based standards] (hypotf): Likewise.
46678 [non-C99-based standards] (j0f): Likewise.
46679 [non-C99-based standards] (j1f): Likewise.
46680 [non-C99-based standards] (jnf): Likewise.
46681 [non-C99-based standards] (lgammaf): Likewise.
46682 [non-C99-based standards] (tgammaf): Likewise.
46683 [non-C99-based standards] (y0f): Likewise.
46684 [non-C99-based standards] (y1f): Likewise.
46685 [non-C99-based standards] (ynf): Likewise.
46686 [non-C99-based standards] (isnanf): Likewise.
46687 [non-C99-based standards] (acoshf): Likewise.
46688 [non-C99-based standards] (asinhf): Likewise.
46689 [non-C99-based standards] (atanhf): Likewise.
46690 [non-C99-based standards] (cbrtf): Likewise.
46691 [non-C99-based standards] (expm1f): Likewise.
46692 [non-C99-based standards] (ilogbf): Likewise.
46693 [non-C99-based standards] (log1pf): Likewise.
46694 [non-C99-based standards] (logbf): Likewise.
46695 [non-C99-based standards] (nextafterf): Likewise.
46696 [non-C99-based standards] (remainderf): Likewise.
46697 [non-C99-based standards] (rintf): Likewise.
46698 [non-C99-based standards] (scalbf): Likewise.
46699 [non-C99-based standards] (copysignl): Likewise.
46700 [non-C99-based standards] (exp2l): Likewise.
46701 [non-C99-based standards] (log2l): Likewise.
46702 [non-C99-based standards] (modfl): Allow.
46703 [non-C99-based standards] (erfl): Do not allow.
46704 [non-C99-based standards] (erfcl): Likewise.
46705 [non-C99-based standards] (gammal): Likewise.
46706 [non-C99-based standards] (hypotl): Likewise.
46707 [non-C99-based standards] (j0l): Likewise.
46708 [non-C99-based standards] (j1l): Likewise.
46709 [non-C99-based standards] (jnl): Likewise.
46710 [non-C99-based standards] (lgammal): Likewise.
46711 [non-C99-based standards] (tgammal): Likewise.
46712 [non-C99-based standards] (y0l): Likewise.
46713 [non-C99-based standards] (y1l): Likewise.
46714 [non-C99-based standards] (ynl): Likewise.
46715 [non-C99-based standards] (isnanl): Likewise.
46716 [non-C99-based standards] (acoshl): Likewise.
46717 [non-C99-based standards] (asinhl): Likewise.
46718 [non-C99-based standards] (atanhl): Likewise.
46719 [non-C99-based standards] (cbrtl): Likewise.
46720 [non-C99-based standards] (expm1l): Likewise.
46721 [non-C99-based standards] (ilogbl): Likewise.
46722 [non-C99-based standards] (log1pl): Likewise.
46723 [non-C99-based standards] (logbl): Likewise.
46724 [non-C99-based standards] (nextafterl): Likewise.
46725 [non-C99-based standards] (remainderl): Likewise.
46726 [non-C99-based standards] (rintl): Likewise.
46727 [non-C99-based standards] (scalbl): Likewise.
46728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46729 [non-C99-based standards] (FP_*): Do not allow.
46730 [C99-based standards] (FP_*): Change to
46731 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46732 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46734 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46735 (SIG_ERR): Likewise.
46736 [X/Open-based standards] (SIG_HOLD): Likewise.
46737 (SIG_IGN): Likewise.
46738 (SIGABRT): Use macro-int-constant. Specify type. Require
46740 (SIGFPE): Likewise.
46741 (SIGILL): Likewise.
46742 (SIGINT): Likewise.
46743 (SIGSEGV): Likewise.
46744 (SIGTER): Likewise.
46745 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46746 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46747 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46748 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46749 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46750 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46751 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46752 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46753 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46754 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46755 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46756 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46757 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46758 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46759 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46760 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46761 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46762 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46763 [X/Open-based standards] (SIGTRAP): Likewise.
46764 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46765 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46766 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46767 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46768 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46771 2012-05-08 Ian Wienand <ianw@vmware.com>
46774 * time/tzset.c (__tzset_parse_tz): Update default rules for
46775 daylight time changes in the Energy Policy Act of 2005.
46777 2012-05-09 Andreas Jaeger <aj@suse.de>
46780 * elf/ldconfig.c (parse_conf): Change string to make clear that
46781 ldconfig only issued a warning if ld.so.conf does not exist.
46783 2012-05-08 David S. Miller <davem@davemloft.net>
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46786 movxtod instead of popping the value on the stack.
46788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46790 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46792 * config.h.in: Add HAVE_ARM_PCS_VFP.
46794 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
46797 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46798 checking but the checks are disabled for any reason.
46800 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46802 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46803 and ELF64_R_TYPE with ELFW(R_TYPE).
46805 2012-05-08 Joseph Myers <joseph@codesourcery.com>
46807 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46808 (ulimit): Likewise.
46810 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46811 (settimeofday): Likewise.
46813 2012-05-08 Mike Frysinger <vapier@gentoo.org>
46815 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46816 a struct th_u2 inside the union, and move tu_block/tu_code into
46817 a new th_u3 union of tu_block/tu_code inside of that. Move
46818 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46819 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46820 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46821 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46822 (th_stuff): Change to th_u1.tu_stuff.
46824 (th_msg): Change to th_u1.th_u2.tu_data.
46826 2012-05-07 David S. Miller <davem@davemloft.net>
46828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46832 (SETUP_PIC_REG): Use it.
46833 (SETUP_PIC_REG_LEAF): Use it.
46835 2012-05-07 Joseph Myers <joseph@codesourcery.com>
46839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46841 (EXPL_FINITE): Likewise.
46842 (FLDLOG): Likewise.
46843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46844 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46848 (EXPL_FINITE): Likewise.
46849 (FLDLOG): Likewise.
46850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46851 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46853 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46854 test of -max_value argument for long double.
46855 * sysdeps/i386/fpu/libm-test-ulps: Update.
46856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46858 2012-05-06 David S. Miller <davem@davemloft.net>
46860 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46861 quad soft-float symbols whose references which are compiler
46863 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46865 2012-05-06 Joseph Myers <joseph@codesourcery.com>
46869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46871 (EXPL_FINITE): Likewise.
46872 (FLDLOG): Likewise.
46875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46876 Adjust comments for base varying.
46877 (__expl_finite): Change alias to EXPL_FINITE.
46878 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46880 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46881 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46883 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46886 (EXPL_FINITE): Likewise.
46887 (FLDLOG): Likewise.
46890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46891 Adjust comments for base varying.
46892 (__expl_finite): Change alias to EXPL_FINITE.
46893 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46898 * math/libm-test.inc (check_float_internal): Correct ulp
46899 calculation for subnormal expected results.
46901 2012-05-06 Andreas Jaeger <aj@suse.de>
46903 * Makeconfig (+math-flags): New, set to -frounding-math.
46904 (+cflags): Add +math-flags so that all of glibc gets compiled with
46907 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46909 2012-05-05 Joseph Myers <joseph@codesourcery.com>
46911 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46917 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46918 (__ieee754_expl): Allow for and saturate large arguments.
46919 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46920 (u_threshold): Likewise.
46921 (__exp): Call __ieee754_exp before checking for overflow and
46923 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46924 (u_threshold): Likewise.
46925 (__expf): Call __ieee754_expf before checking for overflow and
46927 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46928 (u_threshold): Likewise.
46929 (__expl): Call __ieee754_expl before checking for overflow and
46931 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46932 (__ieee754_expl): Allow for and saturate large arguments.
46933 * math/libm-test.inc (exp_test): Add another test. Do not allow
46934 missing overflow exception on overflow.
46935 (expm1_test): Do not allow missing overflow exception on overflow.
46937 * sysdeps/i386/fpu/e_expl.c: Move to ...
46938 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46939 rather than using inline asm.
46940 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46941 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46942 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46944 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46947 (signal): Likewise.
46951 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46953 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46954 sysdeps/unix/common/syscalls.list.
46955 (fchmod): Likewise.
46956 (fchown): Likewise.
46957 (ftruncate): Likewise.
46958 (getrusage): Likewise.
46959 (gettimeofday): Likewise.
46960 (setpgid): Likewise.
46961 (setregid): Likewise.
46962 (setreuid): Likewise.
46963 (sigaction): Likewise.
46964 (truncate): Likewise.
46965 (vhangup): Likewise.
46966 * sysdeps/unix/common/syscalls.list: Remove file.
46967 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46968 * sysdeps/unix/sysv/linux/Implies: Likewise.
46970 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46990 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46993 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47004 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47007 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47015 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47017 * sysdeps/unix/common/bits/dirent.h: Remove file.
47018 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47020 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47021 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47022 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47023 * sysdeps/unix/bsd/isatty.c: Likewise.
47024 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47025 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47026 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47028 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47032 long double comparison inaccuracies.
47033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47036 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47038 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47041 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47045 nonzero digits before rounding a hex value.
47046 * stdlib/tst-strtod.c (tests): Add another test.
47048 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47050 * sysdeps/s390/fpu/libm-test-ulps: Update.
47052 2012-05-03 Andreas Jaeger <aj@suse.de>
47054 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47055 does not get optimized out.
47056 (malloc_opt_barrier): New.
47058 2012-05-03 Andreas Jaeger <aj@suse.de>
47059 Roland McGrath <roland@hack.frob.com>
47061 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47062 intermediate file deletion.
47063 (generated): Add .symlist files.
47065 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47068 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47069 Redirect under this condition.
47070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47071 [__USE_GNU] (__dprintf_chk): Not under this condition.
47072 [__USE_GNU] (__vdprintf_chk): Likewise.
47073 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47074 under this condition.
47075 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47076 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47077 [__USE_XOPEN2K8] (vdprintf): Likewise.
47078 [__USE_GNU] (__dprintf_chk): Not under this condition.
47079 [__USE_GNU] (__vdprintf_chk): Likewise.
47080 [__USE_GNU] (dprintf): Likewise.
47081 [__USE_GNU] (vdprintf): Likewise.
47083 2012-05-03 Roland McGrath <roland@hack.frob.com>
47085 * elf/Makefile (common-generated): Set this instead of generated for
47086 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47087 $(all-built-dso)-derived lists.
47089 2012-05-03 Andreas Jaeger <aj@suse.de>
47091 * sysdeps/i386/fpu/libm-test-ulps: Update.
47094 * FAQ.in: Likewise.
47095 * scripts/gen-FAQ.pl: Likewise.
47096 * manual/install.texi (Installation): Point to online location of
47098 * Makefile (files-for-dist): Remove FAQ.
47101 2012-05-02 Allan McRae <allan@archlinux.org>
47103 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47104 (LDFLAGS-reldepmod5.so): Likewise.
47105 (LDFLAGS-reldep6mod1.so): Likewise.
47106 (LDFLAGS-reldep6mod4.so): Likewise.
47107 (LDFLAGS-reldep8mod3.so): Likewise.
47108 (LDFLAGS-unload4mod1.so): Likewise.
47109 (LDFLAGS-unload4mod2.so): Likewise.
47110 (LDFLAGS-tst-initorder): Likewise.
47111 (LDFLAGS-tst-initordera2.so): Likewise.
47112 (LDFLAGS-tst-initordera3.so): Likewise.
47113 (LDFLAGS-tst-initordera4.so): Likewise.
47114 (LDFLAGS-tst-initorderb2.so): Likewise.
47115 (LDFLAGS-noload): Likewise.
47116 (LDFLAGS-next): Likewise.
47117 (LDFLAGS-order2mod1.so): Likewise.
47118 (LDFLAGS-order2mod2.so): Likewise.
47119 (LDFLAGS-tst-initorder2): Likewise.
47120 (LDFLAGS-tst-initorder2a.so): Likewise.
47121 (LDFLAGS-tst-initorder2b.so): Likewise.
47122 (LDFLAGS-tst-initorder2c.so): Likewise.
47123 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47125 2012-05-02 David S. Miller <davem@davemloft.net>
47127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47129 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47132 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47134 2012-05-02 Andreas Jaeger <aj@suse.de>
47136 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47137 since we manipulate rounding mode.
47138 (CPPFLAGS-test-idouble.c): Likewise.
47139 (CPPFLAGS-test-ifloat.c): Likewise.
47140 (CFLAGS-test-ldouble.c): Likewise.
47141 (CFLAGS-test-double.c): Likewise.
47142 (CFLAGS-test-float.c): Likewise.
47143 (CFLAGS-test-misc.c): Likewise.
47144 (CFLAGS-test-test-fenv.c): Likewise.
47146 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47151 comparisons to determine direction to adjust input.
47153 2012-05-01 Roland McGrath <roland@hack.frob.com>
47155 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47156 output to the target.
47158 * scripts/localplt.awk: New file.
47159 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47160 (check-localplt-CFLAGS): Variable removed.
47161 ($(all-built-dso:=.jmprel)): New static pattern rule.
47162 (generated): Add those targets.
47163 (localplt-built-dso): New variable.
47164 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47166 * elf/check-localplt.c: File removed.
47168 * scripts/check-execstack.awk: New file.
47169 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47170 (check-execstack-CFLAGS): Variable removed.
47171 ($(objpfx)check-execstack.h): Target removed.
47172 ($(objpfx)execstack-default): New target.
47173 (generated): Add that instead of check-execstack.h.
47174 ($(all-built-dso:=.phdr)): New static pattern rule.
47175 (generated): Add those targets.
47176 * elf/check-execstack.c: File removed.
47178 * scripts/check-textrel.awk: New file.
47179 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47180 (check-textrel-CFLAGS): Variable removed.
47181 (all-built-dso): Use := to define.o
47182 ($(all-built-dso:=.dyn)): New static pattern rule.
47183 (generated): Add those targets.
47184 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47185 * config.make.in (READELF): New substituted variable.
47186 * elf/check-textrel.c: File removed.
47188 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47190 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47192 * conform/data/ctype.h-data [C99-based standards] (isblank):
47194 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47195 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47197 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47198 Specify type. Require positive value.
47199 (EILSEQ): Likewise.
47200 (ERANGE): Likewise.
47201 [ISO || POSIX] (EILSEQ): Do not expect.
47202 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47203 Specify type. Require positive value.
47204 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47205 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47206 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47207 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47208 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47209 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47210 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47211 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47212 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47213 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47214 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47215 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47216 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47217 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47218 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47219 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47220 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47221 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47222 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47223 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47224 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47225 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47226 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47227 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47228 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47229 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47230 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47231 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47232 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47233 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47234 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47235 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47236 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47237 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47238 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47239 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47240 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47241 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47242 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47243 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47244 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47245 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47246 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47247 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47248 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47249 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47250 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47251 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47252 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47253 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47254 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47255 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47256 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47257 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47258 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47259 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47260 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47261 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47262 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47263 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47264 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47265 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47266 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47267 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47268 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47269 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47270 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47271 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47272 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47273 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47274 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47275 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47276 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47277 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47278 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47279 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47280 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47282 (FLT_ROUNDS): Expect as macro, not constant.
47283 (FLT_MANT_DIG): Use macro-int-constant.
47284 (DBL_MANT_DIG): Likewise.
47285 (LDBL_MANT_DIG): Likewise.
47286 (FLT_DIG): Likewise.
47287 (DBL_DIG): Likewise.
47288 (LDBL_DIG): Likewise.
47289 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47290 (DBL_MIN_EXP): Likewise.
47291 (LDBL_MIN_EXP): Likewise.
47292 (FLT_MAX_EXP): Use macro-int-constant.
47293 (DBL_MAX_EXP): Likewise.
47294 (LDBL_MAX_EXP): Likewise.
47295 (FLT_MAX_10_EXP): Likewise.
47296 (DBL_MAX_10_EXP): Likewise.
47297 (LDBL_MAX_10_EXP): Likewise.
47298 (FLT_MAX): Use macro-constant.
47299 (DBL_MAX): Likewise.
47300 (LDBL_MAX): Likewise.
47301 (FLT_EPSILON): Use macro-constant. Give upper bound.
47302 (DBL_EPSILON): Likewise.
47303 (LDBL_EPSILON): Likewise.
47304 (FLT_MIN): Likewise.
47305 (DBL_MIN): Likewise.
47306 (LDBL_MIN): Likewise.
47307 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47308 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47309 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47310 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47311 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47312 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47313 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47314 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47315 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47316 [ISO11] (FLT_TRUE_MIN): Likewise.
47317 [ISO11] (LDBL_TRUE_MIN): Likewise.
47318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47319 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47320 (SCHAR_MIN): Use macro-int-constant. Specify type.
47321 (SCHAR_MAX): Likewise.
47322 (UCHAR_MAX): Likewise.
47323 (CHAR_MIN): Likewise.
47324 (CHAR_MAX): Likewise.
47325 (MB_LEN_MAX): Use macro-int-constant.
47326 (SHRT_MIN): Use macro-int-constant. Specify type.
47327 (SHRT_MAX): Likewise.
47328 (USHRT_MAX): Likewise.
47329 (INT_MAX): Likewise.
47330 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47332 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47334 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47336 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47337 bound negative. Suffix upper bound with "L".
47338 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47340 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47342 [C99-based standards] (LLONG_MAX): Likewise.
47343 [C99-based standards] (ULLONG_MAX): Likewise.
47344 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47346 [ISO11] (max_align_t): Require type.
47347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47349 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47350 from $CFLAGS, without defining away __attribute__ calls.
47351 (checknamespace): Use $CFLAGS_namespace.
47353 * conform/conformtest.pl (@keywords): Only include C99 keywords
47354 for standards based on C99 or C11.
47356 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47358 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47361 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47362 usability of symbols in #if.
47364 * conform/conformtest.pl: If macro or constant types start
47365 "promoted:", expect the symbol to be of the following type
47366 promoted by the integer promotions.
47368 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47369 in one place. Also handle "macro-constant".
47371 * conform/conformtest.pl: Only accept expected macro values with
47372 "==". Parse all "macro" lines in one place.
47373 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47375 * conform/conformtest.pl: Handle braced types on "constant" lines
47376 instead of handling "typed-constant".
47377 * conform/data/signal.h-data: Use "constant" instead of
47380 * conform/conformtest.pl: Handle "optional-" at start of lines in
47381 one place rather than duplicating several cases. Handle each
47382 format of "macro" line with initial "optional-".
47384 * conform/conformtest.pl: Only accept expected constant or
47385 optional-constant values with "==". Parse all "constant" lines in
47386 one place. Parse all "optional-constant" lines in one place.
47387 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47388 * conform/data/fmtmsg.h-data: Likewise.
47389 * conform/data/netinet/in.h-data: Likewise.
47390 * conform/data/tar.h-data: Likewise.
47391 * conform/data/limits.h-data: Use "==" form on "constant" and
47392 "optional-constant" lines.
47394 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47395 Use -std=c99 for XOPEN2K.
47396 (@knownproblems): Remove.
47397 (newtoken): Don't check %isknown.
47399 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47400 Do not expect macro.
47401 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47402 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47403 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47404 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47405 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47406 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47407 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47408 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47409 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47410 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47411 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47412 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47413 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47414 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47415 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47416 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47417 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47418 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47419 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47420 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47421 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47425 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47426 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47427 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47428 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47429 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47430 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47431 [XPG3] (acosh): Likewise.
47432 [XPG3] (asinh): Likewise.
47433 [XPG3] (atanh): Likewise.
47434 [XPG3] (cbrt): Likewise.
47435 [XPG3] (expm1): Likewise.
47436 [XPG3] (ilogb): Likewise.
47437 [XPG3] (log1p): Likewise.
47438 [XPG3] (logb): Likewise.
47439 [XPG3] (nextafter): Likewise.
47440 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47441 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47442 [XPG3] (remainder): Likewise.
47443 [XPG3] (rint): Likewise.
47444 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47445 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47446 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47447 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47448 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47449 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47450 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47451 [UNIX98 || XOPEN2K] (scalb): Expect.
47452 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47453 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47454 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47455 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47456 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47457 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47458 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47459 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47460 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47461 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47462 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47463 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47464 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47465 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47466 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47467 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47468 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47469 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47470 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47471 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47472 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47473 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47474 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47475 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47476 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47477 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47478 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47479 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47480 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47481 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47482 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47483 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47484 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47485 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47486 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47487 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47488 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47489 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47490 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47491 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47492 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47493 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47494 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47495 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47496 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47497 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47498 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47499 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47500 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47501 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47502 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47503 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47504 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47505 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47506 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47507 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47508 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47509 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47510 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47511 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47512 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47513 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47514 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47515 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47516 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47517 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47518 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47519 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47520 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47521 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47522 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47523 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47524 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47525 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47526 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47527 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47528 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47529 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47530 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47531 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47532 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47533 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47534 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47535 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47536 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47537 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47538 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47539 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47540 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47541 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47542 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47543 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47544 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47545 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47546 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47547 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47548 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47549 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47550 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47551 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47552 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47553 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47554 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47555 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47556 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47557 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47558 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47559 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47560 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47561 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47562 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47563 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47564 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47565 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47566 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47567 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47568 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47569 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47570 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47571 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47572 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47573 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47574 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47575 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47576 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47577 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47578 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47579 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47580 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47581 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47582 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47583 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47584 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47585 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47586 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47587 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47588 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47590 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47591 _XOPEN_SOURCE_EXTENDED for XPG4.
47593 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47595 * Makeconfig (localtime): Remove variable.
47596 (inst_localtime-file): Likewise.
47598 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47619 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47623 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47624 comparisons to determine direction to adjust input.
47625 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47626 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47636 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47638 * math/libm-test.inc (nexttoward_test): Add more tests.
47640 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47644 in version GLIBC_2.1, not GLIBC_2.0.
47645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47648 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47654 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47655 * math/libm-test.inc (acos_test): Add more tests.
47656 (asin_test): Likewise.
47657 * sysdeps/i386/fpu/libm-test-ulps: Update.
47658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47663 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47665 * math/libm-test.inc (acos_test_tonearest): New function.
47666 (acos_test_towardzero): Likewise.
47667 (acos_test_downward): Likewise.
47668 (acos_test_upward): Likewise.
47669 (asin_test_tonearest): Likewise.
47670 (asin_test_towardzero): Likewise.
47671 (asin_test_downward): Likewise.
47672 (asin_test_upward): Likewise.
47673 (main): Call the new functions.
47674 * sysdeps/i386/fpu/libm-test-ulps: Update.
47675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47679 * math/e_exp10.c: Include <float.h>.
47680 (__ieee754_exp10): Handle underflow here rather than multiplying
47681 large negative argument by M_LN10.
47682 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47684 * math/e_exp10l.c: Include <float.h>.
47685 (__ieee754_exp10l): Handle underflow here rather than multiplying
47686 large negative argument by M_LN10l.
47687 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47688 spurious overflow exception on underflow.
47690 2012-04-29 Marek Polacek <polacek@redhat.com>
47692 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47693 (__fortify_function): New macro.
47694 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47695 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47696 __extern_always_inline.
47697 * libio/bits/stdio2.h: Likewise.
47698 * libio/bits/stdio.h: Likewise.
47699 * string/string.h: Likewise.
47700 * string/bits/string3.h: Likewise.
47701 * include/stdio.h: Likewise.
47702 * stdlib/bits/stdlib.h: Likewise.
47703 * stdlib/stdlib.h: Likewise.
47704 * rt/bits/mqueue2.h: Likewise.
47705 * rt/mqueue.h: Likewise.
47706 * posix/bits/unistd.h: Likewise.
47707 * posix/unistd.h: Likewise.
47708 * io/bits/poll2.h: Likewise.
47709 * io/bits/fcntl2.h: Likewise.
47710 * io/fcntl.h: Likewise.
47711 * io/sys/poll.h: Likewise.
47712 * misc/bits/syslog.h: Likewise.
47713 * misc/bits/syslog-ldbl.h: Likewise.
47714 * misc/sys/syslog.h: Likewise.
47715 * socket/bits/socket2.h: Likewise.
47716 * socket/sys/socket.h: Likewise.
47717 * debug/tst-chk1.c: Likewise.
47718 * wcsmbs/bits/wchar2.h: Likewise.
47719 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47720 * wcsmbs/wchar.h: Likewise.
47722 2012-04-29 Andreas Jaeger <aj@suse.de>
47724 * Makerules (tests): Remove enable-check-abi protection.
47725 (check-abi-warn): Remove.
47726 (check-abi-%): Remove check-abi-warn usage.
47728 * configure.in: Remove check-abi configure option.
47729 * configure: Regenerated.
47730 * config.make.in (enable-check-abi): Remove.
47732 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47735 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47736 double functions to double *_finite functions.
47739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47740 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47742 * stdio-common/Makefile (tests): Add tst-sprintf3.
47743 * stdio-common/tst-sprintf3.c: New file.
47745 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47746 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47748 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47750 * conform/conformtest.pl: Remove duplicate typed-constant
47753 2012-04-28 David S. Miller <davem@davemloft.net>
47755 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47756 (check-abi-%): Remove AWK script prerequisite and explicit
47758 (check-abi): Rewrite to just diff the symlist with the abilist.
47759 (config-tls, config-abi-config): Delete, no longer used.
47760 (update-abi-%): Remove AWK script and explicit abilist directory.
47761 (update-abi): Rewrite to simply compare and conditionally copy the
47762 symlist and the sysdep abilist file. Remove update-abi-config
47764 * abilist/ld.abilist: Remove.
47765 * abilist/libBrokenLocale.abilist: Remove.
47766 * abilist/libanl.abilist: Remove.
47767 * abilist/libcrypt.abilist: Remove.
47768 * abilist/libdl.abilist: Remove.
47769 * abilist/librt.abilist: Remove.
47770 * abilist/libthread_db.abilist: Remove.
47771 * abilist/libutil.abilist: Remove.
47772 * scripts/extract-abilist.awk: Remove.
47773 * scripts/merge-abilist.awk: Remove.
47774 * sysdeps/generic/libcidn.abilist: New file.
47775 * sysdeps/generic/libnss_compat.abilist: New file.
47776 * sysdeps/generic/libnss_db.abilist: New file.
47777 * sysdeps/generic/libnss_dns.abilist: New file.
47778 * sysdeps/generic/libnss_files.abilist: New file.
47779 * sysdeps/generic/libnss_hesiod.abilist: New file.
47780 * sysdeps/generic/libnss_nis.abilist: New file.
47781 * sysdeps/generic/libnss_nisplus.abilist: New file.
47782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47783 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47787 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47788 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47789 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47792 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47794 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47796 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47797 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47799 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47802 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47803 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47804 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47805 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47806 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47808 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47915 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47916 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47917 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47920 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47921 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47923 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47924 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47925 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47926 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47927 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47928 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47980 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47982 * conform/conformtest.pl: Fix typo in handling typed-constant from
47985 2012-04-27 Joseph Myers <joseph@codesourcery.com>
47987 * README: Cut down references to pre-2.6 Linux kernels and
47988 Linuxthreads. Update lists of configurations in libc and ports
47989 and sort alphabetically. Say "or newer" with Linux kernel version
47992 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47994 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47997 * math/libm-test.inc (logb_test_downward): New test to expose
47998 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48001 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48004 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48006 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48007 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48009 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48011 * sysdeps/unix/i386/brk.S: Remove file.
48012 * sysdeps/unix/i386/dl-brk.S: Likewise.
48013 * sysdeps/unix/i386/pipe.S: Likewise.
48014 * sysdeps/unix/i386/sigreturn.S: Likewise.
48015 * sysdeps/unix/i386/syscall.S: Likewise.
48016 * sysdeps/unix/i386/vfork.S: Likewise.
48017 * sysdeps/unix/i386/wait.S: Likewise.
48019 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48020 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48022 * configure.in (arm*-none*): Do not allow without
48023 --enable-hacker-mode.
48024 (netbsd*): Remove case setting base_os.
48025 (386bsd*): Likewise.
48026 (freebsd*): Likewise.
48029 (sunos*): Likewise.
48030 (ultrix*): Likewise.
48031 (newsos*): Likewise.
48032 (dynix*): Likewise.
48038 (minix*): Likewise.
48039 (irix4*): Likewise.
48040 (irix6*): Likewise.
48041 (solaris[2-9]*): Likewise.
48043 * configure: Regenerated.
48045 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48049 overflow or cancellation in calculating denominator.
48050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48052 down expression to avoid unexpected rounding in newer GCCs.
48053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48055 2012-04-26 David S. Miller <davem@davemloft.net>
48057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48058 long-double compat symbols.
48059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48073 2012-04-25 David S. Miller <davem@davemloft.net>
48075 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48076 HWCAP_* values only after the memory barriers have been defined.
48077 (atomic_full_barrier): Define.
48078 (atomic_read_barrier): Define.
48079 (atomic_write_barrier): Define.
48081 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48083 * shlib-versions: Add libgcc_s version information.
48084 * sysdeps/generic/libgcc_s.h: Remove.
48085 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48087 * sysdeps/gnu/unwind-resume.c: Likewise.
48088 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48090 2012-04-25 David S. Miller <davem@davemloft.net>
48092 * sysdeps/unix/sparc/brk.S: Delete.
48093 * sysdeps/unix/sparc/dl-brk.S: Delete.
48094 * sysdeps/unix/sparc/pipe.S: Delete.
48095 * sysdeps/unix/sparc/sysdep.S: Delete.
48096 * sysdeps/unix/sparc/sysdep.h: Delete.
48097 * sysdeps/unix/sparc/vfork.S: Delete.
48098 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48099 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48101 (ret_ERRVAL, r0, r1, MOVE): Define.
48102 (JUMPTARGET): Remove.
48103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48104 sysdeps/unix/sparc/sysdep.h
48105 (ENTRY, END): Remove.
48106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48108 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48110 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48111 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48114 * timezone/README: Update upstream location and email address for
48116 * timezone/zdump.c: Update from tzcode 2012b.
48117 * timezone/zic.c: Likewise.
48119 * configure.in (libc_cv_as_needed): Remove test.
48120 * configure: Regenerated.
48121 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48122 conditional definition.
48123 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48124 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48125 * config.make.in (have-as-needed): Remove variable.
48127 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48128 Paul Pluzhnikov <ppluzhnikov@google.com>
48130 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48133 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48135 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48136 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48137 * sysdeps/sh/strlen.S: Likewise.
48139 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48141 * sysdeps/unix/fork.S: Remove file.
48142 * sysdeps/unix/i386/fork.S: Likewise.
48143 * sysdeps/unix/sparc/fork.S: Likewise.
48145 * sysdeps/unix/system.c: Remove file.
48146 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48148 * sysdeps/unix/getegid.S: Remove file.
48149 * sysdeps/unix/geteuid.S: Likewise.
48151 2012-04-24 Roland McGrath <roland@hack.frob.com>
48153 * scripts/check-localplt.awk: New file.
48154 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48156 * scripts/data/localplt-generic.data: Add a comment.
48158 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48159 NODE when __dir_mkfile failed.
48160 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48161 Reported by Ludovic Courtès <ludo@gnu.org>.
48163 2012-04-24 Andreas Jaeger <aj@suse.de>
48165 * Makerules (common-clean): Also remove gen-as-const-headers
48168 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48170 * Makerules (native-compile): Do not change working directory for
48171 build. Use $(OUTPUT_OPTION) in command.
48172 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48174 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48177 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48178 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48179 * math/libm-test.inc (floor_test): Add more tests.
48180 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48182 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48184 * sysdeps/unix/getdents.c: Remove file.
48185 * sysdeps/unix/sysv/getdents.c: Likewise.
48186 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48188 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48189 sysdeps/unix/mman/syscalls.list.
48191 (mprotect): Likewise.
48193 (munmap): Likewise.
48194 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48195 * sysdeps/unix/mman/syscalls.list: Remove.
48196 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48198 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48199 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48200 * configure: Regenerated.
48201 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48202 $(libgcc_s_suffix).
48203 * config.make.in (libgcc_s_suffix): Remove variable.
48205 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48207 * sysdeps/unix/sysv/gethostname.c: Move to ...
48208 * sysdeps/posix/gethostname.c: ... here.
48210 * sysdeps/unix/execve.S: Remove file.
48212 * sysdeps/unix/_exit.S: Remove file.
48214 2012-04-23 Andreas Jaeger <aj@suse.de>
48217 * manual/Makefile: Remove make dist support, there's no
48218 need for a stand-alone documentation tar ball.
48219 (TEXI2DVI): Define always, it's not in Makeconfig.
48222 (edition): Removed.
48223 (glibc-doc-$(edition).tar): Removed
48227 (ETAGS): Remove, it's in Makeconfig.
48228 (move-if-change): Remove, it's in Makeconfig.
48230 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48233 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48234 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48235 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48236 (strtod_l, strtof_l, strtold_l): Remove __wur.
48237 It is not necessarily an error to ignore strtol's return value.
48238 One can reliably look at the stored endptr to decide whether
48239 the number had valid syntax.
48241 2012-04-21 Andreas Jaeger <aj@suse.de>
48244 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48246 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48248 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48249 * sysdeps/unix/sysv/Versions: Remove file.
48251 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48256 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48260 version from __vm86.
48262 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48264 * sysdeps/unix/common/lxstat.c: Remove file.
48265 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48267 * sysdeps/unix/sysv/Makefile: Remove file.
48269 * sysdeps/unix/sysv/direct.h: Remove file.
48271 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48272 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48273 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48274 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48275 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48276 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48277 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48279 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48281 * sysdeps/unix/xmknod.c: Remove file.
48282 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48284 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48286 * sysdeps/unix/sysv/i386/time.S: Remove file.
48288 * sysdeps/unix/fxstat.c: Remove file.
48289 * sysdeps/unix/xstat.c: Likewise.
48290 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48292 * sysdeps/unix/sysv/sigaction.c: Remove file.
48294 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48295 (sysdep_headers): Remove variable.
48296 [termio.h not in sysdep_headers] (generated): Likewise.
48297 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48298 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48299 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48300 * sysdeps/unix/sysv/tcflow.c: Likewise.
48301 * sysdeps/unix/sysv/tcflush.c: Likewise.
48302 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48303 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48304 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48305 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48306 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48308 * sysdeps/unix/siglist.c: Remove file.
48310 * sysdeps/unix/getppid.S: Remove file.
48312 * sysdeps/unix/mkdir.c: Remove file.
48313 * sysdeps/unix/rmdir.c: Likewise.
48315 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48317 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48320 errlist-compat value.
48322 2012-04-18 David S. Miller <davem@davemloft.net>
48324 * sysdeps/generic/memcopy.h (reg_char): Delete.
48325 * debug/strcat_chk.c: Use char, not reg_char.
48326 * debug/strcpy_chk.c: Likewise.
48327 * debug/strncat_chk.c: Likewise.
48328 * debug/strncpy_chk.c: Likewise.
48329 * string/memchr.c: Likewise.
48330 * string/memrchr.c: Likewise.
48331 * string/rawmemchr.c: Likewise.
48332 * string/strcat.c: Likewise.
48333 * string/strchr.c: Likewise.
48334 * string/strchrnul.c: Likewise.
48335 * string/strcmp.c: Likewise.
48336 * string/strcpy.c: Likewise.
48337 * string/strncat.c: Likewise.
48338 * string/strncmp.c: Likewise.
48339 * string/strncpy.c: Likewise.
48341 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48343 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48344 __builtin_memcopy is called when src and dest ranges are known to not
48347 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48350 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48351 fwd_align_merge macro call.
48352 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48353 bwd_align_merge macro call.
48354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48356 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48359 bwd_align_merge macros.
48360 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48361 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48364 2012-04-18 David S. Miller <davem@davemloft.net>
48366 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48368 2012-04-18 Andreas Jaeger <aj@suse.de>
48371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48372 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48376 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48379 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48380 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48381 Adjust for changed ldbl-128 files.
48383 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48384 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48387 2012-04-17 David S. Miller <davem@davemloft.net>
48389 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48391 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48393 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48394 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48395 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48396 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48398 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48400 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48403 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48404 * math/libm-test.inc: Add ilogb errno and exception tests.
48405 * math/w_ilogb.c: New file: ilogb wrapper.
48406 * math/w_ilogbf.c: New file: ilogbf wrapper.
48407 * math/w_ilogbl.c: New file: ilogbl wrapper.
48408 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48409 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48410 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48411 exception being thrown with 0.0 as argument.
48412 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48413 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48414 exception being thrown with 0.0 as argument.
48415 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48416 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48417 exception being thrown with 0.0 as argument.
48418 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48419 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48420 exception being thrown with 0.0 as argument.
48421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48422 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48424 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48426 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48427 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48428 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48429 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48431 2012-04-17 Petr Baudis <pasky@ucw.cz>
48433 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48436 2012-04-16 Marek Polacek <polacek@redhat.com>
48438 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48440 2012-04-16 Marek Polacek <polacek@redhat.com>
48442 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48443 operands of fdivp instruction.
48445 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48447 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48448 * elf/tst-auditmod3b.c: Likewise.
48449 * elf/tst-auditmod4b.c: Likewise.
48450 * elf/tst-auditmod5b.c: Likewise.
48451 * elf/tst-auditmod6b.c: Likewise.
48452 * elf/tst-auditmod6c.c: Likewise.
48453 * elf/tst-auditmod7b.c: Likewise.
48454 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48455 * sysdeps/x86_64/preconfigure.in: Likewise.
48456 * sysdeps/x86_64/preconfigure: Regenerated.
48458 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48463 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48466 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48468 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48471 * locale/iso-639.def: Fix gl language name. Spotted by
48474 2012-04-12 Roland McGrath <roland@hack.frob.com>
48477 * libio/libio.h (__io_write_fn): Update comment.
48479 2012-04-12 Petr Baudis <pasky@ucw.cz>
48482 * stdio.texi (Hook Functions): The user provided writer function
48483 is not allowed to return -1.
48485 2012-04-11 David S. Miller <davem@davemloft.net>
48487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48489 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48491 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48492 Add a leading slash to rtkaio.
48494 2012-04-11 Jim Meyering <meyering@redhat.com>
48497 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48498 It is not necessarily an error to ignore fwrite's return
48499 value. One can reliably use ferror to test for errors after
48502 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48504 * bits/types.h (__snseconds_t): New type.
48505 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48507 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48509 (__SNSECONDS_T_TYPE): Likewise.
48510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48511 (__SNSECONDS_T_TYPE): Likewise.
48512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48513 (__SNSECONDS_T_TYPE): Likewise.
48515 2012-04-10 Andreas Jaeger <aj@suse.de>
48518 * manual/time.texi (Processor Time): Return type of times is
48519 elapsed real time since an arbitrary point in the past.
48520 (CPU Time): Move CLK_TCK from here...
48521 (Processor Time): ...to here. Correct description.
48522 * manual/conf.texi (Constants for Sysconf): Correct description of
48525 2012-04-10 David S. Miller <davem@davemloft.net>
48528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48529 where the is a gap between DT_REL(A) and DT_JMPREL.
48531 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48533 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48534 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48535 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48537 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48539 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48540 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48541 (dl_main): Handle --inhibit-cache.
48542 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48544 * elf/dl-load.c (_dl_map_object): Use it.
48545 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48547 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48550 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48551 (__ieee754_powl): Saturate large exponents rather than testing for
48552 overflow of y*log2(x).
48553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48554 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48558 * math/s_ctan.c: Include <float.h>.
48559 (__ctan): Avoid internal overflow or cancellation in calculating
48561 * math/s_ctanf.c: Likewise.
48562 * math/s_ctanl.c: Likewise.
48563 * math/s_ctanh.c: Likewise.
48564 * math/s_ctanhf.c: Likewise.
48565 * math/s_ctanhl.c: Likewise.
48566 * math/libm-test.inc (ctan_test): Add more tests.
48567 (ctanh_test): Likewise.
48568 * sysdeps/i386/fpu/libm-test-ulps: Update.
48569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48571 2012-04-09 Andreas Jaeger <aj@suse.de>
48574 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48575 is an optional BSD extension.
48578 * manual/stdio.texi (Opening Streams): Document additional fopen
48581 2012-04-09 Roland McGrath <roland@hack.frob.com>
48583 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48584 %eax without telling the compiler.
48586 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48589 * manual/install.texi: Use sourceware.org.
48591 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48594 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48595 (__ieee754_pow): Generate overflow and underflow using huge*huge
48596 and tiny*tiny rather than just returning constant infinity or zero
48597 for large exponents.
48598 * math/libm-test.inc (pow_test): Require overflow exceptions for
48599 applicable cases of large exponents.
48602 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48603 (__ieee754_pow): Use iterative multiplication algorithm only for
48604 integer exponents with absolute value below 1024. Check for odd
48605 integer exponents when using algorithm for real exponents.
48606 * math/libm-test.inc (pow_test): Add more tests.
48607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48609 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48612 * math/libm-test.inc (exp_test): Do not allow overflow exception
48615 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48618 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48619 instead of __kernel_standard_f.
48621 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48623 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48624 * sysdeps/x86_64/memset_chk.S: Likewise.
48626 2012-04-08 Andreas Jaeger <aj@suse.de>
48629 * manual/startup.texi (Environment Access): Describe return value
48630 for putenv and setenv.
48633 * manual/filesys.texi (Directory Entries): Add description for
48637 * manual/filesys.texi (Directory Entries): Clarify that it's file
48638 system not operating system in the description of DT_UNKNOWN.
48641 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48643 2012-04-08 Stephen Compall <s11@member.fsf.org>
48646 * manual/llio.texi (Opening and Closing Files): Add cross
48647 reference to explain mode argument.
48649 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48651 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48652 * sysdeps/x86_64/memset_chk.S: Likewise.
48654 2012-04-07 David S. Miller <davem@davemloft.net>
48656 * elf/elf.h (R_SPARC_WDISP10): Define.
48657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48660 R_SPARC_SIZE64 and R_SPARC_H34.
48662 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48665 conditions and remove no longer applicable assertion.
48667 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48669 * bits/byteswap.h: Include <features.h>.
48670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48673 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48675 * bits/byteswap.h (__bswap_16): Removed.
48676 Include <bits/byteswap-16.h> to get __bswap_16.
48677 * sysdeps/i386/bits/byteswap.h: Likewise.
48678 * sysdeps/s390/bits/byteswap.h: Likewise.
48679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48680 * bits/byteswap-16.h: New file.
48681 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48682 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48683 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48684 * string/Makefile (headers): Add bits/byteswap-16.h.
48686 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48689 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48691 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48692 * nss/tst-nss-static.c: New.
48694 2012-04-06 Robert Millan <rmh@gnu.org>
48697 * manual/llio.texi (File Position Primitive): lseek
48698 refers to WHENCE when it really means OFFSET.
48700 2012-04-06 Andreas Jaeger <aj@suse.de>
48702 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48703 strncmp declarations.
48705 * abilist/libc.abilist: Add __poll and __ppoll.
48707 2012-04-05 David S. Miller <davem@davemloft.net>
48709 * scripts/check-local-headers.sh: Accept a host triplet in the
48710 path matched by the exclude regexp.
48712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48714 * sysdeps/powerpc/powerpc32/dl-machine.h
48715 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48716 * sysdeps/s390/s390-32/dl-machine.h
48717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48718 * sysdeps/sparc/sparc32/dl-machine.h
48719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48720 * sysdeps/sparc/sparc64/dl-machine.h
48721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48723 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48725 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48726 undefined symbol errors.
48728 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48731 2012-04-05 Michael Matz <matz@suse.de>
48734 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48736 2012-04-05 Andreas Jaeger <aj@suse.de>
48739 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48742 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48744 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48745 which ROUND is no valid rounding mode.
48747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48751 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48753 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48756 an exception using FPU order intentionally.
48758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48760 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48761 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48762 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48763 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48765 2012-04-05 Simon Josefsson <simon@josefsson.org>
48768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48769 EINVAL when BUFLEN is too smal.
48771 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48774 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48775 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48777 2012-04-03 Andreas Jaeger <aj@suse.de>
48780 * manual/setjmp.texi (System V contexts): Fix sentence.
48783 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48784 New macro for this case.
48785 [!__GNUC__] (__bswap_64): New inline function for this case.
48786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48787 * bits/byteswap.h: Likewise.
48788 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48789 ull, guard with __GLIBC_HAVE_LONG_LONG.
48791 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48792 __GLIBC_HAVE_LONG_LONG.
48794 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48795 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48797 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48801 inptr and inend, rather than using last_ch.
48803 2012-04-02 David S. Miller <davem@davemloft.net>
48805 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48806 * stdio-common/printf-parse.h (read_int): Change return type to
48807 'int', return -1 on INT_MAX overflow.
48808 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48809 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48810 overflows INT_MAX. Check for overflow of in-format-string precision
48811 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48812 SIZE_MAX not INT_MAX for integer overflow test.
48813 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48814 skip the construct in the format string but do not record anything.
48815 * stdio-common/bug22.c: Adjust to test both width/prevision
48816 INT_MAX overflow as well as total length INT_MAX overflow. Check
48817 explicitly for proper errno values.
48819 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48821 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48823 * string/test-strcmp.c [! WIDE]: Likewise.
48824 * time/tst-mktime2.c: Likewise for INT_MAX.
48825 * string/test-string.h: #include <sys/param.h> for MIN.
48827 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48828 * sysdeps/i386/init-first.c (init): Likewise.
48829 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48830 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48831 * sysdeps/sh/init-first.c (init): Likewise.
48833 2012-04-01 Ulrich Drepper <drepper@gmail.com>
48835 * po/ru.po: Update from translation team.
48836 * po/vi.po: Likewise.
48838 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48840 * resolv/nss_dns/dns-host.c: Merge copyright years.
48842 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48845 Optimize memcpy with prefetch if
48846 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48847 src, dst pointers have unequal 16 byte alignments.
48849 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48852 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48853 from a CNAME entry and return the minimum ttl for the query.
48854 (gaih_getanswer_slice): Likewise.
48856 2012-03-30 Jeff Law <law@redhat.com>
48858 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48860 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48861 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48863 * resolv/nss_dns/dns-host.c: Update copyright year.
48865 2012-03-30 Ulrich Drepper <drepper@gmail.com>
48867 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48868 requests to save a system call. Fix check that all bytes are sent.
48870 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48871 comments for sendmmsg.
48873 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48877 with only 1 character between 0x0041 and 0x01b0.
48878 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48879 * wcsmbs/tst-mbsnrtowcs.c: New file.
48881 2012-03-29 David S. Miller <davem@davemloft.net>
48883 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48884 small copies by hand.
48886 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48889 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48890 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48893 2012-03-28 David S. Miller <davem@davemloft.net>
48895 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48896 that branches into memcpy.
48897 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48900 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48903 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48904 implementation too.
48905 * sysdeps/sparc/mempcpy.S: New file.
48907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48908 the IFUNC routine in the libc case.
48909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48911 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48913 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48914 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48915 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48916 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48917 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48918 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48920 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48921 loop to 256 bytes instead of 64 bytes and fix test signedness.
48923 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48924 * sysdeps/sparc/sparc32/Makefile: rather than here...
48925 * sysdeps/sparc/sparc64/Makefile: and here.
48927 2012-03-28 Ulrich Drepper <drepper@gmail.com>
48929 * malloc/mallocbug.c: Avoid warnings about unused variables.
48931 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48934 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48935 in the right place. Discard and retry query if response is
48936 larger than input buffer size.
48938 2012-03-28 Joseph Myers <joseph@codesourcery.com>
48943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48944 x for large integer exponent.
48945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48946 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48947 sign of result as needed afterwards.
48948 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48950 result for underflowing pow the same as for overflow.
48951 (__kernel_standard_l): Handle powl overflow and underflow here
48952 rather than calling __kernel_standard.
48953 * math/libm-test.inc (pow_test): Add more tests.
48968 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48969 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48970 (__kernel_standard_l): New function.
48971 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48973 * math/w_acosl.c (__acosl): Likewise.
48974 * math/w_asinl.c (__asinl): Likewise.
48975 * math/w_atan2l.c (__atan2l): Likewise.
48976 * math/w_atanhl.c (__atanhl): Likewise.
48977 * math/w_coshl.c (__coshl): Likewise.
48978 * math/w_exp10l.c (__exp10l): Likewise.
48979 * math/w_exp2l.c (__exp2l): Likewise.
48980 * math/w_fmodl.c (__fmodl): Likewise.
48981 * math/w_hypotl.c (__hypotl): Likewise.
48982 * math/w_j0l.c (__j0l, __y0l): Likewise.
48983 * math/w_j1l.c (__j1l, __y1l): Likewise.
48984 * math/w_jnl.c (__jnl, __ynl): Likewise.
48985 * math/w_lgammal.c (__lgammal): Likewise.
48986 * math/w_log10l.c (__log10l): Likewise.
48987 * math/w_log2l.c (__log2l): Likewise.
48988 * math/w_logl.c (__logl): Likewise.
48989 * math/w_powl.c (__powl): Likewise.
48990 * math/w_remainderl.c (__remainderl): Likewise.
48991 * math/w_scalbl.c (sysv_scalbl): Likewise.
48992 * math/w_sinhl.c (__sinhl): Likewise.
48993 * math/w_sqrtl.c (__sqrtl): Likewise.
48994 * math/w_tgammal.c (__tgammal): Likewise.
48995 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48996 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48997 * math/libm-test.inc (acos_test): Add more tests.
48998 (acosh_test): Likewise.
48999 (asin_test): Likewise.
49000 (atanh_test): Likewise.
49001 (exp_test): Likewise.
49002 (exp10_test): Likewise.
49003 (exp2_test): Likewise.
49004 (expm1_test): Likewise.
49005 (lgamma_test): Likewise.
49006 (log_test): Likewise.
49007 (log10_test): Likewise.
49008 (log1p_test): Likewise.
49009 (log2_test): Likewise.
49010 (pow_test): Do not allow some spurious overflow exceptions.
49011 (sqrt_test): Add more tests.
49012 (tgamma_test): Likewise.
49013 (y0_test): Likewise.
49014 (y1_test): Likewise.
49015 (yn_test): Likewise.
49017 2012-03-27 Anton Blanchard <anton@samba.org>
49019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49025 2012-03-27 David S. Miller <davem@davemloft.net>
49027 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49029 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49030 have-as-vis3 check.
49032 2012-03-27 Andreas Jaeger <aj@suse.de>
49034 * sysdeps/x86_64/elf/configure.in: Moved to ...
49035 * sysdeps/x86_64/configure.in: ... here.
49036 * sysdeps/x86_64/elf/start.S: Moved to ...
49037 * sysdeps/x86_64/start.S: ... here.
49038 * sysdeps/x86_64/elf/configure: Delete.
49040 * sysdeps/x86_64/configure.in: Merge contents from
49041 sysdeps/i386/configure.in (without i686 check).
49043 * sysdeps/i386/elf/Versions: Merge into ...
49044 * sysdeps/i386/Versions: ... this.
49045 * sysdeps/i386/elf/Versions: Delete file.
49046 * sysdeps/i386/elf/start.S: Moved to ...
49047 * sysdeps/i386/start.S: ...here.
49048 * sysdeps/i386/elf/configure.in: Merge into...
49049 * sysdeps/i386/configure.in: ...here.
49050 * sysdeps/i386/elf/configure.in: Delete file.
49051 * sysdeps/i386/elf/configure: Delete file.
49053 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49054 * debug/backtracesyms.c: ... here.
49055 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49056 * debug/backtracesymsfd.c: ... here.
49057 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49058 * sysdeps/generic/ifunc-sel.h: ... here.
49060 * sysdeps/unix/i386/start.c: Delete file.
49061 * sysdeps/unix/sparc/start.c: Delete file.
49062 * sysdeps/unix/start.c: Delete file.
49064 * sysdeps/sh/elf/configure.in: Moved to ...
49065 * sysdeps/sh/configure.in: ... here.
49066 * sysdeps/sh/elf/start.S: Moved to ...
49067 * sysdeps/sh/start.S: ... here.
49068 * sysdeps/sh/elf/configure: Delete file.
49070 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49071 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49072 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49073 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49074 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49075 * sysdeps/powerpc/powerpc64/start.S: here.
49076 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49077 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49078 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49079 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49080 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49082 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49083 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49084 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49085 * sysdeps/powerpc/powerpc32/start.S: ... here.
49086 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49087 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49088 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49090 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49091 * sysdeps/powerpc/ifunc-sel.h: ... here.
49092 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49093 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49095 * sysdeps/sparc/elf/configure.in: Moved to ...
49096 * sysdeps/sparc/configure.in: ... here.
49097 * sysdeps/sparc/elf/configure: Delete file.
49098 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49099 * sysdeps/sparc/sparc32/start.S: ... here.
49100 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49101 * sysdeps/sparc/sparc64/start.S: ... here.
49102 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49103 * sysdeps/sparc/sparc32/Makefile: ... this.
49104 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49105 * sysdeps/sparc/sparc64/Makefile: ... this.
49107 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49108 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49109 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49110 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49111 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49112 * sysdeps/s390/s390-32/setjmp.S: ... here.
49113 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49114 * sysdeps/s390/s390-32/configure.in: ... here.
49115 * sysdeps/s390/s390-32/elf/configure: Delete file.
49116 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49117 * sysdeps/s390/s390-32/start.S: ... here.
49119 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49120 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49121 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49122 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49123 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49124 * sysdeps/s390/s390-64/setjmp.S: ... here.
49125 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49126 * sysdeps/s390/s390-64/configure.in: ... here
49127 * sysdeps/s390/s390-64/elf/configure: Delete file.
49128 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49129 * sysdeps/s390/s390-64/start.S: ... here.
49130 * sysdeps/s390/s390-64/elf/configure: Delete.
49132 * configure.in: Remove support for elf directories in sysdeps.
49134 * configure: Regenerated.
49135 * sysdeps/i386/configure: Regenerated.
49136 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49137 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49138 * sysdeps/s390/s390-32/configure: Regenerated.
49139 * sysdeps/s390/s390-64/configure: Regenerated.
49140 * sysdeps/sh/configure: Regenerated.
49141 * sysdeps/sparc/configure: Regenerated.
49142 * sysdeps/x86_64/configure: Regenerated.
49144 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49149 denormal result into account.
49151 2012-03-25 Roland McGrath <roland@hack.frob.com>
49153 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49154 Reported by Allan McRae <allan@archlinux.org>.
49156 2012-03-23 Jeff Law <law@redhat.com>
49158 * nss/getnssent.c (__nss_getent): Fix typo.
49160 2012-03-23 David S. Miller <davem@davemloft.net>
49162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49164 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49166 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49167 to pad to uint64_t for each field.
49168 (dl_tls_index): Replace unsigned long with uint64_t.
49170 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49171 Paul Pluzhnikov <ppluzhnikov@google.com>
49174 * grp/Makefile (otherlibs): Don't set it.
49175 * inet/Makefile (otherlibs): Likewise.
49176 * login/Makefile (otherlibs): Likewise.
49177 * nscd/Makefile (otherlibs): Likewise.
49178 * posix/Makefile (otherlibs): Likewise.
49179 * pwd/Makefile (otherlibs): Likewise.
49180 * rt/Makefile (otherlibs): Likewise.
49181 * sunrpc/Makefile (otherlibs): Likewise.
49182 * nss/Makefile (otherlibs): Likewise.
49183 Add libnss_files to routines and static-only-routines.
49184 ($(objpfx)getent): Remove rule.
49185 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49186 static-only-routines.
49188 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49191 * math/s_cexp.c: Include <float.h>.
49192 (__cexp): Handle exp result overflowing not necessarily
49193 overflowing both real and imaginary parts of result.
49194 * math/s_cexpf.c: Likewise.
49195 * math/s_cexpl.c: Likewise.
49196 * math/libm-test.inc (cexp_test): Add more tests.
49197 * sysdeps/i386/fpu/libm-test-ulps: Update.
49198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49200 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49202 * include/link.h (ELFW): New macro.
49203 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49204 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49206 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49208 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49213 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49215 (struct La_x32_retval): Likewise.
49217 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49219 * sysdeps/x86_64/preconfigure.in: New file.
49220 * sysdeps/x86_64/preconfigure: New generated file.
49222 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49225 * math/e_exp2l.c: Include <float.h>.
49226 (__ieee754_exp2l): Handle overflow and underflow cases
49227 separately. Only pass fractional part of argument to
49229 * math/libm-test.inc (exp2_test): Add more tests.
49231 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49232 negating x to take absolute value.
49233 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49238 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49239 computing low part if x was negated.
49240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49242 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49244 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49245 la_x32_gnu_pltexit.
49246 (pltexit): Cast int_retval to ptrdiff_t.
49247 * elf/tst-auditmod3b.c: Likewise.
49248 * elf/tst-auditmod4b.c: Likewise.
49249 * elf/tst-auditmod5b.c: Likewise.
49250 * elf/tst-auditmod6b.c: Likewise.
49251 * elf/tst-auditmod6c.c: Likewise.
49252 * elf/tst-auditmod7b.c: Likewise.
49254 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49255 and x32_gnu_pltexit.
49257 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49258 __ELF_NATIVE_CLASS.
49259 (La_x32_regs): New macro.
49260 (La_x32_retval): Likewise.
49261 (la_x32_gnu_pltenter): New function prototype.
49262 (la_x32_gnu_pltexit): Likewise.
49264 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49271 * configure.in (libc_cv_cc_nofma): Check for option to disable
49272 generation of FMA instructions.
49273 * configure: Regenerate.
49274 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49275 * sysdeps/ieee754/dbl-64/Makefile: New file.
49276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49277 Remove brandred-fma4.
49278 (CFLAGS-brandred-fma4.c): Remove.
49279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49285 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49288 LLONG_MAX != LONG_MAX.
49289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49290 (_fitoa_word): Likewise.
49291 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49292 LLONG_MAX != LONG_MAX.
49293 * stdio-common/_itowa.h: Include <_itoa.h>.
49294 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49295 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49296 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49297 only if not defined.
49298 (_ITOA_WORD_TYPE): Likewise.
49299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49300 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49302 2012-03-21 David S. Miller <davem@davemloft.net>
49304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49306 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49308 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49309 of x86_64 when setting libc_cv_slibdir, libdir and
49311 * sysdeps/unix/sysv/linux/configure: Regenerated.
49313 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49315 * manual/lang.texi (Old Varargs): Remove section.
49316 (How Variadic): Update menu.
49317 (va_start): Do not mention varargs.h.
49319 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49320 Joseph Myers <joseph@codesourcery.com>
49322 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49324 * configure: Regenerated.
49326 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49328 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49329 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49332 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49335 * Makefile (files-for-dist): Remove NOTES.
49336 (NOTES): Remove rule.
49337 * README: Don't refer to NOTES.
49338 * manual/creature.texi: Don't include macros.texi.
49339 * manual/intro.texi (creature.texi): Remove comment referring to
49342 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49343 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49344 * configure: Regenerated.
49345 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49346 LIBC_TRY_CC_OPTION.
49347 (libc_cv_as_i686): Likewise.
49348 (libc_cv_cc_avx): Likewise.
49349 (libc_cv_cc_sse2avx): Likewise.
49350 (libc_cv_cc_fma4): Likewise.
49351 (libc_cv_cc_novzeroupper): Likewise.
49352 * sysdeps/i386/configure: Regenerated.
49355 * sysdeps/i386/fpu/s_cexp.S: Remove.
49356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49357 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49358 * math/libm-test.inc (cexp_test): Add more tests.
49359 * sysdeps/i386/fpu/libm-test-ulps: Update.
49360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49362 2012-03-21 Allan McRae <allan@archlinux.org>
49364 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49366 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49369 * math/w_exp2.c: Do not include <float.h>.
49370 (o_threshold, u_threshold): Remove.
49371 (__exp2): Calculate result before checking finiteness and calling
49373 * math/w_exp2f.c: Likewise.
49374 * math/w_exp2l.c: Likewise.
49375 * math/libm-test.inc (exp2_test): Require overflow exception for
49379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49380 range of signed 64-bit integers before using fistpll. Remove
49381 checks for whether integers fit in mantissa bits.
49382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49383 the range of signed 32-bit integers before using fistpl. Remove
49384 checks for whether integers fit in mantissa bits.
49385 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49386 (__ieee754_powl): Test for y outside the range of signed 64-bit
49387 integers before using fistpll. Reduce 64-bit values to 63-bit
49389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49390 divide-by-zero is raised for zero to large negative powers.
49391 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49392 (__ieee754_powl): Test for y outside the range of signed 64-bit
49393 integers before using fistpll. Reduce 64-bit values to 63-bit
49395 * math/libm-test.inc (pow_test): Add more tests.
49397 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49399 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49400 <stdio-common/_itoa.h>.
49401 * debug/segfault.c: Likewise.
49402 * elf/dl-cache.c: Likewise.
49403 * elf/dl-minimal.c: Likewise.
49404 * elf/dl-misc.c: Likewise.
49405 * elf/dl-sysdep.c: Likewise.
49406 * elf/dl-version.c: Likewise.
49407 * elf/rtld.c: Likewise.
49408 * hurd/hurdsock.c: Likewise.
49409 * hurd/lookup-retry.c: Likewise.
49410 * malloc/malloc.c: Likewise.
49411 * malloc/mtrace.c: Likewise.
49412 * nscd/nscd_getgr_r.c: Likewise.
49413 * nscd/nscd_getpw_r.c: Likewise.
49414 * nscd/nscd_getserv_r.c: Likewise.
49415 * posix/getopt_init.c: Likewise.
49416 * posix/wordexp.c: Likewise.
49417 * stdio-common/_itoa.c: Likewise.
49418 * stdio-common/printf_fphex.c: Likewise.
49419 * stdio-common/vfprintf.c: Likewise.
49420 * string/_strerror.c: Likewise.
49421 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49422 * sysdeps/i386/i686/hp-timing.h: Likewise.
49423 * sysdeps/mach/_strerror.c: Likewise.
49424 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49425 * sysdeps/mach/hurd/sethostid.c: Likewise.
49426 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49427 * sysdeps/mach/xpg-strerror.c: Likewise.
49428 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49430 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49431 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49433 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49435 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49436 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49437 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49438 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49439 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49440 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49444 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49445 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49446 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49447 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49448 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49450 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49452 * stdio-common/_itoa.h: Moved to ...
49453 * sysdeps/generic/_itoa.h: Here.
49455 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49457 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49458 instead of "_itoa.h" and "_itowa.h".
49459 * stdio-common/vfprintf.: Likewise.
49461 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49463 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49465 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49466 (__signbit): Likwise.
49467 (llrintf): Likwise.
49470 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49472 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49475 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49477 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49478 OVERFLOW_EXCEPTION_OK.
49479 * math/libm-test.inc ("Philosophy"): Update comment about
49481 (OVERFLOW_EXCEPTION): Define.
49482 (OVERFLOW_EXCEPTION_OK): Likewise.
49483 (INVALID_EXCEPTION_OK): Renumber.
49484 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49485 (IGNORE_ZERO_INF_SIGN): Likewise.
49486 (test_exceptions): Handle FE_OVERFLOW.
49487 (exp10_test): Expect overflow exceptions.
49488 (exp2_test): Likewise.
49489 (expm1_test): Likewise.
49490 (nextafter_test): Likewise.
49491 (pow_test): Likewise.
49492 (scalbn_test): Likewise.
49493 (scalbln_test): Likewise.
49495 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49497 * sysdeps/x86_64/bits/atomic.h
49498 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49500 (atomic_exchange_acq): Likewise.
49501 (__arch_exchange_and_add_body): Likewise.
49502 (__arch_add_body): Likewise.
49503 (atomic_add_negative): Likewise.
49504 (atomic_add_zero): Likewise.
49506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49508 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49509 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49513 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49514 Check __x86_64__ instead of __WORDSIZE.
49516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49518 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49520 2012-03-19 David S. Miller <davem@davemloft.net>
49522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49524 * sysdeps/sparc/fpu/fenv_private.h: New file.
49525 * sysdeps/sparc/fpu/math_private.h: Use it.
49526 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49529 (libc_feholdexcept_setroundl): Remove.
49530 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49537 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49538 int64_t instead of long int.
49539 (INSERT_WORDS64): Likwise.
49541 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49543 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49544 _Unwind_GetCFA return to _Unwind_Ptr first.
49546 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49549 * math/s_clog.c: Include <float.h>.
49550 (__clog): Scale large or subnormal inputs.
49551 * math/s_clogf.c: Likewise.
49552 * math/s_clogl.c: Likewise.
49553 * math/s_clog10.c: Include <float.h>.
49554 (M_LOG10_2): Define.
49555 (__clog10): Scale large or subnormal inputs.
49556 * math/s_clog10f.c: Likewise.
49557 * math/s_clog10l.c: Likewise.
49558 * math/libm-test.inc (clog_test): Add more tests.
49559 (clog10_test): Likewise.
49560 * sysdeps/i386/fpu/libm-test-ulps: Update.
49561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49564 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49566 * math/libm-test.inc (atan2_test): Add another test.
49568 * Makerules (common-objdir-compile): Remove.
49569 * sysdeps/unix/Makefile (config-generated): Do not add
49570 $(unix-generated) to variable.
49571 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49572 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49574 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49576 [generic bits/local_lim.h] (before-compile): Do not append to
49578 [generic bits/local_lim.h] (common-generated): Likewise.
49579 [generic sys/param.h] (before-compile): Do not append to variable.
49580 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49581 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49582 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49585 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49586 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49587 [generic sys/param.h] ($(addprefix
49588 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49589 [generic sys/param.h] (common-generated): Do not append to
49591 [generic sys/param.h] (sysdep_headers): Likewise.
49592 [generic bits/errno.h] (before-compile): Do not append to
49594 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49596 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49597 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49598 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49599 [generic bits/errno.h] (common-generated): Do not append to
49601 [generic bits/ioctls.h] (before-compile): Do not append to
49603 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49605 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49606 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49610 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49611 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49612 [generic bits/ioctls.h] (common-generated): Do not append to
49614 [generic sys/syscall.h] (syscall.h): Remove variable.
49615 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49617 [generic sys/syscall.h] (before-compile): Do not append to
49619 [generic sys/syscall.h] (common-generated): Likewise.
49620 * sysdeps/unix/errnos-tmpl.c: Remove file.
49621 * sysdeps/unix/errnos.awk: Likewise.
49622 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49623 * sysdeps/unix/ioctls.awk: Likewise.
49624 * sysdeps/unix/mk-local_lim.c: Likewise.
49625 * sysdeps/unix/snarf-ioctls: Likewise.
49627 2012-03-19 Richard Henderson <rth@twiddle.net>
49629 * sysdeps/i386/fpu/fenv_private.h: New file.
49630 * sysdeps/i386/fpu/math_private.h: Use it.
49631 (math_opt_barrier, math_force_eval): Remove.
49632 (libc_feholdexcept_setround_53bit): Remove.
49633 (libc_feupdateenv_53bit): Remove.
49634 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49635 (math_opt_barrier, math_force_eval): Remove.
49636 (libc_feholdexcept): Remove.
49637 (libc_feholdexcept_setround): Remove.
49638 (libc_fetestexcept, libc_fesetenv): Remove.
49639 (libc_feupdateenv_test): Remove.
49640 (libc_feupdateenv, libc_feholdsetround): Remove.
49641 (libc_feresetround): Remove.
49643 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49644 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49646 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49647 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49648 (libc_feupdateenv_testl): New.
49649 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49650 (libc_feupdateenv_testf): New.
49651 (libc_feupdateenv): Use libc_feupdateenv_test.
49652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49655 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49656 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49657 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49658 (libc_feresetround_noex): New.
49659 (libc_feresetround_noexf): New.
49660 (libc_feresetround_noexl): New.
49661 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49662 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49663 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49664 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49669 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49671 SET_RESTORE_ROUND_NOEX.
49672 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49673 SET_RESTORE_ROUND_NOEXF.
49674 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49675 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49676 (libc_feholdsetroundf): New.
49677 (libc_feresetround, libc_feresetroundf): New.
49679 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49680 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49681 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49683 * sysdeps/generic/math_private.h: Include <fenv.h>.
49684 (default_libc_feholdexcept): New.
49685 (default_libc_feholdexcept_setround): New.
49686 (default_libc_fesetenv, default_libc_feupdateenv): New.
49687 (libc_feholdexcept): Only define if undefined.
49688 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49689 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49690 (libc_feholdexcept_setroundl): Likewise.
49691 (libc_feholdexcept_setround_53bit): Likewise.
49692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49693 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49694 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49695 (libc_feupdateenv_53bit): Likewise.
49696 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49697 (libc_feholdexcept): Convert from macro to inline function.
49698 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49699 (libc_fesetenv, libc_feupdateenv): Likewise.
49701 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49702 not previously defined.
49703 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49704 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49705 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49706 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49707 * sysdeps/ieee754/flt-32/math_private.h: New file.
49708 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49709 math_private.h below SET_FLOAT_WORD.
49710 (__isnan, __isinf_ns, __finite): Remove.
49711 (__isnanf, __isinf_nsf, __finitef): Remove.
49713 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49717 2012-03-17 David S. Miller <davem@davemloft.net>
49720 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49723 2012-03-16 David S. Miller <davem@davemloft.net>
49725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49731 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49732 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49733 sysdep_routines when subdir is sysvipc.
49734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49735 __getshmlba helper.
49737 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49739 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49741 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49747 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49748 (__lround): Renamed to ...
49749 (__llround): This. Replace long int with long long int.
49750 Define lround functions as aliases of llround functions.
49751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49753 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49755 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49756 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49757 adresses to uintptr_t. Replace "long int" and "unsigned long
49758 int" with "greg_t" on va_arg.
49760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49762 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49763 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49765 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49766 Move e_machine check before EI_CLASS check. Handle x32
49767 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49768 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49769 SKIP_EM_IA_64 and include
49770 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49772 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49773 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49774 (add_system_dir): New macro.
49776 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49777 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49779 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49790 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49792 * math/w_j0f.c (j0f): Likewise.
49794 * math/w_j0l.c (__j0l): Likewise.
49796 * math/w_j1.c (j1): Likewise.
49798 * math/w_j1f.c (j1f): Likewise.
49800 * math/w_j1l.c (__j1l): Likewise.
49802 * math/w_jn.c (jn): Likewise.
49804 * math/w_jnf.c (jnf): Likewise.
49806 * math/w_jnl.c (__jnl): Likewise.
49808 * math/libm-test.inc (j0_test): Add more tests.
49809 (j1_test): Likewise.
49810 (jn_test): Likewise. Add trailing semicolon to existing test.
49811 (y0_test): Likewise.
49812 (y1_test): Likewise.
49813 * sysdeps/i386/fpu/libm-test-ulps: Update.
49814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49819 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49820 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49822 (__tanl): Set errno for infinite argument.
49823 * sysdeps/i386/fpu/mptan.c: Remove.
49824 * sysdeps/i386/fpu/s_tan.S: Likewise.
49825 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49826 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49827 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49828 * math/libm-test.inc (tan_test): Add more tests and enable more
49829 tests for double and long double.
49830 * sysdeps/i386/fpu/libm-test-ulps: Update.
49831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49833 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49835 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49836 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49838 2012-03-16 Roland McGrath <roland@hack.frob.com>
49840 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49841 * configure.in: Use it for both main tree and add-ons.
49842 * configure: Regenerated.
49844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49846 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49848 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49850 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49854 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49855 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49856 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49857 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49858 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49860 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49862 != 0 for prec == 2.
49863 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49864 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49865 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49866 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49867 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49868 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49869 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49870 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49871 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49872 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49873 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49874 * math/libm-test.inc (cos_test): Add more tests and enable more
49875 tests for long double.
49876 (sin_test): Likewise.
49877 (sincos_test): Likewise.
49878 * sysdeps/i386/fpu/libm-test-ulps: Update.
49879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49881 2012-03-16 David S. Miller <davem@davemloft.net>
49883 * sysdeps/sparc/fpu/math_private.h: New file.
49885 2012-03-15 David S. Miller <davem@davemloft.net>
49887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49901 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49902 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49904 * sysdeps/sparc/sparc-ifunc.h: New file.
49905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49950 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49952 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49956 2012-03-15 Andreas Jaeger <aj@suse.de>
49959 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49960 ieee754/flt-32 implementation for sin, cos and sincos.
49961 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49962 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49963 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49964 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49965 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49966 ieee754/flt-32 implementation for tan.
49968 * math/libm-test.inc (cos_test): Enable some large input tests for
49970 (sin_test): Likewise.
49971 (sincos_test): Likewise.
49972 (tan_test): Add tests for large input.
49974 * sysdeps/i386/fpu/libm-test-ulps: Update.
49976 2012-03-15 Andreas Jaeger <aj@suse.de>
49979 * math/libm-test.inc (cos_test): Add more test cases.
49980 (sin_test): Likewise.
49981 (sincos_test): Likewise.
49983 2012-03-15 Andreas Jaeger <aj@suse.de>
49986 * math/libm-test.inc (cos_test): Add a test case for large input
49988 (sin_test): Likewise.
49989 (sincos_test): Likewise.
49991 2012-03-15 Andreas Jaeger <aj@suse.de>
49992 Joseph Myers <joseph@codesourcery.com>
49995 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49996 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49997 * sysdeps/i386/fpu/branred.c: Likewise.
49998 * sysdeps/i386/fpu/dosincos.c: Likewise.
49999 * sysdeps/i386/fpu/mpa.c: Likewise.
50000 * sysdeps/i386/fpu/s_cos.S: Likewise.
50001 * sysdeps/i386/fpu/s_sin.S: Likewise.
50002 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50003 * sysdeps/i386/fpu/sincos32.c: Likewise.
50005 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50007 (libc_feupdateenv_53bit): Define.
50008 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50010 (libc_feupdateenv_53bit): Define.
50012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50013 53 bit (without extend i386 double precision).
50015 * math/libm-test.inc (sincos_test): Add tests for large input.
50019 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50021 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50025 2012-03-15 David S. Miller <davem@davemloft.net>
50027 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50028 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50029 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50030 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50055 fmin/fmax sysdep routines.
50056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50058 2012-03-14 David S. Miller <davem@davemloft.net>
50060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50132 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50137 * sysdeps/sparc/configure.in: New file.
50138 * sysdeps/sparc/configure: Generate.
50139 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50140 * configure: Regenerate.
50141 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50142 * config.make.in (have-as-vis3): New.
50143 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50144 available use -Av9d instead of -Av9a.
50145 * sysdeps/sparc/sparc64/Makefile: Likewise.
50146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50161 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50162 fzeros/fnegs to load 0x80000000 into a float register instead of
50164 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50166 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50170 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50171 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50172 ($(inst_includedir)/bits/syscall.h): Remove rule.
50173 ($(objpfx)bits/syscall.d): Include instead of
50174 $(objpfx)syscall-list.d.
50175 (generated): Change syscall-list.h and syscall-list.d to
50176 bits/syscall.h and bits/syscall.d.
50178 2012-03-14 Roland McGrath <roland@hack.frob.com>
50181 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50183 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50186 * math/s_csqrt.c: Include <float.h>.
50187 (__csqrt): Scale large or subnormal inputs.
50188 * math/s_csqrtf.c: Likewise.
50189 * math/s_csqrtl.c: Likewise.
50190 * math/libm-test.inc (csqrt_test): Add more tests.
50191 * sysdeps/i386/fpu/libm-test-ulps: Update.
50192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50195 * math/libm-test.inc (hypot_test): Add more tests.
50197 2012-03-13 David S. Miller <davem@davemloft.net>
50200 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50201 double-precision for the calculation instead of scaling.
50203 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50205 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50206 manipulate bits before adding and subtracting TWO52[sx].
50207 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50212 2012-03-13 David S. Miller <davem@davemloft.net>
50214 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50215 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50217 rtld-global-offsets.h
50218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50220 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50223 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50225 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50226 'err' in the ifdef scope in which it is actually used.
50228 * nss/nss_db/db-init.c: Include string.h
50230 2012-03-12 David S. Miller <davem@davemloft.net>
50232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50233 masking out of the most significant byte of random value used.
50234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50235 Fix coding style in previous change.
50237 * sysdeps/unix/sysv/linux/kernel-features.h
50238 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50239 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50241 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50244 2012-03-11 David S. Miller <davem@davemloft.net>
50246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50247 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50249 for 'resultvar' otherwise things get truncated on 64-bit.
50251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50252 Fix masking out of the most significant byte of random value used.
50254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50256 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50260 2012-03-09 David S. Miller <davem@davemloft.net>
50262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50263 variables with appropriate CPP guards.
50264 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50265 from the frame pointer, not the stack pointer. Correct layout
50266 comments. Fix test on resulting framesize and the management of
50267 the outregs buffer for pltexit. Preserve floating point return
50268 values across _dl_call_pltexit call.
50269 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50270 framesize and the management of the outregs buffer for pltexit.
50271 Preserve floating point return values across _dl_call_pltexit
50273 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50274 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50275 (la_sparc64_gnu_pltexit): New functions.
50276 (print_exit): Fix format string for return register value.
50278 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50280 * sunrpc/Makefile (others): Add rpcgen.
50281 ($(objpfx)rpcgen): Remove special build rule and dependency on
50283 * sunrpc/rpcgen.c: New file.
50285 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50288 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50289 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50290 * sysdeps/i386/crti.S: Likewise.
50291 * sysdeps/i386/crtn.S: Likewise.
50292 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50293 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50294 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50295 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50296 * sysdeps/sh/crti.S: Likewise.
50297 * sysdeps/sh/crtn.S: Likewise.
50298 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50301 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50303 * locale/programs/locfile-kw.gperf: Likewise.
50304 * locale/programs/charmap-kw.h: Regenerated.
50305 * locale/programs/locfile-kw.h: Likewise.
50308 * intl/plural.y: Replace FSF snail mail address with URL.
50309 * intl/plural.c: Regenerated.
50311 2012-03-09 Richard Henderson <rth@twiddle.net>
50313 * include/math_private.h: Remove file.
50314 * math/math_private.h: Move file ...
50315 * sysdeps/generic/math_private.h: ... here.
50317 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50318 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50321 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50322 and <math_private.h>.
50323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50328 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50331 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50338 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50341 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50342 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50345 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50347 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50377 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50386 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50387 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50397 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50410 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50418 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50422 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50423 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50424 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50425 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50426 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50427 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50435 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50437 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50439 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50440 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50446 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50450 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50451 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50452 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50453 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50454 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50456 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50457 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50458 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50460 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50461 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50462 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50463 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50464 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50466 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50467 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50468 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50469 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50470 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50471 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50472 * sysdeps/ieee754/k_standard.c: Likewise.
50473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50480 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50485 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50486 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50487 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50488 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50492 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50493 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50494 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50495 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50496 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50498 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50507 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50510 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50511 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50512 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50515 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50595 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50622 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50633 * sysdeps/ieee754/s_lib_version.c: Likewise.
50634 * sysdeps/ieee754/s_matherr.c: Likewise.
50635 * sysdeps/ieee754/s_signgam.c: Likewise.
50636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50638 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50639 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50640 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50642 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50643 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50644 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50645 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50646 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50647 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50648 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50650 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50653 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50658 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50660 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50661 * sunrpc/rpc_main.c: Likewise.
50662 * sunrpc/rpc_svcout.c: Likewise.
50664 2012-03-09 David S. Miller <davem@davemloft.net>
50666 * include/math_private.h: New file.
50668 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50670 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50671 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50672 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50673 from <bits/socket_type.h>.
50674 (enum __socket_type): Don't define here.
50675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50677 bits/socket_type.h.
50680 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50681 checking __USE_GNU.
50683 * Makerules ($(inst_includedir)/%.h): New rule.
50684 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50685 (install-others): Remove variable setting.
50686 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50688 2012-03-08 Richard Henderson <rth@twiddle.net>
50690 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50691 from macro to inline function; merge with the
50692 !__LIBC_INTERNAL_MATH_INLINES version.
50693 (__ieee754_sqrtf): Likewise.
50695 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50696 to inline function.
50697 (__rintf, __floor, __floorf): Likewise.
50699 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50700 macro to inline function.
50701 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50704 not <math/math_private.h>.
50706 2012-03-08 David S. Miller <davem@davemloft.net>
50708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50710 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50712 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50714 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50716 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50717 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50719 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50721 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50722 be defined individually, they must be defined as a block. Define
50723 S for printing a string instead of hidint the different by using a
50724 macro for adding the 'l'.
50725 * stdio-common/tst-fphex-wide.c: Adjust.
50727 2012-03-07 Marek Polacek <polacek@redhat.com>
50729 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50731 2012-03-08 Marek Polacek <polacek@redhat.com>
50734 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50735 * stdio-common/tst-fphex.c: Define a few macros to make the
50736 test reusable. Use them.
50737 * stdio-common/tst-fphex-wide.c: New file.
50739 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50742 * manual/macros.texi (gnusystems): New macro.
50743 (nongnusystems): Likewise.
50744 (gnulinuxhurdsystems): Likewise.
50745 (gnuhurdsystems): Likewise..
50746 (gnulinuxsystems): Likewise.
50747 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50748 variants of the GNU system, not "GNU system".
50749 * manual/conf.texi: Likewise.
50750 * manual/errno.texi: Likewise. Update example of errno macro
50752 * manual/filesys.texi: Likewise.
50753 (getumask): Document as specific to GNU/Hurd.
50754 * manual/install.texi: Likewise. Reword some references to
50756 * manual/intro.texi: Likewise.
50757 * manual/io.texi: Likewise.
50758 (File Name Portability): Detail which constraints are inapplicable
50759 to all GNU systems and which are only inapplicable to GNU/Hurd.
50760 * manual/job.texi: Likewise.
50761 * manual/llio.texi: Likewise.
50762 (O_NOCTTY): Document as present on GNU/Linux.
50763 * manual/maint.texi: Likewise.
50764 * manual/memory.texi: Likewise.
50765 * manual/pattern.texi: Likewise.
50766 * manual/pipe.texi: Likewise.
50767 * manual/process.texi: Likewise.
50768 * manual/resource.texi: Likewise.
50769 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50771 * manual/setjmp.texi: Likewise.
50772 * manual/signal.texi: Likewise.
50773 * manual/startup.texi: Likewise.
50774 * manual/stdio.texi: Likewise.
50775 * manual/terminal.texi: Likewise.
50776 (ONLCR): Document as POSIX.
50777 (OXTABS): Document availability on GNU/Linux as XTABS.
50778 (ONOEOT): Document availability separately from other bits.
50779 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50780 * manual/time.texi: Likewise.
50781 * manual/users.texi: Likewise.
50782 * INSTALL: Regenerated.
50783 * sysdeps/gnu/errlist.c: Regenerated.
50785 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50786 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50787 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50789 * configure: Regenerated.
50791 2012-03-07 Joseph Myers <joseph@codesourcery.com>
50793 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50794 default includes instead of AC_HEADER_CHECK.
50795 * sysdeps/i386/configure: Regenerated.
50798 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50799 * math/s_cacoshf.c (__cacoshf): Likewise.
50800 * math/s_cacoshl.c (__cacoshl): Likewise.
50801 * math/s_casinh.c (__casinh): Set signs of result from argument.
50802 * math/s_casinhf.c (__casinhf): Likewise.
50803 * math/s_casinhl.c (__casinhl): Likewise.
50804 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50805 (casinh_test): Add more tests.
50806 * sysdeps/i386/fpu/libm-test-ulps: Update.
50807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50809 2012-03-07 Ulrich Drepper <drepper@gmail.com>
50811 * po/zh_TW.po: Update from translation team.
50813 * login/Makefile (distribute): Remove variable.
50814 * catgets/Makefile: Likewise.
50815 * mach/Makefile: Likewise.
50816 * malloc/Makefile: Likewise.
50817 * misc/Makefile: Likewise.
50818 * iconv/Makefile: Likewise.
50819 * nscd/Makefile: Likewise.
50820 * hurd/Makefile: Likewise.
50821 * manual/Makefile: Likewise.
50822 * locale/Makefile: Likewise.
50823 * intl/Makefile: Likewise.
50824 * conform/Makefile: Likewise.
50825 * nss/Makefile: Likewise.
50826 * time/Makefile: Likewise.
50827 * soft-fp/Makefile: Likewise.
50828 * dirent/Makefile: Likewise.
50829 * gmon/Makefile: Likewise.
50830 * po/Makefile: Likewise.
50831 * rt/Makefile: Likewise.
50832 * socket/Makefile: Likewise.
50833 * math/Makefile: Likewise.
50834 * signal/Makefile: Likewise.
50835 * debug/Makefile: Likewise.
50836 * elf/Makefile: Likewise.
50837 * timezone/Makefile: Likewise.
50838 * stdlib/Makefile: Likewise.
50839 * iconvdata/Makefile: Likewise.
50840 * sunrpc/Makefile: Likewise.
50841 * io/Makefile: Likewise.
50842 * argp/Makefile: Likewise.
50843 * inet/Makefile: Likewise.
50844 * hesiod/Makefile: Likewise.
50845 * grp/Makefile: Likewise.
50846 * csu/Makefile: Likewise.
50847 * wctype/Makefile: Likewise.
50848 * crypt/Makefile: Likewise.
50849 * libio/Makefile: Likewise.
50850 * string/Makefile: Likewise.
50851 * nis/Makefile: Likewise.
50852 * resolv/Makefile: Likewise.
50853 * stdio-common/Makefile: Likewise.
50854 * wcsmbs/Makefile: Likewise.
50855 * dlfcn/Makefile: Likewise.
50856 * posix/Makefile: Likewise.
50859 * timezone/Makefile: Don't install timezone files, just the programs
50862 2012-03-06 Ulrich Drepper <drepper@gmail.com>
50864 * nss/databases.def: Add missing gshadow entry.
50866 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50868 2012-03-06 Marek Polacek <polacek@redhat.com>
50871 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50872 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50873 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50874 * stdio-common/tst-long-dbl-fphex.c: New file.
50876 2012-03-06 David S. Miller <davem@davemloft.net>
50878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50879 (set_obp_int): New function.
50880 (get_obp_int): New function.
50881 (__get_clockfreq_via_dev_openprom): Likewise.
50882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50883 Avoid unused variable warnings on 'val' and use builtin_expect.
50884 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50886 (INLINE_CLONE_SYSCALL): Likewise.
50888 2012-03-05 David S. Miller <davem@davemloft.net>
50890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50892 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50897 only for |x| >= 40.
50898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50900 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
50902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50903 Replace gettimeofday with __vdso_gettimeofday.
50905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50906 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50907 __vdso_clock_gettime and __vdso_getcpu.
50909 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50910 time with __vdso_time.
50912 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50914 * manual/lang.texi (size_t): Note types to which size_t may be
50915 equivalent with the GNU C Library, but do not describe when
50916 differences between them are significant.
50918 2012-03-05 Andreas Jaeger <aj@suse.de>
50920 * sysdeps/i386/fpu/libm-test-ulps: Update.
50922 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50926 (__ieee754_pow): Save and restore rounding mode and use
50927 round-to-nearest for main computations.
50928 * math/libm-test.inc (pow_test_tonearest): New function.
50929 (pow_test_towardzero): Likewise.
50930 (pow_test_downward): Likewise.
50931 (pow_test_upward): Likewise.
50932 (main): Call the new functions.
50933 * sysdeps/i386/fpu/libm-test-ulps: Update.
50934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50937 * math/libm-test.inc (cosh_test_tonearest): New function.
50938 (cosh_test_towardzero): Likewise.
50939 (cosh_test_downward): Likewise.
50940 (cosh_test_upward): Likewise.
50941 (sinh_test_tonearest): Likewise.
50942 (sinh_test_towardzero): Likewise.
50943 (sinh_test_downward): Likewise.
50944 (sinh_test_upward): Likewise.
50945 (main): Call the new functions.
50946 * sysdeps/i386/fpu/libm-test-ulps: Update.
50947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50949 2012-03-05 Tom de Vries <tom@codesourcery.com>
50951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50952 default stack guard is set in last bytes.
50953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50955 2012-03-05 Kees Cook <keescook@chromium.org>
50957 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50960 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50961 possibly allocate from heap instead of stack.
50962 * stdio-common/bug-vfprintf-nargs.c: New file.
50963 * stdio-common/Makefile (tests): Add nargs overflow test.
50965 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50969 2012-03-03 Marek Polacek <polacek@redhat.com>
50971 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50972 * math/math_private.h: Likewise.
50973 * stdlib/tst-strtod.c: Likewise.
50974 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50975 * sysdeps/x86_64/bits/atomic.h: Likewise.
50977 2012-03-02 David S. Miller <davem@davemloft.net>
50979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50983 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50984 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50985 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50986 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50988 2012-03-02 Roland McGrath <roland@hack.frob.com>
50991 * manual/examples/README: New file, says the example source files
50992 can be used under GPL>=2.
50993 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50994 line containing just "*/".
50995 * manual/examples/add.c: Add copyright header (GPL>=2).
50996 * manual/examples/argp-ex1.c: Likewise.
50997 * manual/examples/argp-ex2.c: Likewise.
50998 * manual/examples/argp-ex3.c: Likewise.
50999 * manual/examples/argp-ex4.c: Likewise.
51000 * manual/examples/atexit.c: Likewise.
51001 * manual/examples/db.c: Likewise.
51002 * manual/examples/dir.c: Likewise.
51003 * manual/examples/dir2.c: Likewise.
51004 * manual/examples/execinfo.c: Likewise.
51005 * manual/examples/filecli.c: Likewise.
51006 * manual/examples/filesrv.c: Likewise.
51007 * manual/examples/fmtmsgexpl.c: Likewise.
51008 * manual/examples/genpass.c: Likewise.
51009 * manual/examples/inetcli.c: Likewise.
51010 * manual/examples/inetsrv.c: Likewise.
51011 * manual/examples/isockad.c: Likewise.
51012 * manual/examples/longopt.c: Likewise.
51013 * manual/examples/memopen.c: Likewise.
51014 * manual/examples/memstrm.c: Likewise.
51015 * manual/examples/mkfsock.c: Likewise.
51016 * manual/examples/mkisock.c: Likewise.
51017 * manual/examples/mygetpass.c: Likewise.
51018 * manual/examples/pipe.c: Likewise.
51019 * manual/examples/popen.c: Likewise.
51020 * manual/examples/rprintf.c: Likewise.
51021 * manual/examples/search.c: Likewise.
51022 * manual/examples/select.c: Likewise.
51023 * manual/examples/setjmp.c: Likewise.
51024 * manual/examples/sigh1.c: Likewise.
51025 * manual/examples/sigusr.c: Likewise.
51026 * manual/examples/stpcpy.c: Likewise.
51027 * manual/examples/strdupa.c: Likewise.
51028 * manual/examples/strftim.c: Likewise.
51029 * manual/examples/strncat.c: Likewise.
51030 * manual/examples/subopt.c: Likewise.
51031 * manual/examples/swapcontext.c: Likewise.
51032 * manual/examples/termios.c: Likewise.
51033 * manual/examples/testopt.c: Likewise.
51034 * manual/examples/testpass.c: Likewise.
51035 * manual/examples/timeval_subtract.c: Likewise.
51038 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51040 * manual/timeval_subtract.c.texi: ... here, new file.
51042 2012-03-02 David S. Miller <davem@davemloft.net>
51044 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51046 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51049 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51050 (__sin): Save and restore rounding mode and use round-to-nearest
51051 for all computations.
51052 (__cos): Save and restore rounding mode and use round-to-nearest
51053 for all computations.
51054 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51056 (tan): Save and restore rounding mode and use round-to-nearest for
51058 * math/libm-test.inc (cos_test_tonearest): New function.
51059 (cos_test_towardzero): Likewise.
51060 (cos_test_downward): Likewise.
51061 (cos_test_upward): Likewise.
51062 (sin_test_tonearest): Likewise.
51063 (sin_test_towardzero): Likewise.
51064 (sin_test_downward): Likewise.
51065 (sin_test_upward): Likewise.
51066 (tan_test_tonearest): Likewise.
51067 (tan_test_towardzero): Likewise.
51068 (tan_test_downward): Likewise.
51069 (tan_test_upward): Likewise.
51070 (main): Call the new functions.
51071 * sysdeps/i386/fpu/libm-test-ulps: Update.
51072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51075 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51076 small n, then large n, before computing and testing k+n.
51077 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51082 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51083 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51090 * math/libm-test.inc (scalbn_test): Add more tests.
51091 (scalbln_test): Likewise.
51093 * manual/filesys.texi (mode_t): Describe constraints on size and
51094 signedness, not exact equivalence to a particular type.
51096 (ino64_t): Likewise.
51098 (nlink_t): Likewise.
51099 (blkcnt_t): Likewise.
51100 (blkcnt64_t): Likewise.
51101 * manual/llio.texi (off_t): Likewise.
51104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51105 (__ieee754_exp): Save and restore rounding mode and use
51106 round-to-nearest for all computations.
51107 * math/libm-test.inc (exp_test_tonearest): New function.
51108 (exp_test_towardzero): Likewise.
51109 (exp_test_downward): Likewise.
51110 (exp_test_upward): Likewise.
51111 (main): Call the new functions.
51112 * sysdeps/i386/fpu/libm-test-ulps: Update.
51113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51115 2012-03-01 Chris Demetriou <cgd@google.com>
51117 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51118 have predictable order.
51120 2012-03-01 David S. Miller <davem@davemloft.net>
51122 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51124 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51125 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51126 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51127 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51129 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51130 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51131 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51133 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51134 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51135 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51136 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51137 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51142 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51145 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51147 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51154 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51155 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51159 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51161 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51162 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51163 * sysdeps/sparc/elf/configure: Regenerated.
51165 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51167 * configure.in (AS, LD): Require binutils 2.20 or later.
51168 * configure: Regenerated.
51169 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51170 as required minimum version.
51171 * INSTALL: Regenerated.
51175 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51176 before squaring exponent.
51177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51178 bottom long double and 27 bits of top long double before squaring
51180 * math/libm-test.inc (erfc_test): Add more tests.
51181 * sysdeps/i386/fpu/libm-test-ulps: Update.
51182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51185 2012-03-01 Kai Tietz <ktietz@redhat.com>
51187 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51188 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51189 containing bit-fields.
51190 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51191 * soft-fp/single.h (_FP_UNION_S): Likewise.
51192 * soft-fp/double.h (_FP_UNION_D): Likewise.
51194 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51197 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51198 not include ../strcmp.S.
51199 [USE_AS_STRNCASECMP_L]: Likewise.
51200 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51201 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51202 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51203 (__strncasecmp_l_ia32): Define as alias to
51204 __strncasecmp_l_nonascii.
51207 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51208 * sysdeps/i386/fpu/libm-test-ulps: Update.
51209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51211 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51214 2012-02-29 Jeff Law <law@redhat.com>
51216 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51217 out of bounds read.
51219 2012-02-29 Marek Polacek <polacek@redhat.com>
51222 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51223 * elf/Makefile: Add rules to run tst-unused-dep.out.
51225 2012-02-28 David S. Miller <davem@davemloft.net>
51227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51231 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51232 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51234 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51236 * math/libm-test.inc (llround_test): Move one test from
51237 lround_test. Use TEST_f_L in moved test.
51238 (lround_test): Move misplaced test to llround_test. Add testcase
51241 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51243 * sysdeps/x86_64/fpu/e_expf.S: New file.
51244 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51246 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51249 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51250 of remain_len that may cause incomplete multi-byte character and
51252 * posix/bug-regex33.c: New file.
51253 * posix/Makefile (tests): Add bug-regex33.
51255 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51257 * manual/macros.texi: New file.
51258 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51259 * manual/libc.texinfo: Include macros.texi.
51260 * manual/creatute.texi: Likewise.
51261 * manual/install.texi: Likewise.
51262 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51263 @glibcadj{} in references to the GNU C Library.
51264 * manual/charset.texi: Likewise.
51265 * manual/conf.texi: Likewise.
51266 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51267 when not using those macros.
51268 * manual/creature.texi: Likewise.
51269 * manual/crypt.texi: Likewise.
51270 * manual/errno.texi: Likewise.
51271 * manual/filesys.texi: Likewise.
51272 * manual/header.texi: Likewise.
51273 * manual/install.texi: Likewise.
51274 * manual/intro.texi: Likewise.
51275 * manual/io.texi: Likewise.
51276 * manual/job.texi: Likewise.
51277 * manual/lang.texi: Likewise.
51278 * manual/libc.texiinfo: Likewise.
51279 * manual/llio.texi: Likewise.
51280 * manual/locale.texi: Likewise.
51281 * manual/maint.texi: Likewise.
51282 * manual/math.texi: Likewise.
51283 * manual/memory.texi: Likewise.
51284 * manual/message.texi: Likewise.
51285 * manual/nss.texi: Likewise.
51286 * manual/pattern.texi: Likewise.
51287 * manual/process.texi: Likewise.
51288 * manual/resource.texi: Likewise.
51289 * manual/search.texi: Likewise.
51290 * manual/setjmp.texi: Likewise.
51291 * manual/signal.texi: Likewise.
51292 * manual/socket.texi: Likewise.
51293 * manual/startup.texi: Likewise.
51294 * manual/stdio.texi: Likewise.
51295 * manual/string.texi: Likewise.
51296 * manual/sysinfo.texi: Likewise.
51297 * manual/syslog.texi: Likewise.
51298 * manual/terminal.texi: Likewise.
51299 * manual/time.texi: Likewise.
51300 * manual/users.texi: Likewise.
51301 * INSTALL: Regenerated.
51302 * NOTES: Regenerated.
51303 * sysdeps/gnu/errlist.c: Regenerated.
51305 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51307 * include/dirent.h: Include <dirstream.h> before
51310 2012-02-28 David S. Miller <davem@davemloft.net>
51312 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51313 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51314 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51315 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51317 2012-02-27 David S. Miller <davem@davemloft.net>
51319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51321 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51322 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51325 frame pointer instead of stack pointer relative arg slot.
51326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51330 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51333 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51335 2012-02-27 David S. Miller <davem@davemloft.net>
51337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51343 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51346 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51348 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51349 later. Allow versions 5-9.
51350 * configure: Regenerated.
51351 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51352 required minimum version and 4.6 as recommended version. Do not
51353 mention bugs in GCC 2.7 and 2.8.
51354 * INSTALL: Regenerated.
51356 2012-02-27 David S. Miller <davem@davemloft.net>
51358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51364 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51365 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51368 manipulate bits before adding and subtracting TWO112[sx].
51369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51371 2012-02-27 Roland McGrath <roland@hack.frob.com>
51374 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51375 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51376 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51377 being in POSIX, because they are in 1003.1-2008.
51379 * rt/tst-aio.c: Include <fcntl.h>.
51380 * rt/tst-aio7.c: Likewise.
51381 * rt/tst-aio64.c: Likewise.
51383 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51385 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51387 * manual/install.texi (--with-headers): Describe headers as
51388 interface headers, not private headers.
51389 (Specific advice for GNU/Linux systems): Describe use of headers
51390 from "make headers_install", not private headers from older
51392 * INSTALL: Regenerated.
51393 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51395 * sysdeps/unix/sysv/linux/configure: Regenerated.
51397 * manual/llio.texi (fclean): Remove documentation.
51399 * manual/Makefile (libc-texi-generated): New variable. Include
51401 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51402 $(libc-texi-generated), not duplicated list of files.
51403 (version.texi, stamp-version): New rules.
51404 (realclean): Remove $(libc-texi-generated), not individual files
51405 from that list. Do not remove dir-add.texinfo.
51406 * manual/libc.texinfo: Comment out uses of edition numbers and
51407 references to printed manual. Remove last-updated dates.
51408 (EDITION): Comment out.
51410 (VERSION, UPDATED): Remove.
51411 (version.texi): Include.
51413 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51415 * sysdeps/posix/spawni.c: Include <signal.h>.
51416 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51417 * sysdeps/pthread/aio_fsync.c: Likewise.
51419 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51421 * conform/Makefile (tests): Run only when not cross-compiling and
51422 when fast-check is not defined.
51424 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51425 * conform/data/limits.h-data: Fixes for POSIX2008.
51426 * conform/run-conformtest.sh: Run all tests.
51427 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51429 * include/bits/dlfcn.h: Likewise.
51430 * include/langinfo.h: Likewise.
51431 * include/monetary.h: Likewise.
51432 * include/sys/poll.h: Likewise.
51434 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51436 * posix/spawn.h: Define __need_sigset_t.
51437 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51438 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51439 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51440 to get sigevent_t only.
51441 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51442 only for __USE_GNU.
51443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51445 process_vm_writev only for __USE_GNU.
51446 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51448 * conform/Makefile: For now ignore errors from run-conformtest.
51449 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51450 POSIX to avoid namespace pollution. Don't prepend headers.
51451 * conform/data/aio.h-data: Fixes for POSIX testing.
51452 * conform/data/fcntl.h-data: Likewise.
51453 * conform/data/glob.h-data: Likewise.
51454 * conform/data/grp.h-data: Likewise.
51455 * conform/data/pthread.h-data: Likewise.
51456 * conform/data/pwd.h-data: Likewise.
51457 * conform/data/signal.h-data: Likewise.
51458 * conform/data/spawn.h-data: Likewise.
51459 * conform/data/stdio.h-data: Likewise.
51460 * conform/data/stdlib.h-data: Likewise.
51461 * conform/data/stropts.h-data: Likewise.
51462 * conform/data/sys/mman.h-data: Likewise.
51463 * conform/data/sys/stat.h-data: Likewise.
51464 * conform/data/sys/types.h-data: Likewise.
51465 * conform/data/sys/wait.h-data: Likewise.
51466 * conform/data/time.h-data: Likewise.
51467 * conform/data/unistd.h-data: Likewise.
51468 * conform/data/utime.h-data: Likewise.
51470 * io/sys/stat.h: fchmod was always in POSIX.
51471 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51472 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51473 * rt/aio.h: Define __need_timespec before including <time.h>.
51474 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51475 struct. Add forward declaration of pthread_attr_t and use it in
51477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51479 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51480 always remove CLK_TCK definition.
51482 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51484 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51486 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51488 * conform/run-conformtest.sh: New file.
51489 * conform/Makefile: Run run-conformtest for tests.
51490 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51493 * conform/data/uchar.h-data: New file.
51494 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51495 * conform/data/arpa/inet.h-data: Likewise.
51496 * conform/data/assert.h-data: Likewise.
51497 * conform/data/complex.h-data: Likewise.
51498 * conform/data/cpio.h-data: Likewise.
51499 * conform/data/ctype.h-data: Likewise.
51500 * conform/data/dirent.h-data: Likewise.
51501 * conform/data/dlfcn.h-data: Likewise.
51502 * conform/data/errno.h-data: Likewise.
51503 * conform/data/fcntl.h-data: Likewise.
51504 * conform/data/float.h-data: Likewise.
51505 * conform/data/fmtmsg.h-data: Likewise.
51506 * conform/data/fnmatch.h-data: Likewise.
51507 * conform/data/ftw.h-data: Likewise.
51508 * conform/data/glob.h-data: Likewise.
51509 * conform/data/grp.h-data: Likewise.
51510 * conform/data/iconv.h-data: Likewise.
51511 * conform/data/inttypes.h-data: Likewise.
51512 * conform/data/langinfo.h-data: Likewise.
51513 * conform/data/libgen.h-data: Likewise.
51514 * conform/data/limits.h-data: Likewise.
51515 * conform/data/locale.h-data: Likewise.
51516 * conform/data/math.h-data: Likewise.
51517 * conform/data/monetary.h-data: Likewise.
51518 * conform/data/mqueue.h-data: Likewise.
51519 * conform/data/ndbm.h-data: Likewise.
51520 * conform/data/net/if.h-data: Likewise.
51521 * conform/data/netdb.h-data: Likewise.
51522 * conform/data/netinet/in.h-data: Likewise.
51523 * conform/data/nl_types.h-data: Likewise.
51524 * conform/data/poll.h-data: Likewise.
51525 * conform/data/pthread.h-data: Likewise.
51526 * conform/data/pwd.h-data: Likewise.
51527 * conform/data/regex.h-data: Likewise.
51528 * conform/data/sched.h-data: Likewise.
51529 * conform/data/search.h-data: Likewise.
51530 * conform/data/semaphore.h-data: Likewise.
51531 * conform/data/setjmp.h-data: Likewise.
51532 * conform/data/signal.h-data: Likewise.
51533 * conform/data/spawn.h-data: Likewise.
51534 * conform/data/stdarg.h-data: Likewise.
51535 * conform/data/stdio.h-data: Likewise.
51536 * conform/data/stdlib.h-data: Likewise.
51537 * conform/data/string.h-data: Likewise.
51538 * conform/data/strings.h-data: Likewise.
51539 * conform/data/stropts.h-data: Likewise.
51540 * conform/data/sys/ipc.h-data: Likewise.
51541 * conform/data/sys/mman.h-data: Likewise.
51542 * conform/data/sys/msg.h-data: Likewise.
51543 * conform/data/sys/resource.h-data: Likewise.
51544 * conform/data/sys/select.h-data: Likewise.
51545 * conform/data/sys/sem.h-data: Likewise.
51546 * conform/data/sys/shm.h-data: Likewise.
51547 * conform/data/sys/socket.h-data: Likewise.
51548 * conform/data/sys/stat.h-data: Likewise.
51549 * conform/data/sys/statvfs.h-data: Likewise.
51550 * conform/data/sys/time.h-data: Likewise.
51551 * conform/data/sys/timeb.h-data: Likewise.
51552 * conform/data/sys/times.h-data: Likewise.
51553 * conform/data/sys/types.h-data: Likewise.
51554 * conform/data/sys/uio.h-data: Likewise.
51555 * conform/data/sys/un.h-data: Likewise.
51556 * conform/data/sys/utsname.h-data: Likewise.
51557 * conform/data/sys/wait.h-data: Likewise.
51558 * conform/data/syslog.h-data: Likewise.
51559 * conform/data/tar.h-data: Likewise.
51560 * conform/data/termios.h-data: Likewise.
51561 * conform/data/utime.h-data: Likewise.
51562 * conform/data/utmpx.h-data: Likewise.
51563 * conform/data/varargs.h-data: Likewise.
51564 * conform/data/wchar.h-data: Likewise.
51565 * conform/data/wctype.h-data: Likewise.
51566 * conform/data/wordexp.h-data: Likewise.
51568 * include/stropts.h: New file.
51569 * include/uchar.h: New file.
51570 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51571 * include/assert.h: Likewise.
51572 * include/ctype.h: Likewise.
51573 * include/dirent.h: Likewise.
51574 * include/dlfcn.h: Likewise.
51575 * include/fcntl.h: Likewise.
51576 * include/fnmatch.h: Likewise.
51577 * include/glob.h: Likewise.
51578 * include/grp.h: Likewise.
51579 * include/libio.h: Likewise.
51580 * include/locale.h: Likewise.
51581 * include/math.h: Likewise.
51582 * include/net/if.h: Likewise.
51583 * include/netdb.h: Likewise.
51584 * include/netinet/in.h: Likewise.
51585 * include/pthread.h: Likewise.
51586 * include/pwd.h: Likewise.
51587 * include/regex.h: Likewise.
51588 * include/sched.h: Likewise.
51589 * include/search.h: Likewise.
51590 * include/setjmp.h: Likewise.
51591 * include/signal.h: Likewise.
51592 * include/stdio.h: Likewise.
51593 * include/stdlib.h: Likewise.
51594 * include/string.h: Likewise.
51595 * include/sys/cdefs.h: Likewise.
51596 * include/sys/mman.h: Likewise.
51597 * include/sys/msg.h: Likewise.
51598 * include/sys/resource.h: Likewise.
51599 * include/sys/select.h: Likewise.
51600 * include/sys/socket.h: Likewise.
51601 * include/sys/stat.h: Likewise.
51602 * include/sys/statvfs.h: Likewise.
51603 * include/sys/time.h: Likewise.
51604 * include/sys/times.h: Likewise.
51605 * include/sys/uio.h: Likewise.
51606 * include/sys/utsname.h: Likewise.
51607 * include/sys/wait.h: Likewise.
51608 * include/termios.h: Likewise.
51609 * include/time.h: Likewise.
51610 * include/ulimit.h: Likewise.
51611 * include/unistd.h: Likewise.
51612 * include/utime.h: Likewise.
51613 * include/wchar.h: Likewise.
51614 * include/wctype.h: Likewise.
51615 * include/wordexp.h: Likewise.
51617 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51619 * time/time.h: TIME_UTC must be a macro.
51620 Make timespec_get available for ISO C11 only as well.
51622 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51624 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51625 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51629 * configure.in: Use -o not -a in test for unsupported multi-arch.
51631 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51633 * manual/texinfo.tex: Update to version 2012-01-19.16.
51635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51637 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51639 2012-02-24 Roland McGrath <roland@hack.frob.com>
51642 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51643 * manual/fdl-1.3.texi: New file.
51644 * manual/fdl-1.1.texi: File removed.
51647 * manual/libc.texinfo (FDL_VERSION): New @set.
51648 Use it for mention of FDL in cover text.
51649 (Documentation License): Use it in @include file name.
51651 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51652 Roland McGrath <roland@hack.frob.com>
51655 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51656 (not LONG_LONG_MAX and LONG_LONG_MIN.
51657 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51658 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51660 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51667 manipulate bits before adding and subtracting TWO23[sx].
51668 * math/libm-test.inc (nearbyint_test): Add more tests.
51670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51673 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51674 bits before adding and subtracting TWO23[sx].
51675 * math/libm-test.inc (rint_test): Add more tests.
51676 (rint_test_tonearest): Likewise.
51677 (rint_test_towardzero): Likewise.
51678 (rint_test_downward): Likewise.
51679 (rint_test_upward: Likewise.
51681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51684 * include/stdc-predef.h: New file. Extracted from features.h.
51685 * include/features.h: Include stdc-predef.h.
51686 * Makefile (headers): Add stdc-predef.h.
51687 * CONFORMANCE (Compiler limitations): Update.
51689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51691 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51693 2012-02-21 David S. Miller <davem@davemloft.net>
51695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51698 2012-02-20 David S. Miller <davem@davemloft.net>
51700 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51701 using a normal save/restore sequence, rather than allocating a
51702 dummy stack frame just to store a frame pointer and restore.
51703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51705 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51707 * manual/install.texi: Fix stray word in line-wrapped comment.
51709 2012-02-20 David S. Miller <davem@davemloft.net>
51711 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51712 both binutils and gcc support GOTDATA.
51714 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51715 "rd %pc" in the PIC register setup sequences.
51717 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51718 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51719 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51720 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51726 (SYSCALL_ERROR_HANDLER): Likewise.
51727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51730 (SYSCALL_ERROR_HANDLER): Likewise.
51732 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51733 (HAVE_GCC_GOTDATA): New.
51734 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51735 relocation support in both binutils and gcc.
51736 * sysdeps/sparc/elf/configure: Regenerate.
51738 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51739 * sysdeps/sparc/sparc32/elf/configure: Delete.
51740 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51741 * sysdeps/sparc/sparc64/elf/configure: Delete.
51742 * sysdeps/sparc/elf/configure.in: New file.
51743 * sysdeps/sparc/elf/configure: Generate.
51745 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51746 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51748 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51749 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51751 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51753 * manual/install.texi: Do not mention specific glibc version
51755 * manual/libc.texinfo (VERSION, UPDATED): Update.
51756 (@copying): Use @copyright{} and range of years.
51758 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51761 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51762 [crti.S not in sysdirs] (generated): Do not append.
51763 [crti.S not in sysdirs] (omit-deps): Likewise.
51764 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51765 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51766 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51767 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51768 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51770 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51771 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51772 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51773 * csu/defs.awk: Remove file.
51774 * sysdeps/generic/initfini.c: Likewise.
51775 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51777 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51780 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51782 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51784 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51787 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51789 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51790 (__EPOLL_PACKED): Define to empty if not defined by
51792 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51796 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51798 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51799 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51800 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51803 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51807 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51809 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51816 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51821 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51823 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51824 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51826 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51828 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51831 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51833 * math/w_acos.c: Use non-signaling floating-point comparisons.
51834 * math/w_acosf.c: Likewise.
51835 * math/w_acosh.c: Likewise.
51836 * math/w_acoshf.c: Likewise.
51837 * math/w_acoshl.c: Likewise.
51838 * math/w_acosl.c: Likewise.
51839 * math/w_asin.c: Likewise.
51840 * math/w_asinf.c: Likewise.
51841 * math/w_asinl.c: Likewise.
51842 * math/w_atanh.c: Likewise.
51843 * math/w_atanhf.c: Likewise.
51844 * math/w_atanhl.c: Likewise.
51845 * math/w_exp2.c: Likewise.
51846 * math/w_exp2f.c: Likewise.
51847 * math/w_exp2l.c: Likewise.
51848 * math/w_j0.c: Likewise.
51849 * math/w_j0f.c: Likewise.
51850 * math/w_j0l.c: Likewise.
51851 * math/w_j1.c: Likewise.
51852 * math/w_j1f.c: Likewise.
51853 * math/w_j1l.c: Likewise.
51854 * math/w_jn.c: Likewise.
51855 * math/w_jnf.c: Likewise.
51856 * math/w_log.c: Likewise.
51857 * math/w_log10.c: Likewise.
51858 * math/w_log10f.c: Likewise.
51859 * math/w_log10l.c: Likewise.
51860 * math/w_log2.c: Likewise.
51861 * math/w_log2f.c: Likewise.
51862 * math/w_log2l.c: Likewise.
51863 * math/w_logf.c: Likewise.
51864 * math/w_logl.c: Likewise.
51865 * math/w_sqrt.c: Likewise.
51866 * math/w_sqrtf.c: Likewise.
51867 * math/w_sqrtl.c: Likewise.
51868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51869 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51871 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51872 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51877 * manual/string.texi (strnlen): Use correct parameter name in
51878 equivalent expression.
51880 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51883 * manual/users.texi (seteuid): Consistently use neweuid for
51886 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51889 * manual/nss.texi (Services in the NSS configuration): Correct
51890 list of services in example configuration file.
51892 2012-02-19 Nick Bowler <nbowler@draconx.ca>
51895 * manual/arith.texi: Remove statements about negative zero
51896 behaving identically to zero.
51898 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51901 * manual/install.texi: Do not document upgrading from libc5.
51903 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51906 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51908 2012-02-18 David S. Miller <davem@davemloft.net>
51910 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51911 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51912 %o7 across the call.
51913 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51916 SETUP_PIC_REG_LEAF.
51917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51918 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51919 * sysdeps/sparc/crtn.S: Likewise.
51921 2012-02-17 Ulrich Drepper <drepper@gmail.com>
51923 * aout/Makefile: Remove.
51925 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51928 * manual/examples/argp-ex1.c (main): Format definition in GNU
51930 * manual/examples/argp-ex2.c (main): Likewise.
51931 * manual/examples/argp-ex3.c (main): Likewise.
51932 * manual/examples/argp-ex4.c (main): Likewise.
51933 * manual/examples/longopt.c (main): Use new-style prototype
51935 * manual/examples/strncat.c (main): Specify return type and use
51936 (void) for arguments.
51937 * manual/examples/subopt.c (main): Use char **argv argument.
51939 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51942 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51945 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51948 * manual/string.texi (strchr): Change when strchrnul is
51951 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51954 * manual/locale.texi (setlocale): Document LOCPATH.
51956 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51959 * manual/process.texi (execle): Move @dots{} before last argument.
51961 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
51964 * manual/charset.texi (Generic Charset Conversion): Fix typo
51965 (LC_TYPE -> LC_CTYPE).
51967 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51970 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51971 (scalbnf): Likewise.
51972 (scalbnl): Likewise.
51973 (scalbln): Likewise.
51974 (scalblnf): Likewise.
51975 (scalblnl): Likewise.
51976 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51977 (vwarnx): Likewise.
51980 * manual/filesys.texi (telldir): Use braces around return type.
51981 * manual/llio.texi (mmap): Add space after comma.
51982 (mmap64): Likewise.
51983 * manual/math.texi (jn): Use @var{} on parameter names.
51989 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51991 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51993 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51994 (sched_get_priority_max): Likewise.
51995 * manual/signal.texi (sigvec): Add space after comma.
51996 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51998 (if_indextoname): Likewise.
51999 (if_freenameindex): Likewise.
52000 (sendto): Use ',' instead of '.' in prototype.
52001 * manual/startup.texi (syscall): Use @dots{} instead of literal
52003 * manual/stdio.texi (__fpending): Separate initial words of
52004 paragraph from @deftypefun line.
52005 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52007 (vsyslog): Use @var{} on parameter names.
52008 * manual/terminal.texi (stty): Use @var{} on parameter names.
52009 * manual/users.texi (getutmp): Use @var{} on parameter names.
52010 (getutmpx): Likewise.
52012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52015 * manual/stdio.texi (fopen): Fix typos in description of
52018 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52021 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52022 get clock_id definition.
52024 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52027 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52028 (madvise): Cast every argument to void on its own.
52030 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52033 * manual/startup.texi (Exit Status): Fix typo.
52035 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52038 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52039 * manual/examples/argp-ex2.c: Likewise.
52040 * manual/examples/argp-ex3.c: Likewise.
52042 2012-02-16 Richard Henderson <rth@redhat.com>
52044 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52045 * sysdeps/s390/s390-32/initfini.c: Remove.
52046 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52047 * sysdeps/s390/s390-64/initfini.c: Remove.
52049 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52051 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52052 compiler output for sysdeps/generic/initfini.c.
52053 * sysdeps/sh/elf/initfini.c: Remove file.
52055 2012-02-16 David S. Miller <davem@davemloft.net>
52058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52060 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52061 * sysdeps/sparc/crti.S: New file.
52062 * sysdeps/sparc/crtn.S: New file.
52063 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52064 * sysdeps/sparc/sparc64/Makefile: Likewise.
52066 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52069 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52071 2012-02-15 Roland McGrath <roland@hack.frob.com>
52074 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52076 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52077 (write, read, close): Likewise.
52078 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52080 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52082 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52083 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52084 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52085 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52087 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52091 2012-02-14 Marek Polacek <polacek@redhat.com>
52093 * sysdeps/x86_64/crti.S: New file.
52094 * sysdeps/x86_64/crtn.S: New file.
52095 * sysdeps/x86_64/elf/initfini.c: Remove file.
52097 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52099 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52100 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52101 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52102 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52104 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52108 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52110 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52111 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52112 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52113 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52115 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52119 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52121 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52122 __feraiseexcept instead of feraiseexcept.
52124 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52125 nanosleep invocations.
52126 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52127 strings, and add error checking for a nanosleep invocations.
52129 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52131 Replace FSF snail mail address with URLs, as per GNU coding standards.
52132 Most of the snail mail addresses were wrong anyway, and omitting
52133 them makes the source code easier to maintain. Almost all of the
52134 changes are to license notices and to locale LC_IDENTIFICATION
52135 addresses, except for this one:
52136 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52137 not its snail mail address.
52139 2012-02-09 Richard Henderson <rth@twiddle.net>
52141 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52142 of kernel-features.h.
52144 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52146 2012-02-08 Marek Polacek <polacek@redhat.com>
52148 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52149 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52150 * sysdeps/gnu/_G_config.h: Likewise.
52151 * sysdeps/generic/_G_config.h: Likewise.
52153 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52155 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52159 * sysdeps/powerpc/powerpc32/crti.S: New file.
52160 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52161 * sysdeps/powerpc/powerpc64/crti.S: New file.
52162 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52164 * Makeconfig (have-initfini): Don't set.
52165 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52166 * configure.in (nopic_initfini): Don't substitute.
52167 * config.h.in (HAVE_INITFINI): Don't #undef.
52168 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52169 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52171 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52173 Support crti.S and crtn.S provided directly by architectures.
52174 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52175 [crti.S in sysdirs] (omit-deps): Likewise.
52176 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52177 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52178 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52179 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52180 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52181 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52182 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52183 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52184 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52185 compiler output for sysdeps/generic/initfini.c.
52186 * sysdeps/i386/elf/Makefile: Remove file.
52187 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52189 2012-02-07 Marek Polacek <polacek@redhat.com>
52191 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52192 * sysdeps/gnu/_G_config.h: Likewise.
52193 * sysdeps/mach/hurd/_G_config.h: Likewise.
52195 2012-02-07 Marek Polacek <polacek@redhat.com>
52197 * math/Makefile (tests): Add tst-CMPLX2.
52198 * math/tst-CMPLX2.c: New file.
52200 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52202 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52204 * math/libm-test.inc (jn_test): Add missing L suffix.
52206 2012-02-06 Marek Polacek <polacek@redhat.com>
52208 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52209 * sysdeps/i386/fpu/e_powf.S: Likewise.
52210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52212 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52213 * sysdeps/i386/fpu/e_pow.S: Likewise.
52214 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52216 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52217 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52218 * sysdeps/i386/fpu/e_log2.S: Likewise.
52219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52220 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52221 * sysdeps/i386/fpu/e_powl.S: Likewise.
52222 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52225 * sysdeps/i386/fpu/e_logl.S: Likewise.
52226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52227 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52232 * sysdeps/i386/fpu/e_log.S: Likewise.
52233 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52235 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52236 * sysdeps/i386/fpu/e_logf.S: Likewise.
52237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52239 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52240 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52241 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52242 * sysdeps/i386/fpu/e_log10.S: Likewise.
52243 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52245 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52246 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52248 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52249 * sysdeps/i386/asm-syntax.h: Likewise.
52250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52253 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52254 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52259 * sysdeps/powerpc/sysdep.h: Likewise.
52260 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52261 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52263 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52266 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52268 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52270 * sysdeps/i386/sysdep.h: Include <features.h>.
52271 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52274 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52278 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52281 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52283 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52284 (SETUP_PIC_REG): Use GET_PC_THUNK.
52285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52288 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52291 for non-PIC compilation.
52292 (SETUP_PIC_REG): Add .p2align directive.
52293 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52294 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52295 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52296 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52297 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52299 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52310 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52311 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52312 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52315 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52316 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52321 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52322 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52323 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52326 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52327 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52328 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52330 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52331 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52332 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52333 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52335 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52337 * math/tst-CMPLX.c: Include <stdio.h>.
52339 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52341 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52343 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52344 * sysdeps/sparc/bits/mathdef.h: Likewise.
52346 2012-01-31 Marek Polacek <polacek@redhat.com>
52348 * libio/libio.h: Don't define _PARAMS.
52349 * locale/programs/config.h: Don't define PARAMS.
52350 * stdlib/strtol_l.c: Likewise.
52351 (__strtol_l): Remove PARAMS from the prototype.
52353 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52355 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52356 names. Just use the correct names. Remove unnecessary wrapper
52358 * malloc/arena.c: Likewise.
52359 * malloc/hooks.c: Likewise.
52361 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52362 ARENA_TEST says not to. Simplify test for creation of a new arena.
52363 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52365 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52367 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52369 (update_get_addr): New function.
52370 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52371 GET_ADDR_MODULE parameter.
52373 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52375 * crypt/cert.c: Remove __STDC__ conditionals.
52376 * crypt/crypt-entry.c: Likewise.
52377 * crypt/crypt_util.c: Likewise.
52378 * libio/filedoalloc.c: Likewise.
52379 * libio/fileops.c: Likewise.
52380 * libio/genops.c: Likewise.
52381 * libio/iofclose.c: Likewise.
52382 * libio/iofdopen.c: Likewise.
52383 * libio/iofopen.c: Likewise.
52384 * libio/iofopen64.c: Likewise.
52385 * libio/iogetdelim.c: Likewise.
52386 * libio/iopopen.c: Likewise.
52387 * libio/obprintf.c: Likewise.
52388 * libio/oldfileops.c: Likewise.
52389 * libio/oldiofclose.c: Likewise.
52390 * libio/oldiofdopen.c: Likewise.
52391 * libio/oldiofopen.c: Likewise.
52392 * libio/oldiopopen.c: Likewise.
52393 * libio/wfiledoalloc.c: Likewise.
52394 * libio/wgenops.c: Likewise.
52395 * locale/programs/xmalloc.c: Likewise.
52396 * misc/syslog.c: Likewise.
52397 * stdio-common/xbug.c: Likewise.
52398 * string/memchr.c: Likewise.
52399 * string/memcmp.c: Likewise.
52400 * string/memrchr.c: Likewise.
52401 * string/rawmemchr.c: Likewise.
52402 * sysdeps/posix/getcwd.c: Likewise.
52403 * time/strftime_l.c: Likewise.
52405 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52407 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52408 * config.make.in (config-cflags-sse2avx): Define.
52409 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52412 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52414 * scripts/config.guess: Update from upstream config git repository.
52415 * scripts/config.sub: Likewise.
52417 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52419 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52421 (R_TILEPRO_*, R_TILEGX_*): New macros.
52423 * scripts/firstversions.awk: Fix bug in version range handling.
52425 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52429 * include/sys/epoll.h: New file.
52430 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52433 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52435 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52436 Avoid unnecessary __WORDSIZE == 64 test.
52437 (fmaxf): Use VEX format if possible.
52442 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52443 * math/math_private.h: Remove libc_fegetround* and
52445 * sysdeps/i386/configure.in: Check for -msse2avx.
52446 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52447 also if SSE2AVX is defined.
52448 Remove libc_fegetround* and libc_fesetround*.
52449 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52450 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52454 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52459 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52461 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52467 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52470 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52472 * Makeconfig (libm): Define.
52473 * elf/Makefile: Add rules to build and run tst-relsort1.
52474 * elf/tst-relsort1.c: New file.
52475 * elf/tst-relsort1mod1.c: New file.
52476 * elf/tst-relsort1mod2.c: New file.
52478 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52480 * math/s_ldexp.c: Remove __STDC__ conditionals.
52481 * math/s_ldexpf.c: Likewise.
52482 * math/s_ldexpl.c: Likewise.
52483 * math/s_nextafter.c: Likewise.
52484 * math/s_nexttowardf.c: Likewise.
52485 * math/s_significand.c: Likewise.
52486 * math/s_significandf.c: Likewise.
52487 * math/s_significandl.c: Likewise.
52488 * math/w_jnl.c: Likewise.
52489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52495 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52496 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52498 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52510 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52517 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52519 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52520 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52521 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52522 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52524 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52525 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52526 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52527 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52528 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52529 * sysdeps/ieee754/k_standard.c: Likewise.
52530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52532 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52534 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52549 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52552 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52555 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52561 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52565 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52566 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52570 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52575 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52579 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52580 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52591 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52594 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52595 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52596 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52609 * sysdeps/ieee754/s_matherr.c: Likewise.
52610 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52611 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52615 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52617 * crypt/md5.h: Remove __STDC__ conditionals.
52618 * libio/libioP.h: Likewise.
52619 * locale/programs/config.h: Likewise.
52620 * sysdeps/generic/sysdep.h: Likewise.
52621 * sysdeps/i386/asm-syntax.h: Likewise.
52622 * sysdeps/s390/asm-syntax.h: Likewise.
52623 * sysdeps/unix/sysdep.h: Likewise.
52624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52627 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52629 * libio/libio.h: Remove __STDC__ conditionals.
52630 * malloc/obstack.h: Likewise.
52631 * math/complex.h: Likewise.
52632 * math/math.h: Likewise.
52633 * sysdeps/generic/_G_config.h: Likewise.
52634 * sysdeps/gnu/_G_config.h: Likewise.
52635 * sysdeps/mach/hurd/_G_config.h: Likewise.
52636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52638 * sysdeps/sparc/bits/mathdef.h: Likewise.
52640 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52643 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52644 Clean up HAS_* macros.
52645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52646 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52656 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52658 * elf/tst-unique3.cc (gets): Remove declaration.
52659 * elf/tst-unique3lib.cc (gets): Likewise.
52660 * elf/tst-unique3lib2.cc (gets): Likewise.
52661 * elf/tst-unique4.cc (gets): Likewise.
52663 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52665 * include/stdio.h: Add C++ protection. Add gets declarations and
52667 * debug/tst-chk1.c: Don't declare gets here.
52668 * stdio-common/tst-gets.c: Likewise.
52670 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52672 * posix/glob: Remove directory.
52674 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52676 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52678 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52680 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52681 of the non-standard EPFNOSUPPORT.
52683 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52685 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52686 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52687 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52689 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52691 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52693 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52695 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52697 * nscd/grpcache.c (cache_addgr): Likewise.
52698 * nscd/hstcache.c (cache_addhst): Likewise.
52699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52700 * nscd/pwdcache.c (cache_addpw): Likewise.
52701 * nscd/servicescache.c (cache_addserv): Likewise.
52703 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52705 * malloc/malloc.c: Various cleanups.
52706 * malloc/hooks.c: Likewise.
52708 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52709 * stdlib/bug-fmtmsg1.c: New file.
52711 * stdlib/fmtmsg.c (init): Add missing unlock.
52712 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52714 2012-01-12 Marek Polacek <polacek@redhat.com>
52716 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52719 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52721 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52723 macro to ensure uniqueness of label name.
52724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52727 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52729 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52736 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52740 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52744 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52751 * math/bits/math-finite.h: Add ldexp support.
52753 2012-01-10 Marek Polacek <polacek@redhat.com>
52755 * locale/programs/localedef.h (show_archive_content): Add noreturn
52758 2012-01-09 Ulrich Drepper <drepper@gmail.com>
52760 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52762 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52764 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52766 * io/Makefile (headers): Add bits/poll2.h.
52768 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52771 typo #include statement.
52773 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52775 * include/sys/cdefs.h: Define __attribute_alloc_size.
52776 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52777 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52778 * elf/pldd.c: Likewise.
52779 * iconv/iconv_charmap.c: Likewise.
52780 * iconv/iconvconfig.c: Likewise.
52781 * iconv/strtab.c: Likewise.
52782 * locale/programs/locale.c: Likewise.
52783 * locale/programs/localedef.h: Likewise.
52784 * locale/programs/simple-hash.c: Likewise.
52785 * nscd/nscd.h: Likewise.
52786 * nss/makedb.c: Likewise.
52787 * sysdeps/generic/ldconfig.h: Likewise.
52788 * locale/programs/localedef.c: Remove xmalloc prototype.
52789 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52791 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52796 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52798 * math/Makefile (tests): Add tst-CMPLX.
52799 * math/tst-CMPLX.c: New file.
52801 * math/complex.h (CMPLXL): Fix typo.
52803 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52804 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52806 * debug/tst-chk1.c: Add poll and ppoll tests.
52807 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52808 * include/sys/poll.h: Add hidden proto for ppoll.
52809 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52810 * sysdeps/mach/hurd/ppoll.c: Likewise.
52811 * io/ppoll.c: Likewise.
52812 * debug/poll_chk.c: New file.
52813 * debug/ppoll_chk.c: New file.
52814 * include/bits/poll2.h: New file.
52815 * io/bits/poll2.h: New file.
52818 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52820 * configure.in: static is always set to yes. Remove.
52821 * config.make.in: Don't set build-static.
52822 * Makeconfig: Remove use of build-static.
52823 * dlfcn/Makefile: Likewise.
52824 * elf/Makefile: Likewise.
52825 * math/Makefile: Likewise.
52826 * misc/Makefile: Likewise.
52827 * nptl/Makefile: Likewise.
52828 * sysdeps/mach/hurd/Makefile: Likewise.
52830 * configure.in: PWD_P is not used anymore.
52831 * config.make.in: Remove PWD_P entry.
52833 * configure.in: Remove last remnants of RANLIB.
52834 No need to check for signed size_t anymore.
52835 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52837 Remove __builtin_expect test because we require at least gcc 3.4.
52838 * aclocal.m4: Likewise.
52840 * wcsmbs/mbrtoc16.c: Implement using towc function.
52841 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52842 * wcsmbs/wcsmbsload.c: Likewise.
52843 * iconv/gconv_simple.c: Likewise.
52844 * iconv/gconv_int.h: Likewise.
52845 * iconv/gconv_builtin.h: Likewise.
52846 * iconv/iconv_prog.c: Remove CHAR16 handling.
52848 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52850 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52852 * configure.in: Remove --with-elf and --enable-bounded options.
52853 Dont set base_machine for ia64. More non-ELF conditions removed.
52854 Remove testing and setting of leading underscore information.
52855 * config.make.in (build-bounded): Set to no.
52856 * config.h.in: Remove NO_UNDERSCORES entry.
52857 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52859 * csu/start.c: Remove !NO_UNDERSCORE code.
52860 * locale/localeinfo.h: Likewise.
52861 * sysdeps/generic/machine-gmon.h: Likewise.
52862 * sysdeps/generic/sysdep.h: Likewise.
52863 * sysdeps/i386/sysdep.h: Likewise.
52864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52865 * sysdeps/mach/sysdep.h: Likewise.
52866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52868 * sysdeps/sh/sysdep.h: Likewise.
52869 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52870 * sysdeps/unix/i386/sysdep.S: Likewise.
52871 * sysdeps/unix/sparc/start.c: Likewise.
52872 * sysdeps/unix/sparc/sysdep.S: Likewise.
52873 * sysdeps/unix/sparc/sysdep.h: Likewise.
52874 * sysdeps/unix/start.c: Likewise.
52875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52876 * sysdeps/x86_64/sysdep.h: Likewise.
52878 2012-01-07 Ulrich Drepper <drepper@gmail.com>
52881 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52883 * argp/argp-fmtstream.h: Use const instead __const.
52884 * argp/argp.h: Likewise.
52885 * assert/assert.h: Likewise.
52886 * bits/fenv.h: Likewise.
52887 * bits/sched.h: Likewise.
52888 * bits/sigset.h: Likewise.
52889 * bits/sigthread.h: Likewise.
52890 * catgets/nl_types.h: Likewise.
52891 * conform/data/pthread.h-data: Likewise.
52892 * crypt/crypt-private.h: Likewise.
52893 * crypt/crypt.h: Likewise.
52894 * crypt/crypt_util.c: Likewise.
52895 * ctype/ctype.h: Likewise.
52896 * debug/execinfo.h: Likewise.
52897 * debug/mbsnrtowcs_chk.c: Likewise.
52898 * debug/mbsrtowcs_chk.c: Likewise.
52899 * debug/wcsnrtombs_chk.c: Likewise.
52900 * debug/wcsrtombs_chk.c: Likewise.
52901 * debug/wcstombs_chk.c: Likewise.
52902 * dirent/dirent.h: Likewise.
52903 * dlfcn/dlfcn.h: Likewise.
52904 * elf/neededtest4.c: Likewise.
52905 * grp/grp.h: Likewise.
52906 * gshadow/gshadow.h: Likewise.
52907 * iconv/gconv.h: Likewise.
52908 * iconv/gconv_int.h: Likewise.
52909 * iconv/gconv_simple.c: Likewise.
52910 * iconv/iconv.h: Likewise.
52911 * iconv/loop.c: Likewise.
52912 * iconv/skeleton.c: Likewise.
52913 * include/aio.h: Likewise.
52914 * include/aliases.h: Likewise.
52915 * include/argz.h: Likewise.
52916 * include/arpa/inet.h: Likewise.
52917 * include/assert.h: Likewise.
52918 * include/dirent.h: Likewise.
52919 * include/dlfcn.h: Likewise.
52920 * include/execinfo.h: Likewise.
52921 * include/fcntl.h: Likewise.
52922 * include/fenv.h: Likewise.
52923 * include/glob.h: Likewise.
52924 * include/grp.h: Likewise.
52925 * include/libintl.h: Likewise.
52926 * include/mntent.h: Likewise.
52927 * include/netdb.h: Likewise.
52928 * include/pwd.h: Likewise.
52929 * include/rpc/netdb.h: Likewise.
52930 * include/sched.h: Likewise.
52931 * include/search.h: Likewise.
52932 * include/shadow.h: Likewise.
52933 * include/signal.h: Likewise.
52934 * include/stdio.h: Likewise.
52935 * include/stdlib.h: Likewise.
52936 * include/string.h: Likewise.
52937 * include/sys/socket.h: Likewise.
52938 * include/sys/stat.h: Likewise.
52939 * include/sys/statfs.h: Likewise.
52940 * include/sys/statvfs.h: Likewise.
52941 * include/sys/syslog.h: Likewise.
52942 * include/sys/time.h: Likewise.
52943 * include/sys/uio.h: Likewise.
52944 * include/time.h: Likewise.
52945 * include/unistd.h: Likewise.
52946 * include/utmp.h: Likewise.
52947 * include/wchar.h: Likewise.
52948 * include/wctype.h: Likewise.
52949 * inet/aliases.h: Likewise.
52950 * inet/arpa/inet.h: Likewise.
52951 * inet/netinet/ether.h: Likewise.
52952 * inet/netinet/in.h: Likewise.
52953 * intl/libintl.h: Likewise.
52954 * io/bits/fcntl2.h: Likewise.
52955 * io/fcntl.h: Likewise.
52956 * io/ftw.h: Likewise.
52957 * io/sys/poll.h: Likewise.
52958 * io/sys/stat.h: Likewise.
52959 * io/sys/statfs.h: Likewise.
52960 * io/sys/statvfs.h: Likewise.
52961 * io/utime.h: Likewise.
52962 * libio/bits/stdio.h: Likewise.
52963 * libio/bits/stdio2.h: Likewise.
52964 * libio/libio.h: Likewise.
52965 * libio/libioP.h: Likewise.
52966 * libio/stdio.h: Likewise.
52967 * locale/lc-ctype.c: Likewise.
52968 * locale/locale.h: Likewise.
52969 * login/utmp.h: Likewise.
52970 * malloc/arena.c: Likewise.
52971 * malloc/malloc.c: Likewise.
52972 * malloc/malloc.h: Likewise.
52973 * malloc/mcheck.c: Likewise.
52974 * malloc/mtrace.c: Likewise.
52975 * math/bits/mathcalls.h: Likewise.
52976 * math/fenv.h: Likewise.
52977 * math/math_private.h: Likewise.
52978 * misc/bits/error.h: Likewise.
52979 * misc/bits/syslog.h: Likewise.
52980 * misc/err.h: Likewise.
52981 * misc/error.h: Likewise.
52982 * misc/fstab.h: Likewise.
52983 * misc/mntent.h: Likewise.
52984 * misc/regexp.h: Likewise.
52985 * misc/search.h: Likewise.
52986 * misc/sgtty.h: Likewise.
52987 * misc/sys/mman.h: Likewise.
52988 * misc/sys/syslog.h: Likewise.
52989 * misc/sys/uio.h: Likewise.
52990 * misc/sys/xattr.h: Likewise.
52991 * misc/ttyent.h: Likewise.
52992 * nis/rpcsvc/ypclnt.h: Likewise.
52993 * nss/nss.h: Likewise.
52994 * posix/bits/unistd.h: Likewise.
52995 * posix/fnmatch.h: Likewise.
52996 * posix/glob.h: Likewise.
52997 * posix/sched.h: Likewise.
52998 * posix/spawn.h: Likewise.
52999 * posix/sys/wait.h: Likewise.
53000 * posix/unistd.h: Likewise.
53001 * posix/wordexp.h: Likewise.
53002 * pwd/pwd.h: Likewise.
53003 * resolv/netdb.h: Likewise.
53004 * resource/sys/resource.h: Likewise.
53005 * rt/aio.h: Likewise.
53006 * rt/bits/mqueue2.h: Likewise.
53007 * rt/mqueue.h: Likewise.
53008 * shadow/shadow.h: Likewise.
53009 * signal/signal.h: Likewise.
53010 * socket/send.c: Likewise.
53011 * socket/sendto.c: Likewise.
53012 * socket/sys/socket.h: Likewise.
53013 * stdio-common/printf.h: Likewise.
53014 * stdlib/bits/stdlib.h: Likewise.
53015 * stdlib/fmtmsg.h: Likewise.
53016 * stdlib/monetary.h: Likewise.
53017 * stdlib/stdlib.h: Likewise.
53018 * stdlib/ucontext.h: Likewise.
53019 * streams/stropts.h: Likewise.
53020 * string/argz.h: Likewise.
53021 * string/bits/string2.h: Likewise.
53022 * string/string.h: Likewise.
53023 * string/strings.h: Likewise.
53024 * sunrpc/rpc/auth.h: Likewise.
53025 * sunrpc/rpc/auth_des.h: Likewise.
53026 * sunrpc/rpc/clnt.h: Likewise.
53027 * sunrpc/rpc/netdb.h: Likewise.
53028 * sunrpc/rpc/pmap_clnt.h: Likewise.
53029 * sunrpc/rpc/xdr.h: Likewise.
53030 * sysdeps/generic/inttypes.h: Likewise.
53031 * sysdeps/generic/net/if.h: Likewise.
53032 * sysdeps/generic/sys/swap.h: Likewise.
53033 * sysdeps/gnu/net/if.h: Likewise.
53034 * sysdeps/gnu/utmpx.h: Likewise.
53035 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53036 * sysdeps/i386/i486/bits/string.h: Likewise.
53037 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53038 * sysdeps/s390/bits/string.h: Likewise.
53039 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53040 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53041 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53042 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53043 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53044 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53045 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53046 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53047 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53048 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53049 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53050 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53051 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53052 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53053 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53054 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53055 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53059 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53060 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53061 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53062 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53063 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53064 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53067 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53069 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53070 * sysvipc/sys/ipc.h: Likewise.
53071 * sysvipc/sys/msg.h: Likewise.
53072 * sysvipc/sys/sem.h: Likewise.
53073 * sysvipc/sys/shm.h: Likewise.
53074 * termios/termios.h: Likewise.
53075 * time/sys/time.h: Likewise.
53076 * time/time.h: Likewise.
53077 * wcsmbs/bits/wchar2.h: Likewise.
53078 * wcsmbs/uchar.h: Likewise.
53079 * wcsmbs/wchar.h: Likewise.
53080 * wctype/wctype.h: Likewise.
53083 * Makeconfig: Remove all but ELF support including AIX support.
53084 * Makerules: Likewise.
53085 * config.h.in: Likewise.
53086 * config.make.in: Likewise.
53087 * configure: Likewise.
53088 * configure.in: Likewise.
53089 * csu/Makefile: Likewise.
53090 * csu/version.c: Likewise.
53091 * debug/Makefile: Likewise.
53092 * dlfcn/Makefile: Likewise.
53093 * elf/Makefile: Likewise.
53094 * extra-lib.mk: Likewise.
53095 * iconv/Makefile: Likewise.
53096 * include/libc-symbols.h: Likewise.
53097 * include/shlib-compat.h: Likewise.
53098 * resolv/Makefile: Likewise.
53099 * resolv/res_libc.c: Likewise.
53100 * rt/Makefile: Likewise.
53101 * sysdeps/i386/asm-syntax.h: Likewise.
53102 * sysdeps/i386/sysdep.h: Likewise.
53103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53104 * sysdeps/mach/sysdep.h: Likewise.
53105 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53106 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53107 * sysdeps/s390/asm-syntax.h: Likewise.
53108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53110 * sysdeps/sh/sysdep.h: Likewise.
53111 * sysdeps/unix/sparc/sysdep.h: Likewise.
53112 * sysdeps/wordsize-32/divdi3.c: Likewise.
53113 * sysdeps/x86_64/sysdep.h: Likewise.
53115 * argp/Versions: Remove _argp_unlock_xxx.
53118 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53119 * abilist/libBrokenLocale.abilist: Likewise.
53120 * abilist/libanl.abilist: Likewise.
53121 * abilist/libc.abilist: Likewise.
53122 * abilist/libcrypt.abilist: Likewise.
53123 * abilist/libdl.abilist: Likewise.
53124 * abilist/libm.abilist: Likewise.
53125 * abilist/libnsl.abilist: Likewise.
53126 * abilist/libpthread.abilist: Likewise.
53127 * abilist/libresolv.abilist: Likewise.
53128 * abilist/librt.abilist: Likewise.
53129 * abilist/libthread_db.abilist: Likewise.
53130 * abilist/libutil.abilist: Likewise.
53131 * abilist/libnss_db.abilist: New file.
53133 * scripts/abilist.awk: Add support for indirect functions.
53135 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53137 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53139 * shlib-versions: Remove entries for ports architectures.
53141 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53143 * elf/stackguard-macros.h: Remove support for IA-64.
53144 * elf/tst-auditmod1.c: Likewise.
53145 * sysdeps/generic/ldsodefs.h: Likewise.
53147 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53148 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53152 * configure.in: Remove --enable-omitfp support.
53154 * config.make.in: Likewise.
53155 * Makeconfig: Likewise.
53156 * manual/install.texi: Likewise.
53158 In case anyone cares, the IA-64 architecture could move to ports.
53159 * sysdeps/ia64/*: Removed.
53160 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53161 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53164 * configure.in: Remove entries for unsupported architectures.
53167 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53168 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53170 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53171 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53172 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53173 fall back to using wcrtomb.
53174 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53175 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53177 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53178 * wcsmbs/tst-c16c32-1.c: New file.
53180 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53183 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53185 * elf/tst-unique3.cc: Add explicit declaration of gets.
53186 * elf/tst-unique3lib.cc: Likewise.
53187 * elf/tst-unique3lib2.cc: Likewise.
53188 * elf/tst-unique4.cc: Likewise.
53190 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53192 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53195 * assert/assert.h (static_assert): Don't define for C++.
53196 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53197 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53199 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53201 * iconv/loop.c (single loop): Fix assertion in storing of
53204 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53206 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53208 * posix/getconf.c: Update copyright year.
53209 * nss/getent.c: Likewise.
53210 * nss/makedb.c: Likewise.
53211 * iconv/iconvconfig.c: Likewise.
53212 * iconv/iconv_prog.c: Likewise.
53213 * elf/ldconfig.c: Likewise.
53214 * elf/pldd.c: Likewise.
53215 * elf/sotruss.ksh: Likewise.
53216 * catgets/gencat.c: Likewise.
53217 * csu/version.c: Likewise.
53218 * elf/ldd.bash.in: Likewise.
53219 * elf/sprof.c (print_version): Likewise.
53220 * locale/programs/locale.c: Likewise.
53221 * locale/programs/localedef.c: Likewise.
53222 * login/programs/pt_chown.c: Likewise.
53223 * nscd/nscd.c (print_version): Likewise.
53224 * debug/xtrace.sh: Likewise.
53225 * malloc/memusage.sh: Likewise.
53226 * malloc/mtrace.pl: Likewise.
53227 * debug/catchsegv.sh: Likewise.
53229 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53231 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53234 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53237 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53238 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53240 * iconv/gconv_int.h: Likewise.
53241 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53242 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53243 from libc for GLIBC_2.16.
53244 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53245 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53246 * wcsmbs/uchar.h: Really define mbstate_t.
53247 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53248 * wcsmbs/c16rtomb.c: New file.
53249 * wcsmbs/mbrtoc16.c: New file.
53250 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53251 for C/POSIX locale.
53252 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53253 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53255 * wcsmbs/wchar.h: Add missing __restrict.
53257 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53260 * time/Makefile (routines): Add timespec_get.
53261 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53262 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53263 timespec for ISO C11.
53264 * time/timespec_get.c: New file.
53265 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53266 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53269 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53270 * stdlib/stdlib.h: Declare aligned_alloc.
53271 * Versions.def: Add GLIBC_2.16 for libc.
53272 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53275 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53278 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53282 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53285 * assert/assert.h (static_assert): Define.
53287 * version.h: Update for 2.16 development version.
53290 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53293 * version.h (RELEASE): Bump for 2.15 release.
53294 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53296 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53297 Patch by Marek Polacek <mpolacek@redhat.com>.
53299 * bits/byteswap.h: Protect long long constants with __extension__.
53300 * sysdeps/i386/bits/byteswap.h: Likewise.
53301 * sysdeps/ia64/bits/byteswap.h: Likewise.
53302 * sysdeps/s390/bits/byteswap.h: Likewise.
53303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53305 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53309 destination buffer.
53310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53312 2011-12-23 Marek Polacek <polacek@redhat.com>
53314 * elf/dl-addr.c (determine_info): Add inline keyword.
53315 * elf/tst-auditmod4b.c (check_avx): Likewise.
53316 * elf/tst-auditmod6b.c (check_avx): Likewise.
53317 * elf/tst-auditmod6c.c (check_avx): Likewise.
53318 * elf/tst-auditmod7b.c (check_avx): Likewise.
53320 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53325 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53329 processing for last bytes.
53331 2011-08-06 Bruno Haible <bruno@clisp.org>
53334 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53335 U+0385, not to U+1FEE.
53338 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53339 entry for U+00A5 U+0301.
53341 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53344 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53345 buffer for the output is too small.
53347 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53351 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53352 SSE flags if possible.
53354 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53358 processing for last bytes.
53360 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53362 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53363 (syscall-list-default-options, syscall-list-default-condition)
53364 (syscall-list-includes): Define.
53365 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53366 list of ABIs and options and #if conditions for each ABI. Do not
53367 handle common syscalls between ABIs specially.
53368 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53370 (syscall-list-variants, syscall-list-32bit-options)
53371 (syscall-list-32bit-condition, syscall-list-64bit-options)
53372 (syscall-list-64bit-condition): Define.
53373 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53374 (syscall-list-variants, syscall-list-32bit-options)
53375 (syscall-list-32bit-condition, syscall-list-64bit-options)
53376 (syscall-list-64bit-condition): Define.
53377 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53379 (syscall-list-variants, syscall-list-32bit-options)
53380 (syscall-list-32bit-condition, syscall-list-64bit-options)
53381 (syscall-list-64bit-condition): Define.
53382 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53384 (syscall-list-variants, syscall-list-32bit-options)
53385 (syscall-list-32bit-condition, syscall-list-64bit-options)
53386 (syscall-list-64bit-condition): Define.
53388 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53390 * locale/iso-639.def: Add brx entry.
53393 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53394 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53396 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53397 __feraiseexcept_renamed.
53399 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53402 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53403 EPOLLET with unsigned values.
53404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53407 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53408 to large cancellation.
53409 * math/s_cacoshf.c: Likewise.
53410 * math/s_cacoshl.c: Likewise.
53412 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53416 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53417 * math/s_cacoshf.c: Likewise.
53418 * math/s_cacoshl.c: Likewise.
53420 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53423 * iconv/gconv.h: Define __GCONV_SWAP.
53424 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53425 * iconvdata/utf-16.c: Likewise.
53426 * iconvdata/utf-32.c: Likewise.
53428 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53432 numerator after shifting it by one limb.
53434 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53436 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53437 under [__USE_EXTERN_INLINES].
53439 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53442 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53444 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53446 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53447 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53449 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53450 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53451 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53452 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53453 for strncasecmp/strncasecmp_l compilation.
53454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53455 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53457 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53460 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53463 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53466 * time/tzfile.c (__tzfile_read): Check values from file header.
53468 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53470 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53471 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53472 * powerpc/powerpc32/dl-start.S: Likewise.
53473 * powerpc/powerpc32/elf/start.S: Likewise.
53474 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53475 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53476 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53477 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53478 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53479 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53480 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53481 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53482 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53483 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53484 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53485 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53486 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53487 * powerpc/powerpc32/memset.S: Likewise.
53488 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53489 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53490 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53491 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53492 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53493 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53494 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53495 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53496 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53497 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53499 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53500 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53502 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53504 * math/libm-test.inc: Added more nearbyint tests.
53505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53510 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53512 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53515 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53517 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53518 Add wcscpy-ssse3 wcscpy-c.
53519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53520 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53521 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53522 * sysdeps/x86_64/wcschr.S: New file.
53523 * sysdeps/x86_64/wcsrchr.S: New file.
53524 * string/test-strcmp.c: Remove checking of wcscmp function for
53526 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53527 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53528 wcsrchr-sse2 wcsrchr-c.
53529 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53530 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53531 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53532 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53533 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53534 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53535 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53536 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53538 * wcsmbc/wcschr.c (WCSCHR): New macro.
53540 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53542 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53543 * wcsmbs/test-wcsrchr.c: New file.
53544 * string/test-strrchr.c: Add wcsrchr support.
53546 * wcsmbs/test-wcscpy.c: New file.
53547 * string/test-strcpy.c: Add wcscpy support.
53550 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53555 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53558 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53560 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53563 Minor optimizations.
53565 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53566 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53567 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53569 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53571 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53572 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53573 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53574 for gcc to avoid warnings.
53575 * inet/Makefile (tests): Add tst-checks.
53576 * inet/tst-checks.c: New file.
53578 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53581 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53584 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53585 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53587 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53589 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53591 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53594 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53596 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53598 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53599 conditional on GCC version.
53600 (__arch_compare_and_exchange_val_8_acq)
53601 (__arch_compare_and_exchange_val_16_acq)
53602 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53603 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53604 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53606 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53608 * sysdeps/sh/backtrace.c: New file.
53610 2011-12-02 Andreas Schwab <schwab@redhat.com>
53612 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53615 2011-12-01 Andreas Schwab <schwab@redhat.com>
53617 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53618 falling back to utime.
53620 2011-11-30 Andreas Schwab <schwab@redhat.com>
53622 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53623 expectations for float.
53625 2011-11-29 Andreas Schwab <schwab@redhat.com>
53627 * locale/weight.h (findidx): Add parameter len.
53628 * locale/weightwc.h (findidx): Likewise.
53629 * posix/fnmatch_loop.c (FCT): Adjust caller.
53630 * posix/regcomp.c (build_equiv_class): Likewise.
53631 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53632 * posix/regexec.c (check_node_accept_bytes): Likewise.
53633 * string/strcoll_l.c (STRCOLL): Likewise.
53634 * string/strxfrm_l.c (STRXFRM): Likewise.
53636 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53638 * Makefile.in: Remove CVSOPT handling.
53639 * configure.in: Remove use of AC_REVISION.
53640 * iconvdata/Makefile (distribute): No need to filter out CVS.
53641 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53644 2011-11-16 Andreas Schwab <schwab@redhat.com>
53646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53647 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53648 [USE_AS_STRNCASECMP_L]: Likewise.
53649 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53650 NO_TLS_DIRECT_SEG_REFS.
53651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53652 Fix argument offsets for non-PIC.
53653 [USE_AS_STRNCASECMP_L]: Likewise.
53654 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53655 NO_TLS_DIRECT_SEG_REFS.
53657 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53659 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53661 * locale/loadlocale.c (_nl_load_locale): Likewise.
53663 2011-11-15 Andreas Schwab <schwab@redhat.com>
53665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53666 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53668 (SYSCALL_GETTIME): Set errno on error.
53670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53671 count references to noai6ai_cached.
53673 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53675 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53677 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53678 FD_CLOEXEC for /proc/self/maps.
53680 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53681 FD_CLOEXEC for /proc/meminfo.
53683 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53686 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53687 FD_CLOEXEC for given file.
53689 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53691 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53692 FD_CLOEXEC for /etc/hosts.
53693 (_gethtent): Likewise.
53695 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53697 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53698 cancellation and set FD_CLOEXEC for /etc/netgroup.
53700 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53701 reading /etc/publickey.
53703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53704 allow cancellation when reading /etc/group.
53706 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53708 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53710 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53711 when using data file.
53713 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53715 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53716 (write_nis_obj): Use "c" and "e" in fopen.
53718 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53720 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53722 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53724 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53726 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53729 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53731 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53733 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53735 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53736 file parsing and set FD_CLOEXEC.
53738 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53740 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53742 2011-11-14 Andreas Schwab <schwab@redhat.com>
53744 * malloc/arena.c (arena_get2): Don't call reused_arena when
53745 _int_new_arena failed.
53747 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53750 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53755 to compile strcasecmp and strncasecmp.
53756 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53757 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53761 2011-11-13 Ulrich Drepper <drepper@gmail.com>
53763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53764 locale-defines.sym to gen-as-const-headers.
53765 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53766 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53768 to compile strcasecmp and strncasecmp.
53769 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53770 strcasecmp_l and strncasecmp_l.
53771 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53772 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53773 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53775 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53776 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53777 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53778 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53779 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53780 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53781 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53783 2011-11-12 Ulrich Drepper <drepper@gmail.com>
53785 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53786 result of SYSDEP_GETTIME_CPU to retval.
53787 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53788 parameter list to macro. Remove trailing semicolon. Adjust users.
53790 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53795 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53798 from unused variable.
53800 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53802 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53805 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53808 * sunrpc/rpc_prot.c (rejected): Fix case value.
53810 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53811 unsigned long long int to avoid warnings in shift.
53813 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53815 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53818 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53819 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53822 * nis/nis_table.c (nis_list): Use variable of correct type for
53823 result of __follow_path call.
53825 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53827 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53828 of math functions ceil, trunc, floor, round, and sqrt, when
53829 avaliable on the platform.
53830 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53832 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53833 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53834 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53836 2011-10-30 Marek Polacek <mpolacek@redhat.com>
53838 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53841 2011-11-11 Roland McGrath <roland@hack.frob.com>
53843 * include/unistd.h: Fix __readlink return type.
53844 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53846 2011-11-11 Ulrich Drepper <drepper@gmail.com>
53848 * stdlib/ucontext.h: Undo last change for makecontext.
53850 2011-11-11 Andreas Schwab <schwab@redhat.com>
53852 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53854 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53855 * setjmp/setjmp.h: Mark functions as non-leaf.
53856 * setjmp/bits/setjmp2.h: Likewise.
53857 * stdlib/ucontext.h: Likewise.
53859 2011-11-10 Andreas Schwab <schwab@redhat.com>
53861 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53862 (reused_arena): Don't check arena limit.
53863 (arena_get2): Atomically check arena limit.
53865 2011-11-08 Ulrich Drepper <drepper@gmail.com>
53867 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53868 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53873 2011-11-07 Andreas Schwab <schwab@redhat.com>
53875 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53876 handler when locking.
53878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53879 Fix size of allocated buffer.
53881 2011-11-04 Andreas Schwab <schwab@redhat.com>
53884 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53885 declarations for long double functions.
53886 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53888 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53890 2011-11-03 Andreas Schwab <schwab@redhat.com>
53892 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53895 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53898 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53900 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53902 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53904 * include/alloca.h (stackinfo_alloca_round): Define.
53905 (extend_alloca): Use it.
53906 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53907 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53910 * scripts/check-local-headers.sh: Ignore libaudit.h.
53912 * nscd/Makefile (extra-objs): Make recursively expanded.
53914 2011-11-01 Ulrich Drepper <drepper@gmail.com>
53916 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53919 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53920 * posix/tst-rfc3484-2.c: Likewise.
53921 * posix/tst-rfc3484-3.c: Likewise.
53923 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53925 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53927 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53928 process_vm_writev from libc using GLIBC_2.15 version.
53930 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53932 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53934 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53937 2011-10-31 Ulrich Drepper <drepper@gmail.com>
53940 * nss/getent.c (initgroups_keys): Show error message in case no group
53943 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53944 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53945 __bump_nl_timestamp.
53946 * nscd/connections (nscd_init): When host database is served open
53947 netlink socket and request notification about configuration changes.
53948 (main_loop_poll): Track netlink file descriptor and bump timestamp
53949 in case data becomes available.
53950 (main_loop_epoll): Likewise.
53951 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53952 (database_pers_head): Add extra_data fileds.
53953 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53954 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53955 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53958 in6ai data, call __free_in6ai.
53959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53960 Add -DHAVE_NETLINK.
53961 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53962 interface information. Reuse previous data if netlink timestamp
53964 (__bump_nl_timestamp): New function.
53965 (__free_in6ai): New function.
53967 2011-10-30 Ulrich Drepper <drepper@gmail.com>
53969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53970 close_not_cancel_no_status here.
53971 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53973 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53976 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53979 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53980 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53981 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53983 2011-07-03 Andreas Jaeger <aj@suse.de>
53986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53987 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53988 * math/libm-test.inc (sin_test): Add test case.
53990 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53993 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53996 * elf/chroot_canon.c (chroot_canon): Cleanups.
53998 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54001 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54004 * string/test-strchr.c: Make usable for strchrnul testing.
54005 * string/test-strchrnul.c: New file.
54006 * string/Makefile (strop-tests): Add strchrnul.
54008 * po/it.po: Update from translation team.
54009 * po/es.po: Likewise.
54011 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54014 the three constants needed as parameters. Drop the others.
54015 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54016 __m128i_strloadu_tolower.
54017 Create and initialize variable zero and use it in all the places
54018 where _mm_setzero_si128 was used.
54020 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54021 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54022 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54025 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54028 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54030 __mpranred, __mptan.
54031 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54032 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54033 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54034 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54035 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54036 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54038 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54039 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54041 2011-10-28 Andreas Schwab <schwab@redhat.com>
54043 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54044 redefine if SHARED.
54045 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54048 wide char related routines to wcsmbs subdir.
54050 2011-10-27 Andreas Schwab <schwab@redhat.com>
54053 * misc/sys/cdefs.h (__THROWNL): Define.
54054 * posix/unistd.h: Use __THREADNL instead of __THREAD
54055 for memory synchronization functions.
54057 2011-10-26 Roland McGrath <roland@hack.frob.com>
54060 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54062 * manual/stdio.texi (Obstack Streams): Node removed.
54064 2011-10-26 Andreas Schwab <schwab@redhat.com>
54066 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54068 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54070 * math/math_private.h (math_force_eval): Allow non-addressable
54072 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54074 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54077 file is not needed.
54079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54082 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54083 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54085 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54086 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54092 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54093 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54094 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54096 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54097 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54098 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54099 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54101 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54102 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54103 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54106 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54108 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54109 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54112 place. Use VEX encoding when compiling for AVX.
54114 2011-10-25 Andreas Schwab <schwab@redhat.com>
54116 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54117 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54119 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54121 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54123 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54124 useless if() expression.
54125 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54129 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54137 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54145 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54147 2011-10-25 Andreas Schwab <schwab@redhat.com>
54149 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54153 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54155 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54156 .text section. Avoid duplicate constants.
54157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54166 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54173 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54174 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54180 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54181 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54182 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54183 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54184 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54185 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54188 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54189 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54190 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54191 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54192 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54193 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54195 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54196 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54197 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54199 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54201 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54203 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54205 * sysdeps/x86_64/dla.h: Move to ...
54206 * sysdeps/x86_64/fpu/dla.h: ...here.
54207 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54208 situations. Use __builtin_fma only for gcc 4.6 and up.
54210 * config.make.in: Add have-mfma4 entry.
54211 * configure.in: Substitute libc_cv_cc_fma4.
54212 * math/Makefile (dbl-only-routines): Add sincostab.
54213 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54214 Use __sincostab not sincos.
54215 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54222 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54223 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54224 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54225 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54228 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54230 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54231 define aliases when function name is a macro.
54232 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54233 sysdeps/ieee754/dbl-64/sincos.tbl.
54234 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54235 fma4-enabled routines.
54236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54240 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54246 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54248 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54256 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54263 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54265 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54267 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54278 2011-10-24 Andreas Schwab <schwab@redhat.com>
54280 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54282 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54286 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54290 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54291 Remove unused variable magic_bits.
54292 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54294 * string/strnlen.c: Define and use STRNLEN macro.
54295 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54296 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54298 * wcsmbs/wcslen.c: Define and use WCSLEN.
54299 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54300 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54301 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54302 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54303 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54304 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54307 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54310 strnlen-sse2-no-bsf.
54311 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54313 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54314 Add strnlen support.
54315 (USE_AS_STRNLEN): New macro.
54316 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54317 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54318 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54319 * sysdeps/x86_64/wcslen.S: New file.
54321 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54324 XMM-moves are used for copying on small sizes.
54326 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54328 * wcsmbs/Makefile (strop-tests): Add wcschr.
54329 * wcsmbs/test-wcschr.c: New file.
54330 * string/test-strchr.c: Update.
54331 Add wcschr support.
54334 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54336 * wcsmbs/Makefile (strop-tests): Add wcslen.
54337 * wcsmbs/test-wcslen.c: New file.
54338 * string/test-strlen.c: Update.
54339 Add wcslen support.
54342 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54344 * po/it.po: Update from translation team.
54346 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54348 * sysdeps/x86_64/wcscmp.S: Update.
54349 Fix wrong comparison semantics.
54350 wcscmp shall use signed comparison not unsigned.
54351 Don't use substraction to avoid overflow bug.
54352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54353 * wcsmbc/wcscmp.c: Likewise.
54354 * string/test-strcmp.c: Likewise.
54355 Add new tests to check cases with negative values.
54357 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54359 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54360 * sysdeps/x86_64/dla.h: ...here. New file.
54361 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54371 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54374 __ynl_finite aliases.
54376 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54380 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54382 [DLA_FMA] (EMULV): Use DLA_FMA.
54383 [DLA_FMA] (MUL12): Use EMULV.
54384 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54385 that are not needed.
54386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54394 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54396 * math/s_nan.c: Undef __nan.
54397 * math/s_nanf.c: Undef __nanf.
54398 * math/s_nanl.c: Undef __nanl.
54399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54402 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54404 * math/s_catan.c: Add branch predictions.
54405 * math/s_catanf.c: Likewise.
54406 * math/s_catanh.c: Likewise.
54407 * math/s_catanhf.c: Likewise.
54408 * math/s_catanhl.c: Likewise.
54409 * math/s_catanl.c: Likewise.
54410 * math/s_cexp.c: Likewise.
54411 * math/s_cexpf.c: Likewise.
54412 * math/s_cexpl.c: Likewise.
54413 * math/s_clog.c: Likewise.
54414 * math/s_clog10.c: Likewise.
54415 * math/s_clog10f.c: Likewise.
54416 * math/s_clog10l.c: Likewise.
54417 * math/s_clogf.c: Likewise.
54418 * math/s_clogl.c: Likewise.
54419 * math/s_csqrt.c: Likewise.
54420 * math/s_csqrtf.c: Likewise.
54421 * math/s_csqrtl.c: Likewise.
54422 * math/s_ctanf.c: Likewise.
54423 * math/s_ctanh.c: Likewise.
54424 * math/s_ctanhf.c: Likewise.
54425 * math/s_ctanhl.c: Likewise.
54426 * math/s_ctanl.c: Likewise.
54428 * math/math_private.h: Define __nan, __nanf, __nanl.
54429 * math/s_cacosh.c: Include <math_private.h>.
54430 * math/s_cacoshl.c: Likewise.
54431 * math/s_casinh.c: Likewise.
54432 * math/s_casinhf.c: Likewise.
54433 * math/s_casinhl.c: Likewise.
54434 * math/s_ccos.c: Rely entire on ccosh.
54435 * math/s_ccosf.c: Rely entire on ccoshf.
54436 * math/s_ccosl.c: Rely entirely on ccoshl.
54437 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54438 Remove tests for FE_INVALID.
54439 * math/s_ccoshf.c: Likewise.
54440 * math/s_ccoshl.c: Likewise.
54441 * math/s_csin.c: Likewise.
54442 * math/s_csinf.c: Likewise.
54443 * math/s_csinh.c Likewise.
54444 * math/s_csinhf.c: Likewise.
54445 * math/s_csinhl.c: Likewise.
54446 * math/s_csinl.c: Likewise.
54447 * math/s_ctan.c: Likewise.
54448 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54449 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54452 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54455 compilation problems.
54457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54460 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54462 * sysdeps/i386/configure.in: Test for -mfma4 option.
54463 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54464 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54465 COMMON_CPUID_INDEX_80000001.
54466 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54467 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54468 use it if FMA3 is not supported.
54469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54471 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54472 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54474 2011-10-20 Andreas Schwab <schwab@redhat.com>
54477 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54478 it would create a cycle with a link time dependency.
54480 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54482 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54484 * string/Makefile (strop-tests): Add rawmemchr.
54485 * string/test-rawmemchr.c: New file.
54487 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54489 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54490 when compiling str{,n}casecmp and when AVX is available. Hook up
54491 new optimized code in initializers.
54493 2011-10-19 Andreas Schwab <schwab@redhat.com>
54495 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54496 __feraiseexcept instead of feraiseexcept.
54498 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54500 * math/math_private.h: Define defaults for libc_fetestexcept and
54502 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54503 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54504 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54505 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54506 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54508 libc_fetestexcept and libc_feupdateenv.
54510 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54511 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54512 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54513 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54514 libc_feholdexcept_setround.
54516 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54517 Add s_nearbyint-c and s_nearbyintf-c.
54518 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54519 nearbyintf inlines.
54520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54521 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54523 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54525 * math/math_private.h: Define defaults for libc_fegetround,
54526 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54527 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54528 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54530 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54531 standard functions.
54532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54533 Remove comments and hacks for old compiler versions.
54534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54535 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54536 libc_feholdexceptl.
54538 2011-10-18 Andreas Schwab <schwab@redhat.com>
54540 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54541 (__feraiseexcept_renamed): Add __NTH.
54542 (feraiseexcept): Add __NTH. Rename local variables to fix
54543 namespace violations.
54545 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54551 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54552 recently added interfaces.
54553 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54555 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54556 about macro parameter expansion.
54558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54559 __NO_MATH_INLINES is defined. Cleanups.
54561 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54562 and __floorf is target has SSE4.1.
54563 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54564 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54565 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54566 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54568 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54570 (floorf): Likewise.
54572 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54574 2011-10-17 Andreas Schwab <schwab@redhat.com>
54576 * misc/sys/cdefs.h: Fix last change.
54578 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54581 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54583 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54585 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54594 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54595 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54596 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54597 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54598 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54599 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54600 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54601 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54602 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54603 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54604 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54606 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54608 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54609 ceil, ceilf, floor, floorf.
54611 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54612 Perform IRELATIVE relocations last.
54614 * elf/do-rel.h: Add another parameter nrelative, replacing the
54615 local variable with the same name. Change name of the function
54616 to end in Rel or Rela (uppercase).
54617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54618 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54619 elf_dynamic_do_##reloc function.
54621 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54623 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54624 is sufficient, at least on modern CPUs.
54626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54628 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54629 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54631 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54633 * math/bits/math-finite.h: Add entries for exp.
54634 * math/e_expl.c: Add __*_finite alias.
54635 * sysdeps/i386/fpu/e_exp.S: Likewise.
54636 * sysdeps/i386/fpu/e_expf.S: Likewise.
54637 * sysdeps/i386/fpu/e_expl.c: Likewise.
54638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54642 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54643 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54646 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54647 is sufficient, at least on modern CPUs.
54649 * ctype/ctype-info.c (__ctype_init): Define.
54650 * include/ctype.h (__ctype_init): Declare.
54651 (__ctype_b_loc): The variable is always initialized.
54652 (__ctype_toupper_loc): Likewise.
54653 (__ctype_tolower_loc): Likewise.
54654 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54655 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54657 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54659 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54661 * configure.in: Also look in $cxxmachine/include for C++ system
54664 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54666 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54667 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54668 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54669 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54671 (USE_AS_WMEMCMP): New macro.
54673 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54674 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54675 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54676 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54678 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54679 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54680 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54681 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54682 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54684 (USE_AS_WMEMCMP): New macro.
54685 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54686 * sysdeps/string/test-memcmp.c: Update.
54687 Fix simple_wmemcmp.
54689 * wcsmbs/wmemcmp.c: Update.
54690 (WMEMCMP): New macro.
54693 2011-10-12 Andreas Jaeger <aj@suse.de>
54696 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54698 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54700 * libio/iofwide.c (do_length): Avoid warning.
54702 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54704 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54706 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54708 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54709 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54710 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54711 * sysdeps/i386/i686/fpu/e_log.S: New file.
54712 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54713 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54715 * ctype/ctype.h: Add support for inlined isXXX functions when
54716 compiling C++ code.
54718 2011-10-14 Andreas Schwab <schwab@redhat.com>
54720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54722 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54724 2011-10-13 Roland McGrath <roland@hack.frob.com>
54727 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54729 2011-10-13 Andreas Schwab <schwab@redhat.com>
54731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54732 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54735 * sysdeps/x86_64/memrchr.S: Check for zero size.
54737 * string/stratcliff.c: Add memrchr tests.
54739 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54742 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54743 rawmemchr-sse2 rawmemchr-sse2-bsf.
54744 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54745 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54746 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54747 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54748 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54749 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54750 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54751 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54753 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54754 * string/memrchr.c (MEMRCHR): New macro.
54756 2011-10-12 Ulrich Drepper <drepper@gmail.com>
54758 Add integration with gcc's -ffinite-math-only and optimize wrapper
54760 * Versions.def: Define GLIBC_2.15 version for libm.
54761 * math/Makefile (headers): Add bits/math-finite.h.
54762 * math/bits/math-finite.h: New file.
54763 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54764 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54765 * math/e_acoshl.c: Add __*_finite alias.
54766 * math/e_acosl.c: Likewise.
54767 * math/e_asinl.c: Likewise.
54768 * math/e_atan2l.c: Likewise.
54769 * math/e_atanhl.c: Likewise.
54770 * math/e_coshl.c: Likewise.
54771 * math/e_exp10.c: Likewise.
54772 * math/e_exp10f.c: Likewise.
54773 * math/e_exp10l.c: Likewise.
54774 * math/e_exp2l.c: Likewise.
54775 * math/e_fmodl.c: Likewise.
54776 * math/e_gammal_r.c: Likewise.
54777 * math/e_hypotl.c: Likewise.
54778 * math/e_j0l.c: Likewise.
54779 * math/e_j1l.c: Likewise.
54780 * math/e_jnl.c: Likewise.
54781 * math/e_lgammal_r.c: Likewise.
54782 * math/e_log10l.c: Likewise.
54783 * math/e_log2l.c: Likewise.
54784 * math/e_logl.c: Likewise.
54785 * math/e_powl.c: Likewise.
54786 * math/e_sinhl.c: Likewise.
54787 * math/e_sqrtl.c: Likewise.
54788 * math/e_scalb.c: Completely rewritten and optimized.
54789 * math/e_scalbf.c: Likewise.
54790 * math/e_scalbl.c: Likewise.
54791 * math/w_acos.c: Likewise.
54792 * math/w_acosf.c: Likewise.
54793 * math/w_acosl.c: Likewise.
54794 * math/w_acosh.c: Likewise.
54795 * math/w_acoshf.c: Likewise.
54796 * math/w_acoshl.c: Likewise.
54797 * math/w_asin.c: Likewise.
54798 * math/w_asinf.c: Likewise.
54799 * math/w_asinl.c: Likewise.
54800 * math/w_atan2.c: Likewise.
54801 * math/w_atan2f.c: Likewise.
54802 * math/w_atan2l.c: Likewise.
54803 * math/w_atanh.c: Likewise.
54804 * math/w_atanhf.c: Likewise.
54805 * math/w_atanhl.c: Likewise.
54806 * math/w_exp10.c: Likewise.
54807 * math/w_exp10f.c: Likewise.
54808 * math/w_exp10l.c: Likewise.
54809 * math/w_fmod.c: Likewise.
54810 * math/w_fmodf.c: Likewise.
54811 * math/w_fmodl.c: Likewise.
54812 * math/w_j0.c: Likewise.
54813 * math/w_j0f.c: Likewise.
54814 * math/w_j0l.c: Likewise.
54815 * math/w_j1.c: Likewise.
54816 * math/w_j1f.c: Likewise.
54817 * math/w_j1l.c: Likewise.
54818 * math/w_jn.c: Likewise.
54819 * math/w_jnf.c: Likewise.
54820 * math/w_log.c: Likewise.
54821 * math/w_logf.c: Likewise.
54822 * math/w_logl.c: Likewise.
54823 * math/w_log10.c: Likewise.
54824 * math/w_log10f.c: Likewise.
54825 * math/w_log10l.c: Likewise.
54826 * math/w_log2.c: Likewise.
54827 * math/w_log2f.c: Likewise.
54828 * math/w_log2l.c: Likewise.
54829 * math/w_pow.c: Likewise.
54830 * math/w_powf.c: Likewise.
54831 * math/w_powl.c: Likewise.
54832 * math/w_remainder.c: Likewise.
54833 * math/w_remainderf.c: Likewise.
54834 * math/w_remainderl.c: Likewise.
54835 * math/w_scalb.c: Likewise.
54836 * math/w_scalbf.c: Likewise.
54837 * math/w_scalbl.c: Likewise.
54838 * math/w_sqrt.c: Likewise.
54839 * math/w_sqrtf.c: Likewise.
54840 * math/w_sqrtl.c: Likewise.
54841 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54842 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54844 * math/math_private.h: Declare __kernel_standard_f.
54845 * math/w_cosh.c: Remove cruft and optimize a bit.
54846 * math/w_coshf.c: Likewise.
54847 * math/w_coshl.c: Likewise.
54848 * math/w_exp2.c: Likewise.
54849 * math/w_exp2f.c: Likewise.
54850 * math/w_exp2l.c: Likewise.
54851 * math/w_hypot.c: Likewise.
54852 * math/w_hypotf.c: Likewise.
54853 * math/w_hypotl.c: Likewise.
54854 * math/w_lgamma.c: Likewise.
54855 * math/w_lgamma_r.c: Likewise.
54856 * math/w_lgammaf.c: Likewise.
54857 * math/w_lgammaf_r.c: Likewise.
54858 * math/w_lgammal.c: Likewise.
54859 * math/w_lgammal_r.c: Likewise.
54860 * math/w_sinh.c: Likewise.
54861 * math/w_sinhf.c: Likewise.
54862 * math/w_sinhl.c: Likewise.
54863 * math/w_tgamma.c: Likewise.
54864 * math/w_tgammaf.c: Likewise.
54865 * math/w_tgammal.c: Likewise.
54866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54868 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54869 Minor optimizations. Pretty printing. Remove cruft.
54870 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54873 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54874 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54875 * sysdeps/i386/fpu/e_asin.S: Likewise.
54876 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54877 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54878 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54879 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54883 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54884 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54885 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54886 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54887 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54888 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54889 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54890 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54891 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54892 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54893 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54894 * sysdeps/i386/fpu/e_log.S: Likewise.
54895 * sysdeps/i386/fpu/e_log10.S: Likewise.
54896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54898 * sysdeps/i386/fpu/e_log2.S: Likewise.
54899 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54901 * sysdeps/i386/fpu/e_logf.S: Likewise.
54902 * sysdeps/i386/fpu/e_logl.S: Likewise.
54903 * sysdeps/i386/fpu/e_pow.S: Likewise.
54904 * sysdeps/i386/fpu/e_powf.S: Likewise.
54905 * sysdeps/i386/fpu/e_powl.S: Likewise.
54906 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54907 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54908 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54911 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54912 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54913 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54914 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54915 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54918 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54920 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54921 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54922 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54926 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54928 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54929 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54931 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54932 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54941 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54944 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54945 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54946 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54947 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54949 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54950 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54951 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54952 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54957 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54958 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54960 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54962 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54963 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54964 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54965 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54966 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54969 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54970 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54971 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54972 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54973 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54974 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54992 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54996 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55008 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55012 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55013 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55014 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55015 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55016 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55017 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55018 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55021 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55023 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55025 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55026 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55027 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55028 (__isnanf): Likewise.
55029 (__isinf_ns): Likewise.
55030 (__isinf_nsf): Likewise.
55031 (__finite): Likewise.
55032 (__finitef): Likewise.
55033 (__ieee754_sqrt): Define as macro.
55034 (__ieee754_sqrtf): Define as macro.
55035 (__ieee754_sqrtl): Define as macro.
55036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55038 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55039 __FINITE_MATH_ONLY__ consistent.
55040 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55042 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55044 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55049 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55051 * po/ja.po: Update from translation team.
55053 2011-10-08 Roland McGrath <roland@hack.frob.com>
55055 * locale/programs/locarchive.c (prepare_address_space): New function.
55056 (create_archive, enlarge_archive, open_archive): Use it.
55058 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55059 inside [SHARED], where it is used.
55061 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55063 * nss/getent.c (netgroup_keys): Remove unused variable.
55064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55066 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55068 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55071 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55073 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55074 * math/Makefile (libm-calls): Add s_isinf_ns.
55075 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55076 * math/multc3.c: Likewise.
55077 * math/s_casin.c: Likewise.
55078 * math/s_casinf.c: Likewise.
55079 * math/s_casinl.c: Likewise.
55080 * math/s_ccos.c: Likewise.
55081 * math/s_ccosf.c: Likewise.
55082 * math/s_ccosl.c: Likewise.
55083 * math/s_ctan.c: Likewise.
55084 * math/s_ctanf.c: Likewise.
55085 * math/s_ctanh.c: Likewise.
55086 * math/s_ctanhf.c: Likewise.
55087 * math/s_ctanhl.c: Likewise.
55088 * math/s_ctanl.c: Likewise.
55089 * math/w_fmod.c: Likewise.
55090 * math/w_fmodf.c: Likewise.
55091 * math/w_fmodl.c: Likewise.
55092 * math/w_remainder.c: Likewise.
55093 * math/w_remainderf.c: Likewise.
55094 * math/w_remainderl.c: Likewise.
55095 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55096 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55099 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55100 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55101 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55102 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55104 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55106 * stdio-common/printf_fphex.c: Likewise.
55107 * stdio-common/printf_size.c: Likewise.
55109 * math/e_exp10.c: Include math_private.h using <...> not "...".
55110 * math/e_exp10f.c: Likewise.
55111 * math/e_exp10l.c: Likewise.
55112 * math/e_exp2l.c: Likewise.
55113 * math/e_j0l.c: Likewise.
55114 * math/e_j1l.c: Likewise.
55115 * math/e_jnl.c: Likewise.
55116 * math/e_lgammal_r.c: Likewise.
55117 * math/e_rem_pio2l.c: Likewise.
55118 * math/e_scalb.c: Likewise.
55119 * math/e_scalbf.c: Likewise.
55120 * math/e_scalbl.c: Likewise.
55121 * math/k_cosl.c: Likewise.
55122 * math/k_sinl.c: Likewise.
55123 * math/k_tanl.c: Likewise.
55124 * math/s_cacoshf.c: Likewise.
55125 * math/s_catan.c: Likewise.
55126 * math/s_catanf.c: Likewise.
55127 * math/s_catanh.c: Likewise.
55128 * math/s_catanhf.c: Likewise.
55129 * math/s_catanhl.c: Likewise.
55130 * math/s_catanl.c: Likewise.
55131 * math/s_ccosh.c: Likewise.
55132 * math/s_ccoshf.c: Likewise.
55133 * math/s_ccoshl.c: Likewise.
55134 * math/s_cexp.c: Likewise.
55135 * math/s_cexpf.c: Likewise.
55136 * math/s_cexpl.c: Likewise.
55137 * math/s_clog.c: Likewise.
55138 * math/s_clog10.c: Likewise.
55139 * math/s_clog10f.c: Likewise.
55140 * math/s_clog10l.c: Likewise.
55141 * math/s_clogf.c: Likewise.
55142 * math/s_clogl.c: Likewise.
55143 * math/s_csin.c: Likewise.
55144 * math/s_csinf.c: Likewise.
55145 * math/s_csinh.c: Likewise.
55146 * math/s_csinhf.c: Likewise.
55147 * math/s_csinhl.c: Likewise.
55148 * math/s_csinl.c: Likewise.
55149 * math/s_csqrt.c: Likewise.
55150 * math/s_csqrtf.c: Likewise.
55151 * math/s_csqrtl.c: Likewise.
55152 * math/s_ctan.c: Likewise.
55153 * math/s_ctanf.c: Likewise.
55154 * math/s_ctanh.c: Likewise.
55155 * math/s_ctanhf.c: Likewise.
55156 * math/s_ctanhl.c: Likewise.
55157 * math/s_ctanl.c: Likewise.
55158 * math/s_ldexp.c: Likewise.
55159 * math/s_ldexpf.c: Likewise.
55160 * math/s_ldexpl.c: Likewise.
55161 * math/s_significand.c: Likewise.
55162 * math/s_significandf.c: Likewise.
55163 * math/s_significandl.c: Likewise.
55164 * math/w_acos.c: Likewise.
55165 * math/w_acosf.c: Likewise.
55166 * math/w_acosh.c: Likewise.
55167 * math/w_acoshf.c: Likewise.
55168 * math/w_acoshl.c: Likewise.
55169 * math/w_acosl.c: Likewise.
55170 * math/w_asin.c: Likewise.
55171 * math/w_asinf.c: Likewise.
55172 * math/w_asinl.c: Likewise.
55173 * math/w_atan2.c: Likewise.
55174 * math/w_atan2f.c: Likewise.
55175 * math/w_atan2l.c: Likewise.
55176 * math/w_atanh.c: Likewise.
55177 * math/w_atanhf.c: Likewise.
55178 * math/w_atanhl.c: Likewise.
55179 * math/w_cosh.c: Likewise.
55180 * math/w_coshf.c: Likewise.
55181 * math/w_coshl.c: Likewise.
55182 * math/w_dremf.c: Likewise.
55183 * math/w_exp10.c: Likewise.
55184 * math/w_exp10f.c: Likewise.
55185 * math/w_exp10l.c: Likewise.
55186 * math/w_exp2.c: Likewise.
55187 * math/w_exp2f.c: Likewise.
55188 * math/w_fmod.c: Likewise.
55189 * math/w_fmodf.c: Likewise.
55190 * math/w_fmodl.c: Likewise.
55191 * math/w_hypot.c: Likewise.
55192 * math/w_hypotf.c: Likewise.
55193 * math/w_hypotl.c: Likewise.
55194 * math/w_j0.c: Likewise.
55195 * math/w_j0f.c: Likewise.
55196 * math/w_j0l.c: Likewise.
55197 * math/w_j1.c: Likewise.
55198 * math/w_j1f.c: Likewise.
55199 * math/w_j1l.c: Likewise.
55200 * math/w_jn.c: Likewise.
55201 * math/w_jnf.c: Likewise.
55202 * math/w_jnl.c: Likewise.
55203 * math/w_lgamma.c: Likewise.
55204 * math/w_lgamma_r.c: Likewise.
55205 * math/w_lgammaf.c: Likewise.
55206 * math/w_lgammaf_r.c: Likewise.
55207 * math/w_lgammal.c: Likewise.
55208 * math/w_lgammal_r.c: Likewise.
55209 * math/w_log.c: Likewise.
55210 * math/w_log10.c: Likewise.
55211 * math/w_log10f.c: Likewise.
55212 * math/w_log10l.c: Likewise.
55213 * math/w_log2.c: Likewise.
55214 * math/w_log2f.c: Likewise.
55215 * math/w_log2l.c: Likewise.
55216 * math/w_logf.c: Likewise.
55217 * math/w_logl.c: Likewise.
55218 * math/w_pow.c: Likewise.
55219 * math/w_powf.c: Likewise.
55220 * math/w_powl.c: Likewise.
55221 * math/w_remainder.c: Likewise.
55222 * math/w_remainderf.c: Likewise.
55223 * math/w_remainderl.c: Likewise.
55224 * math/w_scalb.c: Likewise.
55225 * math/w_scalbf.c: Likewise.
55226 * math/w_scalbl.c: Likewise.
55227 * math/w_sinh.c: Likewise.
55228 * math/w_sinhf.c: Likewise.
55229 * math/w_sinhl.c: Likewise.
55230 * math/w_sqrt.c: Likewise.
55231 * math/w_sqrtf.c: Likewise.
55232 * math/w_sqrtl.c: Likewise.
55233 * math/w_tgamma.c: Likewise.
55234 * math/w_tgammaf.c: Likewise.
55235 * math/w_tgammal.c: Likewise.
55237 * po/ja.po: Update from translation team.
55239 2011-09-29 Andreas Jaeger <aj@suse.de>
55242 * sunrpc/netname.c (netname2host): Fix logic.
55246 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55248 * math/w_remainder.c (__remainder): Likewise.
55249 * math/w_remainderf.c (__remainderf): Likewise.
55250 * math/libm-test.inc (remainder_test): Add test cases.
55252 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55254 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55257 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55259 * string/test-memcmp.c: Avoid unncessary #defines.
55260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55262 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55264 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55265 Use new sse2 version for core i3 - i7 as it's faster
55266 than sse42 version.
55267 (bit_Prefer_PMINUB_for_stringop): New.
55268 * sysdeps/x86_64/rawmemchr.S: Update.
55269 Replace with faster SSE2 version.
55270 * sysdeps/x86_64/memrchr.S: New file.
55271 * sysdeps/x86_64/memchr.S: Update.
55272 Replace with faster SSE2 version.
55274 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55276 * elf/dl-load.c (lose): Add cast to avoid warning.
55278 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55280 * po/ca.po: Update from translation team.
55282 * inet/getnetgrent_r.c: Hook up nscd.
55283 * nscd/Makefile (routines): Add nscd_netgroup.
55284 (nscd-modules): Add netgroupcache.
55285 (CFLAGS-netgroupcache.c): Define.
55286 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55287 (cache_search): Add const to second parameter.
55288 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55290 (dbs): Add netgrdb entry.
55291 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55292 (verify_persistent_db): Handle netgrdb.
55293 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55294 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55296 (netgroup_response_header): Define.
55297 (innetgroup_response_header): Define.
55298 (datahead): Add netgroup_response_header and innetgroup_response_header
55300 * nscd/nscd.conf: Add entries for netgroup cache.
55301 * nscd/nscd.h (dbtype): Add netgrdb.
55302 (_PATH_NSCD_NETGROUP_DB): Define.
55303 (netgroup_iov_disabled): Declare.
55304 (xmalloc, xcalloc, xrealloc): Move declarations here.
55305 (cache_search): Adjust prototype.
55306 Add netgroup-related prototypes.
55307 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55308 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55309 (__nscd_innetgr): Declare.
55310 * nscd/selinux.c (perms): Use access_vector_t as element type and
55311 add netgroup-related initializers.
55312 * nscd/netgroupcache.c: New file.
55313 * nscd/nscd_netgroup.c: New file.
55314 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55315 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55316 For four parameters use innetgr.
55317 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55318 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55319 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55320 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55322 * nscd/connections.c (register_traced_file): Don't register file
55323 for disabled databases.
55325 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55327 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55329 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55330 from tree and freeing node.
55332 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55334 * nss/nsswitch.c (__nss_database_lookup): Handle
55335 nss_parse_service_list out of memory case.
55337 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55339 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55340 out of memory case.
55342 2011-10-04 Andreas Schwab <schwab@redhat.com>
55344 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55345 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55347 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55348 elf_machine_rela, elf_machine_lazy_rel.
55349 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55350 (ELF_DYNAMIC_DO_REL): Likewise.
55351 (ELF_DYNAMIC_DO_RELA): Likewise.
55352 (ELF_DYNAMIC_RELOCATE): Likewise.
55353 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55354 to ELF_DYNAMIC_DO_REL.
55355 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55356 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55357 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55360 skip_ifunc, don't call ifunc function if non-zero.
55361 (elf_machine_rela): Likewise.
55362 (elf_machine_lazy_rel): Likewise.
55363 (elf_machine_lazy_rela): Likewise.
55364 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55365 (elf_machine_lazy_rel): Likewise.
55366 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55368 (elf_machine_lazy_rel): Likewise.
55369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55371 (elf_machine_lazy_rel): Likewise.
55372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55373 (elf_machine_lazy_rel): Likewise.
55374 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55375 (elf_machine_lazy_rel): Likewise.
55376 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55377 (elf_machine_lazy_rel): Likewise.
55378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55379 (elf_machine_lazy_rel): Likewise.
55380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55381 (elf_machine_lazy_rel): Likewise.
55382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55383 (elf_machine_lazy_rel): Likewise.
55385 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55387 * nss/nss_files/files-init.c (_nss_files_init): Use static
55388 initialization for all the *_traced_file variables.
55390 2011-09-28 Andreas Schwab <schwab@redhat.com>
55392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55394 2011-09-27 Roland McGrath <roland@hack.frob.com>
55397 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55399 2011-09-27 Andreas Schwab <schwab@redhat.com>
55401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55402 Reread the line before reparsing it.
55404 2011-09-26 Andreas Schwab <schwab@redhat.com>
55406 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55408 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55409 Maxim Kuvyrkov <maxim@codesourcery.com>
55410 Joseph Myers <joseph@codesourcery.com>
55412 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55413 if needed for __stack_chk_guard.
55415 2011-09-19 Roland McGrath <roland@hack.frob.com>
55417 * sysdeps/posix/spawni.c (script_execute): Always define it.
55418 It will be optimized away if unused.
55419 (maybe_script_execute): New function.
55420 (__spawni): Call it.
55422 * Makerules: Don't include tls.make.
55423 (config-tls): Always set to thread.
55424 * tls.make.c: File removed.
55426 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55428 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55429 * config.make.in (CPPFLAGS-config): New substituted variable.
55431 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55436 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55437 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55439 2011-09-15 Roland McGrath <roland@hack.frob.com>
55441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55442 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55444 (CALL_FAIL): Likewise.
55445 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55446 (CALL_FAIL): Macro removed.
55447 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55449 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55451 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55452 for __FINITE_MATH_ONLY__ == 1.
55454 2011-09-15 Andreas Schwab <schwab@redhat.com>
55456 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55457 __ieee754_sqrt instead of sqrt.
55458 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55459 __ieee754_sqrtf instead of sqrtf.
55460 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55461 __floorf instead of floorf.
55462 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55463 __floorf, __truncf instead of floorf, truncf.
55465 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55467 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55469 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55470 __extern_always_inline.
55471 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55474 2011-09-14 Andreas Schwab <schwab@redhat.com>
55476 * elf/rtld.c (dl_main): Also relocate in dependency order when
55477 doing symbol dependency testing.
55479 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55482 Always define `refsym'.
55484 2011-09-13 Andreas Schwab <schwab@redhat.com>
55486 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55487 (__FD_ELT): Renamed from __FDELT.
55488 * misc/bits/select2.h (__FD_ELT): Likewise.
55489 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55490 __FD_MASK instead of __FDELT, __FDMASK.
55491 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55493 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55496 * elf/Makefile (gen-ldd): Fix pattern.
55498 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55499 (init_tls): Likewise.
55501 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55505 2011-09-12 Andreas Schwab <schwab@redhat.com>
55507 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55508 `struct cmsghdr *' instead of `void *'.
55509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55512 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55514 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55516 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55517 ldd_rewrite_script.
55519 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55521 * configure.in: Remove --with-tls option.
55522 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55523 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55524 out in case it is missing.
55525 * sysdeps/ia64/elf/configure.in: Likewise.
55526 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55527 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55528 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55529 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55530 * sysdeps/sh/elf/configure.in: Likewise.
55531 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55532 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55533 * sysdeps/x86_64/elf/configure.in: Likewise.
55534 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55535 * sysdeps/mach/hurd/tls.h: Likewise.
55538 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55541 * configure.in: Fix use of AC_INIT.
55543 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55545 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55547 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55549 * malloc/hooks.c: Likewise.
55552 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55553 variables statically.
55554 (narenas): Initialize.
55555 (list_lock): Initialize.
55556 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55557 initializtion of main_arena and list_lock. Small cleanups.
55558 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55559 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55560 Add initializers to main_arena and mp_.
55561 (malloc_state): Remove pagesize member. Change all users to use
55564 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55565 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55566 is always initialized.
55568 * malloc/malloc.c: Removed unused configurations and dead code.
55569 * malloc/arena.c: Likewise.
55570 * malloc/hooks.c: Likewise.
55571 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55573 * include/tls.h: Removed. USE___THREAD must always be defined.
55574 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55575 * elf/dl-libc.c: Likewise.
55576 * elf/dl-tsd.c: Likewise.
55577 * include/errno.h: Likewise.
55578 * include/netdb.h: Likewise.
55579 * include/resolv.h: Likewise.
55580 * inet/herrno-loc.c: Likewise.
55581 * inet/herrno.c: Likewise.
55582 * malloc/arena.c: Likewise.
55583 * malloc/hooks.c: Likewise.
55584 * malloc/malloc.c: Likewise.
55585 * resolv/res-state.c: Likewise.
55586 * resolv/res_libc.c: Likewise.
55587 * sysdeps/i386/dl-machine.h: Likewise.
55588 * sysdeps/ia64/dl-machine.h: Likewise.
55589 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55590 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55591 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55592 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55593 * sysdeps/sh/dl-machine.h: Likewise.
55594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55596 * sysdeps/unix/i386/sysdep.S: Likewise.
55597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55598 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55603 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55607 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55608 * sysdeps/x86_64/dl-machine.h: Likewise.
55609 * tls.make.c: Likewise.
55611 * configure.in: Remove --with-__thread option. Make tests for
55612 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55613 tls_model attribute fail if no support is available. Remove
55615 * Makeconfig: Adjust for dropped configure option. All features are
55617 * Makerules: Likewise.
55618 * Versions.def: Likewise.
55619 * argp/argp-fmtstream.c: Likewise.
55620 * argp/argp-fmtstream.h: Likewise.
55621 * argp/argp-help.c: Likewise.
55622 * assert/assert.c: Likewise.
55623 * config.h.in: Likewise.
55624 * config.make.in: Likewise.
55625 * configure: Likewise.
55626 * configure.in: Likewise.
55627 * csu/Versions: Likewise.
55628 * csu/init.c: Likewise.
55629 * elf/tst-audit2.c: Likewise.
55630 * elf/tst-tls10.c: Likewise.
55631 * elf/tst-tls10.h: Likewise.
55632 * elf/tst-tls11.c: Likewise.
55633 * elf/tst-tls12.c: Likewise.
55634 * elf/tst-tls14.c: Likewise.
55635 * elf/tst-tlsmod11.c: Likewise.
55636 * elf/tst-tlsmod12.c: Likewise.
55637 * elf/tst-tlsmod13.c: Likewise.
55638 * elf/tst-tlsmod13a.c: Likewise.
55639 * elf/tst-tlsmod14a.c: Likewise.
55640 * elf/tst-tlsmod15b.c: Likewise.
55641 * elf/tst-tlsmod16a.c: Likewise.
55642 * elf/tst-tlsmod16b.c: Likewise.
55643 * elf/tst-tlsmod7.c: Likewise.
55644 * elf/tst-tlsmod8.c: Likewise.
55645 * elf/tst-tlsmod9.c: Likewise.
55646 * gmon/gmon.c: Likewise.
55647 * grp/fgetgrent_r.c: Likewise.
55648 * grp/putgrent.c: Likewise.
55649 * hurd/fopenport.c: Likewise.
55650 * include/libc-symbols.h: Likewise.
55651 * include/tls.h: Likewise.
55652 * intl/gettextP.h: Likewise.
55653 * intl/loadinfo.h: Likewise.
55654 * locale/global-locale.c: Likewise.
55655 * locale/localeinfo.h: Likewise.
55656 * mach/devstream.c: Likewise.
55657 * malloc/arena.c: Likewise.
55658 * malloc/set-freeres.c: Likewise.
55659 * misc/err.c: Likewise.
55660 * misc/getttyent.c: Likewise.
55661 * misc/mntent_r.c: Likewise.
55662 * posix/getopt.c: Likewise.
55663 * posix/wordexp.c: Likewise.
55664 * pwd/fgetpwent_r.c: Likewise.
55665 * resolv/Versions: Likewise.
55666 * resolv/res_hconf.c: Likewise.
55667 * shadow/fgetspent_r.c: Likewise.
55668 * shadow/putspent.c: Likewise.
55669 * stdio-common/printf_fphex.c: Likewise.
55670 * stdio-common/tmpfile.c: Likewise.
55671 * stdlib/abort.c: Likewise.
55672 * stdlib/fmtmsg.c: Likewise.
55673 * sunrpc/auth_unix.c: Likewise.
55674 * sunrpc/clnt_perr.c: Likewise.
55675 * sunrpc/clnt_tcp.c: Likewise.
55676 * sunrpc/clnt_udp.c: Likewise.
55677 * sunrpc/clnt_unix.c: Likewise.
55678 * sunrpc/openchild.c: Likewise.
55679 * sunrpc/svc_simple.c: Likewise.
55680 * sunrpc/svc_tcp.c: Likewise.
55681 * sunrpc/svc_udp.c: Likewise.
55682 * sunrpc/svc_unix.c: Likewise.
55683 * sunrpc/xdr.c: Likewise.
55684 * sunrpc/xdr_array.c: Likewise.
55685 * sunrpc/xdr_rec.c: Likewise.
55686 * sunrpc/xdr_ref.c: Likewise.
55687 * sunrpc/xdr_stdio.c: Likewise.
55689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55691 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55693 2011-07-03 Andreas Jaeger <aj@suse.de>
55695 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55696 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55697 regenerate with gen-libm-tests.pl.
55699 2010-05-12 Petr Baudis <pasky@suse.cz>
55702 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55703 around j0() zero points by switching to j1().
55704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55709 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55713 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55716 Patch in part by Pavel Roskin <proski@gnu.org>.
55719 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55721 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55722 Free memory block if necessary.
55725 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55726 be NULL. Don't lock in this case.
55728 2011-09-09 Roland McGrath <roland@hack.frob.com>
55730 * elf/elf.h (ELFOSABI_GNU): New macro.
55731 (ELFOSABI_LINUX): Define to that.
55733 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55735 * string/strncat.c (strncat): Undef the symbol in case it has been
55736 defined in bits/string.h.
55738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55740 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55742 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55745 2011-08-17 Andreas Jaeger <aj@suse.de>
55747 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55749 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55750 Ian Lance Taylor <iant@google.com>
55752 * math/libm-test.inc (lround_test): New testcase.
55753 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55755 2011-09-08 Ulrich Drepper <drepper@gmail.com>
55757 * Makefile: Remove support for automatic cvs check-ins.
55758 * Makerules: Likewise.
55759 * config.make.in: Likewise.
55760 * configure.in: Likewise.
55761 * intl/Makefile: Likewise.
55762 * locale/Makefile: Likewise.
55763 * po/Makefile: Likewise.
55764 * posix/Makefile: Likewise.
55765 * sysdeps/gnu/Makefile: Likewise.
55766 * sysdeps/mach/hurd/Makefile: Likewise.
55767 * sysdeps/sparc/sparc32/Makefile: Likewise.
55770 * posix/Makefile (bug-regex32-ENV): Define.
55771 Patch by John Stanley <jpsinthemix@verizon.net>.
55773 * misc/Makefile (headers): Add bits/select2.h.
55774 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55775 * misc/bits/select2.h: New file.
55776 * include/bits/select2.h: New file.
55777 * debug/Makefile (routines): Add fdelt_chk.
55778 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55779 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55781 * debug/fdelt_chk.c: New file.
55783 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55784 * wcsmbs/test-wmemcmp.c: Likewise.
55785 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55786 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55788 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55790 * string/Makefile (strop-tests): Add memcmp.
55791 * string/test-wmemcmp.c: New file.
55792 * string/test-memcmp.c: Add wmemcmp support.
55794 2011-09-08 Roland McGrath <roland@hack.frob.com>
55797 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55800 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55801 garbage value in a __mach_port_mod_refs call in the cases of the
55802 task-self and thread-self ports.
55804 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55806 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55808 2011-09-08 Andreas Schwab <schwab@redhat.com>
55810 * elf/dl-load.c (lose): Check for non-null L.
55812 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55814 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55816 * elf/dl-libc.c (dlerror_run): Pass back error code from
55820 * elf/dl-load.c (lose): Free l_origin if it is valid.
55822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55828 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55829 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55831 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55833 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55834 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55837 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55838 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55839 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55840 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55841 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55842 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55844 2011-08-15 Alan Modra <amodra@gmail.com>
55847 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55848 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55849 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55850 ppc_mcount to static-only-routines.
55851 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55853 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55854 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55856 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55859 for finite and infinity parameters.
55861 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55864 and add nop instructions for throughput optimization.
55865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55867 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55870 aligned copy for power7 with vector-scalar instructions.
55871 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55873 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55878 2011-09-07 Andreas Schwab <schwab@redhat.com>
55881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55884 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55887 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55888 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55892 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55895 Forgot to demangle the pointer.
55897 * sysdeps/i386/sysdep.h: Define atom_text_section.
55898 * sysdeps/x86_64/sysdep.h: Likewise.
55899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55900 section with atom_text_section.
55901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55903 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55908 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55909 already be defined. Change to take two parameters and don't assign
55910 result to variable. Adjust all users.
55911 Define INTERNAL_GETTIME if not already defined.
55912 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55915 HAVE_CLOCK_GETTIME_VSYSCALL.
55916 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55919 gettimeofday vsyscall, just use time.
55921 2011-09-06 Andreas Schwab <schwab@redhat.com>
55923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55926 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55928 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55932 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55934 syscall if possible.
55936 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55938 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55939 e_ident. Don't pass to find_mapsXX.
55940 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55942 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55945 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55946 * sysdeps/x86_64/multiarch/strchr.S: Update.
55947 Check bit_slow_BSF bit.
55948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55952 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55955 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55957 (tryshell): Define.
55958 (__spawni): Change last parameter to be flag. Test
55959 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55960 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55961 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55962 * posix/spawni.c: Likewise.
55963 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55964 * posix/spawnp.c: Likewise. Change normal version to use
55965 SPAWN_XFLAGS_USE_PATH.
55966 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55967 SPAWN_XFLAGS_TRY_SHELL.
55970 * posix/glob.h: Remove gcc 1.x support.
55973 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55975 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55978 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55980 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55981 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55987 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55989 * sysdeps/x86_64/wcscmp.S: New file.
55991 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55992 wcscmp-c wcscmp-sse2
55993 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55994 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55996 * wcsmbs/wcscmp.c: Allow renaming.
55998 2011-09-05 David S. Miller <davem@davemloft.net>
56000 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56001 stack slot, rather than the struct return pointer slot.
56002 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56003 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56009 * po/ja.po: Update from translation team.
56012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56013 kernel in 64-bit binaries.
56015 2011-09-01 David S. Miller <davem@davemloft.net>
56017 * elf/elf.h (HWCAP_SPARC_*): Move to..
56018 * sysdeps/sparc/sysdep.h: this new file and add new values.
56019 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56020 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56021 _DL_HWCAP_COUNT to 24.
56022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56024 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56025 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56026 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56028 instead of magic constants.
56029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56031 2011-08-31 David S. Miller <davem@davemloft.net>
56033 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56035 Reimplement to do errno handling inline.
56036 (SYSCALL_ERROR_HANDLER): New macro.
56037 (__SYSCALL_STRING): Do not do errno handling in asm.
56038 (__CLONE_SYSCALL_STRING): Delete.
56039 (__INTERNAL_SYSCALL_STRING): Delete.
56040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56041 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56042 (PSEUDO): Reimplement to do errno handling inline.
56043 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56044 (SYSCALL_ERROR_HANDLER): New macro.
56045 (__SYSCALL_STRING): Do not do errno handling in asm.
56046 (__CLONE_SYSCALL_STRING): Delete.
56047 (__INTERNAL_SYSCALL_STRING): Delete.
56048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56049 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56051 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56052 (inline_syscall*): Add 'err' argument.
56053 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56054 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56055 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56056 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56058 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56061 2011-08-30 Andreas Schwab <schwab@redhat.com>
56063 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56065 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56067 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56070 2011-08-24 David S. Miller <davem@davemloft.net>
56072 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56074 2011-08-24 Andreas Schwab <schwab@redhat.com>
56076 * elf/Makefile: Add rules to build and run unload8 test.
56077 * elf/unload8.c: New file.
56078 * elf/unload8mod1.c: New file.
56079 * elf/unload8mod1x.c: New file.
56080 * elf/unload8mod2.c: New file.
56081 * elf/unload8mod3.c: New file.
56083 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56086 2011-08-23 David S. Miller <davem@davemloft.net>
56088 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56089 subtract stack bias.
56090 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56091 %sp not %fp in calculations.
56092 (_JMPBUF_UNWINDS_ADJ): Likewise.
56094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56095 (aio_suspend): Call it to force an exception region around the
56096 AIO_MISC_WAIT() invocation.
56098 2011-08-23 Andreas Schwab <schwab@redhat.com>
56100 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56103 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56105 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56107 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56108 and <dl-machine.h>.
56109 (Elf64_FuncDesc): Remove.
56111 2011-08-22 David S. Miller <davem@davemloft.net>
56113 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56114 sigaltstack check, add missing cfi directives.
56115 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56116 missing cfi directives, and sigaltstack handling.
56118 2011-08-16 Andreas Schwab <schwab@redhat.com>
56121 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56122 object is seen twice.
56123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56125 * elf/Makefile (distribute): Add tst-initorder2.c.
56126 (tests): Add tst-initorder2.
56127 (modules-names): Add tst-initorder2a tst-initorder2b
56128 tst-initorder2c tst-initorder2d. Add rules to build them.
56129 ($(objpfx)tst-initorder2.out): New rule.
56130 * elf/tst-initorder2.c: New file.
56131 * elf/tst-initorder2.exp: New file.
56133 2011-08-22 Andreas Schwab <schwab@redhat.com>
56135 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56137 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56138 dependencies back to end of function.
56140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56141 $(elfobjdir)/ld.so.
56143 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56146 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56148 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56149 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56150 of __vdso_gettimeofday.
56151 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56152 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56154 (_libc_vdso_platform_setup): Remove initialization of
56155 __vdso_gettimeofday and __vdso_time.
56157 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56159 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56160 and fgetc_unlocked.
56161 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56164 * elf/dl-open.c (add_to_global): Report additions to the global scope
56165 for LD_DEBUG=scopes.
56166 (dl_open_worker): Also print scope of newly loaded dependencies.
56167 (_dl_show_scope): Indicate if there is no scope.
56170 * stdio-common/Makefile (tests): Add bug24.
56171 * stdio-common/bug24.c: New file.
56173 2011-08-19 Andreas Jaeger <aj@suse.de>
56176 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56177 non-existant file when using close-on-exec mode.
56179 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56182 the very first instruction.
56184 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56185 the CFI state in the end.
56186 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56187 inclusion of dl-trampoline.h.
56188 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56190 2011-08-19 Andreas Schwab <schwab@redhat.com>
56192 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56193 expectations for long double.
56195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56196 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56198 2011-08-14 David S. Miller <davem@davemloft.net>
56200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56201 artificual limit depends upon the system page size.
56203 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56205 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56206 * resolv/Makefile: Define CFLAGS-libresolv.
56208 2011-08-17 Andreas Schwab <schwab@redhat.com>
56210 * nss/makedb.c (compute_tables): Make variables used in nested
56213 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56215 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56216 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56217 if buffer was too small.
56219 * elf/pldd.c (main): Attach to all threads in the process.
56220 Rewrite /proc handling to use *at functions.
56222 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56224 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56225 specifies first scope to show.
56226 (dl_open_worker): Update callers. Move printing scope of new
56227 object to before the relocation.
56228 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56229 * sysdeps/generic/ldsodefs.h: Update declaration.
56231 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56232 string for the scope number.
56234 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56236 * nscd/servicescache.c (cache_addserv): Make sure written is always
56239 2011-08-14 Roland McGrath <roland@hack.frob.com>
56241 * sysdeps/i386/i486/bits/atomic.h
56242 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56243 statement expression, so as to suppress "set but not used" warning.
56244 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56246 * string/strncat.c (STRNCAT): Use prototype definition.
56248 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56249 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56251 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56252 (localedef-modules): Add localedef.
56253 (locale-modules): Add locale.
56255 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56256 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56257 to avoid a warning.
56259 2011-08-14 David S. Miller <davem@davemloft.net>
56261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56262 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56264 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56266 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56267 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56268 * elf/rtld.c (dl_main): Set l_name of vDSO.
56269 Call _dl_show_scope when DL_DEBUG_SCOPES.
56270 (process_dl_debug): Recognize scopes flag and also set it for all.
56271 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56272 Declare _dl_show_scope.
56274 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56275 (do_dlopen): Pass caller_dlopen to dl_open.
56276 (__libc_dlopen_mode): Initialize caller_dlopen.
56278 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56279 of libc. Make tolower call locale-independent. Optimize a bit by
56280 using isdigit instead of isalnum.
56281 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56283 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56285 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56286 was a dependency or dynamically loaded.
56288 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56290 * intl/l10nflist.c: Allow architecture-specific pop function.
56291 * sysdeps/x86_64/l10nflist.c: New file.
56293 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56296 2011-08-10 Andreas Schwab <schwab@redhat.com>
56298 * include/dirent.h: Add libc_hidden_proto for scandirat and
56299 scandirat64. Don't declare __scandirat64.
56300 * dirent/scandirat.c: Add libc_hidden_def.
56301 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56302 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56304 2011-08-10 David S. Miller <davem@davemloft.net>
56306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56312 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56314 * Versions.def [libc]: Add GLIBC_2.15.
56315 * dirent/Makefile (routines): Add scandirat and scandirat64.
56316 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56318 * dirent/dirent.h: Declare scandirat and scandirat64.
56319 * dirent/scandirat.c: New file.
56320 * dirent/scandirat64.c: New file.
56321 * sysdeps/wordsize-64/scandirat.c: New file.
56322 * sysdeps/wordsize-64/scandirat64.c: New file.
56323 * dirent/opendir.c: Define opendirat.
56324 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56326 * dirent/scandir64.c: Adjust for scandir.c change.
56327 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56328 __scandirat64, and __scandir_cancel_handler.
56329 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56330 additional parameter and use openat instead of open (outside of ld.so).
56331 Add new __opendir as wrapper around __opendirat.
56332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56333 here without requiring old scandirat implementation.
56335 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56337 * dirent/scandir.c (cancel_handler): Renamed to
56338 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56339 defined. Adjust users.
56340 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56343 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56345 * string/test-string.h (IMPL): Use __STRING to expand name and then
56348 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56351 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56353 * string/Makefile: Update.
56354 (strop-tests): Append strncat.
56355 * string/test-wcscmp.c: New file.
56356 New comprehensive test for wcscmp.
56357 * string/test-strcmp.c: Update.
56358 (WIDE): New define.
56360 2011-07-22 Andreas Schwab <schwab@redhat.com>
56362 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56365 2011-07-26 Andreas Schwab <schwab@redhat.com>
56367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56368 encoding to ACE if AI_IDN.
56370 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56373 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56375 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56378 Fix overflow bug in strncat.
56379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56381 * string/test-strncat.c: Update.
56382 Add new tests for checking overflow bugs.
56384 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56387 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56388 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56389 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56391 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56392 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56393 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56394 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56397 (USE_AS_STRCAT): Define.
56398 Add strcat and strncat support.
56399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56401 2011-07-25 Andreas Schwab <schwab@redhat.com>
56403 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56404 __n bigger than INT_MAX+1.
56405 (__strncmp_g): Likewise.
56407 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56409 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56410 * libio/stido.h: Likewise.
56412 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56417 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56424 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56429 (_dl_x86_64_save_sse): Likewise.
56431 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56435 (_dl_x86_64_save_sse): Likewise.
56437 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56439 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56441 2011-07-21 Andreas Schwab <schwab@redhat.com>
56443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56445 (_dl_x86_64_save_sse): Use correct AVX check.
56447 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56450 bug in strncpy/strncat.
56451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56453 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56455 * string/tester.c (test_strcat): Add tests for different alignments
56456 of source and destination.
56457 (test_strncat): Likewise.
56459 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56462 * posix/glob.c (glob): Check passed in values before using them in
56463 expressions to avoid some overflows.
56464 (glob_in_dir): Likewise.
56467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56468 check for AVX enablement so that we don't crash with old kernels and
56470 * elf/tst-audit4.c: Add same checks here.
56471 * elf/tst-audit6.c: Likewise.
56473 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56475 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56477 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56479 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56481 * po/cs.po: Update from translation team.
56482 * po/bg.po: Likewise.
56484 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56486 * misc/sys/cdefs.h: Add support for const attribute.
56487 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56488 to gnu_dev_{major,minor,makedev} functions.
56490 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56492 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56494 2011-07-20 Andreas Schwab <schwab@redhat.com>
56496 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56499 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56502 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56503 register in order to avoid conflicts with the soft frame pointer
56504 being held in r11 when necessary.
56505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56506 (INTERNAL_VSYSCALL_NCS): Likewise.
56508 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56510 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56511 * elf/dl-fini.c (_dl_fini): Adjust caller.
56512 * elf/dl-close.c (_dl_close_worker): Likewise.
56513 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56515 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56517 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56518 "aux_cache->nlibs < 0".
56520 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56521 in the reload-count case.
56523 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56526 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56527 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56529 * sysdeps/x86_64/multiarch/strcat.S: New file.
56530 * sysdeps/x86_64/multiarch/strncat.S: New file.
56531 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56533 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56534 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56536 (USE_AS_STRCAT): Define.
56537 Add strcat and strncat support.
56538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56540 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56541 * string/strncat.c: Update.
56542 (USE_AS_STRNCAT): Define.
56543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56544 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56546 * sysdeps/x86_64/multiarch/init-arch.h
56547 (bit_Prefer_PMINUB_for_stringop): New.
56548 (index_Prefer_PMINUB_for_stringop): Likewise.
56549 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56550 bit_Prefer_PMINUB_for_stringop.
56552 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56554 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56556 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56557 of casting of buffer.
56558 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56559 buffer32 and buffer64.
56560 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56561 writes instead of casting of buffer.
56562 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56564 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56567 2011-07-19 Andreas Schwab <schwab@redhat.com>
56569 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56571 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56573 * nscd/nscd.c (termination_handler): Don't do anything for a database
56574 if it has not yet been initialized.
56576 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56578 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56580 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56582 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56586 * po/nl.po: Update from translation team.
56587 * po/sv.po: Likewise.
56589 2011-07-16 Roland McGrath <roland@hack.frob.com>
56591 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56592 now disallowed by GCC.
56594 * configure.in (use-default-link): Default to yes if a test -shared
56595 link meets our qualifications.
56596 * configure: Regenerated.
56598 * config.make.in (output-format): New variable.
56599 * configure.in: Check for ld --print-output-format support.
56600 * configure: Regenerated.
56601 * Makerules ($(common-objpfx)format.lds)
56602 [$(output-format) != unknown]: Just use $(output-format),
56603 instead of the linker-script munging.
56605 2011-07-14 Roland McGrath <roland@hack.frob.com>
56607 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56608 of $(common-objpfx)shlib.lds.
56609 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56611 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56612 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56614 * configure.in (-z relro check): Adjust test code to add a large
56615 writable data section after it.
56616 * configure: Regenerated.
56618 2011-07-11 Roland McGrath <roland@hack.frob.com>
56620 * configure.in (-z relro check): Fix test code to make the variable
56622 * configure: Regenerated.
56624 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56626 * nscd/nscd.h (struct traced_file): Define.
56627 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56628 elements. Add traced_files.
56629 (inotify_fd): Declare.
56630 (register_traced_file): Declare.
56631 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56632 (inotify_fd): Export.
56633 (resolv_conf_descr): Remove.
56634 (nscd_init): Move inotify descriptor creation to main.
56635 Don't register files for notification here.
56636 (register_traced_file): New function.
56637 (invalidate_cache): Don't use reset_res to determine whether to call
56638 res_init, go through the list of registered files.
56639 (main_loop_poll): The inotify descriptors are now stored in the
56640 structures for the traced files.
56641 (main_loop_epoll): Likewise
56642 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56643 to __nss_disable_nscd.
56644 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56645 for a database anymore. Check the records for all the registered
56647 * nss/Makefile (libnss_files-routines): Add files-init.
56648 (libnss_db-routines): Add db-init.
56649 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56650 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56651 * nss/nss_db/db-init.c: New file.
56652 * nss/nss_files/files-init.c: New file.
56653 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56654 __nss_lookup_function.
56655 (__nss_lookup_function): Call nss_load_library.
56656 (nss_load_all_libraries): New function.
56657 (__nss_disable_nscd): Take parameter with callback function for files
56658 to register. Set is_nscd. Load all the DSOs for the NSS modules
56659 used for the cached services.
56660 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56662 options for features to all the files in nscd.
56664 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56666 2011-07-10 Roland McGrath <roland@hack.frob.com>
56668 * csu/elf-init.c (__libc_csu_init): Comment typo.
56670 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56672 * po/pl.po: Update from translation team.
56673 * po/ja.po: Likewise.
56674 * po/ru.po: Likewise.
56675 * po/ko.po: Likewise.
56676 * po/fr.po: Likewise.
56678 2011-07-09 Roland McGrath <roland@hack.frob.com>
56680 * configure.in (.ctors/.dtors header and trailer check):
56681 Use an empirical test on a built program.
56682 * configure: Regenerated.
56684 * configure.in (-z relro check): Use an empirical test on a built DSO.
56685 Detect, but do not require, on ia64.
56686 * configure: Regenerated.
56688 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56689 Update tests that use readelf to use $READELF instead.
56690 * configure: Regenerated.
56692 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56694 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56695 if the result is not used.
56697 2011-07-05 Andreas Jaeger <aj@suse.de>
56700 * stdlib/tst-strtod.c: Add testcase.
56702 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56704 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56705 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56706 The latter has a higher limit. Take additional parameter to pass to
56708 (__pathconf): Pass file to __statfs_link_max.
56709 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56711 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56715 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56719 (__statfs_filesize_max): Likewise.
56720 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56722 2011-07-05 Andreas Jaeger <aj@suse.de>
56724 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56726 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56728 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56733 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56735 * Makefile (strop-tests): Add strncat.
56736 * string/test-strncat.c: New file.
56738 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56740 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56742 2011-06-21 Andreas Jaeger <aj@suse.de>
56744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56745 Copy rule from iconvdata/Makefile.
56747 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56750 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56751 but no long options are defined, just return 'W'.
56753 2011-06-22 Marek Polacek <mpolacek@redhat.com>
56756 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56758 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56760 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56762 (innetgr): Likewise.
56764 2011-07-05 Roland McGrath <roland@hack.frob.com>
56766 * config.make.in (install_root): Default to $(DESTDIR).
56768 2011-07-05 Ulrich Drepper <drepper@gmail.com>
56770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56772 2011-07-02 Roland McGrath <roland@hack.frob.com>
56774 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56776 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56777 containing directory rather than embedding absolute directory names.
56779 * scripts/check-local-headers.sh: Rewritten using awk.
56780 Match by word, not by line. Print error messages for matches.
56781 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56783 * Makerules [shlib-lds-flags empty]:
56784 ($(common-objpfx)libc_pic.opts): New target.
56785 ($(common-objpfx)libc_pic.os.clean): New target.
56786 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56788 * config.make.in (OBJCOPY): New variable.
56789 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56790 * configure: Regenerated.
56792 * config.make.in (use-default-link): New variable.
56793 * configure.in (use_default_link): Grok --with-default-link to set it.
56794 * configure: Regenerated.
56795 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56796 (shlib-lds, shlib-lds-flags): Define to empty.
56798 * Makerules (shlib-lds): New variable.
56799 (shlib-lds-flags): New variable.
56800 (build-shlib, build-moduile, build-module-asneeded): Use it.
56801 ($(common-objpfx)libc.so): Use $(shlib-lds).
56802 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56803 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56805 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56806 DT_FLAGS/DT_FLAGS_1 with zero flags.
56808 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56809 linker script munging.
56811 2011-07-02 Ulrich Drepper <drepper@gmail.com>
56813 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56815 * crypt/sha512.c (sha512_process_block): Perform total addition using
56816 128-bit if possible.
56817 (__sha512_finish_ctx): Likewise.
56818 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56820 * crypt/sha256.c (SWAP64): Define.
56821 (sha256_process_block): Perform total addition using 64-bit if
56823 (__sha256_finish_ctx): Likewise.
56825 2011-07-01 Ulrich Drepper <drepper@gmail.com>
56827 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56829 * nscd/hstcache.c (cache_addhst): Likewise.
56830 * nscd/grpcache.c (cache_addgr): Likewise.
56831 * nscd/aicache.c (addhstaiX): Likewise
56832 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56834 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
56836 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56838 * nscd/hstcache.c (cache_addhst): Likewise.
56839 * nscd/grpcache.c (cache_addgr): Likewise.
56840 * nscd/aicache.c (addhstaiX): Likewise
56842 2011-07-01 Andreas Schwab <schwab@redhat.com>
56844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56845 domain only when needed.
56847 2011-06-30 Andreas Schwab <schwab@redhat.com>
56849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56850 is always restored.
56852 2011-06-29 Ulrich Drepper <drepper@gmail.com>
56854 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56855 are re-adding the entry.
56856 * nscd/servicescache.c (cache_addserv): Likewise.
56858 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56860 * sysdeps/generic/dl-irel.h: fix protection against multiple
56862 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56864 2011-06-28 Ulrich Drepper <drepper@gmail.com>
56867 * malloc/memusage.sh: Fix quoting in message.
56868 * debug/xtrace.sh: Likewise.
56870 * configure.in: Remove support for --experimental-malloc option, make
56872 * config.make.in: Likewise.
56873 * malloc/Makefile: Likewise.
56875 2011-06-27 Andreas Schwab <schwab@redhat.com>
56877 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56878 two-byte characters.
56880 2011-06-27 Roland McGrath <roland@hack.frob.com>
56882 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56883 AC_CACHE_CHECK invocation.
56884 * configure: Regenerated.
56886 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56888 2011-06-27 Ulrich Drepper <drepper@gmail.com>
56891 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56892 bit from old_res_options.
56894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56896 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56897 value type for setfct.
56899 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56902 __gettimeofday instead of gettimeofday.
56904 2011-06-26 Ulrich Drepper <drepper@gmail.com>
56906 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56908 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56915 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56918 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56919 strcpy-sse2-unaligned strncpy-sse2-unaligned
56920 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56921 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56922 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56923 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56924 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56927 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56928 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56929 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56930 (STRCPY): Support SSE2 and SSSE3 versions.
56932 2011-06-24 Ulrich Drepper <drepper@gmail.com>
56935 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56936 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56937 kernels which artificially limit size of requests.
56939 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56942 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56943 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56944 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56945 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56946 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56947 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56948 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56951 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56952 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56953 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56954 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56955 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56957 Enable unaligned load optimization for Intel Core i3, i5 and i7
56959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56961 (index_Fast_Unaligned_Load): Define.
56962 (HAS_FAST_UNALIGNED_LOAD): Define.
56964 2011-06-23 Marek Polacek <mpolacek@redhat.com>
56966 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56968 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56972 until it is clear that the information is realy needed.
56973 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56975 2011-06-22 Andreas Schwab <schwab@redhat.com>
56977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56979 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56982 /sys/devices/system/cpu/online if it is usable.
56984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56985 reading the information from the /proc filesystem to once a second.
56987 2011-06-21 Andreas Jaeger <aj@suse.de>
56989 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56990 NULL after inclusion of kernel headers.
56992 2011-06-21 Ulrich Drepper <drepper@gmail.com>
56994 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56995 calls to internal_setent.
56998 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56999 addresses using gethostbyname4_r ignore IPv4 addresses.
57001 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57002 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57004 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57006 2011-06-20 David S. Miller <davem@davemloft.net>
57008 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57010 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57012 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57013 (elf_irel): Use it.
57014 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57015 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57016 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57017 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57018 * sysdeps/x86_64/dl-irel.h: Likewise.
57020 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57021 * elf/dl-sym.c: Likewise.
57023 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57025 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57026 need to dereference resplen2.
57028 2011-06-14 Andreas Schwab <schwab@redhat.com>
57030 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57032 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57034 * Makeconfig: Define vardbdir and inst_vardbdir.
57035 * nss/Makefile: Add rules to install db-Makefile.
57037 * nss/nss_db/db-XXX.c: Cleanup.
57039 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57040 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57042 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57043 * nss/makedb.c: Implement -g option to specify that value strings
57044 are generated and should not be added to table iterated over for
57046 * nss/nss_db/db-initgroups.c: New file.
57048 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57051 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57052 (internal_getgrouplist): Adjust to name change.
57053 Update use_initgroups_entry if this is not the first call.
57054 * nss/databases.def: Add initgroups entry.
57056 * nss/makedb.c (compute_tables): Check result of multiple hash table
57057 sizes to minimize maximum chain length.
57059 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57061 * Versions.def: Add entry for libnss_db.
57062 * shlib-versions: Likewise.
57063 * nss/Makefile: Add rules to build libnss_db.
57064 * nss/Versions: Add libnss_db information. Organize libnss_files
57066 * nss/db-Makefile: Add gshadow support. Change rules for the new
57067 makedb progra. Some minor improvements to generate smaller files.
57068 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57070 * nss/makedb.c: ...here.
57071 Improve database format to be smaller and require less memory at
57073 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57075 * nss/nss_db/db-netgrp.c: Likewise.
57076 * nss/nss_db/db-open.c: Likewise.
57077 * nss/nss_files/flies-XXX.x: Adjust comments.
57078 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57079 * nss/nss_files/files-grp.c: Likewise.
57080 * nss/nss_files/files-hosts.c: Likewise.
57081 * nss/nss_files/files-network.c: Likewise.
57082 * nss/nss_files/files-proto.c: Likewise.
57083 * nss/nss_files/files-pwd.c: Likewise.
57084 * nss/nss_files/files-rpc.c: Likewise.
57085 * nss/nss_files/files-service.c: Likewise.
57086 * nss/nss_files/files-sgrp.c: Likewise.
57087 * nss/nss_files/files-spwd.c: Likewise.
57088 * nss/nss_db/db-alias.c: Removed.
57089 * nss/nss_db/dummy-db.h: Removed.
57091 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57093 * nss/makedb.c: Rewritten to not use database library.
57094 * nss/Makefile: Update to build new makedb program.
57096 2011-06-14 Andreas Jaeger <aj@suse.de>
57098 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57099 memset declaration.
57101 2011-06-10 Andreas Schwab <schwab@redhat.com>
57103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57106 2011-06-10 Roland McGrath <roland@hack.frob.com>
57108 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57109 * elf/Makefile ($(objpfx)ld.so): Likewise.
57111 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57112 Don't list ld.so twice in dependencies.
57114 * posix/bug-regex31.c: Include <stdlib.h>.
57116 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57118 * nis/nss_compat/compat-spwd.c
57119 (getspent_next_nss_netgr): Remove unused variable.
57120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57122 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57123 nonmembers" output to use the right array.
57125 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57127 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57129 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57130 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57131 * catgets/gencat.c (read_input_file): Likewise.
57132 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57134 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57135 variable definition inside #if's controlling its use.
57137 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57139 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57141 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57143 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57146 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57148 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57149 * configure: Regenerated.
57151 * Makerules: Revert last change.
57152 * elf/Makefile: Likewise.
57154 2011-06-09 Roland McGrath <roland@hack.frob.com>
57156 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57157 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57158 (reloc-link): Likewise.
57160 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57162 * elf/Makefile: Add rules to build pldd.
57163 * elf/pldd.c: New file.
57164 * elf/pldd-xx.c: New file.
57166 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57168 * version.h: Update for 2.15 development version.
57170 2011-06-07 David S. Miller <davem@davemloft.net>
57172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57175 elf_machine_lazy_rel): Likewise.
57176 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57178 elf_machine_lazy_rel): Likewise.
57179 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57180 dl_hwcap via passed in argument.
57181 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57184 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57186 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57188 2011-06-06 Roland McGrath <roland@hack.frob.com>
57191 * manual/fdl-1.1.texi: New file, verbatim from:
57192 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57193 * manual/lgpl-2.1.texi: New file, verbatim from:
57194 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57195 * manual/Makefile (licenses): New variable, list those new file names.
57197 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57199 * manual/fdl.texi: File removed.
57200 * manual/lesser.texi: File removed.
57201 * manual/libc.texinfo (Copying, Documentation License):
57202 Use new @include file names, put @appendix directive before @include.
57204 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57207 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57208 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57209 (mq_open): Add __NTH.
57211 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57214 Assume Intel Core i3/i5/i7 processor if AVX is available.
57216 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57221 2011-05-31 Andreas Schwab <schwab@redhat.com>
57223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57224 memory. Use alloca_account. Fix memory leak when retrying.
57226 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57228 * version.h (RELEASE): Bump for 2.14 release.
57229 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57231 * config.make.in (RANLIB): Remove entry.
57233 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57235 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57236 (libc.pot): Work around missing support for .ksh extension in xgettext.
57239 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57240 if both request failed.
57241 (send_dg): In case of server errors clear resplen or *resplen2.
57244 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57245 when there are multiple maps.
57246 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57247 (_dl_fini): Remove test here.
57249 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57251 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57254 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57255 bit from old_res_options.
57256 (gaih_inet): Likewise.
57259 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57262 * resolv/res_init.c (res_setoptions): Make the code more compact.
57265 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57269 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57271 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57274 * malloc/malloc.h: Declare malloc hook variables as volatile.
57276 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57280 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57281 raise in the comment.
57282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57284 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57286 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57289 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57290 grow the buffers more if it already has to be sufficient.
57291 (build_wcs_upper_buffer): Likewise.
57292 * posix/regexec.c (check_matching): Likewise.
57293 (clean_state_log_if_needed): Likewise.
57294 (extend_buffers): Don't enlarge buffers beyond size of the input
57296 Patches mostly by Emil Wojak <emil@wojak.eu>.
57297 * posix/bug-regex32.c: New file.
57298 * posix/Makefile (tests): Add bug-regex32.
57300 * locale/findlocale.c (_nl_find_locale): Return right away if
57301 _nl_explode_name failed.
57302 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57304 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57306 * debug/xtrace.sh: Unify messages.
57307 * malloc/memusage.sh: Likewise.
57310 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57311 time symbol from vDSO. Substitute with vsyscall if not available.
57312 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57315 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57316 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57317 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57318 Add sendmmsg and internal_sendmmsg.
57319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57320 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57323 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57324 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57325 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57327 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57331 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57337 * iconvdata/Makefile (tests): Add bug-iconv9.
57338 * iconvdata/bug-iconv9.c: New file.
57340 2011-05-27 Andreas Schwab <schwab@redhat.com>
57343 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57345 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57348 (struct user_regs_struct): Change intcs field back to cs.
57350 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57352 * po/ja.po: Update from translation team.
57354 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57357 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57358 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57360 2011-05-20 Andreas Schwab <schwab@redhat.com>
57362 * stdlib/longlong.h: Update from GCC.
57364 2011-05-23 Andreas Schwab <schwab@redhat.com>
57366 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57368 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57369 Add parameter name.
57370 (__sysconf): Pass it down.
57372 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57375 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57378 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57379 add in in __libc_use_alloca calls. Adjust callers.
57380 (glob): Use malloc in some situations.
57382 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57383 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57386 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57388 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57389 and CLOCK_BOOTTIME_ALARM.
57392 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57395 * string/_strerror.c (__strerror_r): Print negative errors as signed
57399 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57400 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57401 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57403 * configure.in: Fix typo in redirection and correct removal of test
57404 files in two cases.
57407 * locale/setlocale.c (new_composite_name): Fix test to check for
57408 identical name of all categories.
57411 * libio/filedoalloc.c (local_isatty): New function.
57412 (_IO_file_doallocate): Use local_isatty.
57413 * stdio-common/perror.c (perror): In case a new stream is used
57414 forward the stream error.
57415 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57418 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57423 * include/alloca.h (extend_alloca_account): Define.
57426 * posix/regex.h: Fix comments with documentation of user-accessible
57427 fields after compilation and describe correct free'ing of pattern
57428 after re_compile_pattern.
57429 Patch by Reuben Thomas <rrt@sc3d.org>.
57431 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57433 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57434 and -mno-altivec to prevent the compiler from using Altivec and/or
57435 VSX instructions when the corresponding registers are not available.
57437 2011-05-19 Andreas Schwab <schwab@redhat.com>
57439 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57441 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57443 * libio/freopen.c (freopen): Use __dup2, not dup2.
57444 * libio/freopen64.c (freopen64): Likewise.
57446 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57449 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57450 * math/Makefile (tests): Add test-powl.
57451 (CFLAGS-test-powl.c): Define.
57452 * math/test-powl.c: New file.
57454 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57456 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57458 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57461 * iconvdata/gb18030.c: Update to GB18020-2005.
57463 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57465 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57466 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57467 Patch by Aharon Robbins <arnold@skeeve.com>.
57470 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57474 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57475 through underflows.
57478 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57479 point to strings before performing equality test for error_one_per_line
57483 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57487 (struct user_fpregs_struct): Avoid __uint*_t types.
57490 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57491 symbol info. Use it instead of calling _dl_addr locally.
57492 (lock_and_info): New function.
57493 (tr_freehook): Call lock_and_info and pass symbol info as additional
57494 parameter to tr_where.
57495 (tr_mallochook): Likewise.
57496 (tr_reallochook): Likewise.
57497 (tr_memalignhook): Likewise.
57499 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57500 used and couldn't be at all thread-safe.
57502 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57504 * libio/freopen.c (freopen): Don't close old file descriptor
57505 before the new one is opened. Instead dup the new file descriptor
57506 to the old one after the new stream is created.
57507 * libio/freopen64.c (freopen64): Likewise.
57508 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57509 * libio/fileops.c (_IO_new_file_close_it): Handle new
57510 _IO_FLAGS2_NOCLOSE flag.
57511 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57512 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57513 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57514 _IO_FLAGS2_NOCLOSE flag.
57515 * include/unistd.h: Add hidden_proto for dup3.
57516 Define __have_dup3.
57517 * io/dup3.c: Define hidden symbol.
57518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57521 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57522 when an incomplete long option is used.
57523 * posix/tst-getopt_long1.c: New file.
57524 * posix/Makefile (tests): Add tst-getopt_long1.
57527 * scripts/config.guess: Update from autoconf-2.68.
57528 * scripts/config.sub: Likewise.
57531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57533 (has_cpuclock): ...this. New function.
57534 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57535 macro here based on has_cpuclock code.
57538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57539 First byte (not low byte) is now always NUL.
57540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57543 Use non-cancelable interfaces.
57546 * locale/iso-639.def: Add entry for Sorani.
57549 * include/stdlib.h: Move include protection to the right place.
57550 Define abort_msg_s. Declare __abort_msg with it.
57551 * stdlib/abort.c (__abort_msg): Adjust type.
57552 * assert/assert.c (__assert_fail_base): New function. Majority
57553 of code from __assert_fail. Allocate memory for __abort_msg with
57555 (__assert_fail): Now call __assert_fail_base.
57556 * assert/assert-perr.c: Remove bulk of implementation. Use
57557 __assert_fail_base.
57558 * include/assert.hL Declare __assert_fail_base.
57559 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57561 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57563 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57567 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57568 until all modules are registered in the DTV.
57569 * elf/Makefile: Add rules to build and run tst-tls19.
57570 * elf/tst-tls19.c: New file.
57571 * elf/tst-tls19mod1.c: New file.
57572 * elf/tst-tls19mod2.c: New file.
57573 * elf/tst-tls19mod3.c: New file.
57574 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57577 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57581 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57582 two-byte sequence errors.
57583 * iconvdata/Makefile (tests): Add bug-iconv8.
57584 * iconvdata/bug-iconv8.c: New file.
57587 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57590 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57593 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57594 (dummy_getcfa): New function.
57595 (init): Get _Unwind_GetCFA address, use dummy if not found.
57596 (backtrace_helper): In recursion check, also check whether CFA changes.
57597 (__backtrace): Completely initialize arg.
57599 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57600 storing incomplete byte sequence in state object. Avoid testing for
57601 guaranteed too small input if we know there is enough data available.
57603 2011-05-11 Andreas Schwab <schwab@redhat.com>
57605 * Makeconfig (+link-pie): Indent.
57606 * Rules (binaries-pie): Define if $(have-fpie) and
57608 (binaries-shared): Also filter out $(binaries-pie).
57609 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57610 * nscd/Makefile (others-pie): Add nscd.
57611 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57612 ($(objpfx)nscd): Remove command override.
57613 * login/Makefile (others-pie): Add pt_chown.
57614 ($(objpfx)pt_chown): Remove command override.
57615 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57616 remove command overrides.
57618 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57620 * libio/tst_putwc.c: Fix error messages.
57623 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57624 currently writing and seek to current position when not.
57625 * libio/Makefile (tests): Add bug-fclose1.
57626 * libio/bug-fclose1.c: New file.
57628 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57631 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57632 don't set DF_1_NODELETE here.
57633 (do_lookup_x): When entering new entry test for copy relocation
57634 and if necessary set DF_1_NODELETE flag.
57635 * elf/tst-unique4.cc: New file.
57636 * elf/tst-unique4.h: New file.
57637 * elf/tst-unique4lib.cc: New file.
57638 * elf/Makefile: Add rules to build and run tst-unique4.
57639 Patch by Piotr Bury <pbury@goahead.com>.
57641 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57644 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57647 * misc/mntent_r.c (addmntent): Flush the stream after the output
57650 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57651 (is_trusted_path_normalize): Skip initial colon. Append slash
57652 to empty buffer. Duplicate is_trusted_path code but allow
57653 constructed patch to be prefix.
57654 (is_dst): Allow $ORIGIN followed by /.
57655 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57656 Correct testing of result of is_trusted_path_normalize
57657 (decompose_rpath): Fix warning.
57659 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57662 * grp/initgroups.c (internal_getgrouplist): When we found the service
57663 list through the initgroups entry in nsswitch.conf do not always
57664 continue on a successful lookup. Don't always use the
57665 __nss_group_database value if it is set.
57666 * nss/nsswitch.conf (initgroups): Change action for successful db
57667 lookup to continue for compatibility.
57669 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57672 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57674 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57676 * iconvdata/tst-tables.sh: Likewise.
57677 * iconvdata/cp770.c: New file.
57678 * iconvdata/cp771.c: New file.
57679 * iconvdata/cp772.c: New file.
57680 * iconvdata/cp773.c: New file.
57681 * iconvdata/cp774.c: New file.
57682 * iconvdata/testdata/CP770: New file.
57683 * iconvdata/testdata/CP770..UTF8: New file.
57684 * iconvdata/testdata/CP771: New file.
57685 * iconvdata/testdata/CP771..UTF8: New file.
57686 * iconvdata/testdata/CP772: New file.
57687 * iconvdata/testdata/CP772..UTF8: New file.
57688 * iconvdata/testdata/CP773: New file.
57689 * iconvdata/testdata/CP773..UTF8: New file.
57690 * iconvdata/testdata/CP774: New file.
57691 * iconvdata/testdata/CP774..UTF8: New file.
57693 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57695 * iconvdata/gen-8bit-gap.sh: Likewise.
57696 * iconvdata/gen-8bit.sh: Likewise.
57698 * locale/iso-639.def: Add ary entry.
57701 * locale/C-translit.h.in: Add U20A1 transliteration.
57704 * locale/iso-639.def: Add wae entry.
57705 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57708 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57712 * locale/C-translit.h.in: Add entry for U20B9.
57713 Patch by pravin.d.s@gmail.com.
57715 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57718 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57719 ENAMETOOLONG use generic getcwd.
57720 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57721 in rtld. Use *stat64.
57722 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57723 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57724 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57725 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57726 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57727 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57728 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57729 __fstatat64 macros.
57730 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57731 * dirent/rewinddir.c: Add libc_hidden_def.
57732 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57733 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57735 * include/dirent.h (__alloc_dir): Add flags parameter.
57736 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57737 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57739 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57740 from fdopendir if O_CLOEXEC is already set.
57742 2011-03-15 Alan Modra <amodra@gmail.com>
57744 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57745 l_tls_firstbyte_offset non-zero. Save padding offset in
57746 l_tls_firstbyte_offset for later use.
57747 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57748 freeing static tls block.
57750 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57752 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57753 where #ifdef was intended. The intent is to prevent ARG_MAX from
57754 being defined by the kernel headers.
57756 2011-05-07 Ulrich Drepper <drepper@gmail.com>
57759 * resolv/resolv.h: Define RES_NOTLDQUERY.
57760 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57761 no-tld-query and set RES_NOTLDQUERY.
57762 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57763 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57764 modern BIND to search name as TLD unless forbidden.
57766 2011-05-07 Petr Baudis <pasky@suse.cz>
57767 Ulrich Drepper <drepper@gmail.com>
57770 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57771 (is_trusted_path): ...to here.
57772 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57773 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57774 using is_trusted_path_normalize() in setuid scripts.
57776 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57778 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57779 __BEGIN/__END_DECLS.
57781 2011-05-06 Ulrich Drepper <drepper@gmail.com>
57783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57784 NSS_STATUS_NOTFOUND if no record was found.
57786 2011-05-05 Andreas Schwab <schwab@redhat.com>
57788 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57789 (headers-not-in-tirpc): Remove rpc/netdb.h
57790 * resolv/netdb.h: Revert last change.
57792 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57794 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57795 circular dependency between libgcc.a and libc.a.
57797 2011-05-05 Andreas Schwab <schwab@redhat.com>
57799 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57800 * nis/Makefile: Don't install rpcsvc/*.
57801 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57802 instead of <rpc/types.h>.
57803 (MAXHOSTNAMELEN): Define.
57805 2011-05-03 Andreas Schwab <schwab@redhat.com>
57807 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57809 2011-04-28 Maciej Babinski <mbabinski@google.com>
57812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57813 gethostbyname4_r when IPv6 results are possible.
57815 2011-05-02 Ulrich Drepper <drepper@gmail.com>
57818 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57819 _PC_PIPE_BUF handling.
57821 2011-04-30 Bruno Haible <bruno@clisp.org>
57824 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57825 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57827 * inet/getnameinfo.c (getnameinfo): Likewise.
57829 2011-04-29 Ulrich Drepper <drepper@gmail.com>
57831 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57832 to groups setting in database lookup.
57833 * nss/nsswitch.conf: Add initgroups entry.
57835 2011-04-22 Ulrich Drepper <drepper@gmail.com>
57838 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57840 Patch by Eric Blake <eblake@redhat.com>.
57842 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57844 * sunrpc/Makefile (need-export-routines): Add svc_run.
57845 (routines): Remove svc_run.
57846 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57847 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57848 * sunrpc/svc_run.c (svc_run): Likewise.
57849 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57851 2011-04-21 Ulrich Drepper <drepper@gmail.com>
57853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57854 problem in reallocation in last patch.
57856 2011-04-20 Ulrich Drepper <drepper@gmail.com>
57858 * sunrpc/Makefile: Move inclusion of Rules.
57860 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57862 * nss/nss_files/files-initgroups.c: New file.
57863 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57864 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57865 _nss_files_initgroups_dyn.
57867 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57869 * elf/elf.h (R_ARM_IRELATIVE): Define.
57871 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57873 * po/ru.po: Update from translation team.
57875 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57877 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57880 2011-02-06 Mike Frysinger <vapier@gentoo.org>
57883 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57884 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57886 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57889 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57897 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57902 * stdlib/bug-getcontext.c: New file.
57903 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57905 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57907 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57908 instructions into .machine "z9-109".
57909 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57910 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57912 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57914 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57915 between environment variables and auxiliary vector.
57917 2011-04-16 Ulrich Drepper <drepper@gmail.com>
57919 * Makefile: Add rules to build linkobj/libc.so.
57920 * include/libc-symbols.h: Define libc_hidden_nolink.
57921 * include/rpc/auth.h: Mark functions which are to be hidden.
57922 * include/rpc/auth_des.h: Likewise.
57923 * include/rpc/auth_unix.h: Likewise.
57924 * include/rpc/clnt.h: Likewise.
57925 * include/rpc/des_crypt.h: Likewise.
57926 * include/rpc/key_prot.h: Likewise.
57927 * include/rpc/pmap_clnt.h: Likewise.
57928 * include/rpc/pmap_prot.h: Likewise.
57929 * include/rpc/pmap_rmt.h: Likewise.
57930 * include/rpc/rpc_msg.h: Likewise.
57931 * include/rpc/svc.h: Likewise.
57932 * include/rpc/svc_auth.h: Likewise.
57933 * include/rpc/xdr.h: Likewise.
57934 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57935 * nss/Makefile: Likewise.
57936 * sunrpc/Makefile: Don't install headers. Build library with normal
57937 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57938 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57939 for the compat linking library. Remove use of INTDEF/INTUSE.
57940 * sunrpc/auth_none.c: Likewise.
57941 * sunrpc/auth_unix.c: Likewise.
57942 * sunrpc/authdes_prot.c: Likewise.
57943 * sunrpc/authuxprot.c: Likewise.
57944 * sunrpc/clnt_gen.c: Likewise.
57945 * sunrpc/clnt_perr.c: Likewise.
57946 * sunrpc/clnt_raw.c: Likewise.
57947 * sunrpc/clnt_simp.c: Likewise.
57948 * sunrpc/clnt_tcp.c: Likewise.
57949 * sunrpc/clnt_udp.c: Likewise.
57950 * sunrpc/clnt_unix.c: Likewise.
57951 * sunrpc/des_crypt.c: Likewise.
57952 * sunrpc/des_soft.c: Likewise.
57953 * sunrpc/get_myaddr.c: Likewise.
57954 * sunrpc/key_call.c: Likewise.
57955 * sunrpc/key_prot.c: Likewise.
57956 * sunrpc/netname.c: Likewise.
57957 * sunrpc/pm_getmaps.c: Likewise.
57958 * sunrpc/pm_getport.c: Likewise.
57959 * sunrpc/pmap_clnt.c: Likewise.
57960 * sunrpc/pmap_prot.c: Likewise.
57961 * sunrpc/pmap_prot2.c: Likewise.
57962 * sunrpc/pmap_rmt.c: Likewise.
57963 * sunrpc/publickey.c: Likewise.
57964 * sunrpc/rpc_cmsg.c: Likewise.
57965 * sunrpc/rpc_common.c: Likewise.
57966 * sunrpc/rpc_dtable.c: Likewise.
57967 * sunrpc/rpc_prot.c: Likewise.
57968 * sunrpc/rpc_thread.c: Likewise.
57969 * sunrpc/rtime.c: Likewise.
57970 * sunrpc/svc.c: Likewise.
57971 * sunrpc/svc_auth.c: Likewise.
57972 * sunrpc/svc_authux.c: Likewise.
57973 * sunrpc/svc_raw.c: Likewise.
57974 * sunrpc/svc_run.c: Likewise.
57975 * sunrpc/svc_simple.c: Likewise.
57976 * sunrpc/svc_tcp.c: Likewise.
57977 * sunrpc/svc_udp.c: Likewise.
57978 * sunrpc/svc_unix.c: Likewise.
57979 * sunrpc/svcauth_des.c: Likewise.
57980 * sunrpc/xcrypt.c: Likewise.
57981 * sunrpc/xdr.c: Likewise.
57982 * sunrpc/xdr_array.c: Likewise.
57983 * sunrpc/xdr_float.c: Likewise.
57984 * sunrpc/xdr_intXX_t.c: Likewise.
57985 * sunrpc/xdr_mem.c: Likewise.
57986 * sunrpc/xdr_rec.c: Likewise.
57987 * sunrpc/xdr_ref.c: Likewise.
57988 * sunrpc/xdr_sizeof.c: Likewise.
57989 * sunrpc/xdr_stdio.c: Likewise.
57991 2011-04-10 Ulrich Drepper <drepper@gmail.com>
57994 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57995 * sysdeps/ia64/dl-tls.h: Likewise.
57996 * sysdeps/powerpc/dl-tls.h: Likewise.
57997 * sysdeps/s390/dl-tls.h: Likewise.
57998 * sysdeps/sh/dl-tls.h: Likewise.
57999 * sysdeps/sparc/dl-tls.h: Likewise.
58000 * sysdeps/x86_64/dl-tls.h: Likewise.
58001 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58003 2011-03-14 Andreas Schwab <schwab@redhat.com>
58005 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58006 rpath element also skip the following colon.
58007 (expand_dynamic_string_token): Add is_path parameter and pass
58008 down to DL_DST_REQUIRED and _dl_dst_substitute.
58009 (decompose_rpath): Call expand_dynamic_string_token with
58010 non-zero is_path. Ignore empty rpaths.
58011 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58014 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58019 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58022 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58023 Patch by Filipe David Manana <fdmanana@apache.org>.
58025 2011-04-07 Andreas Schwab <schwab@redhat.com>
58027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58028 Maintain aligned stack.
58029 (CHECK_RSP): Remove unused macro.
58031 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58033 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58036 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58038 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58040 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58042 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58045 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58046 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58047 * sysdeps/x86_64/memmove.c: New file.
58048 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58049 (memcpy): Renamed to ...
58050 (__new_memcpy): This.
58051 (memcpy): Provide GLIBC_2_14 memcpy.
58052 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58053 (memcpy): Provide GLIBC_2_2_5 memcpy.
58055 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58058 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58060 2011-03-30 Andreas Schwab <schwab@redhat.com>
58062 * misc/syncfs.c: New file.
58063 * misc/Makefile (routines): Add syncfs.
58064 * posix/unistd.h: Declare syncfs.
58065 * sysdeps/unix/syscalls.list: Add syncfs.
58067 2011-04-01 Andreas Schwab <schwab@redhat.com>
58069 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58076 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58079 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58089 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58090 sync_file_range.c with -fexceptions.
58091 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58092 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58093 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58094 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58095 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58096 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58098 sync_file_range as cancellation point
58099 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58100 now a wrapper around __call_sync_file_range with cancellation handling.
58101 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58102 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58103 function name to __call_sync_file_range.
58104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58105 Add call_sync_file_range.
58107 2011-04-01 Andreas Schwab <schwab@redhat.com>
58109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58114 * iconv/iconv.h: Fix typo in comment.
58115 * io/fcntl.h: Likewise.
58116 * libio/stdio.h: Likewise.
58117 * posix/spawn.h: Likewise.
58118 * posix/unistd.h: Likewise.
58119 * stdlib/stdlib.h: Likewise.
58120 * time/time.h: Likewise.
58121 * wcsmbs/wchar.h: Likewise.
58123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58124 open_by_handle): Add.
58125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58126 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58127 Augment a few comments.
58128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58133 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58136 * io/fcntl.h (AT_EMPTY_PATH): Define.
58138 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58140 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58141 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58142 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58144 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58145 * Versions.def: Add GLIBC_2.14.
58146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58149 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58155 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58158 * string/test-strncmp.c (do_page_test): New function.
58159 (check2): Likewise.
58160 (test_main): Call check2.
58161 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58163 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58167 Handle cache information in CPU leaf 4.
58168 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58170 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58173 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58174 character representation.
58175 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58177 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58179 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58180 END(__isnan) to END(__isnanf) to match function entry point/label
58181 EALIGN(__isnanf,...).
58183 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58185 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58187 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58190 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58191 copy from the symbol referenced in the relocation to initialize the
58193 Patch by Piotr Bury <pbury@goahead.com>.
58194 * elf/Makefile: Add rules to build and tst-unique3.
58195 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58196 * elf/tst-unique3.cc: New file.
58197 * elf/tst-unique3.h: New file.
58198 * elf/tst-unique3lib.cc: New file.
58199 * elf/tst-unique3lib2.cc: New file.
58201 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58203 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58205 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58206 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58209 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58211 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58212 to-be-loaded object along a path to loader is ld.so.
58214 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58215 Ulrich Drepper <drepper@gmail.com>
58217 * sysdeps/x86_64/memset.S: After aligning destination, code
58218 branches to different locations depending on the value of
58219 misalignment, when multiarch is enabled. Fix this.
58221 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58223 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58224 Set _x86_64_preferred_memory_instruction for AMD processsors.
58225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58226 Set bit_Prefer_SSE_for_memop for AMD processors.
58228 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58230 * libio/fmemopen.c (fmemopen): Optimize a bit.
58232 2011-03-03 Andreas Schwab <schwab@redhat.com>
58234 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58236 2011-03-03 Roland McGrath <roland@redhat.com>
58238 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58240 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58242 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58243 __bzero_ultra1 instead of __memset_ultra1.
58245 2011-02-23 Andreas Schwab <schwab@redhat.com>
58246 Ulrich Drepper <drepper@gmail.com>
58249 * include/link.h (struct link_map): Add l_orig_initfini.
58250 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58251 returning unsuccessfully.
58252 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58253 close of a file loaded at startup, restore the original l_initfini
58255 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58256 list, store the pointer.
58257 * elf/Makefile ($(objpfx)noload-mem): New rule.
58258 (noload-ENV): Define.
58259 (tests): Add $(objpfx)noload-mem.
58260 * elf/noload.c: Include <memcheck.h>.
58261 (main): Call mtrace. Close all opened handles.
58263 2011-02-17 Andreas Schwab <schwab@redhat.com>
58266 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58267 dependencies are missing.
58269 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58271 Fix __if_freereq crash: Unlike the generic version which uses free,
58273 * sysdeps/mach/hurd/ifreq.h: New file.
58275 2011-01-27 Petr Baudis <pasky@suse.cz>
58276 Ulrich Drepper <drepper@gmail.com>
58279 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58280 to extend_alloca().
58281 * stdio-common/bug23.c: New file.
58282 * stdio-common/Makefile (tests): Add bug23.
58284 2010-09-28 Andreas Schwab <schwab@redhat.com>
58285 Ulrich Drepper <drepper@gmail.com>
58288 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58289 before performing relro protection. At old place add assertion
58290 to make sure nothing changed.
58292 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58293 Glauber de Oliveira Costa <glommer@gmail.com>
58295 * elf/elf.h: Add new ARM TLS relocs.
58297 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58300 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58302 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58304 * sysdeps/wordsize-64/tst-writev.c: New file.
58306 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58308 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58309 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58310 insns in _dl_start to prevent a TOC reference before relocs are
58313 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58316 * Makeconfig: Remove RANLIB definition.
58317 * Makerules: Don't use RANLIB.
58318 * aclocal.m4: Remove ranlib test.
58319 * configure.in: No need to check for ranlib.
58320 * elf/rtld-Rules: Don't use RANLIB.
58322 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58324 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58326 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58327 inclusion protection macro.
58329 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58330 SIGRTMIN and SIGRTMAX and print information in that case only when
58331 SIGRTMIN is defined.
58333 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58335 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58336 arginfo fn returning -1.
58338 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58339 and thousands string is zero terminated.
58341 2011-02-03 Andreas Schwab <schwab@redhat.com>
58343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58344 sysdeps/unix/sysv/linux/bits/socket.h.
58346 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58348 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58349 (__CPU_COUNT): Remove old macros.
58350 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58351 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58352 (__CPU_ALLOC, __CPU_FREE): Add macros.
58353 (__sched_cpualloc, __sched_cpufree): Add declarations.
58355 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58357 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58358 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58359 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58360 (readdhstai): Return value of addhstaiX call.
58361 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58362 (addgrbyX): Return value returned by cache_addgr.
58363 (readdgrbyname): Return value returned by addgrbyX.
58364 (readdgrbygid): Likewise.
58365 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58366 (addpwbyX): Return value returned by cache_addpw.
58367 (readdpwbyname): Return value returned by addhstbyX.
58368 (readdpwbyuid): Likewise.
58369 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58370 (addservbyX): Return value returned by cache_addserv.
58371 (readdservbyname): Return value returned by addservbyX:
58372 (readdservbyport): Likewise.
58373 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58374 (addhstbyX): Return value returned by cache_addhst.
58375 (readdhstbyname): Return value returned by addhstbyX.
58376 (readdhstbyaddr): Likewise.
58377 (readdhstbynamev6): Likewise.
58378 (readdhstbyaddrv6): Likewise.
58379 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58380 (readdinitgroups): Return value returned by addinitgroupsX.
58381 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58382 (prune_cache): Keep track of timeout value of re-added entries.
58383 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58384 * nscd/nscd.h: Adjust prototypes of readd* functions.
58386 2011-02-04 Roland McGrath <roland@redhat.com>
58388 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58389 (nis_stats): Likewise.
58390 * nis/nis_modify.c (nis_modify): Likewise.
58391 * nis/nis_remove.c (nis_remove): Likewise.
58392 * nis/nis_add.c (nis_add): Likewise.
58394 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58396 * posix/fnmatch_loop.c: Add some consts.
58398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58400 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58403 * config.make.in (config-cflags-novzeroupper): Define.
58404 * configure.in: Substitute libc_cv_cc_novzeroupper.
58405 * elf/Makefile (AVX-CFLAGS): Define.
58406 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58407 (CFLAGS-tst-auditmod4a.c): Likewise.
58408 (CFLAGS-tst-auditmod4b.c): Likewise.
58409 (CFLAGS-tst-auditmod6b.c): Likewise.
58410 (CFLAGS-tst-auditmod6c.c): Likewise.
58411 (CFLAGS-tst-auditmod7b.c): Likewise.
58412 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58414 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58416 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58417 function to the callback.
58418 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58420 2011-02-02 Andreas Schwab <schwab@redhat.com>
58422 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58425 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58428 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58430 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58432 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58435 * elf/Makefile: Add rules to build and run new test.
58436 * elf/tst-initorder.c: New file.
58437 * elf/tst-initorder.exp: New file.
58438 * elf/tst-initordera1.c: New file.
58439 * elf/tst-initordera2.c: New file.
58440 * elf/tst-initordera3.c: New file.
58441 * elf/tst-initordera4.c: New file.
58442 * elf/tst-initorderb1.c: New file.
58443 * elf/tst-initorderb2.c: New file.
58444 * elf/tst-order-a1.c: New file.
58445 * elf/tst-order-a2.c: New file.
58446 * elf/tst-order-a3.c: New file.
58447 * elf/tst-order-a4.c: New file.
58448 * elf/tst-order-b1.c: New file.
58449 * elf/tst-order-b2.c: New file.
58450 * elf/tst-order-main.c: New file.
58451 New test case by George Gensure <werkt0@gmail.com>.
58453 2010-10-01 Andreas Schwab <schwab@redhat.com>
58455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58456 decoding ACE if AI_CANONIDN.
58458 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58460 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58462 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58464 * version.h (RELEASE): Bump for 2.13 release.
58465 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58467 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58471 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58475 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58478 * posix/getconf.c: Update copyright year.
58479 * catgets/gencat.c: Likewise.
58480 * csu/version.c: Likewise.
58481 * debug/catchsegv.sh: Likewise.
58482 * debug/xtrace.sh: Likewise.
58483 * elf/ldconfig.c: Likewise.
58484 * elf/ldd.bash.in: Likewise.
58485 * elf/sprof.c (print_version): Likewise.
58486 * iconv/iconv_prog.c: Likewise.
58487 * iconv/iconvconfig.c: Likewise.
58488 * locale/programs/locale.c: Likewise.
58489 * locale/programs/localedef.c: Likewise.
58490 * malloc/memusage.sh: Likewise.
58491 * malloc/mtrace.pl: Likewise.
58492 * nscd/nscd.c (print_version): Likewise.
58493 * nss/getent.c: Likewise.
58495 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58496 PF_CAIF, and PF_ALG.
58497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58499 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58501 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58502 (modules-names): Use them.
58503 (ifunc-test-modules, ifunc-pie-tests): Define.
58504 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58505 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58506 (test-extras): Likewise.
58507 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58508 $(compile-command.c).
58509 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58510 (all-built-dso): Define.
58511 (check-textrel.out, check-execstack.out): Depend on it.
58513 * configure.in: Don't override --enable-multi-arch.
58515 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58518 * nscd/hstcache.c (tryagain): Define.
58519 (cache_addhst): Return tryagain not notfound for temporary errors.
58520 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58523 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58527 to make the syscall.
58528 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58531 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58532 and fall back to matching as normal character if the string ends before
58533 the matching ']' is found. This is what POSIX requires.
58534 * posix/testfnm.c: Adjust test result.
58535 * posix/globtest.sh: Adjust test result. Add new test.
58536 * posix/tst-fnmatch.input: Likewise.
58537 * posix/tst-fnmatch2.c: Add new test.
58539 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58541 * elf/Makefile (check-execstack): Revert last change. Depend on
58543 (check-execstack.h): New target.
58544 (generated): Add check-execstack.h.
58545 * elf/check-execstack.c: Include "check-execstack.h".
58546 (main): Revert last change.
58547 (handle_file): Return zero if GNU_STACK is absent and
58548 DEFAULT_STACK_PERMS doesn't include PF_X.
58550 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58552 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58553 in child fails because the descriptor is already closed.
58554 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58555 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58556 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58559 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58563 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58564 temporary buffer used to handle multi lookups locally.
58565 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58567 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58569 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58572 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58574 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58575 alignment for SSE2.
58577 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58580 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58581 characters. When rounding increased number of integer digits recompute
58583 * stdio-common/tst-grouping.c: New file.
58584 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58586 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58588 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58589 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58591 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58593 * bits/select.h: Likewise.
58595 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58597 * po/ja.po: Update from translation team.
58599 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58602 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58603 implementation just like for lxstat, fxstatat, et al.
58605 2010-12-27 Jim Meyering <meyering@redhat.com>
58608 * posix/regexec.c (build_trtable): Return failure indication upon
58609 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58611 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58614 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58615 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58616 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58620 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58623 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58624 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58626 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58628 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58629 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58630 script has SORT_BY_INIT_PRIORITY.
58631 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58632 NO_CTORS_DTORS_SECTIONS is defined.
58633 * elf/soinit.c: Likewise.
58634 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58635 NO_CTORS_DTORS_SECTIONS is defined.
58636 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58637 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58638 * sysdeps/sh/init-first.c: Likewise.
58639 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58641 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58643 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58644 always use the slow path.
58646 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58648 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58649 similar rule which adds the sysdep directories to the header search in
58650 order to pick up the correct platform stackinfo.h.
58651 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58652 perform test if it is, otherwise return successfully without testing.
58653 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58654 DEFAULT_STACK_PERMS define in stackinfo.h.
58655 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58656 defined in stackinfo.h.
58657 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58658 DEFAULT_STACK_PERMS defined in stackinfo.h.
58659 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58660 * sysdeps/ia64/stackinfo.h: Likewise.
58661 * sysdeps/s390/stackinfo.h: Likewise.
58662 * sysdeps/sh/stackinfo.h: Likewise.
58663 * sysdeps/sparc/stackinfo.h: Likewise.
58664 * sysdeps/x86_64/stackinfo.h: Likewise.
58665 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58666 PF_X for powerpc64. Retain PF_X for powerpc32.
58668 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58670 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58672 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58673 GETDENTS_64BIT_ALIGNED.
58675 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58677 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58679 2010-12-10 Andreas Schwab <schwab@redhat.com>
58681 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58684 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58685 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58687 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58688 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58690 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58693 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58696 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58698 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58700 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58702 * po/it.po: Update from translation team.
58704 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58709 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58711 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58713 2010-11-24 Andreas Schwab <schwab@redhat.com>
58715 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58717 (gaih_getanswer_slice): Likewise.
58719 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58723 2010-05-31 Petr Baudis <pasky@suse.cz>
58726 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58727 silently even in the chroot mode.
58729 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58732 last patch a bit. Pretty printing
58734 2010-05-31 Petr Baudis <pasky@suse.cz>
58737 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58738 initialization of skip_initgroups_dyn.
58740 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58745 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58747 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58749 2010-11-11 Andreas Schwab <schwab@redhat.com>
58751 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58752 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58753 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58754 ($(objpfx)tst-fnmatch-mem): New rule.
58755 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58756 * posix/tst-fnmatch.c (main): Call mtrace.
58758 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58761 Support Intel processor model 6 and model 0x2c.
58763 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
58765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58768 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58771 * string/test-strncasecmp.c (check_result): New function.
58772 (do_one_test): Use it.
58773 (check1): New function.
58774 (test_main): Use it.
58775 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58776 Support strcasecmp and strncasecmp.
58778 2010-11-08 Ulrich Drepper <drepper@gmail.com>
58781 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58784 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58786 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58790 * sysdeps/x86_64/multiarch/bzero.S: New file.
58791 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58792 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58793 * sysdeps/x86_64/multiarch/memset.S: New file.
58794 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58796 Set bit_Prefer_SSE_for_memop for Intel processors.
58797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58799 (index_Prefer_SSE_for_memop): Define.
58800 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58802 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
58804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58807 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58810 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58811 (__x86_64_raw_data_cache_size_half): Likewise.
58812 (__x86_64_raw_shared_cache_size): Likewise.
58813 (__x86_64_raw_shared_cache_size_half): Likewise.
58815 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58816 (__x86_64_raw_data_cache_size_half): Likewise.
58817 (__x86_64_raw_shared_cache_size): Likewise.
58818 (__x86_64_raw_shared_cache_size_half): Likewise.
58819 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58820 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58821 and __x86_64_raw_shared_cache_size_half. Round
58822 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58823 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58824 to multiple of 256 bytes.
58826 2010-11-03 Ulrich Drepper <drepper@gmail.com>
58829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58830 of inacessible symlinks. Verify result of symlink before returning it.
58831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58832 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58834 2010-10-28 Erich Ritz <erichritz@gmail.com>
58836 * math/math.h (isinf): Fix typo in comment.
58838 2010-11-01 Ulrich Drepper <drepper@gmail.com>
58840 * po/da.po: Update from translation team.
58842 2010-10-26 Ulrich Drepper <drepper@gmail.com>
58844 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58845 is added to the list.
58847 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58848 Ulrich Drepper <drepper@gmail.com>
58850 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58851 the global list here. Move code to...
58852 (_dl_add_to_namespace_list): ...here. New function.
58853 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58854 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58855 * elf/dl-load.c (lose): Don't remove the element from the list.
58856 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58857 (_dl_map_object): Likewise.
58859 2010-10-25 Ulrich Drepper <drepper@gmail.com>
58862 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58863 into all bytes of SSE register.
58864 Patch by Richard Li <richardpku@gmail.com>.
58866 2010-10-24 Ulrich Drepper <drepper@gmail.com>
58869 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58872 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58874 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58875 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58882 2010-10-22 Andreas Schwab <schwab@redhat.com>
58884 * include/dlfcn.h (__RTLD_SECURE): Define.
58885 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58886 mode & __RTLD_SECURE instead.
58887 (open_path): Rename preloaded parameter to secure.
58888 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58889 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58890 * elf/dl-deps.c (openaux): Likewise.
58891 * elf/rtld.c (struct map_args): Remove is_preloaded.
58892 (map_doit): Don't use it.
58893 (dl_main): Likewise.
58894 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58895 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58897 2010-09-09 Andreas Schwab <schwab@redhat.com>
58899 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58900 (sysd-rules-targets): Remove duplicates.
58901 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58902 rtld-%.$o dependency.
58904 2010-10-18 Andreas Schwab <schwab@redhat.com>
58906 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58907 _dl_map_object do it.
58909 2010-10-19 Ulrich Drepper <drepper@gmail.com>
58911 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58912 fast fma builtins, define the macros in the C99 standard.
58913 (FP_FAST_FMAF): Likewise.
58914 (FP_FAST_FMAL): Likewise.
58915 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58917 * bits/mathdef.h: Update copyright year.
58918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58920 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58922 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58923 builtins, define the macros in the C99 standard.
58924 (FP_FAST_FMAF): Likewise.
58925 (FP_FAST_FMAL): Likewise.
58926 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58928 (FP_FAST_FMAF): Likewise.
58930 2010-10-15 Jakub Jelinek <jakub@redhat.com>
58933 * math/libm-test.inc (fma_test): Some new testcases.
58934 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58936 y and infinite z. Do multiplication by C already in long double.
58937 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58939 y and infinite z. Do bitwise or of inexact bit into u.d.
58940 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58941 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58942 * sysdeps/i386/fpu/s_fma.S: Removed.
58943 * sysdeps/i386/fpu/s_fmal.S: Removed.
58945 2010-10-16 Jakub Jelinek <jakub@redhat.com>
58948 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58950 computation is not scheduled after fetestexcept. Fix value
58951 of minimum denormal long double.
58953 2010-10-14 Jakub Jelinek <jakub@redhat.com>
58956 * math/libm-test.inc (fma_test): Add some more tests.
58957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58960 2010-10-15 Andreas Schwab <schwab@redhat.com>
58962 * scripts/data/localplt-s390-linux-gnu.data: New file.
58963 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58965 2010-10-13 Jakub Jelinek <jakub@redhat.com>
58968 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58969 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58971 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58973 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58975 if one of x and y is very large and the other is subnormal.
58976 * sysdeps/s390/fpu/s_fmaf.c: New file.
58977 * sysdeps/s390/fpu/s_fma.c: New file.
58978 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58979 * sysdeps/powerpc/fpu/s_fma.S: New file.
58980 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58981 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58984 2010-10-12 Jakub Jelinek <jakub@redhat.com>
58987 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58990 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58991 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58992 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58993 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58994 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58995 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58997 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59000 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59001 * posix/bug-regex31.input: Add test case.
59003 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59005 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59006 * posix/bug-regex31.input: New file.
59009 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59010 (parse_sub_exp): Fix last change, use postorder.
59012 * posix/bug-regex31.c: New file.
59013 * posix/Makefile: Add rules to build and run bug-regex31.
59015 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59018 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59021 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59022 to have entries in sys_siglist.
59025 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59028 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59031 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59032 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59033 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59034 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59035 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59036 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59037 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59038 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59039 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59040 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59041 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59043 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59044 * math/ftestexcept.c (fetestexcept): Likewise.
59045 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59046 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59047 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59048 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59049 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59050 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59053 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59056 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59059 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59061 * string/bug-strstr1.c: New file.
59062 * string/Makefile: Add rules to build and run bug-strstr1.
59064 2010-10-05 Eric Blake <eblake@redhat.com>
59067 * string/str-two-way.h (two_way_long_needle): Always clear memory
59068 when skipping input due to the shift table.
59070 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59073 * malloc/mcheck.c: Handle large requests.
59076 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59077 for strncmp and strncasecmp.
59078 * string/stratcliff.c: Add tests for strcmp and strncmp.
59079 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59081 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59083 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59086 2010-09-30 Andreas Jaeger <aj@suse.de>
59088 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59089 (CGROUP_SUPER_MAGIC): Define.
59090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59091 Handle btrfs and cgroup file systems.
59092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59095 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59097 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59098 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59100 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59103 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59104 trying to locate the ELF header.
59106 2010-09-27 Andreas Schwab <schwab@redhat.com>
59109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59110 Mask out sign-bit copies when constructing f_fsid.
59112 2010-09-24 Petr Baudis <pasky@suse.cz>
59114 * debug/stack_chk_fail_local.c: Add missing licence exception.
59115 * debug/warning-nop.c: Likewise.
59117 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59120 implementing getdents64 using getdents syscall, set d_type if
59121 __ASSUME_GETDENTS32_D_TYPE.
59123 2010-09-16 Andreas Schwab <schwab@redhat.com>
59125 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59126 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59128 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59131 * posix/unistd.h: Undo change of feature selection for ftruncate from
59134 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59136 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59139 2010-09-20 Andreas Schwab <schwab@redhat.com>
59141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59145 2010-09-14 Andreas Schwab <schwab@redhat.com>
59147 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59148 variables after CHECK_SP call.
59149 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59151 2010-09-13 Andreas Schwab <schwab@redhat.com>
59152 Ulrich Drepper <drepper@redhat.com>
59154 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59155 re-relocationg ld.so.
59156 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59157 _dl_init_paths call.
59158 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59161 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59163 * resolv/res_init.c (__res_vinit): Count the default server we added.
59165 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59166 Ulrich Drepper <drepper@redhat.com>
59169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59170 (____longjmp_chk): Use %ebx for saving value across system call.
59173 2010-09-06 Andreas Schwab <schwab@redhat.com>
59175 * manual/Makefile: Don't mix pattern rules with normal rules.
59177 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59179 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59181 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59182 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59183 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59184 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59188 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59191 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59192 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59194 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59196 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59197 * sysdeps/x86_64/addmul_1.S: Likewise.
59198 * sysdeps/x86_64/lshift.S: Likewise.
59199 * sysdeps/x86_64/mul_1.S: Likewise.
59200 * sysdeps/x86_64/rshift.S: Likewise.
59201 * sysdeps/x86_64/sub_n.S: Likewise.
59202 * sysdeps/x86_64/submul_1.S: Likewise.
59204 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59206 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59207 Define __sched_param instead of SCHED_* and sched_param when
59208 <bits/sched.h> is included with __need_schedparam defined.
59209 * bits/sched.h [__need_schedparam]
59210 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59211 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59212 (__defined_schedparam): Define to 1.
59213 (__sched_param): New structure, identical to sched_param.
59214 (__need_schedparam): Undefine.
59216 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59219 (epoll_create1): Declare.
59221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59223 2010-08-31 Andreas Schwab <schwab@redhat.com>
59226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59227 shifting retval into place.
59229 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59231 * nis/rpcsvc/nis.h: Update copyright notice.
59232 * nis/rpcsvc/nis.x: Likewise.
59233 * nis/rpcsvc/nis_callback.h: Likewise.
59234 * nis/rpcsvc/nis_callback.x: Likewise.
59235 * nis/rpcsvc/nis_object.x: Likewise.
59236 * nis/rpcsvc/nis_tags.h: Likewise.
59237 * nis/rpcsvc/yp.h: Likewise.
59238 * nis/rpcsvc/yp.x: Likewise.
59239 * nis/rpcsvc/ypupd.h: Likewise.
59240 * nis/yp_xdr.c: Likewise.
59241 * nis/ypupdate_xdr.c: Likewise.
59243 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59244 mainly the body of pmap_getport. Add parameters to specify timeouts.
59245 (pmap_getport): Use __libc_rpc_getport.
59246 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59247 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59248 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59250 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59255 2010-08-27 Roland McGrath <roland@redhat.com>
59257 * sysdeps/i386/i686/multiarch/Makefile
59258 (CFLAGS-varshift.c): New variable.
59260 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59262 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59263 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59267 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59269 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59271 * sysdeps/x86_64/strlen.S: Unroll the loop.
59272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59273 strlen-sse2 strlen-sse2-bsf.
59274 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59275 __strlen_no_bsf if bit_Slow_BSF is set.
59276 (__strlen_sse42): Removed.
59277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59278 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59280 2010-08-25 Roland McGrath <roland@redhat.com>
59282 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59283 * sysdeps/x86_64/multiarch/varshift.c: New file.
59284 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59285 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59286 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59287 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59289 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59292 strlen-sse2 strlen-sse2-bsf.
59293 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59294 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59295 (__strlen_sse2): Removed.
59296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59299 bit_Slow_BSF for Atom.
59300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59301 (index_Slow_BSF): Define.
59302 (HAS_SLOW_BSF): Define.
59304 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59307 * resolv/res_init.c (__res_vinit): When no server address at all
59308 is given default to loopback.
59310 2010-08-24 Roland McGrath <roland@redhat.com>
59312 * configure.in: Remove config-name.h generation.
59313 * configure: Regenerated.
59314 * config-name.in: File removed.
59315 * scripts/config-uname.sh: New file.
59316 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59317 ($(objdir)config-name.h): New target.
59319 * sunrpc/rpc_parse.h: Avoid nested comment.
59321 2010-08-24 Richard Henderson <rth@redhat.com>
59322 Ulrich Drepper <drepper@redhat.com>
59323 H.J. Lu <hongjiu.lu@intel.com>
59325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59327 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59328 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59329 _mm_alignr_epi8 with _mm_loadu_si128.
59330 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59331 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59332 (__m128i_shift_right): Removed.
59333 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59334 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59335 * sysdeps/x86_64/multiarch/varshift.h: New file.
59336 * sysdeps/x86_64/multiarch/varshift.S: New file.
59338 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59340 * configure.in: Move assembler checks to before sysdep dir checking.
59342 2010-08-20 Petr Baudis <pasky@suse.cz>
59344 * LICENSES: Sync the sunrpc license.
59346 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59348 * sunrpc/auth_des.c: Update copyright notice once again.
59349 * sunrpc/auth_none.c: Likewise.
59350 * sunrpc/auth_unix.c: Likewise.
59351 * sunrpc/authdes_prot.c: Likewise.
59352 * sunrpc/authuxprot.c: Likewise.
59353 * sunrpc/bindrsvprt.c: Likewise.
59354 * sunrpc/clnt_gen.c: Likewise.
59355 * sunrpc/clnt_perr.c: Likewise.
59356 * sunrpc/clnt_raw.c: Likewise.
59357 * sunrpc/clnt_simp.c: Likewise.
59358 * sunrpc/clnt_tcp.c: Likewise.
59359 * sunrpc/clnt_udp.c: Likewise.
59360 * sunrpc/clnt_unix.c: Likewise.
59361 * sunrpc/des_crypt.c: Likewise.
59362 * sunrpc/des_soft.c: Likewise.
59363 * sunrpc/get_myaddr.c: Likewise.
59364 * sunrpc/getrpcport.c: Likewise.
59365 * sunrpc/key_call.c: Likewise.
59366 * sunrpc/key_prot.c: Likewise.
59367 * sunrpc/openchild.c: Likewise.
59368 * sunrpc/pm_getmaps.c: Likewise.
59369 * sunrpc/pm_getport.c: Likewise.
59370 * sunrpc/pmap_clnt.c: Likewise.
59371 * sunrpc/pmap_prot.c: Likewise.
59372 * sunrpc/pmap_prot2.c: Likewise.
59373 * sunrpc/pmap_rmt.c: Likewise.
59374 * sunrpc/rpc/auth.h: Likewise.
59375 * sunrpc/rpc/auth_unix.h: Likewise.
59376 * sunrpc/rpc/clnt.h: Likewise.
59377 * sunrpc/rpc/des_crypt.h: Likewise.
59378 * sunrpc/rpc/key_prot.h: Likewise.
59379 * sunrpc/rpc/netdb.h: Likewise.
59380 * sunrpc/rpc/pmap_clnt.h: Likewise.
59381 * sunrpc/rpc/pmap_prot.h: Likewise.
59382 * sunrpc/rpc/pmap_rmt.h: Likewise.
59383 * sunrpc/rpc/rpc.h: Likewise.
59384 * sunrpc/rpc/rpc_des.h: Likewise.
59385 * sunrpc/rpc/rpc_msg.h: Likewise.
59386 * sunrpc/rpc/svc.h: Likewise.
59387 * sunrpc/rpc/svc_auth.h: Likewise.
59388 * sunrpc/rpc/types.h: Likewise.
59389 * sunrpc/rpc/xdr.h: Likewise.
59390 * sunrpc/rpc_clntout.c: Likewise.
59391 * sunrpc/rpc_cmsg.c: Likewise.
59392 * sunrpc/rpc_common.c: Likewise.
59393 * sunrpc/rpc_cout.c: Likewise.
59394 * sunrpc/rpc_dtable.c: Likewise.
59395 * sunrpc/rpc_hout.c: Likewise.
59396 * sunrpc/rpc_main.c: Likewise.
59397 * sunrpc/rpc_parse.c: Likewise.
59398 * sunrpc/rpc_parse.h: Likewise.
59399 * sunrpc/rpc_prot.c: Likewise.
59400 * sunrpc/rpc_sample.c: Likewise.
59401 * sunrpc/rpc_scan.c: Likewise.
59402 * sunrpc/rpc_scan.h: Likewise.
59403 * sunrpc/rpc_svcout.c: Likewise.
59404 * sunrpc/rpc_tblout.c: Likewise.
59405 * sunrpc/rpc_util.c: Likewise.
59406 * sunrpc/rpc_util.h: Likewise.
59407 * sunrpc/rpcinfo.c: Likewise.
59408 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59409 * sunrpc/rpcsvc/key_prot.x: Likewise.
59410 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59411 * sunrpc/rpcsvc/mount.x: Likewise.
59412 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59413 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59414 * sunrpc/rpcsvc/rex.x: Likewise.
59415 * sunrpc/rpcsvc/rstat.x: Likewise.
59416 * sunrpc/rpcsvc/rusers.x: Likewise.
59417 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59418 * sunrpc/rpcsvc/spray.x: Likewise.
59419 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59420 * sunrpc/rtime.c: Likewise.
59421 * sunrpc/svc.c: Likewise.
59422 * sunrpc/svc_auth.c: Likewise.
59423 * sunrpc/svc_authux.c: Likewise.
59424 * sunrpc/svc_raw.c: Likewise.
59425 * sunrpc/svc_run.c: Likewise.
59426 * sunrpc/svc_simple.c: Likewise.
59427 * sunrpc/svc_tcp.c: Likewise.
59428 * sunrpc/svc_udp.c: Likewise.
59429 * sunrpc/svc_unix.c: Likewise.
59430 * sunrpc/svcauth_des.c: Likewise.
59431 * sunrpc/xcrypt.c: Likewise.
59432 * sunrpc/xdr.c: Likewise.
59433 * sunrpc/xdr_array.c: Likewise.
59434 * sunrpc/xdr_float.c: Likewise.
59435 * sunrpc/xdr_mem.c: Likewise.
59436 * sunrpc/xdr_rec.c: Likewise.
59437 * sunrpc/xdr_ref.c: Likewise.
59438 * sunrpc/xdr_sizeof.c: Likewise.
59439 * sunrpc/xdr_stdio.c: Likewise.
59441 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59444 2010-08-19 Andreas Schwab <schwab@redhat.com>
59446 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59448 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59450 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59452 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59453 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59455 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59456 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59457 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59459 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59460 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59462 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59465 2010-07-26 Anton Blanchard <anton@samba.org>
59467 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59468 * malloc/arena.c (heap_trim): Likewise.
59470 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59472 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59475 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59477 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59479 * sysdeps/i386/elf/Makefile: New file.
59481 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59483 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59484 from fanotify_init.
59485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59488 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59490 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59492 * sysdeps/multiarch/strcmp.S: Likewise.
59494 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59497 strncase_l-nonascii.
59498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59499 Add strncase_l-ssse3.
59500 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59501 * sysdeps/x86_64/strcmp.S: Likewise.
59502 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59503 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59504 * sysdeps/x86_64/strncase.S: New file.
59505 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59506 * sysdeps/x86_64/strncase_l.S: New file.
59507 * string/Makefile (strop-tests): Add strncasecmp.
59508 * string/test-strncasecmp.c: New file.
59510 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59513 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59514 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59516 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59518 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59520 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59522 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59526 2010-05-01 Alan Modra <amodra@gmail.com>
59528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59529 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59530 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59531 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59532 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59533 tidying. Don't tail-call __sigjmp_save for static lib.
59534 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59536 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59537 (CALL_MCOUNT): Add eh info, and nop after bl.
59538 (TAIL_CALL_SYSCALL_ERROR): New macro.
59539 (PSEUDO_RET): Use it.
59540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59541 Correct save location of integer regs and cr.
59542 (_dl_profile_resolve): Correct cr save location. Delete nops
59543 after bl when SHARED. Reduce cfi size a little by better
59544 placement of cfi directives.
59545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59546 make a stack frame. Instead use parm save area as a temp.
59547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59548 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59550 Don't make a stack frame for parent, use parm save area.
59551 Increase child stack frame to 112 bytes. Don't save unused reg,
59552 and adjust reg usage. Set up cfi on error recovery and
59553 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59555 (__makecontext): Add dummy nop after jump to exit.
59556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59557 Use correct parm save area and cr save, reduce stack frame.
59558 Correct cfi for possible PSEUDO_RET frame setup.
59559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59560 Branch to local label emitted by PSEUDO_RET rather than
59563 2010-08-12 Andreas Schwab <schwab@redhat.com>
59566 * locale/programs/locale.c (print_assignment): New function.
59567 (show_locale_vars): Use it.
59569 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59571 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59573 (struct statfs64): Likewise.
59574 (_STATFS_F_FLAGS): Define.
59575 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59577 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59578 (ST_VALID): Define locally.
59579 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59580 __statvfs_getflags, use the provided value.
59581 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59582 __ASSUME_STATFS_F_FLAGS.
59584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59586 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59587 Add sys/fanotify.h.
59588 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59589 fanotify_mask for GLIBC_2.13.
59590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59591 fanotify_init and fanotify_mark.
59592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59593 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59597 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59598 prlimit64 for GLIBC_2.13.
59599 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59605 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59609 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59612 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59613 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59615 * nss/Makefile: Add rules to build and run tst-nss-test1.
59616 * shlib-versions: Add entry for libnss_test1.
59617 * nss/nss_test1.c: New file.
59618 * nss/tst-nss-test1.c: New file.
59620 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59621 (__nss_configure_lookup): Set appropriate entry in
59622 __nss_configure_lookup to true.
59623 * nss/nsswitch.h: Define enum with indeces of databases in
59624 databases and __nss_database_custom arrays. Declare
59625 __nss_database_custom.
59626 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59627 to avoid using nscd when custom rules are installed.
59628 * nss/getXXbyYY_r.c: Likewise.
59629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59631 * nss/nss_files/files-parse.c: Whitespace fixes.
59633 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59636 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59637 * posix/fnmatch_loop.c: Likewise.
59639 2010-07-17 Andi Kleen <ak@linux.intel.com>
59641 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59642 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59643 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59644 * Versions.def [GLIBC_2.13]: Add.
59646 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59649 Also fail if tpwd after pwuid call is NULL.
59651 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59653 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59654 when converting to ms.
59656 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59658 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59659 EOPNOTSUPP errors with ENOTTY.
59660 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59661 EOPNOTSUPP errors with ENOTTY.
59663 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59666 Add strcasecmp_l-ssse3.
59667 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59669 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59670 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59671 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59673 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59675 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59677 * string/Makefile (strop-tests): Add strcasecmp.
59678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59679 strcasecmp_l-nonascii.
59680 (gen-as-const-headers): Add locale-defines.sym.
59681 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59682 * sysdeps/x86_64/strcasecmp.S: New file.
59683 * sysdeps/x86_64/strcasecmp_l.S: New file.
59684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59685 * sysdeps/x86_64/locale-defines.sym: New file.
59686 * string/test-strcasecmp.c: New file.
59688 * string/test-strcasestr.c: Test both ends of the range of characters.
59689 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59691 2010-07-29 Roland McGrath <roland@redhat.com>
59694 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59696 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59698 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59701 2010-07-27 Andreas Schwab <schwab@redhat.com>
59703 * manual/memory.texi (Malloc Tunable Parameters): Document
59706 2010-07-26 Roland McGrath <roland@redhat.com>
59709 * configure.in (-fgnu89-inline check): Set and substitute
59710 gnu89_inline, not libc_cv_gnu89_inline.
59711 * configure: Regenerated.
59712 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59714 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59716 * string/test-strnlen.c: New file.
59717 * string/Makefile (strop-tests): Add strnlen.
59718 * string/tester.c (test_strnlen): Add a few more test cases.
59719 * string/tst-strlen.c: Better error reporting.
59721 * sysdeps/x86_64/strnlen.S: New file.
59723 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59726 lower-latency instructions.
59728 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59730 * string/test-strcasestr.c: New file.
59731 * string/test-strstr.c: New file.
59732 * string/Makefile (strop-tests): Add strstr and strcasestr.
59733 * string/str-two-way.h: Don't undefine MAX.
59734 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59736 2010-07-21 Andreas Schwab <schwab@redhat.com>
59738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59739 strcasestr-nonascii.
59740 (CFLAGS-strcasestr-nonascii.c): Define.
59741 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59743 Remove unused attribute.
59745 2010-07-20 Roland McGrath <roland@redhat.com>
59747 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59748 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59749 ld.so.cache was broken. With it, there is no way to disable dsocaps
59750 like LD_HWCAP_MASK can disable hwcaps.
59752 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59754 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59756 2010-07-16 Ulrich Drepper <drepper@redhat.com>
59758 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59759 call in strcasestr.
59760 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59761 __strcasestr_sse42_nonascii.
59762 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59763 strcasestr-nonascii.c.
59764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59766 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
59768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59773 2010-07-09 Ulrich Drepper <drepper@redhat.com>
59775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59778 2010-07-06 Andreas Schwab <schwab@redhat.com>
59781 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59784 2010-07-06 Ulrich Drepper <drepper@redhat.com>
59786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59787 _PC_PIPE_BUF using F_GETPIPE_SZ.
59789 2010-07-05 Roland McGrath <roland@redhat.com>
59791 * manual/arith.texi (Rounding Functions): Fix rint description
59792 implicit in round description.
59794 2010-07-02 Ulrich Drepper <drepper@redhat.com>
59796 * elf/Makefile: Fix linking for a few tests to make recent linker
59799 2010-06-30 Andreas Schwab <schwab@redhat.com>
59801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59802 $(common-objpfx)libc_nonshared.a.
59804 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
59806 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59807 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59808 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59809 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59810 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59812 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59813 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59828 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59829 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59830 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59831 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59832 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59833 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59834 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59835 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59836 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59837 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59838 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59839 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59855 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59857 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59858 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59859 * string/memmove.c (memmove): Renamed to ...
59860 (MEMMOVE): ...this. Default to memmove.
59861 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59862 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59865 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59866 mempcpy-ssse3-back memmove-ssse3-back.
59867 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59870 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59871 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59872 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59873 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59874 * sysdeps/x86_64/multiarch/memmove.c: New file.
59875 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59876 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59877 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59878 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59882 (index_Fast_Copy_Backward): Define.
59883 (HAS_ARCH_FEATURE): Define.
59884 (HAS_FAST_REP_STRING): Define.
59885 (HAS_FAST_COPY_BACKWARD): Define.
59887 2010-06-21 Andreas Schwab <schwab@redhat.com>
59889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59890 Restore proper fallback handling.
59892 2010-06-19 Ulrich Drepper <drepper@redhat.com>
59895 * posix/group_member.c (__group_member): Correct checking loop.
59897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59898 OOM in getpwuid_r correctly. Return error number when the caller
59899 should return, otherwise -1.
59900 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59901 call returning > 0 value.
59902 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59904 2010-06-07 Andreas Schwab <schwab@redhat.com>
59906 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59907 libc_nonshared.a from targets in modules-names.
59909 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59911 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59914 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
59916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59921 2010-06-02 Andreas Schwab <schwab@redhat.com>
59923 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59925 2010-06-14 Ulrich Drepper <drepper@redhat.com>
59927 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59936 2010-06-14 Roland McGrath <roland@redhat.com>
59938 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59940 2010-06-07 Jakub Jelinek <jakub@redhat.com>
59942 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59943 __REDIRECT followed by __THROW.
59944 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59945 * posix/getopt.h (getopt): Likewise.
59947 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59949 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59950 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59951 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59953 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59954 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59956 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
59958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59960 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59964 Properly check family and model.
59966 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59968 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59970 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
59972 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59974 2010-05-21 Ulrich Drepper <drepper@redhat.com>
59976 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59979 2010-05-19 Andreas Schwab <schwab@redhat.com>
59981 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59984 2010-05-21 Andreas Schwab <schwab@redhat.com>
59986 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59987 and internal_recvmmsg.
59988 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59989 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59991 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59993 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59994 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59995 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59997 2010-05-20 Andreas Schwab <schwab@redhat.com>
59999 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60001 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60003 POWER7 optimizations.
60004 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60005 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60007 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60009 * version.h: Update for 2.13 development version.
60011 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60014 exceptions. Return 0.
60016 2010-05-07 Roland McGrath <roland@redhat.com>
60018 * elf/ldconfig.c (main): Add a const.
60020 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60022 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60023 (args_options): Add no-idn option.
60024 (ahosts_keys_int): Add idn_flags to ai_flags.
60025 (parse_option): Handle 'i' option to clear idn_flags.
60027 * malloc/malloc.c (_int_free): Possible race in the most recently
60028 added check. Only act on the data if no current modification
60031 See ChangeLog.17 for earlier changes.